docs: propagate equation-label / SVG copy-paste fixes across stats/base/dists/*#11799
Merged
docs: propagate equation-label / SVG copy-paste fixes across stats/base/dists/*#11799
stats/base/dists/*#11799Conversation
…es across `stats/base/dists/*` Propagates fix from 692d07b ("docs: fix copy & paste error in LaTeX equation label and SVG file in `stats/base/dists/kumaraswamy`") to sibling distribution packages whose `<equation>` labels and SVG filenames still reference a different distribution name than the containing package. - `stats/base/dists/chisquare/quantile`: `eq:chisquared_quantile_function` -> `eq:chisquare_quantile_function`; SVG renamed accordingly - `stats/base/dists/chi/cdf`: `eq:chi_chi_cdf` -> `eq:chi_cdf` (drop doubled prefix); SVG renamed accordingly - `stats/base/dists/halfnormal/stdev`: `eq:half_normal_stdev` -> `eq:halfnormal_stdev`
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
kgryte
approved these changes
Apr 27, 2026
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-04-25 16:41 UTC-7 and 2026-04-26 05:57 UTC-7 to sibling packages.docs: propagate kumaraswamy equation-label fix from
692d07bThree packages carry the same class of copy-paste error fixed in
692d07b: the<equation>label=/data-equation=attributes and the corresponding SVG filenames do not match the containing package name. Each site is corrected to align with its sibling pages and the actual package path.stats/base/dists/chisquare/quantile: renames label and SVG fromchisquared_quantile_functiontochisquare_quantile_function(trailingddropped to match package name and all sibling equations).stats/base/dists/chi/cdf: renames label and SVG fromchi_chi_cdftochi_cdf(doubledchi_prefix collapsed).stats/base/dists/halfnormal/stdev: renames label fromhalf_normal_stdevtohalfnormal_stdev(underscore separator removed; no SVG on disk for this page).Related Issues
None.
Questions
No.
Other
Validation:
stats/base/dists/*, comparing everyeq:<x>_…label,data-equation="eq:<x>_…"attribute,equation_<x>_….svgreference, and on-diskdocs/img/equation_<x>_….svgfilename against the containing package directory name (with-↔_↔ `` collapsing for compound names likediscrete-uniform, `negative-binomial`, `pareto-type1`, `truncated-normal`).chisquare/{mean,cdf,pdf,kurtosis,entropy},chi/{pdf,mean,…},halfnormal/{mean,mode,kurtosis,entropy,logpdf}).<div>added or removed; SVG URL pinned-commit hash preserved as in692d07b).Deliberately excluded — flagged
needs-humanand dropped from this run:stats/base/dists/chi/quantile— the labelchi_chi_quantile_functionis similarly doubled, but the underlying formulaQ(p; k) = 2·P^-1(p, k/2)is the chi-squared quantile, not the chi quantile. The whole equation block was copy-pasted fromchisquare/quantile, not just the label. Renaming the label without correcting the math would mask the deeper bug.stats/base/dists/gamma/quantile— the comment-tag<equation … data-equation="eq:quantile_function">carries an anomalousdata-equationattribute (no sibling hasdata-equationon the comment-tag at all), inconsistent with the live<div data-equation="eq:gamma_quantile_function">on the next line. Removing vs. renaming requires editorial judgment about stdlib's equation-block convention; not a direct analog of the source rename.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was generated by an automated fix-propagation routine running in Claude Code. The routine enumerated
fix:/docs:commits merged todevelopin the last 24 hours, derived a search signature from each, ran cross-package searches for sibling sites with the same defect, validated each candidate by re-reading the file in full, and shipped only sites where the defect was objectively present and the patch was a direct mechanical analog of the source fix. Sites requiring editorial judgment or fixes beyond the source pattern's scope were rejected and listed under "deliberately excluded" above.@stdlib-js/reviewers
Generated by Claude Code