scoring

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 1 Imported by: 0

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

View Source
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.

Jump to

Keyboard shortcuts

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