|
Download tasks/data/forward/adamchainz__patchy.eae591b/solution/README.md from Lego-X/ProgramGen: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/forward/adamchainz__patchy.eae591b/solution/README.md
- Command line
-
hf download hf://datasets/Lego-X/ProgramGen/tasks/data/forward/adamchainz__patchy.eae591b/solution/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/forward/adamchainz__patchy.eae591b/solution/README.md
1.13 kB
Solution (reference, closed-book task)
This is a doc-to-repo task: the model must reconstruct the whole repository from ../instruction.md with source and tests stripped. There is no small bug-fix patch; the reference is the repository's ORIGINAL implementation.
golden.patch— a unified diff that recreates the COMPLETE original repository text (implementation + its own tests) verbatim.golden_assets/— binary test fixtures (e.g. sample images) that cannot travel through a text patch, in their original repo-relative layout.solve.sh— Harbor oracle script: restoresgolden.patch+golden_assets/into the live workspace; Harbor then runstests/test.sh.verify.sh— reproducible admission self-check: builds the inference image, restoresgolden.patch+golden_assets/, runs the test suite, and asserts the tests actually ran and passed. This proves the task is solvable (the same "original implementation + tests = pass" gate used at generation).
../tests/ (test_patch + eval Dockerfile) is for grading a MODEL submission; verify.sh here is for proving the task itself is well-formed.