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.
Click to show internal directories.
Click to hide internal directories.