Files
myfileagent-pipeline/handoff/member1/report-contribution.md
T
Codex Agent 0bffbdf4bd
myfileagent-python-ci/pipeline/head This commit looks good
Final project review (live) / review (push) Successful in 53s
Review syntax after model without typo whitelist
2026-11-28 22:26:14 +00:00

5.7 KiB
Raw Blame History

Proposed report contribution: Member 1

28 November evidence update: The historical one-character results below remain valid for the earlier run. The current two-character input is print("hello and the reviewer no longer matches input against a typo list. A real local SmolLM2 run corrected it with 22 input and 5 output tokens; its reviewed file passed the hello execution test. See evidence/two-character-local/README.txt. A new Actions run and full cgroup measurement are still required before calling this a live integrated result. Final documentation should describe the current output-only safety rule and use the new live run's measured figures, not copy the historical one-character description as current behavior.

For Member 2 to integrate into the required “Configuring and Running the DevOps Pipeline” chapter. This is prose and table content only; no shared LaTeX or deployed dashboard file was edited.

Why a model is in this pipeline

The learning goal is to demonstrate measured automated review inside the team's existing Gitea Actions → Jenkins → LaTeX/tests → versioned ZIP pipeline. A deterministic parser can detect this missing parenthesis more cheaply; the local model is used to propose a repair. The deterministic validator then permits only adding the final ) to print("hello", checks syntax again, and runs the reviewed artifact's hello smoke test. The source commit remains unchanged. The model cannot select commands, files, credentials or release destinations. This narrow demo does not prove that the model prevents major bugs in general Python programs.

The chosen model is SmolLM2-135M-Instruct (Apache-2.0) in a pinned third-party Q4_0 GGUF with llama.cpp b12785. Exact revisions, hashes, prompt and settings are in reviewer/model-lock.json. The verified raw completion was print("hello") followed by whitespace; its surrounding whitespace was removed, the input's newline restored, and the exact accepted diff recorded. The runtime counters were 23 prompt and 5 generated tokens. Unknown counters remain null.

Three fresh container trials with a private GGUF copy charged to the same cgroup peaked at 236,150,784, 233,103,360 and 238,735,360 bytes, with elapsed times 3.848678, 3.941480 and 1.812362 seconds. The 250,000,000-byte cap trial peaked at 234,405,888 bytes, returned corrected, had no OOM kill and passed the hello smoke test. The measurement includes reviewer and model child processes and cgroup-charged cache. It is local feasibility evidence. The actual Actions execution image and shared-host Grafana window still require integration verification. Failed experiments matter: the interactive CLI produced unrelated code, and a server variant exceeded the target at 261,754,880 bytes; batch/context reduction and the completion executable were needed.

AI reviewer SWOT (controlled one-line syntax task)

Strengths Weaknesses Opportunities Threats
Repeatable commit-linked proposal and raw-response log; measured token/time use. Small model needed prompt constraints; output needed narrow whitespace cleanup; consumes memory. Automate review records and compare proposals against deterministic tests. Invalid edits, unavailable weights/runtime, prompt sensitivity, false confidence if validation is skipped.

Human reviewer SWOT (same task)

Strengths Weaknesses Opportunities Threats
Can infer intent and question requirements; can review broader context. Availability and speed vary; repetitive one-character errors are easy to overlook. Teach code-review discipline and improve fixtures and acceptance criteria. Fatigue, inconsistent review, missed defects or overconfidence.

These are qualitative comparisons, not measured productivity claims. A human still approves implementation scope, integration and release policy. Member 2's separate Actions/Jenkins SWOT charts address the instructor's two-tool rubric item.

Validator and process contribution

Requirements enter as a Gitea issue; the source change is a Git commit. Actions should call the reviewer on that full SHA and publish an immutable result bundle. Jenkins must verify SHA/run/attempt and hashes before building the LaTeX PDF or executing the reviewed file. Unit tests, Python syntax parsing and the hello smoke test serve different gates. Prometheus/Grafana associate actual review counters with the same run window and show host load; host load is not proof of model-only memory. The versioned ZIP is the deployment artifact, subject to Member 2's durable version reservation and fresh-download verification.

The guide's page 5 maps the 100-point rubric to issue tracking, version control, trigger, build visibility, tests, artifact, SWOT, configuration, report and cloud execution; it also identifies reverse documentation as the explicit +5 bonus. The separate official instructor rubric was not among the files attached to this chat, so Member 2 should verify this wording against the instructor copy before final report submission.

A read-only Prometheus range query around the three final local trials recorded node exporter up=1 in ten 30-second samples, with host CPU query values about 52.7–80.2% and host available memory 352,559,104–531,513,344 bytes. These values reflect the entire shared Droplet and the two-minute CPU rate; they are context, not proof that the model caused those changes. The raw query responses and UTC window are in handoff/member1/evidence/prometheus-host-window.json. The final Grafana token/host dashboard and end-to-end demo screenshots are pending Member 2's integration.