Stop a gate run early once the verdict is settled

Open
#120 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Read src/meridian/gate/decide.py and the relevant modules under src/meridian/stats/ to understand how gates currently decide verdicts. First discuss an anytime-valid sequential testing method in the issue, since it changes verdict semantics; then prototype behind a flag if the design is agreed. Done means the design is agreed and, if implemented, early-stopped verdicts match full runs on the self-eval.

Written by the indexing model from the issue text.

Description

area: gate area: stats enhancement needs discussion size: L
Context

Every gate runs all n trials even when the verdict is already clear, which costs model calls. Anytime-valid sequential tests can stop early without inflating error rates.

What to do

Discuss the method in this issue first (it changes what a verdict means), then prototype it behind a flag.

Done when

A design is agreed and, if built, the early-stopped verdict matches the full run on the self-eval.

Where to look

src/meridian/gate/decide.py, src/meridian/stats/


New here? Read CONTRIBUTING.md and comment on this issue to say you are taking it.


Generated by Claude Code

Dominant language
Python
Stars
0
Forks
0
Avg merge
1h 54m
Merged PRs (30d)
14

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from patsypppe/meridian

All issues in patsypppe/meridian

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.