docs+test: NEWS.md, R-compatibility notes, and R-reference value tests#20
Merged
Conversation
- NEWS.md summarizing the current state under 0.1.0. - doc/r-compatibility.md documenting the deliberate choices made to match R results that differ from "typical" Python (pop_sd ddof=0, regression-summary mse denominator, prop_test chi-square+Yates+Wilson CI, get_p_value two-sided convention, UTC datetimes, derived early_january_2023_weather, plotly default, correlation na_rm default, etc.). - tests/test_r_reference.py: cross-package checks asserting the Python results equal R's exact values on a fixed dataset (get_regression_table/summaries, get_correlation, pop_sd, t_test). New-argument R validations live with their feature tests (#18/#19). 279 tests, 100% coverage, ruff clean, docs build -W clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017CTL1QSTg1DmDUpqYuPEog
# Conflicts: # doc/_build/html/.doctrees/api.doctree # doc/_build/html/.doctrees/environment.pickle # doc/_build/html/.doctrees/getting-started.doctree # doc/_build/html/.doctrees/guides/confidence-intervals.doctree # doc/_build/html/.doctrees/guides/hypothesis-testing.doctree # doc/_build/html/.doctrees/guides/plotting.doctree # doc/_build/html/.doctrees/guides/regression.doctree # doc/_build/html/.doctrees/guides/theory-based.doctree # doc/_build/html/.doctrees/index.doctree # doc/_build/html/objects.inv # doc/_build/html/searchindex.js # doc/_build/jupyter_execute/datasets.ipynb # doc/_build/jupyter_execute/getting-started.ipynb # doc/_build/jupyter_execute/guides/confidence-intervals.ipynb # doc/_build/jupyter_execute/guides/hypothesis-testing.ipynb # doc/_build/jupyter_execute/guides/messages.ipynb # doc/_build/jupyter_execute/guides/plotting.ipynb # doc/_build/jupyter_execute/guides/regression.ipynb # doc/_build/jupyter_execute/guides/sampling.ipynb # doc/_build/jupyter_execute/guides/theory-based.ipynb # doc/_build/jupyter_execute/index.ipynb
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017CTL1QSTg1DmDUpqYuPEog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses three cross-cutting requests.
NEWS.md— a single0.1.0section summarizing the current state (inference grammar, theory wrappers, regression/summary helpers, dual-engine plotting, 58 datasets, tooling). Ready to split into 0.1.1/0.2.0 later.doc/r-compatibility.md— documents the deliberate choices made to match R results that differ from "typical" Python:pop_sdddof=0, the regression-summarymsedenominator,prop_test's chi-square + Yates + Wilson-score CI, theget_p_valuetwo-sided convention, one-sidedF/Chisq, UTC datetimes, the derivedearly_january_2023_weather, plotly as the default engine,get_correlation'sna_rmdefault, and more. Added to the docs nav.tests/test_r_reference.py— cross-package validation asserting the Python output equals R's exact values on a fixed dataset (get_regression_table/get_regression_summaries/get_correlation/pop_sd/t_test). Values were generated by the Rmoderndive/inferpackages and baked in (CI has no R). New-argument R validations (correlation methods,prop_testvsprop.test, GOF vs scipy) already live alongside their features in feat: moderndive R argument parity (correlation methods, newdata, …) #18/feat: infer R argument parity (med, prop_test options, weighted sampling, …) #19.279 tests, 100% coverage, ruff clean, docs build warning-free under
-W.Merge note: independent of #18/#19 except it does not touch
CHANGELOG.md, so no conflict there.🤖 Generated with Claude Code