Skip to content

Bisect trial critical counts and document alpha carry-forward - #237

Merged
jc-macdonald merged 1 commit into
mainfrom
fix/trials-review-followup
Nov 6, 2026
Merged

jc-macdonald merged 1 commit into
mainfrom
fix/trials-review-followup

Conversation

@jc-macdonald

Copy link
Copy Markdown
Collaborator

Follow-up to #234 from its independent review (non-blocking findings):

  • the group-sequential docstring and API page wrongly said unspent alpha is not carried forward; the code (correctly, as standard) carries it forward;
  • _critical now bisects the monotone success boundary instead of scanning linearly. tests/test_trials.py drops from about 2.5 min to 4 s with identical results.

Refs #233.

@jc-macdonald

Copy link
Copy Markdown
Collaborator Author

Independent code-review agent: APPROVE. It verified that success is monotone in k, so bisection returns the same critical count as the linear scan, including the k=0 and k=total edge cases, and that the docstring fix is accurate. All 11 CI checks pass. Merging with an admin override at the maintainer's request.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jc-macdonald
jc-macdonald force-pushed the fix/trials-review-followup branch from 3a0e1bf to 8213fff Compare November 6, 2026 16:47
@jc-macdonald
jc-macdonald merged commit 245feb5 into main Nov 6, 2026
11 checks passed
@jc-macdonald
jc-macdonald deleted the fix/trials-review-followup branch November 6, 2026 16:52
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