Repository navigation
feat(eval): capture_dir glass-box — wrap the eval-fork in JsonlWorkspaceCaptureSink so a MEASURED run is readable - #1948
Merged
Conversation
…aceCaptureSink so a MEASURED run is readable Opt-in `CognitionEvalParams.capture_dir: Option<String>` (None → Noop, zero change to existing paths). When set, cognition/eval wraps the fork's cognition via `cycle.with_capture(JsonlWorkspaceCaptureSink::open(dir, persona))` BEFORE the run, so every tick's bids + DECISION + timings append to <dir>/<persona>.jsonl. This is task #14's own primitive, wired into the measurement path — you can now read WHY a persona scored what she did (did she Act or Respond? which tool? did deliberation fail?), not just the final number. VALIDATED live + immediately earned its keep: pointed at a flask SWE run, it revealed the real cause of the persona's 0-byte diff — ALL 15 deliberation ticks failed with the local llama-server returning 500 "Compute error" (confirmed by a direct `say hi` probe → HTTP 500). Not exam-framing, not tools, not the model — a broken local inference lane. The 0-edit read itself off the trace in one line. run_ours.py now passes --capture_dir. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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.
Opt-in
/.jsonl. This is task #14's ownCognitionEvalParams.capture_dir: Option<String>(None → Noop, zero change to existing paths). When set,cognition/eval wraps the fork's cognition via
cycle.with_capture(JsonlWorkspaceCaptureSink::open(dir, persona))BEFORE the run, so every tick's bids + DECISION + timings append to
primitive, wired into the measurement path — you can now read WHY a persona scored what she did (did she Act or
Respond? which tool? did deliberation fail?), not just the final number.
VALIDATED live + immediately earned its keep: pointed at a flask SWE run, it revealed the real cause of the
persona's 0-byte diff — ALL 15 deliberation ticks failed with the local llama-server returning 500 "Compute error"
(confirmed by a direct
say hiprobe → HTTP 500). Not exam-framing, not tools, not the model — a broken localinference lane. The 0-edit read itself off the trace in one line. run_ours.py now passes --capture_dir.
Co-Authored-By: Claude Opus 4.8 [email protected]
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo