Delete demo/README.md
This commit is contained in:
@@ -1,33 +0,0 @@
|
|||||||
# Controlled syntax-review demo
|
|
||||||
|
|
||||||
The current live-demo input in `demo.py` is `print("hello` with its closing
|
|
||||||
quote and parenthesis missing. The preceding successful run used a source
|
|
||||||
with only its closing parenthesis missing. Both forms require model inference.
|
|
||||||
|
|
||||||
To repeat the live demonstration later, restore the valid baseline in a
|
|
||||||
separate preparation commit, then introduce a small syntax error in a new live
|
|
||||||
commit. The Actions reviewer sends the committed source line to SmolLM2 without
|
|
||||||
matching it against a list of expected typos. It preserves the original and
|
|
||||||
writes the model's validated proposal to `reviewed.py` in the review bundle.
|
|
||||||
Before executing model output, the validator checks that it contains only the
|
|
||||||
demo's `print("hello")` behavior. Jenkins verifies the bundle, builds the short
|
|
||||||
versioned demo PDF, tests the reviewed program, and packages the release.
|
|
||||||
|
|
||||||
Gitea Actions checks the source SHA, runs the real model, then executes the
|
|
||||||
reviewed program and requires exactly `hello` on standard output. Jenkins
|
|
||||||
runs reviewer and pipeline unit tests after that inference, 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.
|
|
||||||
Reference in New Issue
Block a user