Module spec_confidence

Module spec_confidence 

Source
Expand description

2026-10-04: Draft outcomes by drafter confidence: for each draft a verify step reached (every draft before it was accepted), its top-1 log-probability bucket and whether it was accepted. met bench spec-cost fits the acceptance calibration of --spec-cost-model measured from these counts, so P(accept | bucket) is conditional on reaching the draft, which is how the planner chains it.

Owner: telemetry. Invariants: a non-finite log-probability is counted in overflow, never in a bucket; a positive one (rounding above 0) lands in the last bucket.

Structs§

ConfidenceOutcomes

Constants§

EDGES
2026-10-04: Ascending upper edges of the buckets, in natural-log probability; a draft lands in the first bucket whose edge is >= its log-probability. Fine near 0, where most MTP drafts sit; the last edge is 0.