Phase 0 — judge value cleanup + --no-cache + import assert #23

Merged
onibot merged 1 commits from fix/judge-value-cleanup into main 2026-10-25 20:00:44 +01:00
Owner

The (K5) fix: judge value cleanup at the output boundary, --no-cache CLI flag (his ruling: cache stays the default), and the import assert that aborts when the venv editable-pth shadows the tree (run 085457 lesson). Suite 18/18 green incl. the new value_clean (7 laws). Verified live: poisoned PYTHONPATH aborts; --no-cache re-runs real inference on repeated questions.

The (K5) fix: judge value cleanup at the output boundary, --no-cache CLI flag (his ruling: cache stays the default), and the import assert that aborts when the venv editable-pth shadows the tree (run 085457 lesson). Suite 18/18 green incl. the new value_clean (7 laws). Verified live: poisoned PYTHONPATH aborts; --no-cache re-runs real inference on repeated questions.
onibot added 1 commit 2026-10-25 20:00:40 +01:00
The (K5) bug fix (his 24-25/10 session): glm-5.3-flash glues row
citations and glosses onto the judge's value field, killing the ablation
audit silently ("the judge invented it: nothing to ablate") and leaking
LLM prose into typed payloads. Fixed at the judge's output boundary
(_answer_from_rows): trailing-only, marker-anchored cleanup (_clean_value)
that strips the three live citation shapes and survives legitimate
parentheticals ("(PSOE)", "(since 2018)"). The AnswerFromKG value desc
now says what the value must be.

--no-cache CLI flag (his ruling: the dspy disk cache is not a bug, the
default stays; the flag exists for A/B and freshness testing) — builds
dspy.LM with cache=False for the process; verified live: repeated runs
re-run real inference instead of replaying.

Import assert at startup: floop/knowledge SUBMODULE files must resolve
inside this repo's tree. Namespace-package __path__ lies (it recomputes
dynamically and lists every tree), so the check pins the actual module
files (run 085457 was main's pipeline inside the branch worktree, no
signal). Abort loudly, don't log.
onibot merged commit 4c9c762b91 into main 2026-10-25 20:00:44 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: onibot/floop#23