Show accepted model repair in Actions logs [skip ci]
This commit is contained in:
@@ -8,6 +8,8 @@ This change prepares the existing Actions -> Jenkins -> PDF/tests -> versioned Z
|
||||
|
||||
The final-project Gitea Actions and Jenkins unit-test commands select `tests/test_reviewer.py` and `ci/tests`, so unrelated legacy `tests/test_pricing.py` no longer appears in this demo pipeline. Jenkins displays a separate `Compile and execute model-reviewed Python` stage. The existing `ci/final_project.py test` command compiles the verified `reviewed.py`, invokes `tests/smoke_demo.py`, then independently executes `reviewed.py` and requires a zero exit code and exact `hello\n` output before writing `out/test-result.json` and permitting packaging. The intentionally broken committed `demo/demo.py` is never executed as the successful artifact. This stage separation has not yet been observed in a live Jenkins run; the selected reviewer command passed 17 tests locally.
|
||||
|
||||
For the audience, the live Actions step now prints the raw SmolLM2 response, accepted source diff, measured token counts and reviewed-Python smoke result after successful execution. The prior run 43 log did not show the repair; its saved `review.json` and raw-response files do. The new log presentation is prepared locally and still needs a future live run.
|
||||
|
||||
## Version identity
|
||||
|
||||
Jenkins reserves a durable version before the metrics/PDF/test stages and passes `RELEASE_VERSION` to each. The short PDF text and build manifest carry it. `out/test-result.json` records it. The release archive name, `report-<version>.pdf`, `VERSION.txt`, README, `manifest.json` (`version` and `document_version`), `release.json`, and the separate downloadable PDF/checksum all carry the same version. The upstream Actions bundle and raw review are produced before Jenkins reserves a release number; they are bound to the exact source SHA, run ID, attempt, hashes, and model identity, so their original measured bytes remain intact. A retry of the same identity reuses the immutable ZIP bytes and reserved version.
|
||||
|
||||
Reference in New Issue
Block a user