recommend

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recommendation

type Recommendation struct {
	Rank             int     // 1-based rank
	Category         string  // e.g., "C1"
	MetricName       string  // e.g., "complexity_avg"
	CurrentValue     float64 // raw metric value
	CurrentScore     float64 // 1-10 metric score
	TargetValue      float64 // next breakpoint value that improves score
	TargetScore      float64 // what metric score would be at target
	ScoreImprovement float64 // estimated composite improvement
	Effort           string  // "Low", "Medium", "High"
	Summary          string  // agent-readiness framed description
	Action           string  // concrete improvement action
}

Recommendation represents a single improvement recommendation.

func Generate

func Generate(scored *types.ScoredResult, cfg *scoring.ScoringConfig) []Recommendation

Generate analyzes scored results and returns up to 5 improvement recommendations ranked by composite score impact.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL