Milestone 379 closes: the readout can now say what it did not measure #144

Merged
bvandeusen merged 3 commits from dev into main 2026-09-08 16:06:15 -04:00
Showing only changes of commit 277aea58e4 - Show all commits
+2 -2
View File
@@ -1300,7 +1300,7 @@ async def build_write_path_hint(
user_id=user_id, source="write_path_rule", query=code or path, user_id=user_id, source="write_path_rule", query=code or path,
threshold=cfg["rule_threshold"], limit=RULEHINT_LIMIT, threshold=cfg["rule_threshold"], limit=RULEHINT_LIMIT,
project_id=project_id, project_id=project_id,
is_task=None, results=hits, duration_ms=rule_ms, is_task=None, results=fresh, duration_ms=rule_ms,
# What the ranker found and this session had already been told. # What the ranker found and this session had already been told.
# Without it a zero row cannot say whether the bar was too high or # Without it a zero row cannot say whether the bar was too high or
# the reader was simply ahead of it — and only the first is a # the reader was simply ahead of it — and only the first is a
@@ -1404,7 +1404,7 @@ async def build_tool_rule_hint(
user_id=user_id, source="pre_tool_rule", query=query, user_id=user_id, source="pre_tool_rule", query=query,
threshold=cfg["rule_threshold"], limit=RULEHINT_LIMIT, threshold=cfg["rule_threshold"], limit=RULEHINT_LIMIT,
project_id=project_id, project_id=project_id,
is_task=None, results=hits, duration_ms=duration_ms, is_task=None, results=fresh, duration_ms=duration_ms,
# See the sibling arm. It matters more here: this arm fires on every # See the sibling arm. It matters more here: this arm fires on every
# Bash call, so a long session excludes its way to an all-zero row # Bash call, so a long session excludes its way to an all-zero row
# and the threshold looks wrong when nothing about it is. # and the threshold looks wrong when nothing about it is.