Skip to content

NO-ISSUE: add --from-report to the stock-vs-tuned sweep - #5

Merged
arnavdhar07 merged 1 commit into
mainfrom
phase-13h-from-report
Aug 15, 2026
Merged

NO-ISSUE: add --from-report to the stock-vs-tuned sweep#5
arnavdhar07 merged 1 commit into
mainfrom
phase-13h-from-report

Conversation

@arnavdhar07

@arnavdhar07 arnavdhar07 commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

Picking keep_exact_match_rate over false_redaction_rate previously meant re-running every engine: --freeze only worked inside a run that had just measured the trials, even though sweep_report.json carries every trial's overall and per_stratum block.

Selection is now select_from_trials(), shared by both paths, so the printed report and tuned_configs.json cannot disagree about which config won. --from-report merges per-engine shards, refuses shards from different dev sets or a duplicated engine, and re-applies the D-13.4 scored-set guard to the dev set the report records so the offline route is not a way around it. Offline output is written as reselected_report.json, never sweep_report.json. done

Picking keep_exact_match_rate over false_redaction_rate previously meant
re-running every engine: --freeze only worked inside a run that had just
measured the trials, even though sweep_report.json carries every trial's
overall and per_stratum block.

Selection is now select_from_trials(), shared by both paths, so the printed
report and tuned_configs.json cannot disagree about which config won.
--from-report merges per-engine shards, refuses shards from different dev
sets or a duplicated engine, and re-applies the D-13.4 scored-set guard to
the dev set the report records so the offline route is not a way around it.
Offline output is written as reselected_report.json, never sweep_report.json.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@arnavdhar07 arnavdhar07 changed the title 13h: --from-report, so the ranking metric can be chosen after the sweep NO-ISSUE: add --from-report to the stock-vs-tuned sweep Aug 15, 2026
@arnavdhar07 arnavdhar07 changed the title NO-ISSUE: add --from-report to the stock-vs-tuned sweep ENG-135: add --from-report to the stock-vs-tuned sweep Aug 15, 2026
@arnavdhar07 arnavdhar07 reopened this Aug 15, 2026
@arnavdhar07 arnavdhar07 changed the title ENG-135: add --from-report to the stock-vs-tuned sweep NO-ISSUE: add --from-report to the stock-vs-tuned sweep Aug 15, 2026
@arnavdhar07
arnavdhar07 merged commit a28ddd2 into main Aug 15, 2026
1 of 2 checks passed
@arnavdhar07
arnavdhar07 deleted the phase-13h-from-report branch August 15, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant