Silin-Chen's picture
CrossSWE-Bench: current 171-instance release
0e239c6
Raw History Blame Contribute Delete
3.76 kB
{
"schema_version": 1,
"instance_id": "networking-hyper-3965",
"kind": "command_contract",
"network": "none",
"repeat_count": 1,
"required_regression_worlds": [
"all_buggy",
"all_fixed"
],
"test_files": [],
"specifications": [],
"commands": [
{
"repository": "hyper",
"container_path": "/testbed/hyperium/hyper",
"setup_command": "cargo fetch",
"environment": {
"CARGO_BUILD_JOBS": "2",
"CARGO_NET_OFFLINE": "true"
},
"test_cwd": null,
"evaluation_setup_command": null,
"evaluation_setup_cwd": null,
"evaluation_setup_order": null,
"evaluation_ready_command": null,
"evaluation_teardown_command": null,
"evaluation_config": null,
"fail_to_pass": "cargo test --offline --manifest-path ../hyper-util/Cargo.toml --test crossrepo_header_runtime --features full,tokio/io-util header_deadline_uses_runtime_clock -- --exact --nocapture",
"pass_to_pass": "cargo test --offline --manifest-path ../hyper-util/Cargo.toml --test crossrepo_header_runtime --features full,tokio/io-util normal_http_response_remains_usable -- --exact --nocapture"
},
{
"repository": "hyper-util",
"container_path": "/testbed/hyperium/hyper-util",
"setup_command": "sed -i \"s/^version = \\\"1.7.0\\\"/version = \\\"1.8.0\\\"/\" ../hyper/Cargo.toml; if ! grep -q \"patch.crates-io\" Cargo.toml; then printf \"\\n[patch.crates-io]\\nhyper = { path = \\\"../hyper\\\" }\\n\" >> Cargo.toml; fi; cargo fetch",
"agent_setup": "sed -i \"s/^version = \\\"1.7.0\\\"/version = \\\"1.8.0\\\"/\" ../hyper/Cargo.toml; if ! grep -q \"patch.crates-io\" Cargo.toml; then printf \"\\n[patch.crates-io]\\nhyper = { path = \\\"../hyper\\\" }\\n\" >> Cargo.toml; fi; cargo fetch",
"environment": {
"CARGO_BUILD_JOBS": "2",
"CARGO_NET_OFFLINE": "true"
},
"test_cwd": null,
"evaluation_setup_command": "sed -i \"s/^version = \\\"1.7.0\\\"/version = \\\"1.8.0\\\"/\" ../hyper/Cargo.toml; if ! grep -q \"patch.crates-io\" Cargo.toml; then printf \"\\n[patch.crates-io]\\nhyper = { path = \\\"../hyper\\\" }\\n\" >> Cargo.toml; fi; cargo fetch",
"evaluation_setup_cwd": "/testbed/hyperium/hyper-util",
"evaluation_setup_order": 20,
"evaluation_ready_command": null,
"evaluation_teardown_command": null,
"evaluation_config": null,
"fail_to_pass": "cargo test --offline --test crossrepo_timer_contract --features tokio,client-legacy pool_expiration_uses_runtime_clock -- --exact --nocapture",
"pass_to_pass": "cargo test --offline --test crossrepo_timer_contract --features tokio,client-legacy unexpired_connection_is_reused -- --exact --nocapture"
}
],
"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."
}
}