Datasets:
Download instances/cloudnative-kong-operator-4714/evaluation/contract.json from CrossSWE/CrossSWE-Bench: direct link, hf CLI and curl.
- Browser
- Download file 4.51 kB
-
https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/cloudnative-kong-operator-4714/evaluation/contract.json
- Command line
-
hf download hf://datasets/CrossSWE/CrossSWE-Bench/instances/cloudnative-kong-operator-4714/evaluation/contract.json
-
curl -L -o contract.json https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/cloudnative-kong-operator-4714/evaluation/contract.json
4.51 kB
| { | |
| "schema_version": 1, | |
| "instance_id": "cloudnative-kong-operator-4714", | |
| "kind": "command_contract", | |
| "network": "none", | |
| "repeat_count": 1, | |
| "required_regression_worlds": [ | |
| "all_buggy", | |
| "all_fixed" | |
| ], | |
| "test_files": [ | |
| { | |
| "path": "tests/files/baseline-public-identities.json", | |
| "sha256": "87cd668ca4fe82b901045c15c63ca1bf4b1ef2d049acd2e9c689ddb9b32cd61d", | |
| "bytes": 6963, | |
| "kind": "evaluation_file", | |
| "original_path": "baseline-public-identities.json", | |
| "encoding": "utf-8" | |
| }, | |
| { | |
| "path": "tests/files/contract.py", | |
| "sha256": "db9ad1b7896822b38012eab72083eb66bf914534849e57ae8bc41a7c13d8ce96", | |
| "bytes": 2495, | |
| "kind": "evaluation_file", | |
| "original_path": "contract.py", | |
| "encoding": "utf-8" | |
| }, | |
| { | |
| "path": "tests/files/fixtures.json", | |
| "sha256": "194550d4255d9033909349a8e6b5ff707ab1d038b55bd64cb97a15563f87e240", | |
| "bytes": 38334, | |
| "kind": "evaluation_file", | |
| "original_path": "fixtures.json", | |
| "encoding": "utf-8" | |
| }, | |
| { | |
| "path": "tests/files/probe_oracle.py", | |
| "sha256": "76a3cb51d9f6ca22e29846ec774c06b4e81b1c25ce174812d0f678b1982015a1", | |
| "bytes": 6659, | |
| "kind": "evaluation_file", | |
| "original_path": "probe_oracle.py", | |
| "encoding": "utf-8" | |
| }, | |
| { | |
| "path": "tests/files/producer_kic.go", | |
| "sha256": "8002cfa2d4fee2c288b5d2d7db7794a02bd6e7d4251be38330c8f40303325d70", | |
| "bytes": 4953, | |
| "kind": "evaluation_file", | |
| "original_path": "producer_kic.go", | |
| "encoding": "utf-8" | |
| }, | |
| { | |
| "path": "tests/files/producer_operator.go", | |
| "sha256": "ff5aa52c2ef2c222b6617475ffd6e7b261ec3319ab51341ca95b492bf4b8079c", | |
| "bytes": 6031, | |
| "kind": "evaluation_file", | |
| "original_path": "producer_operator.go", | |
| "encoding": "utf-8" | |
| }, | |
| { | |
| "path": "tests/files/runtime_setup.py", | |
| "sha256": "7ee299586f99398f769b4d1da24b01a15fd2dccf2c359160c90bb767380108a0", | |
| "bytes": 2677, | |
| "kind": "evaluation_file", | |
| "original_path": "runtime_setup.py", | |
| "encoding": "utf-8" | |
| } | |
| ], | |
| "specifications": [], | |
| "commands": [ | |
| { | |
| "repository": "candidate", | |
| "container_path": "/testbed/Kong/kong-operator", | |
| "setup_command": "go mod download", | |
| "environment": {}, | |
| "test_cwd": null, | |
| "evaluation_setup_command": "python3 /crossrepo-patches/runtime_setup.py", | |
| "evaluation_setup_cwd": "/testbed/Kong/kong-operator", | |
| "evaluation_setup_order": null, | |
| "evaluation_ready_command": null, | |
| "evaluation_teardown_command": null, | |
| "evaluation_config": null, | |
| "fail_to_pass": "python3 /crossrepo-patches/contract.py operator f2p", | |
| "pass_to_pass": "python3 /crossrepo-patches/contract.py operator p2p" | |
| }, | |
| { | |
| "repository": "kong_kubernetes_ingress_controller", | |
| "container_path": "/testbed/Kong/kubernetes-ingress-controller", | |
| "setup_command": "go mod download", | |
| "environment": {}, | |
| "test_cwd": null, | |
| "evaluation_setup_command": "python3 /crossrepo-patches/runtime_setup.py", | |
| "evaluation_setup_cwd": "/testbed/Kong/kubernetes-ingress-controller", | |
| "evaluation_setup_order": null, | |
| "evaluation_ready_command": null, | |
| "evaluation_teardown_command": null, | |
| "evaluation_config": null, | |
| "fail_to_pass": "python3 /crossrepo-patches/contract.py kic f2p", | |
| "pass_to_pass": "python3 /crossrepo-patches/contract.py kic 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." | |
| } | |
| } | |