Versions in this module Expand all Collapse all v0 v0.2.0 Aug 17, 2026 Changes in this version + const TargetAccuracyGain + const TargetCoverage + const TargetFidelity + const TargetTokenReduction + type Answer struct + Accuracy float64 + Condition Condition + Error string + FactsFound []string + FactsMissed []string + Graded bool + GraderNote string + LatencyMS int64 + QuestionID string + Refused bool + Text string + Usage llm.Usage + type Band string + const BandActionable + const BandFactual + const BandStructural + type CallFailure struct + Count int + Reason string + type Condition string + const ConditionArtifact + const ConditionRaw + type ConditionMetrics struct + Answered int + ByBand map[Band]float64 + Errors int + MeanAccuracy float64 + MeanInputToks float64 + MeanLatencyMS float64 + Questions int + Refusals int + Scored int + TotalInputToks int64 + Ungraded int + type CoverageResult struct + Coverage float64 + Facts []FactCheck + Found int + Total int + func CheckCoverage(set *Set, g *graph.Graph) CoverageResult + type FactCheck struct + Fact string + Missing []string + Present bool + QuestionID string + type Input struct + Artifact *graph.Graph + RawHTML string + Set *Set + type Options struct + APIKey string + BaseURL string + Budget int64 + Concurrency int + GraderModel string + GraderRepeats int + Logf func(format string, args ...any) + Model string + RawContextTokens int + func DefaultOptions() Options + type Question struct + Ask string + Band Band + Expect string + Facts []string + ID string + type Report struct + Answers []Answer + CallFailures []CallFailure + ContentHash string + Coverage float64 + Fidelity float64 + FidelityMeasured bool + FidelityNotes []string + GeneratedAt time.Time + GraderAgreement float64 + GraderModel string + GraderRegraded int + Metrics struct{ ... } + Model string + RawTokens int + RawTokensSent int + RawTruncated bool + RawVisibleChars int + Stability *Stability + Target string + Tier string + Verdict Verdict + type Runner struct + func NewRunner(opts Options) (*Runner, error) + func (r *Runner) Model() string + func (r *Runner) Run(ctx context.Context, in Input) (*Report, error) + func (r *Runner) Usage() (answer, grader llm.Usage) + type Set struct + Name string + Questions []Question + URL string + func LoadSet(path string) (*Set, error) + type Stability struct + BlockAgreement float64 + BlocksA int + BlocksB int + HashStable bool + OnlyInA []string + OnlyInB []string + TierA string + TierB string + TierStable bool + func MeasureStability(a, b *graph.Graph) Stability + type Verdict struct + AccuracyGain float64 + ComparedQuestions int + MetAccuracyTarget bool + MetCoverageTarget bool + MetFidelityTarget bool + MetTokenTarget bool + Notes []string + Passed bool + Summary string + TokenReduction float64 + TokenReductionApplies bool