Repository navigation
fix(capacity): PagerCaptureEvent raw-feed tolerance — perf-only C++ lines decode (#276) - #2065
Merged
Merged
Conversation
…ines decode with defaulted decision state (#276) Verified against BigMama's live fitted-K3 emitter: the 7 perf field names match the contract exactly (zero rename drift), but the RAW GGML_MOE_CAPTURE_FILE feed carries only those perf fields — quality, reward, and the bandit decision state exist once the Rust controller runs. Without defaults the parity reader rejects every real capture slice she sends. serde(default) on the 8 derived/decision fields; new test decodes an actual perf-only line shape and asserts zeroed decision state. The strict field-name pinning on full frames is unchanged. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Aug 1, 2026
…ixture (#2066) Three verbatim lines from her fitted-K3 warm-decode run (2026-08-01): cold token 0 (20GB fetched, full 8037 resident) and warm tokens 4/26 (the 4416 working set, 0.33 tok/s). One test pins every live-feed quirk at once: integer literals in f32 fields ("fetch_mb_s":2458), her two extra counters (experts/misses via forward tolerance), and absent decision state (serde defaults). If it breaks, the feed and the reader have diverged — fix the contract, not the fixture. Also syncs the generated TS doc comment that lagged #2065. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #2064, driven by BigMama's live check of the contract against her C++ emitter: perf field names match exactly (zero rename drift), but the raw
GGML_MOE_CAPTURE_FILEfeed carries only the perf fields — quality/reward/bandit state exist once the Rust controller runs. Strict decode would reject every real capture slice.serde(default)on the 8 derived/decision fields + a test decoding an actual perf-only line shape (the exact fields her fitted-K3 feed emits) asserting zeroed decision state. Full-frame field-name pinning unchanged.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo