docs: propagate recent fixes across stats/base/dists/* packages#13284
Draft
Planeshifter wants to merge 3 commits into
Draft
docs: propagate recent fixes across stats/base/dists/* packages#13284Planeshifter wants to merge 3 commits into
stats/base/dists/* packages#13284Planeshifter wants to merge 3 commits into
Conversation
Propagates fix from 4e24379 ("docs: fix string interpolation and update comments") to sibling distribution packages where the `logEachMap` format string uses the C-style `%lf` specifier instead of the required `%0.4f`.
Propagates fix from 6e257ba ("chore: fix copy-paste mistakes") to sibling packages whose README equation labels, `data-equation` values, and SVG image paths still say `_expectation` from a mean-package copy-paste. Also corrects alt text on the median README.
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
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.
Description
Propagating fixes merged to
developbetween 2026-07-04 21:17 UTC and 2026-07-05 12:00 UTC to sibling packages that carry the same defects.docs: fix logEachMap format specifier(source: 4e24379)The
logEachMapformat string uses stdlib'sformatspec, not Cprintf.%lfis not a valid token;%0.4fis the intended form. 4e24379 fixed the tukey-lambda/mode example; the same wrong specifier is present in the following sibling distribution READMEs and theirexamples/index.js:stats/base/dists/anglit/meanstats/base/dists/anglit/medianstats/base/dists/anglit/quantilestats/base/dists/halfnormal/meanReplacement is confined to the
logEachMapline in each file; the%lftokens inside Cprintfexamples elsewhere in each README are untouched.chore: fix copy-pasted equation labels(source: 6e257ba)6e257ba corrected a
betaprime/mode/README.mdwhose equationlabel,data-equation, and image path still read_expectationfrom a mean-package copy-paste. The same three tokens plus a stalealtattribute appear in:stats/base/dists/levy/mode—label,data-equation, and SVG path corrected to_mode.stats/base/dists/levy/median— same three tokens corrected to_median, plusalt="Mode for a Lévy distribution."→"Median for a Lévy distribution."on both the<equation>and the<img>element.docs: add missing @private tag(sources: a1a8d32, 7d1419f)Both source commits inserted
* @privateinto the JSDoc block ofstats/base/dists/log-logistic/{cdf,quantile}/lib/native.jsbecause the wrapper is an internal binding, not part of the public API. The same JSDoc block in the following native.js files omits the tag:stats/base/dists/bradford/entropystats/base/dists/cosine/quantilestats/base/dists/gamma/pdfstats/base/dists/logistic/cdfstats/base/dists/poisson/pmfstats/base/dists/signrank/pdfInsertion form matches the source commits exactly: one new
* @privateline between the blank comment line following the description and the first@param.Related Issues
None.
Questions
None.
Other
Validation
lib/node_modules/@stdlib/stats/base/dists/.%lfoccurrences inside Cprintfexamples (legitimate C format specifiers); READMElabel="eq:*_expectation"occurrences inmean/packages (label is semantically correct there); autogenerated files (math/base/special/*/lib/rational_pq.js— matchedreturn Infinitybut carry a "generated file" marker, so the fix belongs in the generator).Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was authored by Claude Code as part of an automated fix-propagation routine that scans the previous 24 hours of commits merged to
develop, extracts generalizable fix patterns, locates sibling packages with the same defect, and produces a draft PR for maintainer review. Each candidate site was independently validated by two adversarial review passes before the patch was applied.@stdlib-js/reviewers
Generated by Claude Code