Skip to content

Keep eval runs from writing junit reports into the repo - #29

Merged
adityaramkumar merged 1 commit into
mainfrom
claude/eval-junit-tmp
Oct 22, 2026
Merged

adityaramkumar merged 1 commit into
mainfrom
claude/eval-junit-tmp

Conversation

@adityaramkumar

Copy link
Copy Markdown
Owner

Summary

To count each case's hidden tests, evals/run.py:hidden_results() runs them against the reference solution. It wrote hidden-junit.xml next to the hidden tests, which for that count means a case directory inside the repo. Those files were committed in #26, and every pytest run rewrote them and left the working tree dirty.

The report now goes to a temporary directory, and the three committed hidden-junit.xml files are removed.

Testing

  • pytest tests/test_evals.py: 3 passed, and git status stays clean afterwards
  • ruff check / ruff format --check evals: clean

Generated by Claude Code

hidden_results() wrote hidden-junit.xml next to the hidden tests, which
for the reference count is a case directory inside the repo. Those files
were committed in #26 and every test run rewrote them. The report now
goes to a temporary directory, and the committed copies are removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAykpfqqWA2GFjcC1p6FRy
@adityaramkumar
adityaramkumar merged commit b269372 into main Oct 22, 2026
2 checks passed
@adityaramkumar
adityaramkumar deleted the claude/eval-junit-tmp branch October 22, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants