Versions in this module Expand all Collapse all v0 v0.3.0 Apr 26, 2026 Changes in this version + func CountGapsBySeverity(gaps []Gap) map[Severity]int + func CountSLOsForLevelRange(goal *prism.Goal, enterLevel, exitLevel int) int + type Gap struct + Description string + GoalID string + PhaseID string + Severity Severity + Type GapType + func FilterGapsBySeverity(gaps []Gap, severity Severity) []Gap + func FilterGapsByType(gaps []Gap, gapType GapType) []Gap + func IdentifyGaps(analysis *Result) []Gap + type GapType string + const GapTypeInitiative + const GapTypeMaturity + const GapTypeSLO + type GoalAnalysis struct + CurrentLevel int + Gap int + GoalID string + GoalName string + SLOsMet int + SLOsRequired []SLORequirement + SLOsTotal int + Status string + TargetLevel int + type GoalProgressSummary struct + CurrentLevel int + GoalID string + GoalName string + Status string + TargetLevel int + type GoalTarget struct + EnterLevel int + ExitLevel int + GoalID string + GoalName string + SLOsNeeded int + type PhaseAnalysis struct + Completion float64 + GoalTargets []GoalTarget + Initiatives int + Period string + PhaseID string + PhaseName string + Status string + type PhaseProgressSummary struct + Completion float64 + GoalSummary string + Period string + PhaseID string + PhaseName string + Status string + type Recommendation struct + Description string + GoalIDs []string + PhaseID string + Priority string + SLOsEnabled []string + Title string + type Result struct + Gaps []Gap + Goals []GoalAnalysis + Phases []PhaseAnalysis + Recommendations []Recommendation + Summary Summary + func Analyze(doc *prism.PRISMDocument) *Result + type RoadmapProgress struct + GoalProgress []GoalProgressSummary + OverallCompletion float64 + PhaseProgress []PhaseProgressSummary + func CalculateRoadmapProgress(doc *prism.PRISMDocument) *RoadmapProgress + func (rp *RoadmapProgress) AchievedGoals() []GoalProgressSummary + func (rp *RoadmapProgress) CompletedPhases() []PhaseProgressSummary + func (rp *RoadmapProgress) GetGoalByID(goalID string) *GoalProgressSummary + func (rp *RoadmapProgress) GetPhaseByID(phaseID string) *PhaseProgressSummary + type SLORequirement struct + Current float64 + IsMet bool + Level int + MetricID string + MetricName string + Target string + type Severity string + const SeverityHigh + const SeverityLow + const SeverityMedium + type Summary struct + AvgMaturityGap float64 + SLOCompliance float64 + SLOsMet int + TotalGoals int + TotalPhases int + TotalSLOs int