Files
myfileagent-pipeline/HANDOFF.txt
T

90 lines
6.1 KiB
Plaintext
Raw Normal View History

SSW590 Group 7 — Member 1 handoff (2026-11-26 America/New_York)
Owner: Member 1; branch: feature/final-ai-review
BASE_SHA / demonstrated source_commit: 5373351a7e7ac2bc0f34bae19c25383de3843ca7
Current implementation SHA: resolve `git rev-parse feature/final-ai-review` after fetching this branch; it is printed in the delivery message.
Scope and changed paths:
reviewer/__init__.py, __main__.py, llama_adapter.py, model-lock.json, prepare_runtime.py
demo/demo.py
tests/fixtures/demo_broken.py, tests/smoke_demo.py, tests/test_reviewer.py
handoff/member1/canonical-fixture.json, canonical-reviewed.py, runtime.md,
metrics-proposal.md, report-contribution.md, integration-check.md, evidence/**
HANDOFF.txt
No workflow, Jenkins, version/packaging, shared LaTeX, or deployed monitoring file was edited.
Canonical fixture contract for Member 2:
Input: tests/fixtures/demo_broken.py, exact bytes `print("hello"\n`.
Accepted output: handoff/member1/canonical-reviewed.py, exact bytes `print("hello")\n`.
Sample fixture JSON: handoff/member1/canonical-fixture.json. Its 24/8 counts are FAKE and mode=fixture.
CLI: python3 -m reviewer --input FILE --source-commit FULL_SHA --out-dir FRESH_DIR
corrected/unchanged => exit 0 and reviewed.py; rejected => exit 2, no reviewed.py;
operational error => exit 3, no reviewed.py and review.json where possible.
Required seven JSON fields remain stable. Extras include mode, revision, UTC times,
elapsed_seconds, input hash and raw-response references. Valid input bypasses model,
preserves exact bytes, has empty diff and mode=bypass. A fixture override uses
REVIEWER_BACKEND_COMMAND and mode=fixture. Real mode uses the pinned local adapter.
Model response cleanup removes surrounding whitespace only, preserves raw stdout,
restores source newline policy, and still requires exact one-character repair.
Prerequisites and reproduction:
Python 3.12+ standard library, Linux amd64, Docker for cgroup measurement,
outbound HTTPS for first-time model/runtime download, and compatible libgomp1.
Read handoff/member1/runtime.md for exact lock, checksums and Docker command.
python3 -m reviewer.prepare_runtime --dest /tmp/ssw590-member1-runtime
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s tests -v
export REVIEWER_MODEL_PATH=/tmp/ssw590-member1-runtime/SmolLM2-135M-Instruct.Q4_0.gguf
export REVIEWER_LLAMA_COMPLETION=/tmp/ssw590-member1-runtime/llama-b12785/llama-completion
# Make libgomp.so.1 available in the image/loader path.
python3 -m reviewer --input tests/fixtures/demo_broken.py \
--source-commit 5373351a7e7ac2bc0f34bae19c25383de3843ca7 \
--out-dir /tmp/ssw590-review-new-001
python3 tests/smoke_demo.py /tmp/ssw590-review-new-001/reviewed.py
Use a fresh output directory for each invocation.
Actual local results:
19 unittest cases passed, including the two preexisting pricing cases; public CLI
corrected/rejected/unchanged/error and argparse usage distinction were exercised.
The finalized real model returned corrected/exit 0 and the smoke test passed.
All three fresh private-model cgroup trials: 23 prompt / 5 output tokens, no OOM;
natural peaks 236150784, 233103360, 238735360 bytes; durations 3.848678,
3.941480, 1.812362 seconds. A 250000000-byte hard-cap run peaked at
234405888 bytes, no OOM, corrected and smoke passed.
Sample successful real bundle: handoff/member1/evidence/acceptance-250m/.
Sample operational error: handoff/member1/evidence/error-missing-model/review.json
(exit 3, null counts, no reviewed.py).
Raw response, runtime counter lines, resource/OOM output and machine summary:
handoff/member1/evidence/{trial-1,trial-2,trial-3,acceptance-250m,measurements.json}.
Actual read-only host load query window: evidence/prometheus-host-window.json.
Dashboard metrics, null handling and report/SWOT content: handoff/member1/*.md.
Member 2 branch 4feb5881... accepted the recorded real review through its
unmodified bundle, verify, smoke and metrics commands locally; details and
the synthetic-run limitation are in handoff/member1/integration-check.md.
A combined temporary checkout found one Member 2 smoke exception mismatch. A
minimal return-code-to-ValueError fix in its owned ci/final_project.py made
all 19 local CI tests pass (5 image-dependent skips); see integration-check.md.
Known failures and limits:
Initial interactive CLI produced unrelated code. A server variant's private-model
peak was 261754880 bytes and failed the memory target; default-batch completion
also exceeded the target in two trials. These are retained under evidence/experiments/.
The smaller context/batch one-process completion configuration is the successful one.
This is local feasibility. The actual Actions/Jenkins image, end-to-end ZIP release,
token collector/Grafana panels and demo screenshots are not yet verified.
Gitea branch push from this SSH session is currently blocked by missing HTTPS
credentials; no working Git SSH identity is available. The committed branch
remains in this separate checkout until an authenticated push is available.
The separate official instructor rubric was not attached here; guide page 5's rubric
mapping was read, and the instructor copy should be checked before final submission.
Current BASE_SHA already contains the reviewed Homework 8/9 documentation branch
heads 4fa2bed7..., 6e2873cc... and 0d835a15...; no documentation rewrite was needed.
Next integration action / explicit dependency:
Member 2 should fetch this branch and consume the canonical fixture immediately,
then install pinned llama-completion + libgomp1 in its execution image, repeat the
checksum and memory smoke check, and wire the exact real review bundle into its
Actions/Jenkins transfer gate. Member 2 owns the textfile collector and Grafana
provisioning; integrate metrics-proposal.md only after verifying the deployed paths.
Coordinate any change to CLI flags, seven JSON fields, mode semantics, newline rule,
model runtime environment names or 250000000-byte boundary before consumption.
No uncommitted intended changes should remain after the final branch commit.