Module acceptance

Module acceptance 

Source
Expand description

2026-10-04: The run’s acceptance counts, for the drafter’s confidence→acceptance calibration: between the probe’s /metrics page and the one after the last width, the change in

  • metrale_spec_draft_confidence_total{le, accepted}: drafts a verify step reached, by the drafter’s top-1 log-probability bucket (upper edge le) and verdict; and
  • metrale_spec_verify_steps_total{drafts, accepted}: verify steps by drafts checked and accepted, for the per-position priors.

Both are whole-run totals, not per-width: acceptance is a property of the drafter and the text, while the cost cells are per width. Pure: no I/O.

Owner: bench, spec-cost. Invariants:

  • A series absent from the first page counts from 0 (the serve renders them once they fire); one that went backwards fails the run (the serve restarted).
  • The record keys are written by record and read by read only.

Structs§

AcceptanceCounts
2026-10-04: The run’s acceptance counts, read back from a record.

Functions§

read
2026-10-04: The counts record wrote; None when the run saw no draft confidence (a k = 0 serve, or one that never batched a verify).