Skip to content

feat(submit): dry-run pipeline + median report + candidate selection#586

Merged
gHashTag merged 1 commit intomainfrom
feat/532-submission-dry-run
Apr 30, 2026
Merged

feat(submit): dry-run pipeline + median report + candidate selection#586
gHashTag merged 1 commit intomainfrom
feat/532-submission-dry-run

Conversation

@gHashTag
Copy link
Copy Markdown
Owner

Summary

Submission dry-run executor with median BPB report and candidate selection.

New file

  • src/b2t/submission_dry_run.zig — 189 LOC

Components

  • DryRunExecutor: runs full pipeline without submit, checks BPB < 1.15 and size < 16MB
  • CandidateSelector: selects seed with min BPB as candidate
  • CandidateSelector.computeMedian() / computeMAD(): variance reporting
  • ManifestWriter: JSON median_report.json output
  • DryRunResult: combined pass/fail with detailed breakdown

Output format

{
  "seeds": [42,43,44,45,46],
  "bpbs": [1.12, 1.08, 1.14, 1.09, 1.11],
  "median": 1.11,
  "mad": 0.02,
  "candidate_seed": 43,
  "candidate_bpb": 1.08
}

Tests (5)

  • Dry run pass, result structure, candidate selection, median, MAD

Closes #532
Part of: #529

- Add src/b2t/submission_dry_run.zig
- DryRunExecutor: run full pipeline without submit call
  BPB gate check (median < 1.15), size gate check (< 16MB)
  Formatted report with pass/fail status
- CandidateSelector: min(median_bpb) across seeds
  Median + MAD computation for variance reporting
- ManifestWriter: JSON median_report.json output
- 5 tests: dry run pass, result structure, candidate selection,
  median computation, MAD computation

Closes #532
Part of: #529
@gHashTag gHashTag merged commit 70d41b7 into main Apr 30, 2026
9 of 19 checks passed
@gHashTag gHashTag deleted the feat/532-submission-dry-run branch April 30, 2026 10:27
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.

🎯 Submission Dry-Run — candidate selection & median BPB

1 participant