1.7 KiB
Controlled syntax-review demo
The current live-demo input in demo.py is print("hello" with its final
closing parenthesis missing. The preceding preparation commit contained the
valid baseline print("hello"); the one-character edit is already committed.
To repeat the live demonstration later, restore the valid baseline in a
separate preparation commit, then delete only its final closing parenthesis
in a new live commit. The Actions reviewer sends exactly print("hello" to the
SmolLM2 model. It preserves the committed input and writes the validated repair
to reviewed.py in the review bundle. Jenkins verifies that bundle, builds the
short versioned demo PDF, tests the reviewed program, and packages the release.
The final-project workflow runs the reviewer and pipeline unit tests. Jenkins
then has a separate Compile and execute model-reviewed Python stage: it
compiles the verified reviewed.py, runs it, and requires exactly hello on
standard output. The original broken demo.py is intentionally not executed.
Legacy pricing.py tests belong to the older application and are not part of
this syntax-review demo.
The dashboard's cumulative live token panels update after Jenkins verifies and
publishes the measured review metrics and Prometheus scrapes them. The valid
baseline preparation commits used [skip ci]; the broken-input commit and a
future live review commit must run Actions. A Jenkins retry of the same run
does not add the token counts twice.
The complete workload's 250,000,000-byte memory target is a measured warning threshold. Actions has a 384,000,000-byte hard ceiling with swap disabled; a target overage is retained in the review evidence while a successful run continues.