We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d6bcd4 commit e42a5e2Copy full SHA for e42a5e2
swesmith/harness/gather.py
@@ -38,6 +38,7 @@
38
from swebench.harness.constants import (
39
PASS_TO_FAIL,
40
PASS_TO_PASS,
41
+ FAIL_TO_PASS,
42
KEY_INSTANCE_ID,
43
LOG_REPORT,
44
)
@@ -341,7 +342,7 @@ def process_instance(
341
342
task_instance = {
343
KEY_INSTANCE_ID: subfolder,
344
KEY_PATCH: patch_content,
- PASS_TO_FAIL: results[PASS_TO_FAIL],
345
+ FAIL_TO_PASS: results[PASS_TO_FAIL], # Flip PASS_TO_FAIL to FAIL_TO_PASS following SWE-bench naming convention
346
PASS_TO_PASS: results[PASS_TO_PASS],
347
}
348
rp = registry.get_from_inst(task_instance)
0 commit comments