Documentation
¶
Overview ¶
Package scoring provides PRD quality scoring based on the official rubric. This package delegates to github.com/grokify/structured-prd/prd scoring functions while maintaining backward compatibility with existing agent-team-prd code.
Index ¶
Constants ¶
const ( ThresholdApprove = 8.0 ThresholdRevise = 6.5 ThresholdHumanReview = 6.5 ThresholdBlocker = 3.0 )
Thresholds for scoring decisions. These match the thresholds in structured-prd.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryScore ¶
type CategoryScore = prd.CategoryScore
Type aliases for backward compatibility. These types are defined in structured-prd and re-exported through the prd package.
type CategoryWeight ¶
type CategoryWeight = prd.CategoryWeight
Type aliases for backward compatibility. These types are defined in structured-prd and re-exported through the prd package.
func DefaultWeights ¶
func DefaultWeights() []CategoryWeight
DefaultWeights returns the standard category weights. Delegates to structured-prd implementation.
type RevisionItem ¶
type RevisionItem = prd.RevisionTrigger
RevisionItem is an alias for RevisionTrigger for backward compatibility.
type ScoringResult ¶
type ScoringResult = prd.ScoringResult
Type aliases for backward compatibility. These types are defined in structured-prd and re-exported through the prd package.
func Score ¶
func Score(p *prd.PRD) *ScoringResult
Score evaluates a PRD and returns scoring results. Delegates to structured-prd Score function.