Datasets:
Download instances/security-rustls-3203/evaluation/contract.json from CrossSWE/CrossSWE-Bench: direct link, hf CLI and curl.
- Browser
- Download file 2.99 kB
-
https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/security-rustls-3203/evaluation/contract.json
- Command line
-
hf download hf://datasets/CrossSWE/CrossSWE-Bench/instances/security-rustls-3203/evaluation/contract.json
-
curl -L -o contract.json https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/security-rustls-3203/evaluation/contract.json
2.99 kB
| { | |
| "schema_version": 1, | |
| "instance_id": "security-rustls-3203", | |
| "kind": "command_contract", | |
| "network": "none", | |
| "repeat_count": 1, | |
| "required_regression_worlds": [ | |
| "all_buggy", | |
| "all_fixed" | |
| ], | |
| "test_files": [ | |
| { | |
| "path": "tests/files/rustls_contract.py", | |
| "sha256": "5f5c805b90b783ac260dcb6e365c0442b4a02ace7bca17069443ab33906e4365", | |
| "bytes": 9521, | |
| "kind": "evaluation_file", | |
| "original_path": "rustls_contract.py" | |
| } | |
| ], | |
| "specifications": [], | |
| "commands": [ | |
| { | |
| "repository": "rustls", | |
| "container_path": "/testbed/rustls/rustls", | |
| "setup_command": "true", | |
| "environment": {}, | |
| "test_cwd": "/testbed/rustls/rustls", | |
| "evaluation_setup_command": "python3 /crossrepo-patches/rustls_contract.py setup", | |
| "evaluation_setup_cwd": "/testbed/rustls/rustls", | |
| "evaluation_setup_order": 0, | |
| "evaluation_ready_command": null, | |
| "evaluation_teardown_command": null, | |
| "evaluation_config": null, | |
| "fail_to_pass": "python3 /crossrepo-patches/rustls_contract.py rustls-f2p", | |
| "pass_to_pass": "python3 /crossrepo-patches/rustls_contract.py rustls-p2p" | |
| }, | |
| { | |
| "repository": "aws_lc_rs", | |
| "container_path": "/testbed/aws/aws-lc-rs", | |
| "setup_command": "git submodule status --recursive | python3 -c 'import sys; rows=sys.stdin.read().splitlines(); assert rows and all(r.startswith(\" \") for r in rows), \"AWS-LC native submodules must be preinstalled at their pinned commits\"'", | |
| "environment": {}, | |
| "test_cwd": "/testbed/aws/aws-lc-rs", | |
| "evaluation_setup_command": null, | |
| "evaluation_setup_cwd": null, | |
| "evaluation_setup_order": 1, | |
| "evaluation_ready_command": null, | |
| "evaluation_teardown_command": null, | |
| "evaluation_config": null, | |
| "fail_to_pass": "python3 /crossrepo-patches/rustls_contract.py aws-f2p", | |
| "pass_to_pass": "python3 /crossrepo-patches/rustls_contract.py aws-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." | |
| } | |
| } | |