1.3 KiB
Controlled syntax-review demo
The prepared baseline in demo.py is valid: print("hello").
During the live rehearsal, delete only its final closing parenthesis and commit
the result. The Actions reviewer then 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. The prepared baseline uses [skip ci]
so the live inference and counter change happen during the rehearsal.
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.