Silin-Chen's picture
CrossSWE-Bench: current 171-instance release
0e239c6
|
Raw History Blame Contribute Delete
1.94 kB
# Validated Go agent environment
Use image.json's immutable linux/amd64 image_ref. Both repositories contain their pinned buggy sources, public tests, Go toolchain and ordinary dependencies. v1/public-tests-profile.json lists the exact executed upstream test commands and candidate package bindings. Run those commands inside a fresh container with network=none and no host mounts; no evaluator injection or downloads are required. v1/run-public-tests.sh is an optional convenience entry. Source edits are supported by rerunning the same commands; tests do not require the original file hashes after edits.
The versioned Dockerfile reuses an immutable historical environment parent and adds only the declared ordinary environment repair or public smoke entry files. It does not independently rebuild historical dependencies from registries. Dependency manifests, source locks and snapshot identity are included. A new build can have different metadata; receipts apply only to the accepted fixed digest.
Formal all_buggy and all_fixed are each one logical world, with every frozen command/case preserved. Native phase counts, actual transitions, and any frozen wrapper assertions are recorded separately in image.json. Gold-added upstream tests remain present. Moby's supervisor public subset is a new semantic smoke using current exported options, with no fixed plugin IDs or evaluator content; paired containerd tests are upstream. CLI public tests use a temporary GOPATH source symlink because the repository uses vendor.mod, while its paired Moby client submodule uses readonly module mode. CLI's frozen whole-file test replacement patches are projected from original base bytes and exact patch inputs to avoid overlap with gold changes to the replaced legacy tests. Frozen assertions and gold production sources remain unchanged. Original failed attempts remain preserved.
Gold and hidden test materials are separate evaluator inputs.