chore: add missing metadata keywords to stats/base/ndarray/dmeanstdev - #14760
Draft
Planeshifter wants to merge 1 commit into
Draft
chore: add missing metadata keywords to stats/base/ndarray/dmeanstdev#14760Planeshifter wants to merge 1 commit into
stats/base/ndarray/dmeanstdev#14760Planeshifter wants to merge 1 commit into
Conversation
Add the standard `stdmath`, `mathematics`, and `math` discoverability keywords to the package manifest. These keywords are present in 192 of 193 sibling packages (99.5%) in the `stats/base/ndarray` namespace, including the `dmean` and `dstdev` packages whose computations this reduction combines; `dmeanstdev` was the sole member omitting them. Metadata-only change; no runtime behavior is affected.
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
This pull request adds the standard
stdmath,mathematics, andmathkeywords to thepackage.jsonofstats/base/ndarray/dmeanstdev, the sole member of the 193-packagestats/base/ndarraynamespace that omitted them (99.5% sibling conformance). Metadata-only; no runtime behavior changes.Related Issues
No.
Questions
No.
Other
stats/base/ndarray/dmeanstdevdmeanstdevcarried a truncated keyword block missingstdmath,mathematics, andmath— tags all 192 of its siblings use, including thedmeananddstdevreductions it combines. The omission is an authoring oversight, not a semantic distinction: the package computes the arithmetic mean and corrected sample standard deviation, squarely math and statistics. Restoring the three keywords aligns discoverability with the rest of the namespace and touches nothing else.The correction was surfaced by a majority-vote drift scan: structural and semantic features were extracted from all 193 namespace members, the per-feature majority (≥75%) computed, and outliers validated before any change. This was the only high-signal, mechanical, non-behavioral correction to survive filtering. Candidate additions of the empty
__stdlib__manifest key to three members were deliberately dropped — that field is present in under 40% of stdlib packages ecosystem-wide, so its local absence is not treated as drift. Signature differences (the*-byaccessor variants) and native-only artifacts were excluded as intentional deviations, and features without a clear majority (READMEReferences/C APIssections) were excluded from the vote.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was produced by an automated stdlib cross-package drift-detection routine running on Claude Code. The routine extracted per-package structural and semantic features across the
stats/base/ndarraynamespace, computed the majority convention per feature, validated the single surviving metadata outlier through independent review passes, and applied the mechanical keyword fix. The change was verified against the sibling majority pattern before submission.@stdlib-js/reviewers
Generated by Claude Code