Skip to content

docs: correct adj.r.squared.factor, span.ratio, and aucint.inf description strings - #590

Open
billdenney wants to merge 3 commits into
mainfrom
582-registry-description-strings
Open

docs: correct adj.r.squared.factor, span.ratio, and aucint.inf description strings#590
billdenney wants to merge 3 commits into
mainfrom
582-registry-description-strings

Conversation

@billdenney

Copy link
Copy Markdown
Member

Fixes #582.

Corrects three runtime description strings to match the implementation: adj.r.squared.factor (within-tolerance-of-best selection, then most points — not an additive factor×n criterion; the v40 vignette renders this string), span.ratio (regression time span divided by half-life — the previous text was inverted), and the four aucint.inf.* registry descriptions (copy-pasted from aucint.last/aucint.all; now describe AUCinf-type extrapolation with observed/predicted Clast and the dose-aware variants). Each corrected string is pinned by an expect_match test.

Verification: 348 tests pass across the three touched test files; no man/ changes (runtime strings only); repository line-ending heterogeneity preserved byte-exactly.

Note: the aumcint.inf.* registrations carry the identical copy-paste defect — not covered by this issue, flagged for a follow-up.

🤖 Generated with Claude Code

billdenney and others added 3 commits August 9, 2026 11:43
…ption strings

Three runtime description strings contradicted the implementation
(issue 582):

- The adj.r.squared.factor option description claimed an additive
  'factor times the number of data points' criterion; the code keeps
  candidate lambda.z regressions with an adjusted r-squared within
  adj.r.squared.factor of the best and then selects the one with the
  most data points.
- The span.ratio parameter desc stated the inverse ratio; the code
  computes the regression time span divided by the half-life.
- The aucint.inf.obs, aucint.inf.pred, and .dose variant descs were
  copy-pasted from aucint.last/aucint.all; these parameters extrapolate
  beyond Tlast using the half-life and the observed or predicted Clast.

Add regression tests pinning the corrected wording and a NEWS.md entry.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The aumcint.inf.obs, aumcint.inf.pred, and .dose variant descs carried
the same copy-paste defect as their aucint.inf counterparts (issue 582):
they described the AUMClast/AUMCall extrapolation rules, but these
parameters extrapolate beyond Tlast using the half-life and the observed
or predicted Clast.  Extend the wording-pinning tests and the NEWS.md
bullet to cover them.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Per maintainer guidance, documentation-only changes (including parameter
description strings and dead-code removal with no behavior change) do
not need NEWS items.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

Three registry/option description strings contradict the implementation (adj.r.squared.factor, span.ratio, aucint.inf.*)

1 participant