Datasets:
Download instances/api-openapi-generator-23331/evaluation/contract.json from CrossSWE/CrossSWE-Bench: direct link, hf CLI and curl.
- Browser
- Download file 2.29 kB
-
https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/api-openapi-generator-23331/evaluation/contract.json
- Command line
-
hf download hf://datasets/CrossSWE/CrossSWE-Bench/instances/api-openapi-generator-23331/evaluation/contract.json
-
curl -L -o contract.json https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/api-openapi-generator-23331/evaluation/contract.json
2.29 kB
| { | |
| "schema_version": 1, | |
| "instance_id": "api-openapi-generator-23331", | |
| "kind": "command_contract", | |
| "network": "none", | |
| "repeat_count": 1, | |
| "required_regression_worlds": [ | |
| "all_buggy", | |
| "all_fixed" | |
| ], | |
| "test_files": [], | |
| "specifications": [], | |
| "commands": [ | |
| { | |
| "repository": "openapi_generator", | |
| "container_path": "/testbed/OpenAPITools/openapi-generator", | |
| "setup_command": "mvn -o -pl modules/openapi-generator -am -DskipTests install", | |
| "environment": {}, | |
| "fail_to_pass": "mvn -o -Dsurefire.rerunFailingTestsCount=0 -pl modules/openapi-generator -Dtest=org.openapitools.codegen.java.spring.CrossrepoJackson3BehaviorTest -DfailIfNoTests=true test", | |
| "pass_to_pass": "mvn -o -Dsurefire.rerunFailingTestsCount=0 -pl modules/openapi-generator -Dtest=org.openapitools.codegen.java.spring.SpringCodegenTest#testTypeMappings -DfailIfNoTests=true test" | |
| }, | |
| { | |
| "repository": "jackson_nullable", | |
| "container_path": "/testbed/OpenAPITools/jackson-databind-nullable", | |
| "setup_command": "mvn -o -DskipTests test-compile", | |
| "environment": {}, | |
| "fail_to_pass": "java src/test/crossrepo/PairedTestRunner.java f2p", | |
| "pass_to_pass": "java src/test/crossrepo/PairedTestRunner.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." | |
| } | |
| } | |