feat(engine): log per-pass judgement frequency (judged vs cached)#29
Merged
Conversation
"Feels like a lot" — make it visible. Each pass now logs `adjudication pass entries=N
judged=K cached=M` (judged = fresh model calls = cache misses; cached = reused verdicts)
+ a `verdicts{verdict="judged_this_pass"}` gauge. Steady state should be judged≈0; a
sustained nonzero means verdict-fingerprint churn driving model load.
Also fix a stale comment: judging is ONCE PER ENTRY (holistic over all objectives it
reaches), not "once per path" — the comment predated the per-entry refactor.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VtjoJttCvBY4dzCoE4f9vP
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.
Surfaces how often the engine calls the model: per pass it logs
adjudication pass entries=N judged=K cached=M+ ajudged_this_passgauge (judged = cache misses = model calls; cached = reused). Steady state should be judged≈0; sustained nonzero = fingerprint churn. Also fixes a stale comment — judging is once per entry (holistic), not 'once per path'. 🤖