Datasets:
Download instances/cloudnative-moby-51059/evaluation/contract.json from CrossSWE/CrossSWE-Bench: direct link, hf CLI and curl.
- Browser
- Download file 5.85 kB
-
https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/cloudnative-moby-51059/evaluation/contract.json
- Command line
-
hf download hf://datasets/CrossSWE/CrossSWE-Bench/instances/cloudnative-moby-51059/evaluation/contract.json
-
curl -L -o contract.json https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/cloudnative-moby-51059/evaluation/contract.json
5.85 kB
| { | |
| "schema_version": 1, | |
| "instance_id": "cloudnative-moby-51059", | |
| "kind": "native_contract", | |
| "network": "none", | |
| "repeat_count": 3, | |
| "required_regression_worlds": [ | |
| "all_buggy", | |
| "all_fixed" | |
| ], | |
| "test_files": [ | |
| { | |
| "path": "tests/native/native-preparation-r1/docker_cli.authconfig.contract_test.go", | |
| "sha256": "f6c7088faa2f510e45af48c1f8af49f9e7f554d0a628e4234edbaaab0450752d", | |
| "bytes": 4063, | |
| "kind": "native_test_material", | |
| "source_sha256": "f6c7088faa2f510e45af48c1f8af49f9e7f554d0a628e4234edbaaab0450752d" | |
| }, | |
| { | |
| "path": "tests/native/native-preparation-r1/moby.authconfig.contract_test.go", | |
| "sha256": "339547380c87dcd355a1d2fdd0f1541a668d9cc3225a6fdc12dfc4e8229af04f", | |
| "bytes": 4070, | |
| "kind": "native_test_material", | |
| "source_sha256": "339547380c87dcd355a1d2fdd0f1541a668d9cc3225a6fdc12dfc4e8229af04f" | |
| } | |
| ], | |
| "specifications": [ | |
| { | |
| "source_sha256": "fe1f0ef6050db93fb7f064df0caa990194ef54f35f044bb1d2d4e7467bf3a267", | |
| "specification": { | |
| "instance_id": "d07af7a105a2", | |
| "module_preparation": [ | |
| "Moby nested api/go.mod temporarily hidden in fresh world, matching historical public setup; root github.com/moby/moby/v2 module compiles actual own API and own vendored github.com/moby/moby/api independently.", | |
| "CLI base has no go.mod: copy its exact own vendor.mod to go.mod in fresh world, matching historical public setup.", | |
| "No vendor replacement, download, dependency synchronization, source extraction or copied type implementation. go list records actual own+vendor source resolution per role." | |
| ], | |
| "oracle": [ | |
| "Runtime reflection on each actual compiled AuthConfig public type must expose no Email field.", | |
| "Unmarshal legacy email/Email alongside username+password and marshal actual type: legacy Email must not reappear, known credentials remain.", | |
| "JSON object equality observes behavior; no exact source syntax or helper names required." | |
| ], | |
| "original_target_test_scope": "Both tiny actual target packages contain no original *_test.go at base; new P2P semantics are disclosed as regression fixtures, not original test bodies.", | |
| "p2p": [ | |
| "All6known credential fields individually roundtrip through real JSON types on each of4surfaces.", | |
| "All known credentials roundtrip together, empty omitempty remains {}, unrelated unknown JSON field remains ignored.", | |
| "Per-repository actual public-to-own-vendor and reverse JSON credential transfer preserves all6fields." | |
| ], | |
| "public_statement": "Synchronize removal of long-deprecated AuthConfig.Email from Moby engine API and Docker CLI vendored/public API types so registry authentication schemas no longer expose unused API v1.23 field.", | |
| "scope_limits": [ | |
| "Runtime API types/JSON credential behavior and actual own-vendor handoff; no daemon/auth-server execution or real registry network calls.", | |
| "OpenAPI YAML documentation and historical-version API downgrade behavior unvalidated.", | |
| "No original tests exist in the two target packages; no broad repository suite claim." | |
| ], | |
| "source_surfaces": [ | |
| "Moby actual own api/types/registry/AuthConfig", | |
| "Moby own vendor/github.com/moby/moby/api/types/registry/AuthConfig", | |
| "Docker CLI actual cli/config/types/AuthConfig", | |
| "Docker CLI own vendor/github.com/moby/moby/api/types/registry/AuthConfig" | |
| ] | |
| } | |
| } | |
| ], | |
| "source_record_commands": [ | |
| { | |
| "repository": "moby", | |
| "container_path": "/testbed/moby/moby", | |
| "setup_command": null, | |
| "environment": { | |
| "CGO_ENABLED": "1", | |
| "GOPROXY": "off", | |
| "GOTOOLCHAIN": "local" | |
| }, | |
| "test_cwd": "/testbed/moby/moby", | |
| "evaluation_setup_command": "mv api/go.mod api/go.mod.crossrepo-hidden", | |
| "evaluation_setup_cwd": "/testbed/moby/moby", | |
| "fail_to_pass": "go test -mod=vendor -count=1 -run TestCrossRepoF2PAuthConfig ./api/types/registry", | |
| "pass_to_pass": "go test -mod=vendor -count=1 -run TestCrossRepoP2PAuthConfig ./api/types/registry" | |
| }, | |
| { | |
| "repository": "docker_cli", | |
| "container_path": "/testbed/docker/cli", | |
| "setup_command": null, | |
| "environment": { | |
| "CGO_ENABLED": "1", | |
| "GOPROXY": "off", | |
| "GOTOOLCHAIN": "local" | |
| }, | |
| "test_cwd": "/testbed/docker/cli", | |
| "evaluation_setup_command": "cp vendor.mod go.mod", | |
| "evaluation_setup_cwd": "/testbed/docker/cli", | |
| "fail_to_pass": "go test -mod=vendor -count=1 -run TestCrossRepoF2PAuthConfig ./cli/config/types", | |
| "pass_to_pass": "go test -mod=vendor -count=1 -run TestCrossRepoP2PAuthConfig ./cli/config/types" | |
| } | |
| ], | |
| "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." | |
| } | |
| } | |