Silin-Chen's picture
CrossSWE-Bench: current 171-instance release
0e239c6
Raw History Blame Contribute Delete
4.23 kB
{
"schema_version": 1,
"instance_id": "buildpkg-npm-cli-9586",
"kind": "command_contract",
"network": "none",
"repeat_count": 1,
"required_regression_worlds": [
"all_buggy",
"all_fixed"
],
"test_files": [
{
"path": "tests/files/adapter-pool.json",
"sha256": "e5b72940429aba91985a8716e2b36f07cc36a3827bf3c2111b20827c2e38f27d",
"bytes": 1456,
"kind": "evaluation_file",
"original_path": "adapter-pool.json"
},
{
"path": "tests/files/contract.py",
"sha256": "5fa7e9546b8b1d0c45aaf1d017896d85d9c6a79cfb43670b192273dd3b6d2498",
"bytes": 9564,
"kind": "evaluation_file",
"original_path": "contract.py"
},
{
"path": "tests/files/policy_adapter.py",
"sha256": "3c809e9be375f4dbf33e5ab4ab9e3cd353177a379ca71575afb65840bac24e90",
"bytes": 2278,
"kind": "evaluation_file",
"original_path": "policy_adapter.py"
},
{
"path": "tests/files/setup.py",
"sha256": "5802243700c220ad0c66f1f0f616f128512e4c8b755493d44c7d574a8f7ad29b",
"bytes": 1858,
"kind": "evaluation_file",
"original_path": "setup.py"
}
],
"specifications": [],
"commands": [
{
"repository": "npm-cli",
"container_path": "/testbed/npm/cli",
"setup_command": "python3 /crossrepo-patches/setup.py",
"environment": {
"GIT_AUTHOR_EMAIL": "crossrepo-bench@example.invalid",
"GIT_AUTHOR_NAME": "CrossRepo Bench",
"GIT_COMMITTER_EMAIL": "crossrepo-bench@example.invalid",
"GIT_COMMITTER_NAME": "CrossRepo Bench",
"NODE_ENV": "test",
"npm_config_audit": "false",
"npm_config_fund": "false",
"npm_config_update_notifier": "false"
},
"test_cwd": null,
"evaluation_setup_command": "python3 /crossrepo-patches/setup.py",
"evaluation_setup_cwd": null,
"evaluation_setup_order": null,
"evaluation_ready_command": null,
"evaluation_teardown_command": null,
"evaluation_config": null,
"fail_to_pass": "python3 /crossrepo-patches/contract.py f2p npm-cli",
"pass_to_pass": "python3 /crossrepo-patches/contract.py p2p npm-cli"
},
{
"repository": "npm-packlist",
"container_path": "/testbed/npm/npm-packlist",
"setup_command": "python3 /crossrepo-patches/setup.py",
"environment": {
"GIT_AUTHOR_EMAIL": "crossrepo-bench@example.invalid",
"GIT_AUTHOR_NAME": "CrossRepo Bench",
"GIT_COMMITTER_EMAIL": "crossrepo-bench@example.invalid",
"GIT_COMMITTER_NAME": "CrossRepo Bench",
"NODE_ENV": "test",
"npm_config_audit": "false",
"npm_config_fund": "false",
"npm_config_update_notifier": "false"
},
"test_cwd": null,
"evaluation_setup_command": "python3 /crossrepo-patches/setup.py",
"evaluation_setup_cwd": null,
"evaluation_setup_order": null,
"evaluation_ready_command": null,
"evaluation_teardown_command": null,
"evaluation_config": null,
"fail_to_pass": "python3 /crossrepo-patches/contract.py f2p npm-packlist",
"pass_to_pass": "python3 /crossrepo-patches/contract.py p2p npm-packlist"
}
],
"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."
}
}