Repository navigation
fix(serving): a measurement gap resets the decode knee's trust, never its evidence - #4269
Conversation
… its evidence The M5, 2026-09-20 17:16Z boot: serving.decode_knee.clamped knee=17 for the 27B — no knee — on a box whose record held a 35-sample 2-lane point at 6.25 t/s. observe() zeroed that point's samples because more than an hour had passed since its last sample (the afternoon's builds had skipped every decode as a deploy transient), and the first sample after the gap (3.3 t/s, taken in the swap-heavy 8-lane hour) restarted it at 1 sample: untrusted, knee None, the roster's 17 minds unclamped, a 6-lane 5.5k plan, 12 minds drawn, the engine at 4 lanes. CurvePoint.fresh_samples (serde default 0) is what trust is built from and what a gap resets; samples and the rate stand as stale evidence, the first post-gap sample moves the EMA by half. Pinned: the 35-sample point survives a two-hour gap and one bad sample, still answers 2, and re-earns trust after MIN_SAMPLES fresh samples. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ept, trust restarted, half-step Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
APPROVE — reviewed at exact head 68e8c0b (lib test and windows check running at read time). The gap law is right and it is the mirror rule applied where it was missing: the old |
What happened (the M5, 17:16Z boot today)
serving.decode_knee.clamped knee=17for the 27B — no knee — on a box whose record held a 35-sample 2-lane point at 6.25 t/s.observe()zeroed that point's samples because more than an hour had passed since its last sample (the afternoon's builds skipped every decode as a deploy transient), and the first sample after the gap — 3.3 t/s, taken during the swap-heavy 8-lane hour — restarted it at 1 sample. Untrusted → knee None → the roster's 17 minds unclamped → a 6-lane × 5.5k plan → 12 minds drawn → the engine at 4 lanes. The same evidence, on disk, would have said 2.Fix
CurvePoint.fresh_samples(serde default 0) is what fresh trust is built from and what a gap resets.samplesandtps_emaare the point's lifetime evidence and stand as the stale answer meanwhile; the first post-gap sample moves the EMA by half (GAP_ALPHA), not all the way. A gap resets trust, never the evidence.Pinned
a_gap_resets_trust_never_the_evidence: a 35-sample point survives a two-hour gap and one bad sample (36 samples, 1 fresh, EMA 4.78, knee still 2), re-earns trust afterMIN_SAMPLESfresh samples; a pre-field record loads as stale evidence, not fresh trust.Related
#4266 (merged) covers the case where the remembered model has NO curve; this covers the curve being wiped by its own reset. Follow-up card:
own_transientskips every decode sample for the whole length of a tracker build (30+ min on a merge day), which is how the gap formed.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo