Datasets:
Download instances/backend-grpc-java-12644/evaluation/contract.json from CrossSWE/CrossSWE-Bench: direct link, hf CLI and curl.
- Browser
- Download file 3.81 kB
-
https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/backend-grpc-java-12644/evaluation/contract.json
- Command line
-
hf download hf://datasets/CrossSWE/CrossSWE-Bench/instances/backend-grpc-java-12644/evaluation/contract.json
-
curl -L -o contract.json https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/backend-grpc-java-12644/evaluation/contract.json
3.81 kB
| { | |
| "schema_version": 1, | |
| "instance_id": "backend-grpc-java-12644", | |
| "kind": "command_contract", | |
| "network": "none", | |
| "repeat_count": 1, | |
| "required_regression_worlds": [ | |
| "all_buggy", | |
| "all_fixed" | |
| ], | |
| "test_files": [ | |
| { | |
| "path": "tests/files/AB04Consumer.java", | |
| "sha256": "1c0250112d90b3c7db9c8fdbfe8abcdb94c23272a5fe20a1da73c9f9d984f6e0", | |
| "bytes": 4902, | |
| "kind": "evaluation_file", | |
| "original_path": "AB04Consumer.java", | |
| "encoding": "utf-8" | |
| }, | |
| { | |
| "path": "tests/files/ab04.init.gradle", | |
| "sha256": "748bef569b2d5e2ed971e0b944a95e5e82623fe78f7d76887188c109a4156808", | |
| "bytes": 478, | |
| "kind": "evaluation_file", | |
| "original_path": "ab04.init.gradle", | |
| "encoding": "utf-8" | |
| }, | |
| { | |
| "path": "tests/files/ab04_routes_test.go", | |
| "sha256": "fd3690c7b43c9bbfeb567f68493aebaea52111023d911ea3a4079080983415d5", | |
| "bytes": 3926, | |
| "kind": "evaluation_file", | |
| "original_path": "ab04_routes_test.go", | |
| "encoding": "utf-8" | |
| }, | |
| { | |
| "path": "tests/files/contract.py", | |
| "sha256": "e5ebb62a5e3475eb19b00f13f5c89b7cd3fd4f61dd6dfcd4a9c490615a6ee8ee", | |
| "bytes": 1706, | |
| "kind": "evaluation_file", | |
| "original_path": "contract.py", | |
| "encoding": "utf-8" | |
| }, | |
| { | |
| "path": "tests/files/runtime_setup.py", | |
| "sha256": "20dcb37822d33444f92d154f4446f8f6605bdbf62eda559ce3d76c6f323c19d9", | |
| "bytes": 3912, | |
| "kind": "evaluation_file", | |
| "original_path": "runtime_setup.py", | |
| "encoding": "utf-8" | |
| } | |
| ], | |
| "specifications": [], | |
| "commands": [ | |
| { | |
| "repository": "istio", | |
| "container_path": "/testbed/istio/istio", | |
| "setup_command": null, | |
| "environment": {}, | |
| "test_cwd": null, | |
| "evaluation_setup_command": "python3 /crossrepo-patches/runtime_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 istio f2p", | |
| "pass_to_pass": "python3 /crossrepo-patches/contract.py istio p2p" | |
| }, | |
| { | |
| "repository": "grpc_java", | |
| "container_path": "/testbed/grpc/grpc-java", | |
| "setup_command": null, | |
| "environment": {}, | |
| "test_cwd": null, | |
| "evaluation_setup_command": "python3 /crossrepo-patches/runtime_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 grpc_java f2p", | |
| "pass_to_pass": "python3 /crossrepo-patches/contract.py grpc_java 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." | |
| } | |
| } | |