Silin-Chen's picture
CrossSWE-Bench: current 171-instance release
0e239c6
|
Raw History Blame Contribute Delete
2.11 kB

OpenAPI generator / Jackson nullable 23331

Immutable linux/amd64 image: silinchen0617/crossrepo-bench@sha256:9ef3d9b4430fe6d2cbd271ad441a4c74ea951cc7f819be63bcb478c512af5a97.

docker run --rm --network=none --cpus=16 --memory=16g \
  silinchen0617/crossrepo-bench@sha256:9ef3d9b4430fe6d2cbd271ad441a4c74ea951cc7f819be63bcb478c512af5a97 /opt/crossswe-public/run-public-tests

The built-in entry rebuilds both exact paired source trees and executes438 original public test bodies: nullable249 and generator189. All passed;4 original upstream cases are skipped. Native test JVM class loading proves both production classes come from the current provided source outputs. Both production trees were also edited and rebuilt with the same command; changed class hashes and native method execution markers prove the edits ran. That repeats the same438 cases. No network, host input mounts, evaluator, reference or frozen tests are needed.

Trusted evaluation

Keep reference and frozen evaluation materials outside the agent workspace. The original task, Gold variants, patches, assertions and commands remain intact. The consumer helper revision changes one String.format call to use Locale.ROOT; the original forbiddenapis gate remains enabled.

python3 environments/api-openapi-generator-23331/v4/evaluator-support/run-original-openapi-contract.py \
  --instance-dir instances/api-openapi-generator-23331 \
  --tool-revision environments/api-openapi-generator-23331/v4/test-tool-revisions/test-1-locale-root-authorized.patch \
  --validate-only

For candidate evaluation add --world candidate --image IMMUTABLE_IMAGE --output-dir FRESH_DIRECTORY and --candidate REPO=PATCH.

Audited rebuild inputs

v4/Dockerfile pins the immutable snapshot. The neutral recipe and input materializer are under v4/rebuild. Run materialize-image-inputs.py with --image, --input-lock, --recipe-dir and a fresh --output-dir to export a never-started container, preserving and verifying82881 exact files/symlinks. Build the exported Dockerfile to rebuild from the pinned neutral SDK and pure base sources.