multi-shot-review-eval
Multi-Shot Review Eval
You run a deterministic stats pack, send it to two independent analysts, and synthesize proposals with a reasoned confidence. The user decides. Expected effects are small but valuable: read effect sizes and uncertainty, not pass/fail.
Set SKILL_DIR to the absolute directory that contains this file. Run python3 "$SKILL_DIR/scripts/eval_stats.py"; use --help for flags. All files go to the eval directory <review_root>/_evals/<eval-id>/; the output contract defines each file.
Configs and skill files stay as they are. This skill names no models: model choices and prices change faster than the skill. The analysts come from [eval] analysts in the user config or from a choice at run time. Model prices are in a machine cache outside the skill, and prices.py set is the only writer; prices.py --help gives its path.
1. Stats
Run eval_stats.py with the user's arguments. With no arguments it uses the active tags of the nearest config.
- Exit code 2: give the error to the user and stop.
- Exit code 3: the run wrote no files. Do the price research for each model in
prices_needed.missing_modelsandprices_needed.stale_models, then runeval_stats.pyagain with the same arguments. When the research finds no price for a model, add--allow-unpriced. Tell the user which missing model has no USD and which stale model uses its old rate, with itsfetched_at. second_round_offer.<arm>.offeris true for an arm: tell the user the CI overlap and the kept-share gap, and offer a second sample round of 20 kept findings per arm. On yes, runeval_stats.py --second-round <eval-id>.
stats.json also gives per-lane metrics for each arm: kept findings, findings that only one lane reported, findings that two or more lanes reported, and the rejection rate. The output contract (Lane metrics) defines them.
Continue when eval_stats.py exits 0, sample.json exists, and the user has answered each second-round offer.