Review syntax after model without typo whitelist
This commit is contained in:
+14
@@ -2,6 +2,20 @@
|
||||
|
||||
Updated 28 November 2026. This is the current documentation-preparation record for the Gitea Actions → real SmolLM2 review → Jenkins → LaTeX/tests → versioned ZIP demo. A broken-input commit exists, but this handoff does not assert that its complete Actions → Jenkins rehearsal has succeeded. The older `secure-delivery/HANDOFF.md` is for Assignment 8 and is unrelated to this demo. The original Member 1 record is `HANDOFF.txt`; the earlier deployed integration record is `ci/HANDOFF.txt`.
|
||||
|
||||
## Run 49 failure and revised live review contract (28 November 2026)
|
||||
|
||||
- Commit `1d20412bd6435acae9182c23b13919affa10bcb4` changed `demo/demo.py` from `print("hello"` to `print("hello`, removing the closing quote as well as the already-missing parenthesis. Gitea Actions run **49**, attempt **1**, reported reviewer exit **3**. Its job cgroup peaked at **210,649,088 bytes** under the **384,000,000-byte** hard ceiling, with **zero OOM kills**. Code inspection shows the old adapter's input-string whitelist rejected this source before invoking the model; the generic assertion hid that diagnostic. The run created no ready bundle, Jenkins release or new Grafana token event.
|
||||
- At the user's direction, the reviewer no longer enumerates permitted typo strings. A valid Python source still bypasses inference. An invalid, bounded one-line source goes to the pinned real model. Before executing the proposal, the reviewer requires a Python AST containing only the demo's `print("hello")` behavior and the same final-newline policy. It rejects extra code or different behavior. Actions now performs only exact-SHA verification before inference; `ci/run_live_review.py` executes the reviewed program **after** inference and requires the hello smoke test to pass before bundling. It prints the reviewer diagnostic on operational errors. Jenkins retains its post-inference unit and compile/execute stages.
|
||||
- The reviewer unit suite no longer lists potential broken strings. Its four contract tests read the current committed demo input, check safe output, reject extra model code, check operational diagnostics, and confirm valid-input bypass. The pipeline fixture stub no longer enumerates broken strings. The current `demo/README.md` and short PDF text describe the repair generically; the PDF verifies the actual committed source, reviewed program and exact diff rather than requiring a one-character edit.
|
||||
- One **local** pinned SmolLM2 inference on the current two-character input returned raw stdout ` print("hello")` followed by newlines, **22 measured input / 5 output tokens**, status `corrected`; the resulting `reviewed.py` executed with exact stdout `hello`. The revised reviewer tests passed **4/4**. Local pipeline tests passed **19/19**, with five TeX-image-only tests skipped on the host. A focused PDF build in the pinned TeX image produced **one page** from that real local response. Its synthetic run **999999** and version **9.9.9** identify an offline preview, **not a release**. Evidence is under `handoff/member1/evidence/two-character-local/`; the preview is `../outputs/demo-refresh-checks/two-character-preview-not-a-release.pdf`. This local run did **not** measure a complete Actions job cgroup peak; run 49's 210 MB peak occurred before inference and is not a successful-model memory result.
|
||||
- This repair is based directly on failed commit `1d20412…` in a separate worktree. It needs a new pushed SHA, a new successful Actions run, and a Jenkins build bound to that new SHA/run/attempt. The already deployed Grafana presentation source from local commit `66b544cb1fa9bf2c839441de4275716202d1ef1d` is included in this tip, so the new remote dashboard JSON will match Grafana's provisioned copy.
|
||||
|
||||
## Live Grafana display now included in source
|
||||
|
||||
- After the successful Jenkins repair, the live metrics textfile recorded **23 input / 5 output tokens**, **4.492204 seconds** review duration, **286,928,896 bytes** complete-job memory peak, a **384,000,000-byte** enforced ceiling, and release label **1.0.7**. The peak used **74.72%** of the ceiling. The original **250,000,000-byte** model-selection goal is a soft warning and remains visible in panel descriptions and raw metric `review_job_memory_target_exceeded{mode="live"} 1`.
|
||||
- The final-project Grafana dashboard colors measured peak green below **320,000,000 bytes**, yellow from there, and red near the ceiling from **360,000,000**. The **Memory capacity used** card shows peak/ceiling: green below **85%**, yellow from **85%**, red from **95%**. The hard-ceiling card is green. The static token-count availability card was removed; its raw availability metrics remain in Prometheus. This changes presentation, not measurements or enforced limits.
|
||||
- The source dashboard JSON was copied to the live provisioned file, and a read-only Grafana resource-store snapshot confirmed the new memory panel, thresholds and removal of the static availability panel. The copy in this worktree has the same SHA-256 as the live provisioned JSON. Run 49 failed before new token metrics could be published, so the live textfile's last successful values remain from the earlier successful run.
|
||||
|
||||
## Latest live attempt and Jenkins repair (28 November 2026)
|
||||
|
||||
- The user pushed `32a3c6f3f055c8a840f5bde9784137bfa39c8493` to `feature/final-ci-demo`. Gitea Actions run 47, attempt 1 produced a bundle that Jenkins `final-project-live` build #5 retrieved and verified against that SHA. Jenkins reserved version **1.0.6**. Thus earlier statements below that this tip was unpushed or that no refresh version had been reserved are superseded.
|
||||
|
||||
Reference in New Issue
Block a user