Skip to content

docs: fix copy & paste error in LaTeX equation label and SVG file in stats/base/dists/kumaraswamy#11785

Merged
kgryte merged 1 commit intodevelopfrom
philipp/drift-stats-base-dists-kumaraswamy-2026-04-26
Apr 26, 2026
Merged

docs: fix copy & paste error in LaTeX equation label and SVG file in stats/base/dists/kumaraswamy#11785
kgryte merged 1 commit intodevelopfrom
philipp/drift-stats-base-dists-kumaraswamy-2026-04-26

Conversation

@Planeshifter
Copy link
Copy Markdown
Member

@Planeshifter Planeshifter commented Apr 26, 2026

Description

What is the purpose of this pull request?

This pull request renames docs/img/equation_beta_quantile_function.svg to equation_kumaraswamy_quantile.svg and updates the README equation label and <img> src accordingly. The previous filename and label were copy-paste artifacts from stats/base/dists/beta/quantile;

Related Issues

Does this pull request have any related issues?

No.

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request?

Validation

Three independent agents reviewed the outliers flagged by the structural and semantic majority computations:

  • Semantic review (opus): Confirmed the quantile SVG rename is unintentional drift. Marked ctor's validation prologue, format-style error construction, and richer dependency set as intentional deviations (constructor packages have a different API contract — they throw TypeErrors rather than returning NaN). Marked stdev's missing is-nan dependency as intentional (it delegates to variance, which already validates).
  • Cross-reference (opus): Confirmed the SVG rename is self-contained — the old asset path and label are referenced only inside kumaraswamy/quantile/README.md itself; no sibling package or top-level documentation links to it. Marked pdf's missing native C addon as needs-human (would require authoring real C math, native bindings, and addon-aware tests — not mechanical drift correction).
  • Structural review (sonnet): Confirmed all ctor structural flags are intentional (constructor packages across stdlib's distribution namespaces uniformly lack native addons). Confirmed pdf's missing native addon is real drift but agreed it is implementation work, not a mechanical fix.

Excluded from this PR

  • pdf missing native C addon (binding.gyp, src/, include/, manifest.json, lib/native.js, examples/c, benchmark/c, test/test.native.js, benchmark/benchmark.native.js): real drift but requires authoring a C implementation and addon-aware tests — out of scope for mechanical drift correction.
  • ctor structural divergences (no native addon, no manifest.json, no gypfile, no "C APIs" README section): intentional — constructor packages do not have a C surface.
  • stdev lacking @stdlib/math/base/assert/is-nan: intentional — it delegates to variance which performs the check.
  • publicSignature and README heading-order variation: no clear ≥75% majority, so no drift correction is appropriate.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

This PR was produced by an automated cross-package API drift detection routine run via Claude Code. The routine extracted structural and semantic features from every package in stats/base/dists/kumaraswamy, computed per-feature majority patterns at a 75% threshold, and ran three independent validator agents to filter intentional deviations from unintentional drift. Only mechanical, high-signal corrections survived filtering — in this run, the single quantile SVG rename and accompanying README label/URL update.


@stdlib-js/reviewers


Generated by Claude Code

…/quantile`

Renames `docs/img/equation_beta_quantile_function.svg` to
`equation_kumaraswamy_quantile.svg` and updates the README label
(`eq:beta_quantile_function` -> `eq:kumaraswamy_quantile`) and image URL
to align with the namespace convention `equation_kumaraswamy_<func>.svg`
(used by 11 of 12 SVG-bearing siblings in this namespace, ~92%
conformance). The asset was a copy-paste leftover from
`stats/base/dists/beta/quantile`; the equation content is correct for
Kumaraswamy.
@stdlib-bot stdlib-bot added the Statistics Issue or pull request related to statistical functionality. label Apr 26, 2026
@stdlib-bot
Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
stats/base/dists/kumaraswamy/quantile $\color{green}319/319$
$\color{green}+100.00%$
$\color{green}25/25$
$\color{green}+100.00%$
$\color{green}4/4$
$\color{green}+100.00%$
$\color{green}319/319$
$\color{green}+100.00%$

The above coverage report was generated for the changes in this PR.

@Planeshifter Planeshifter changed the title docs: align outliers in stats/base/dists/kumaraswamy with namespace majority patterns docs: fix copy & paste error in LaTeX equation label and SVG file in stats/base/dists/kumaraswamy Apr 26, 2026
@Planeshifter Planeshifter marked this pull request as ready for review April 26, 2026 02:47
@Planeshifter Planeshifter requested review from a team and kgryte April 26, 2026 02:47
@stdlib-bot stdlib-bot added Needs Review A pull request which needs code review. labels Apr 26, 2026
@kgryte kgryte added Documentation Improvements, additions, or changes to documentation. and removed Needs Review A pull request which needs code review. labels Apr 26, 2026
@kgryte kgryte merged commit 692d07b into develop Apr 26, 2026
98 checks passed
@kgryte kgryte deleted the philipp/drift-stats-base-dists-kumaraswamy-2026-04-26 branch April 26, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements, additions, or changes to documentation. Statistics Issue or pull request related to statistical functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants