Silin-Chen's picture
CrossSWE-Bench: current 171-instance release
0e239c6
Raw History Blame Contribute Delete
2.55 kB
{
"schema_version": 1,
"instance_id": "ml-transformers-44487",
"kind": "command_contract",
"network": "none",
"repeat_count": 3,
"required_regression_worlds": [
"all_buggy",
"transformers_only",
"trainer_only",
"all_fixed"
],
"test_files": [
{
"path": "tests/files/transformers_runtime_probe.py",
"sha256": "fd1c1351f06979c314a313f0fb16cc6bafeba8233c1130dfb9012a47f4a821d4",
"bytes": 1962,
"kind": "evaluation_file",
"original_path": "transformers_runtime_probe.py"
}
],
"specifications": [],
"commands": [
{
"repository": "transformers",
"container_path": "/testbed/huggingface/transformers",
"setup_command": null,
"environment": {
"CROSSREPO_TRANSFORMERS_ROOT": "/testbed/huggingface/transformers"
},
"fail_to_pass": "PYTHONPATH=/testbed/huggingface/transformers/src python3 /crossrepo-patches/transformers_runtime_probe.py",
"pass_to_pass": "PYTHONPATH=/testbed/huggingface/transformers/src python3 -c 'import transformers; print(transformers.__version__)'"
},
{
"repository": "trainer",
"container_path": "/testbed/kubeflow/trainer",
"setup_command": "go mod download all",
"environment": {
"CROSSREPO_TRANSFORMERS_ROOT": "/testbed/huggingface/transformers"
},
"fail_to_pass": "go test ./pkg/statusserver -run '^TestCrossRepoTransformersCallback$' -count=1",
"pass_to_pass": "go test ./pkg/apis/trainer/v1alpha1 -run '^$' -count=1"
}
],
"execution_policy": {
"test_patches": "Apply in listed order after candidate patches, in an isolated evaluator workspace.",
"commands": "Complete source setup in setup_order, then evaluator setup in evaluation_setup_order, ready checks, pass_to_pass and fail_to_pass commands; teardown in reverse evaluator setup order.",
"world_placeholder": "A world labels the prepared source state for both regression and behavior commands: all_buggy for base, all_fixed for gold, candidate for submitted patches.",
"success": "All required behavioral and regression tests pass; infrastructure failures are not behavioral outcomes.",
"isolation": "The agent receives base sources and statement only; evaluation and reference materials remain outside its workspace."
},
"availability": {
"test_materials": "included",
"portable_environment": "pending",
"dependencies": "Some commands require external toolchains or dependency assets; complete portable recipes are a follow-up release."
}
}