swe_agentic: env_state carries version/hints/env_commit (make_test_spec need)
MAP_REPO_VERSION_TO_SPECS[repo][version] KeyError'd on empty version -- env_state didn't store the version field, the scorer's fallback to sample.metadata hit the positional misalign again. The four official metadata fields now stored alongside the rest. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
014e8bcd9b
commit
7085624da0
@ -246,6 +246,10 @@ class SWEAgenticEnvironment(Environment):
|
||||
'test_patch': md.get('test_patch'),
|
||||
'FAIL_TO_PASS': md.get('FAIL_TO_PASS'),
|
||||
'PASS_TO_PASS': md.get('PASS_TO_PASS'),
|
||||
'version': md.get('version') or '',
|
||||
'hints_text': md.get('hints_text') or '',
|
||||
'created_at': md.get('created_at') or '',
|
||||
'environment_setup_commit': md.get('environment_setup_commit') or '',
|
||||
'image': image,
|
||||
'turns_used': turns,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user