Datasets:
Download instances/api-openapi-generator-24539/evaluation/contract.json from CrossSWE/CrossSWE-Bench: direct link, hf CLI and curl.
- Browser
- Download file 3.06 kB
-
https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/api-openapi-generator-24539/evaluation/contract.json
- Command line
-
hf download hf://datasets/CrossSWE/CrossSWE-Bench/instances/api-openapi-generator-24539/evaluation/contract.json
-
curl -L -o contract.json https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/api-openapi-generator-24539/evaluation/contract.json
3.06 kB
| { | |
| "schema_version": 1, | |
| "instance_id": "api-openapi-generator-24539", | |
| "kind": "command_contract", | |
| "network": "none", | |
| "repeat_count": 1, | |
| "required_regression_worlds": [ | |
| "all_buggy", | |
| "all_fixed" | |
| ], | |
| "test_files": [ | |
| { | |
| "path": "tests/files/proxy-api.yaml", | |
| "sha256": "74d5ba11f7adc2b2a1fb23f55bfd6283f94b6cf6afa5b0cca996e8a14d62aefa", | |
| "bytes": 379, | |
| "kind": "evaluation_file", | |
| "original_path": "proxy-api.yaml", | |
| "encoding": "utf-8" | |
| }, | |
| { | |
| "path": "tests/files/tls_contract.py", | |
| "sha256": "34d069f35141003e0b2817d0b39ad2b18074e6253e6eda2aa4a4bae7706e3ce4", | |
| "bytes": 10346, | |
| "kind": "evaluation_file", | |
| "original_path": "tls_contract.py", | |
| "encoding": "utf-8" | |
| }, | |
| { | |
| "path": "tests/files/contract.py", | |
| "sha256": "5e2b65aaea27c93e0780bcb7176c68795e8c6e417792bc4110d1f75ab325b90d", | |
| "bytes": 3824, | |
| "kind": "evaluation_file", | |
| "original_path": "contract.py", | |
| "encoding": "utf-8" | |
| }, | |
| { | |
| "path": "tests/files/IndependentProxyGeneratorTest.java", | |
| "sha256": "79d24a526736e280f0aa9cb8df2af944fb76dafaee8e4fef422f97ba6ffdf910", | |
| "bytes": 982, | |
| "kind": "evaluation_file", | |
| "original_path": "IndependentProxyGeneratorTest.java", | |
| "encoding": "utf-8" | |
| } | |
| ], | |
| "specifications": [], | |
| "commands": [ | |
| { | |
| "repository": "openapi_generator", | |
| "container_path": "/testbed/OpenAPITools/openapi-generator", | |
| "setup_command": null, | |
| "environment": {}, | |
| "fail_to_pass": "python /crossrepo-patches/contract.py openapi_generator f2p", | |
| "pass_to_pass": "python /crossrepo-patches/contract.py openapi_generator p2p" | |
| }, | |
| { | |
| "repository": "kubernetes_python", | |
| "container_path": "/testbed/kubernetes-client/python", | |
| "setup_command": null, | |
| "environment": {}, | |
| "fail_to_pass": "python /crossrepo-patches/contract.py kubernetes_python f2p", | |
| "pass_to_pass": "python /crossrepo-patches/contract.py kubernetes_python 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." | |
| } | |
| } | |