[FIX] The rate the steward asked for was uncomputable: only failures were recorded
"Two weeks of true-versus-drawn rate" needs a denominator, and there was none. Rejections were logged; draws were not, successes were not. The 73% that comes up silent — the whole denominator — left no trace at all. The instrument named as the diagnostic could report only its own failures, which is the shape of a log that always looks alarming and can never be checked. ⚠ §8 AND §9 LOOK LIKE THEY COLLIDE HERE AND DO NOT, on the reading taken: §9's "filed nowhere — no PENDING entry, no log, no item" governs the fool's OUTPUT entering the record; §8 orders "report the observed mumble rate after two weeks". So this records THAT something happened and never WHAT was said. log_event() takes a surface and an outcome and structurally cannot be handed a line — asserted on co_varnames, because a comment promising it would be a comment promising behaviour. ⚠ THE REJECTIONS LOG IS A DIFFERENT CASE AND IS NOT SETTLED. It holds up to 200 characters of his words, added at the steward's instruction so the log could answer whether register and net are mismatched. That is nearer to filing than counting, and §9 says no log. Flagged in the code and put to the steward rather than resolved by the party that wrote it. Nothing reads any of it back. Measurement, not memory. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J6hZXNYSxEfZseBGTni4sf
This commit is contained in:
co-authored by
Claude Opus 5
parent
1976527c02
commit
9f06efcc9a
@@ -29,7 +29,7 @@ import time
|
||||
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
from tarbuckle_mumble_shim import (acceptable, soul_register, session_material, # noqa: E402
|
||||
source_lacks, muted, REJECTS)
|
||||
source_lacks, muted, log_event, REJECTS)
|
||||
|
||||
MAX_WORDS_INVOKED = 180 # §9's "at length", made a number
|
||||
TIMEOUT_S = 90 # the steward is deliberately waiting; he may take longer
|
||||
@@ -109,6 +109,7 @@ def main() -> int:
|
||||
capture_output=True, text=True, timeout=TIMEOUT_S, env=env)
|
||||
except subprocess.TimeoutExpired:
|
||||
log_silence(f"invoked generation exceeded {TIMEOUT_S}s", "")
|
||||
log_event("invoke", "silent")
|
||||
return 0
|
||||
except Exception:
|
||||
return 1
|
||||
@@ -116,6 +117,7 @@ def main() -> int:
|
||||
ok, why = acceptable(line, max_words=MAX_WORDS_INVOKED, one_line=False)
|
||||
if not ok:
|
||||
log_silence(why, line)
|
||||
log_event("invoke", "silent")
|
||||
# ⚠ THE LINE IS STILL WITHHELD — silence-on-violation is not relaxed, and the
|
||||
# rejected text is never printed. But the INSTRUMENT reports its own state.
|
||||
#
|
||||
@@ -130,6 +132,7 @@ def main() -> int:
|
||||
print(f"(called; nothing passed the net — {why}. logged, not shown.)",
|
||||
file=sys.stderr)
|
||||
return 0
|
||||
log_event("invoke", "spoke")
|
||||
print(line)
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user