Repository navigation
Coach eval harness: measure the coach on annotated captures - #14
Merged
Merged
Conversation
gamebuddy eval <dataset> grades the coach on annotated captures across four measures (perception, grounding, latency, decision to stay silent) with pass@k / pass^k metrics and replayable reports; coach.save_frames keeps candidate frames so real sessions can grow the dataset.
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.
What
Implements the measurement plan discussed for the live coach (ECC-inspired eval-driven development):
gamebuddy eval <dataset>runs annotated captures through the real coach perception call and grades every answer on four measures:--repeat k, per case and per measure--replay <report>re-grades the recorded raw answers with the current parser/gate/graders — no model call — for free regression checks after prompt or gate changescoach.save_frames(opt-in): candidate frames saved to~/.local/share/gamebuddy/coach_frames/<game>/(last 200 per game) so real sessions can be annotated into eval casesevals/coach/(generated by the committedevals/coach/_make_examples.py)Why
125 green unit tests still say nothing about whether Buddy reads a real bench correctly. This gives the workflow: play with
coach.save_frames = true, annotate 20–30 captures, run the eval before/after every coach change, trackpass^k.Verification
tests/test_eval_harness.py), ruff clean