Instructions to use tampajohn/laya-stop-completion-judge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Laya
How to use tampajohn/laya-stop-completion-judge with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -21,6 +21,29 @@ to end its turn, this model scores P(incomplete) on (user request, final
|
|
| 21 |
assistant message) in ~25 ms on Apple silicon. Turns scoring high are blocked
|
| 22 |
and sent back to either finish the work or explicitly hand back.
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
## Results (held-out real turns, n=315, 59 positive)
|
| 25 |
|
| 26 |
| model | AUROC | mean P(inc) on complete | mean P(inc) on incomplete |
|
|
|
|
| 21 |
assistant message) in ~25 ms on Apple silicon. Turns scoring high are blocked
|
| 22 |
and sent back to either finish the work or explicitly hand back.
|
| 23 |
|
| 24 |
+
## Why this exists
|
| 25 |
+
|
| 26 |
+
Some models habitually **end their turn while still announcing pending work**:
|
| 27 |
+
"Fixed the locator. Next I'll run the tests…" — and then just stop. This fleet
|
| 28 |
+
routes most routine work to open-weights models (Kimi K3, GLM) through an
|
| 29 |
+
internal proxy, and K3 in particular did this constantly: turn after turn
|
| 30 |
+
ending on a promise, with the actual work never started. Frontier models rarely
|
| 31 |
+
exhibit it; cheaper open-weights models do it enough that unattended background
|
| 32 |
+
sessions can't be trusted without a guard.
|
| 33 |
+
|
| 34 |
+
The first fix was a regex (`stop_guard.py`, 2026-08): match announcement
|
| 35 |
+
phrases in the final sentence and block. It works but only knows its own
|
| 36 |
+
vocabulary — it misses danglers phrased outside it ("Checking for stray
|
| 37 |
+
em-dashes before calling it done:", "Not in the first page — checking the
|
| 38 |
+
next:") and can't weigh context (a message reporting queued work is *not* the
|
| 39 |
+
same as one announcing personal work).
|
| 40 |
+
|
| 41 |
+
This checkpoint replaces pattern-matching with judgment: it reads what was
|
| 42 |
+
asked against what was delivered and scores P(incomplete). The practical
|
| 43 |
+
payoff is routing freedom — send routine work to the cheapest model that can
|
| 44 |
+
do it, and let a 25 ms local judge compensate for the premature-stop habit
|
| 45 |
+
instead of paying frontier prices just to get reliable turn endings.
|
| 46 |
+
|
| 47 |
## Results (held-out real turns, n=315, 59 positive)
|
| 48 |
|
| 49 |
| model | AUROC | mean P(inc) on complete | mean P(inc) on incomplete |
|