Datasets:
Download instances/cloudnative-docker-cli-6551/evaluation/contract.json from CrossSWE/CrossSWE-Bench: direct link, hf CLI and curl.
- Browser
- Download file 3.68 kB
-
https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/cloudnative-docker-cli-6551/evaluation/contract.json
- Command line
-
hf download hf://datasets/CrossSWE/CrossSWE-Bench/instances/cloudnative-docker-cli-6551/evaluation/contract.json
-
curl -L -o contract.json https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/cloudnative-docker-cli-6551/evaluation/contract.json
3.68 kB
| { | |
| "schema_version": 1, | |
| "instance_id": "cloudnative-docker-cli-6551", | |
| "kind": "command_contract", | |
| "network": "none", | |
| "repeat_count": 1, | |
| "required_regression_worlds": [ | |
| "all_buggy", | |
| "all_fixed" | |
| ], | |
| "test_files": [], | |
| "specifications": [], | |
| "commands": [ | |
| { | |
| "repository": "cli", | |
| "container_path": "/testbed/docker/cli", | |
| "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": "go test -count=1 -run '^TestCrossRepoF2P' ./cli/command/service ./cli/command/stack ./cli/command/volume ./cli/command/builder ./cli/command/container ./cli/command/formatter ./cli/compose/convert", | |
| "pass_to_pass": "rc=0; go test -count=1 -timeout 900s -skip '^(TestCrossRepoF2P.*|TestRemoveStackVersion124DoesNotRemoveConfigsOrSecrets|TestRemoveStackVersion125DoesNotRemoveConfigs|TestPrunePromptPre131DoesNotIncludeBuildCache|TestRollback|TestParseWithMacAddress|TestRunBuildFromGitHubSpecialCase)$' ./cli/command/service ./cli/command/stack ./cli/command/volume ./cli/command/builder ./cli/command/container ./cli/command/formatter ./cli/command/image ./cli/command/system ./cli/compose/convert || rc=1; go test -count=1 -v -run '^(TestParseNetworkConfig|TestServiceListServiceStatus|TestStackServicesErrors)$' -skip '^(TestParseNetworkConfig|TestServiceListServiceStatus|TestStackServicesErrors)$/^(single-network-advanced-with-options|advanced-options-with-standalone-mac-address-flag|API_v1\\.40_.*|error_getting_nodes|error_getting_tasks)$' ./cli/command/container ./cli/command/service ./cli/command/stack || rc=1; exit $rc" | |
| }, | |
| { | |
| "repository": "moby", | |
| "container_path": "/testbed/moby/moby", | |
| "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": "rc=0; (cd client && go test -count=1 -run '^TestCrossRepoF2P' .) || rc=1; go test -count=1 -run '^TestCrossRepoF2P' ./internal/crossrepoapifloor || rc=1; exit $rc", | |
| "pass_to_pass": "rc=0; (cd client && go test -count=1 -timeout 900s -skip '^(TestCrossRepoF2P.*|TestImageListWithSharedSize)$' ./...) || rc=1; go test -count=1 -run '^TestCrossRepoP2P' ./internal/crossrepoapifloor || rc=1; exit $rc" | |
| } | |
| ], | |
| "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." | |
| } | |
| } | |