Repository navigation
fix(efficacy): score every build on the spec's Python 3.12 - #101
Merged
Merged
Conversation
The scorer made each trial's environment from its own interpreter, which was Python 3.14.8 for round 5c. Three builds that capped `requires-python` below 3.13, as the spec's "Python 3.12" invites, were refused at install and scored zero on every row after it. Every environment is now made on Python 3.12, found as the scorer itself, as `py -3.12` or as `python3.12`; without one the scorer refuses to score. Each score records the version it installed on. Closes #100 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xQeiWaKvHqQNHTU1uJ
… Windows A root holding scores installed on another Python, or on an unrecorded one, is refused by the scorer, and a round whose scores span two Pythons by the report. Round 5c's `none` is re-scored on 3.12 before round 5d reads it. The fallback `python3.12` is resolved on the path before it is launched: Windows reads `.12` as an extension and adds no `.exe`. Refs #100 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xQeiWaKvHqQNHTU1uJ
Contributor
Author
|
Codex review, round 1 (gpt-6-astra, effort high): 2 findings, both fixed in f64a485.
New checks, each failing without its fix:
Self-tests: |
The scorer read only the scores of the task it was about to score, so a change task could be scored beside build scores on another Python, which the report then refuses. It now reads both before it scores either. Refs #100 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xQeiWaKvHqQNHTU1uJ
Contributor
Author
|
Codex review, round 2: 1 finding, fixed in 6f52222.
Self-tests: |
Contributor
Author
|
Codex review, round 3: no findings. The loop ends here; ready for the owner's approval. |
4 tasks
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.
The scorer now builds every trial's environment on Python 3.12, the spec's version, instead of its own interpreter.
Round 5c was scored on 3.14.8, which refused three builds capped below 3.13.
score.pycreate_venvusesspec_interpreter(): the scorer's own Python if 3.12, elsepy -3.12, elsepython3.12score.pyscore.py"python", the version it installed onround-5d.mdBefore → after, a build with
requires-python = ">=3.12,<3.13":New self-test checks, the first two failing without the fix:
Self-tests:
score.py66/66,security.py29/29,judge.py35/35,progress.py23/23, pyflakes clean.Not in this PR: re-scoring round 5c's
hybrid-3,inline-5andskills-4as a post-hoc reading.Closes #100
🤖 Generated with Claude Code
https://claude.ai/code/session_01DpT5xQeiWaKvHqQNHTU1uJ