Datasets:
Download instances/observability-opentelemetry-python-5266/evaluation/contract.json from CrossSWE/CrossSWE-Bench: direct link, hf CLI and curl.
- Browser
- Download file 3.85 kB
-
https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/observability-opentelemetry-python-5266/evaluation/contract.json
- Command line
-
hf download hf://datasets/CrossSWE/CrossSWE-Bench/instances/observability-opentelemetry-python-5266/evaluation/contract.json
-
curl -L -o contract.json https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/observability-opentelemetry-python-5266/evaluation/contract.json
3.85 kB
| { | |
| "schema_version": 1, | |
| "instance_id": "observability-opentelemetry-python-5266", | |
| "kind": "command_contract", | |
| "network": "none", | |
| "repeat_count": 1, | |
| "required_regression_worlds": [ | |
| "all_buggy", | |
| "all_fixed" | |
| ], | |
| "test_files": [ | |
| { | |
| "path": "tests/files/anyvalue_runtime.py", | |
| "sha256": "4bef764f5cf8145a125d9edb2fe42138074f0cca7e6e9056be1b6b5a3d799237", | |
| "bytes": 1238, | |
| "kind": "evaluation_file", | |
| "original_path": "anyvalue_runtime.py" | |
| }, | |
| { | |
| "path": "tests/files/anyvalue_tests.py", | |
| "sha256": "0fb5d8daa4fd3fc27e6ba46f1a154cfc1f0601d447773a2cb94a5103628d154b", | |
| "bytes": 14692, | |
| "kind": "evaluation_file", | |
| "original_path": "anyvalue_tests.py" | |
| }, | |
| { | |
| "path": "tests/files/runtime-wheels.json", | |
| "sha256": "a88ee228395b370ecbac13e0213d8907c0f48038ec33eccb2c4ec308b0ef7695", | |
| "bytes": 620, | |
| "kind": "evaluation_file", | |
| "original_path": "runtime-wheels.json" | |
| }, | |
| { | |
| "path": "tests/files/runtime-wheels.zip.b64", | |
| "sha256": "1541e10eff3fc167bad52ecc36eb3b473cbf1db51d8c539095675cfe36729102", | |
| "bytes": 962705, | |
| "kind": "evaluation_file", | |
| "original_path": "runtime-wheels.zip.b64" | |
| } | |
| ], | |
| "specifications": [], | |
| "commands": [ | |
| { | |
| "repository": "candidate", | |
| "container_path": "/testbed/open-telemetry/opentelemetry-python", | |
| "setup_command": "python -m pip install --no-cache-dir typing_extensions && python -m compileall -q opentelemetry-api/src opentelemetry-semantic-conventions/src", | |
| "environment": {}, | |
| "test_cwd": null, | |
| "evaluation_setup_command": "python3 /crossrepo-patches/anyvalue_runtime.py setup", | |
| "evaluation_setup_cwd": "/testbed/open-telemetry/opentelemetry-python", | |
| "evaluation_setup_order": 0, | |
| "evaluation_ready_command": null, | |
| "evaluation_teardown_command": null, | |
| "evaluation_config": null, | |
| "fail_to_pass": "python3 /crossrepo-patches/anyvalue_runtime.py provider-f2p", | |
| "pass_to_pass": "python3 /crossrepo-patches/anyvalue_runtime.py provider-p2p" | |
| }, | |
| { | |
| "repository": "contrib", | |
| "container_path": "/testbed/open-telemetry/opentelemetry-python-contrib", | |
| "setup_command": "python -m compileall -q instrumentation/opentelemetry-instrumentation-logging/src", | |
| "environment": {}, | |
| "test_cwd": null, | |
| "evaluation_setup_command": null, | |
| "evaluation_setup_cwd": "/testbed/open-telemetry/opentelemetry-python-contrib", | |
| "evaluation_setup_order": 1, | |
| "evaluation_ready_command": null, | |
| "evaluation_teardown_command": null, | |
| "evaluation_config": null, | |
| "fail_to_pass": "python3 /crossrepo-patches/anyvalue_runtime.py consumer-f2p", | |
| "pass_to_pass": "python3 /crossrepo-patches/anyvalue_runtime.py consumer-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." | |
| } | |
| } | |