chore: improve reward eval harness auditing#79
Merged
jbarnes850 merged 1 commit intomainfrom Oct 24, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces configuration-driven judge presets and audit logging for the reward evaluation harness. It moves judge configuration from hardcoded constants into an external YAML file, adds a --collect-audit flag to capture LLM interactions for debugging, and automatically generates Markdown summary reports alongside JSON output.
Key Changes:
- Externalized judge presets and combos to
configs/eval/reward_system.yamlwith fallback to defaults - Added audit collection capability to track LLM prompts/responses during evaluation
- Implemented automatic Markdown report generation with timestamp-based naming
Reviewed Changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| scripts/eval_reward_models.py | Added YAML config loading, audit collection in evaluator, JSON sanitization helper, and Markdown report generation |
| configs/eval/reward_system.yaml | New configuration file defining judge presets and combos for reward evaluation |
| docs/reward_eval.md | Updated documentation to reference config-first workflow and new CLI flags |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
060f994 to
6801278
Compare
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.
Summary
configs/eval/reward_system.yamlso judge presets/combos can be edited without touching code, falling back to baked-in defaults if missingscripts/eval_reward_models.pywith a--collect-auditflag, safe audit payload serialization, and automatic Markdown report emission alongside JSON outputdocs/reward_eval.mdTesting
python -m scripts.eval_reward_models --dataset atlas/data/reward_eval_trajectories.jsonl --judge-combos gemini_pair --baseline gemini_pair --repeats 1 --concurrency 1 --collect-audit --output results/reward/latest_gemini.json