Datasets:
Download instances/cloudnative-gateway-api-4178/evaluation/contract.json from CrossSWE/CrossSWE-Bench: direct link, hf CLI and curl.
- Browser
- Download file 2.74 kB
-
https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/cloudnative-gateway-api-4178/evaluation/contract.json
- Command line
-
hf download hf://datasets/CrossSWE/CrossSWE-Bench/instances/cloudnative-gateway-api-4178/evaluation/contract.json
-
curl -L -o contract.json https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/cloudnative-gateway-api-4178/evaluation/contract.json
2.74 kB
| { | |
| "schema_version": 1, | |
| "instance_id": "cloudnative-gateway-api-4178", | |
| "kind": "command_contract", | |
| "network": "none", | |
| "repeat_count": 1, | |
| "required_regression_worlds": [ | |
| "all_buggy", | |
| "all_fixed" | |
| ], | |
| "test_files": [ | |
| { | |
| "path": "tests/files/crd_runtime_contract.py", | |
| "sha256": "b34728eb302decbc3e2ed5b8d43f008d4de07a2bd79891f2bb4b9bde3d424824", | |
| "bytes": 1007, | |
| "kind": "evaluation_file", | |
| "original_path": "crd_runtime_contract.py" | |
| }, | |
| { | |
| "path": "tests/files/validate_crd.go", | |
| "sha256": "9fa3ebaca975d5b1b85e03b71c2361977692c2ebfb8a266169699ff7bb973d9b", | |
| "bytes": 4437, | |
| "kind": "evaluation_file", | |
| "original_path": "validate_crd.go" | |
| } | |
| ], | |
| "specifications": [], | |
| "commands": [ | |
| { | |
| "repository": "source", | |
| "container_path": "/testbed/kubernetes-sigs/gateway-api", | |
| "setup_command": null, | |
| "environment": { | |
| "GOMAXPROCS": "2", | |
| "GOFLAGS": "-p=2", | |
| "GOPROXY": "off", | |
| "GOSUMDB": "off", | |
| "CGO_ENABLED": "0" | |
| }, | |
| "fail_to_pass": "python3 /crossrepo-patches/crd_runtime_contract.py", | |
| "pass_to_pass": "go test -json ./apis/v1 ./apisx/v1alpha1 -run '^TestCrossRepo' -count=1" | |
| }, | |
| { | |
| "repository": "external", | |
| "container_path": "/testbed/kubernetes-sigs/gateway-api-inference-extension", | |
| "setup_command": null, | |
| "environment": { | |
| "GOMAXPROCS": "2", | |
| "GOFLAGS": "-p=2", | |
| "GOPROXY": "off", | |
| "GOSUMDB": "off", | |
| "CGO_ENABLED": "0" | |
| }, | |
| "fail_to_pass": "python3 /crossrepo-patches/crd_runtime_contract.py", | |
| "pass_to_pass": "go test -json ./api/v1 -run '^TestCrossRepo' -count=1" | |
| } | |
| ], | |
| "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." | |
| } | |
| } | |