File size: 1,133 Bytes
d086025
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
# 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: restores `golden.patch` + `golden_assets/` into the live workspace; Harbor then runs `tests/test.sh`.
- `verify.sh` — reproducible admission self-check: builds the inference image, restores `golden.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.