-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Summary
No response
Details
Summary
Add an --explain mode to the Chapter 14 tutoring A/B case study analyzer
(scripts/ch14_tutoring_ab.py).
When --explain is set, the script should print human-readable explanations
alongside the numerical results (effect size, confidence interval, p-value).
Goals
- Add a
--explainflag to the CLI (using the sharedbase_parser). - When
--explainis true:- Print brief, plain-language commentary on:
- the estimated mean difference,
- the 95% confidence interval,
- the p-value and what it implies.
- Print brief, plain-language commentary on:
- Keep the default non-explain mode output unchanged (so existing workflows don’t break).
- Add at least one small test or example to show the new flag in action.
Hints
- Look at how
scripts/ch14_tutoring_ab.pycurrently uses the CLI helper. - Mirror the style of printouts used in Chapter 13/14 (short, clear, instructor-friendly).
- It’s fine to start with very minimal natural-language text; we can refine wording in review.
Difficulty
Beginner-friendly: good first issue for someone comfortable with basic Python
and the command line.
Files to Touch
No response
Contributor Checklist
- I have read
CONTRIBUTING.md. - I can run
make lintlocally. - I can run
make testlocally. - I have checked for existing issues/PRs that might overlap.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed