Datasets:
Download instances/web-nextjs-96079/evaluation/contract.json from CrossSWE/CrossSWE-Bench: direct link, hf CLI and curl.
- Browser
- Download file 3.52 kB
-
https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/web-nextjs-96079/evaluation/contract.json
- Command line
-
hf download hf://datasets/CrossSWE/CrossSWE-Bench/instances/web-nextjs-96079/evaluation/contract.json
-
curl -L -o contract.json https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/web-nextjs-96079/evaluation/contract.json
3.52 kB
| { | |
| "schema_version": 1, | |
| "instance_id": "web-nextjs-96079", | |
| "kind": "command_contract", | |
| "network": "none", | |
| "repeat_count": 3, | |
| "required_regression_worlds": [ | |
| "all_buggy", | |
| "all_fixed" | |
| ], | |
| "test_files": [ | |
| { | |
| "path": "tests/image-probes/opt/producer.py", | |
| "sha256": "b9b20ead271a3ae35561b70b16392638aa0e1b184727d385e2318d438b6cf4c8", | |
| "bytes": 354, | |
| "kind": "source_probe", | |
| "original_container_path": "/opt/producer.py", | |
| "source_image_digest": "sha256:98b1cbccd054a2ed7821cad766b9e87b2e0cdc46e863b1f94d42378e5238a6d3" | |
| }, | |
| { | |
| "path": "tests/image-probes/opt/p2p.py", | |
| "sha256": "35b002b83ecf2ff8cca4cc2d6e34be0bd7a0c1aa9ba73c30fe56c63082008dc1", | |
| "bytes": 482, | |
| "kind": "source_probe", | |
| "original_container_path": "/opt/p2p.py", | |
| "source_image_digest": "sha256:98b1cbccd054a2ed7821cad766b9e87b2e0cdc46e863b1f94d42378e5238a6d3" | |
| }, | |
| { | |
| "path": "tests/image-probes/opt/consumer.py", | |
| "sha256": "90a4369401daeeab90a38f9d253f3c08fe20d9159c420d302658c6d2e797d2f4", | |
| "bytes": 380, | |
| "kind": "source_probe", | |
| "original_container_path": "/opt/consumer.py", | |
| "source_image_digest": "sha256:98b1cbccd054a2ed7821cad766b9e87b2e0cdc46e863b1f94d42378e5238a6d3" | |
| } | |
| ], | |
| "specifications": [], | |
| "commands": [ | |
| { | |
| "repository": "next", | |
| "container_path": "/testbed/vercel/next.js", | |
| "setup_command": null, | |
| "environment": {}, | |
| "test_cwd": null, | |
| "evaluation_setup_command": null, | |
| "evaluation_setup_cwd": null, | |
| "evaluation_setup_order": null, | |
| "evaluation_ready_command": null, | |
| "evaluation_teardown_command": null, | |
| "evaluation_config": null, | |
| "fail_to_pass": "python3 /opt/producer.py", | |
| "pass_to_pass": "python3 /opt/p2p.py" | |
| }, | |
| { | |
| "repository": "react", | |
| "container_path": "/testbed/react/react", | |
| "setup_command": null, | |
| "environment": {}, | |
| "test_cwd": null, | |
| "evaluation_setup_command": null, | |
| "evaluation_setup_cwd": null, | |
| "evaluation_setup_order": null, | |
| "evaluation_ready_command": null, | |
| "evaluation_teardown_command": null, | |
| "evaluation_config": null, | |
| "fail_to_pass": "python3 /opt/consumer.py", | |
| "pass_to_pass": "python3 /opt/p2p.py" | |
| } | |
| ], | |
| "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.", | |
| "test_scope": "These recovered original probes check source structure and repository presence; they are not end-to-end behavioral execution." | |
| }, | |
| "test_type": "source_and_structure_probes" | |
| } | |