Skip to content

chore: update keywords - #14212

Merged
kgryte merged 1 commit into
developfrom
philipp/drift-stats-incr-2026-08-13
Aug 13, 2026
Merged

chore: update keywords#14212
kgryte merged 1 commit into
developfrom
philipp/drift-stats-incr-2026-08-13

Conversation

@Planeshifter

Copy link
Copy Markdown
Member

Description

What is the purpose of this pull request?

This pull request restores four standard namespace keywords to stats/incr/nancovariance, whose package.json was the sole member of the 163-package stats/incr namespace missing them.

stats/incr/nancovariance

Adds stdmath, stats, mathematics, and math to the keywords array. Each of the four is present in 162 of 163 (99.4%) sibling packages, including the base sibling stats/incr/covariance and the NaN-aware sibling stats/incr/nancv; nancovariance alone dropped them when it was scaffolded from an incomplete template. The four keywords are inserted in canonical position to match covariance, leaving every existing keyword (including the nan marker) untouched. Keywords are npm discovery metadata only — no runtime behavior, tests, types, or public API change.

Related Issues

Does this pull request have any related issues?

None.

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request?

PR #13497 (merged) previously examined this same package.json's keywords and deliberately left them, citing the contested nan/ignore marker keywords and their ordering as a judgment call. This change is orthogonal to that exclusion: it restores four uncontested universal namespace keywords and does not touch the nan marker or the ordering question #13497 declined. Conformance for the four added keywords across the namespace is 99.4% (162/163).

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 generated by an automated Claude Code cross-package drift-detection pass over the stats/incr namespace. Structural features were extracted across all 163 members and semantic features via deterministic parsing; the single surviving keyword-conformance outlier was independently confirmed by three validation subagents (two opus, one sonnet) before the fix was applied and re-verified against the diff. A maintainer should audit before promoting out of draft.


@stdlib-js/reviewers


Generated by Claude Code

Add the four standard namespace keywords ('stdmath', 'stats',
'mathematics', 'math') to the package.json keywords array. Each is
present in 162 of 163 (99.4%) sibling packages in the stats/incr
namespace, including the base sibling stats/incr/covariance and the
parallel NaN-aware sibling stats/incr/nancv; nancovariance was the
sole member lacking them, an omission introduced when the NaN-aware
variant was scaffolded from an incomplete template.

Keywords are npm discovery metadata only; this change does not affect
runtime behavior, tests, types, or the public API.
@stdlib-bot stdlib-bot added the Statistics Issue or pull request related to statistical functionality. label Aug 13, 2026
@stdlib-bot

Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
stats/incr/nancovariance $\\color{green}141/141$
$\\color{green}+100.00\\%$
$\\color{green}15/15$
$\\color{green}+100.00\\%$
$\\color{green}2/2$
$\\color{green}+100.00\\%$
$\\color{green}141/141$
$\\color{green}+100.00\\%$

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

@kgryte
kgryte marked this pull request as ready for review August 13, 2026 05:01
@kgryte
kgryte requested a review from a team August 13, 2026 05:01
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Aug 13, 2026
@kgryte kgryte changed the title chore: add missing namespace keywords to stats/incr/nancovariance chore: update keywords Aug 13, 2026
@kgryte
kgryte merged commit dda79fa into develop Aug 13, 2026
47 checks passed
@kgryte
kgryte deleted the philipp/drift-stats-incr-2026-08-13 branch August 13, 2026 05:01
@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Statistics Issue or pull request related to statistical functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants