Skip to content

Audit the model chooser and the sample size page - #54

Merged
PeterSlijkhuis merged 3 commits into
mainfrom
chooser-power-audit
Sep 30, 2026
Merged

PeterSlijkhuis merged 3 commits into
mainfrom
chooser-power-audit

Conversation

@PeterSlijkhuis

@PeterSlijkhuis PeterSlijkhuis commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Before: the model chooser and the sample size page named t-tests, ANOVAs, chi-square and rank tests as if they were the method, next to the course's models.

After: every such name reads as "traditional" (for example "the traditional paired t-test"), and a unit test fails if a bare name comes back.

How: the text in modelTree.ts, questionMatcher.ts, sampleSizeDesigns.ts and SampleSize.tsx is rewritten, and the "Traditional name" label is now "Traditional counterpart". The report sentence on the sample size page now names the model's test first, with the traditional test in brackets. A strict correctness audit of both pages follows in this PR.

@PeterSlijkhuis
PeterSlijkhuis merged commit a3ffb3c into main Sep 30, 2026
4 checks passed
@PeterSlijkhuis
PeterSlijkhuis deleted the chooser-power-audit branch October 1, 2026 07:17

This branch was successfully deployed

1 active deployment
github-pages — a3ffb3cb Deployed Sep 30, 2026 by PeterSlijkhuis via deploy #143
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