You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ed6281b
Browse filesBrowse the repository at this point in the historyBrowse files
feat(eval): planner-variant arms as an orthogonal axis, and the §5 verdict door
Council D-12 wants the five planner variants measured as ARMS -- shipped,
or_first_filtered, and_first_unfiltered, or_only_unfiltered and the
candidate and_then_prose_or -- without overloading the mcp|cli|hybrid|frozen
transport arms. So the planner is a second axis: `mcp:and_then_prose_or` is
the real session_search tool through FastMCP with one function substituted
for retrieval.plan_natural_language for the duration of the call, exactly
as the arm already substitutes the database path. plan_query is never
substituted, so the explicit door is identical across variants by
construction (tested through the tool for every variant). The subprocess
CLI arm and the frozen control refuse a variant: one cannot be reached
in-process and the other must not move.
The candidate builds on the shipped planner captured at import -- not on the
module attribute it temporarily stands in for -- so it keeps the shipped AND
arm, STOP set, length filter, no-content-terms return and de-duplication,
and swaps only the widen string for prose_or_query(raw). Tests pin each of
those properties and the end-to-end widen string in retrieval_status.
eval/lexical.py evaluates the four pre-registered clauses FROM a receipt, by
code: recall CI95 lower bound strictly above zero; precision@5 drop at most
0.05 absolute; the three explicit-door assertions re-run on the live
planner; the pre-planner golden byte-identical to d060d3f. It also derives
the committed receipt with digests in sha256:/git: notation, because the
detect-secrets hook flags any bare quoted hex string (a 16-hex prefix
included -- tested). `python -m agent_session_tools.eval lexical-verdict`
is the door; the gold subcommand now also pairs precision@K and MRR@K with
the same bootstrap and prints P@K per arm, and its comparison printer speaks
the third receipt shape instead of assuming two.
0 commit comments