Silin-Chen's picture
CrossSWE-Bench: current 171-instance release
0e239c6
Raw History Blame Contribute Delete
3.02 kB
{
"schema_version": 1,
"instance_id": "runtime-node-65621",
"kind": "command_contract",
"network": "none",
"repeat_count": 3,
"required_regression_worlds": [
"all_buggy",
"all_fixed"
],
"test_files": [
{
"path": "tests/files/object_contract.cc",
"sha256": "71df84a0e898665ead5359abca86b3c5411fe7914d98a7eeeb55f17a857b4e1d",
"bytes": 4824,
"kind": "evaluation_file",
"original_path": "object_contract.cc"
},
{
"path": "tests/files/object_contract.js",
"sha256": "c022ba36059cb51e7c291a1fdad60b070d4931f9d9933d21284f466377584212",
"bytes": 4436,
"kind": "evaluation_file",
"original_path": "object_contract.js"
},
{
"path": "tests/files/object_contract.py",
"sha256": "f829c9db017cbf0d3f5d0aa4655c213ff131abdcf0d32c9cd788a2c98b21e161",
"bytes": 2263,
"kind": "evaluation_file",
"original_path": "object_contract.py"
},
{
"path": "tests/files/node_runtime_setup.py",
"sha256": "ed3d5287bc6c16e07861b0e3cebc9d12d511653221f5940463a631d6047ed892",
"bytes": 4525,
"kind": "evaluation_file",
"original_path": "node_runtime_setup.py"
}
],
"specifications": [],
"commands": [
{
"repository": "node",
"container_path": "/testbed/nodejs/node",
"setup_command": null,
"environment": {},
"evaluation_setup_command": "python3 /crossrepo-patches/node_runtime_setup.py",
"evaluation_setup_order": 0,
"fail_to_pass": "python3 /crossrepo-patches/object_contract.py f2p",
"pass_to_pass": "python3 /crossrepo-patches/object_contract.py p2p"
},
{
"repository": "addon",
"container_path": "/testbed/nodejs/node-addon-api",
"setup_command": null,
"environment": {},
"evaluation_setup_order": 1,
"fail_to_pass": "python3 /crossrepo-patches/object_contract.py f2p",
"pass_to_pass": "python3 /crossrepo-patches/object_contract.py p2p"
}
],
"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."
}
}