research: his ruling on the dspy cache (--no-cache, not a bug) + the implementation plan
- RESEARCH-semantic-kg: measurement note reworded per his call — the disk cache is caching doing its job; --no-cache CLI flag for test runs, default unchanged. - RESEARCH-derived-answers: the 5-phase plan appended (hygiene → taxonomy → temporal → prover → consumers), open decisions listed (DSL vocabulary, order primitives placement, translator location). Awaiting his approval; no code.
This commit is contained in:
@@ -147,13 +147,15 @@ cache deleted per run):
|
||||
reading trap). Substrate state weighs as much as the model.
|
||||
- Cloud is non-deterministic at temperature 0: identical INIT prompt,
|
||||
two different decompositions (2 vs 3 subquestions) across runs.
|
||||
- MEASUREMENT TRAP (both A/B sides): dspy.LM defaults cache=True and
|
||||
- MEASUREMENT NOTE (both A/B sides): dspy.LM defaults cache=True and
|
||||
persists to ~/.dspy_cache ACROSS processes and days, keyed on the
|
||||
request (model+prompt+params, not base_url). A repeated question is
|
||||
a byte-identical REPLAY wearing inference's clothes (0.4 s "runs").
|
||||
Proven by curl (server does not cache) and by running the whole app
|
||||
in an isolated netns (unshare -rn) — it completed with no network.
|
||||
rm -rf ~/.dspy_cache before any run that must be fresh.
|
||||
HIS RULING (25/10): NOT a bug — caching doing its job; the CLI gains
|
||||
a --no-cache flag for test runs, the default stays. Until that flag
|
||||
exists: rm -rf ~/.dspy_cache before any run that must be fresh.
|
||||
|
||||
**The (K5) bug — the audit's silent death** (run 085457):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user