docs: add missing keywords in math/strided/special packages#11943
Open
Planeshifter wants to merge 12 commits intodevelopfrom
Open
docs: add missing keywords in math/strided/special packages#11943Planeshifter wants to merge 12 commits intodevelopfrom
math/strided/special packages#11943Planeshifter wants to merge 12 commits intodevelopfrom
Conversation
Inserted `stdmath`, `mathematics`, `math` keywords after `stdlib` to match the keyword ordering present in 69/81 (85%) of namespace siblings.
Inserted `stdmath`, `mathematics`, `math` keywords after `stdlib` to match the keyword ordering present in 69/81 (85%) of namespace siblings.
Inserted `stdmath`, `mathematics`, `math` keywords after `stdlib` to match the keyword ordering present in 69/81 (85%) of namespace siblings.
Inserted `stdmath`, `mathematics`, `math` keywords after `stdlib` to match the keyword ordering present in 69/81 (85%) of namespace siblings.
Inserted `stdmath`, `mathematics`, `math` keywords after `stdlib` to match the keyword ordering present in 69/81 (85%) of namespace siblings.
Inserted `stdmath`, `mathematics`, `math` keywords after `stdlib` to match the keyword ordering present in 69/81 (85%) of namespace siblings.
Inserted `stdmath`, `mathematics`, `math` keywords after `stdlib` to match the keyword ordering present in 69/81 (85%) of namespace siblings.
Inserted `stdmath`, `mathematics`, `math` keywords after `stdlib` to match the keyword ordering present in 69/81 (85%) of namespace siblings.
Inserted `stdmath`, `mathematics`, `math` keywords after `stdlib` to match the keyword ordering present in 69/81 (85%) of namespace siblings.
Inserted `stdmath`, `mathematics`, `math` keywords after `stdlib` to match the keyword ordering present in 69/81 (85%) of namespace siblings.
Inserted `stdmath`, `mathematics`, `math` keywords after `stdlib` to match the keyword ordering present in 69/81 (85%) of namespace siblings.
Inserted `stdmath`, `mathematics`, `math` keywords after `stdlib` to match the keyword ordering present in 69/81 (85%) of namespace siblings.
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
math/strided/special with namespace majority patternsmath/strided/special packages
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:
math/strided/specialwith namespace majority patterns (random namespace pick, seed20260505).Namespace summary
package.jsontop-level keys /scripts/__stdlib__/keywords/directories,manifest.jsonkeys, README h2/h3 sequence,test/,benchmark/,examples/filenames, public function JSDoc shape (param types, returns type, throws count,@examplepresence), source-file location, parameter count.package.jsontop-level key set (19 keys, 81/81); universal file-tree elements (README.md,package.json,lib/index.js,lib/main.js,lib/ndarray.js,benchmark/benchmark.js,benchmark/benchmark.ndarray.js,docs/repl.txt,docs/types/index.d.ts,docs/types/test.ts,examples/index.js,test/test.js,test/test.ndarray.js— all 81/81); README## Examplesand## Usagesections (81/81); README## See Alsosection (70/81 ≈ 86%);@examplepresence in JSDoc (81/81); first-positional-keywordstdlib(81/81); follow-on math keywordsstdmath,mathematics,mathafterstdlib(69/81 ≈ 85%).directoriesfield shape (44/26/11 split across native+include / no-native / older-with-scripts), native-addon files (binding.gyp,lib/native.js,manifest.json,src/Makefile,src/addon.c: 55/81 ≈ 68%), C-side benchmark/example scaffolding (44/81 ≈ 54%), README## Notessection (26/81 ≈ 32%),## C APIsREADME section (44/81 ≈ 54%),lib/data.js/lib/types.json/scripts/types.js(11/81; older dispatch-based subfamily),@param Ntype tag (NonNegativeInteger70/81 vsinteger11/81 — the 11 are the olderdispatch-based variants andintegermatches their underlying@stdlib/strided/dispatchconvention; intentional). README h2/h3 contiguous-sequence majority did not exceed 75% (4 distinct sequences distributed 44/15/11/11). Validation prologue and error construction did not apply (this namespace delegates argument validation to@stdlib/strided/dispatch,@stdlib/strided/base/unary,@stdlib/strided/base/dmap,@stdlib/strided/base/map-by, etc.).The single drift correction that survived three-agent validation: 12 outlier packages —
dmskfloor,dmskinv,dmskramp,dmskrsqrt,dmsksqrt,dmsktrunc,smskfloor,smskinv,smskramp,smskrsqrt,smsksqrt,smsktrunc— were missing thestdmath,mathematics,mathkeyword triple that appears in 69/81 (85%) of namespace siblings, including every otherdmsk*/smsk*math sibling (e.g.dmskabs,dmskceil,smskabs,smskceil). Each fix inserts the three keywords immediately afterstdlibinpackage.json. One commit per outlier; no source-code changes.math/strided/special/dmskfloorAligns
math/strided/special/dmskfloorwith themath/strided/specialnamespace convention followed by 85% of packages (69/81): insertsstdmath,mathematics, andmathas keywords immediately afterstdlibinpackage.json. No source changes.math/strided/special/dmskinvAligns
math/strided/special/dmskinvwith themath/strided/specialnamespace convention, where 85% of packages (69/81) includestdmath,mathematics, andmathas keywords followingstdlibinpackage.json. This package was one of 12 outliers missing those keywords. No source changes.math/strided/special/dmskrampAligns
dmskrampwith themath/strided/specialnamespace convention followed by 85% of packages: keywordsstdmath,mathematics, andmathare inserted afterstdlibinpackage.json. No source changes. Brings the package into conformance with the rest of the namespace.math/strided/special/dmskrsqrtAligns
math/strided/special/dmskrsqrtwith themath/strided/specialnamespace convention followed by 85% of packages (69/81): insertsstdmath,mathematics, andmathas keywords immediately afterstdlibinpackage.json. No source changes.math/strided/special/dmsksqrtAligns
math/strided/special/dmsksqrtwith themath/strided/specialnamespace convention followed by 85% of members (69/81 packages), which liststdmath,mathematics, andmathas keywords immediately afterstdlibinpackage.json. No source changes; keyword-only metadata fix.math/strided/special/dmsktruncAligns
math/strided/special/dmsktruncwith themath/strided/specialnamespace convention followed by 85% of packages (69/81): insertsstdmath,mathematics, andmathas keywords inpackage.jsonimmediately afterstdlib. No source changes.math/strided/special/smskfloorAligns
math/strided/special/smskfloorwith the 85% majority pattern in themath/strided/specialnamespace by inserting thestdmath,mathematics, andmathkeywords afterstdlibinpackage.json. No source changes. Closes the keyword drift for this package.math/strided/special/smskinvAligns
math/strided/special/smskinvwith themath/strided/specialnamespace convention, where 85% of packages (69/81) includestdmath,mathematics, andmathas keywords followingstdlibinpackage.json. No source changes; metadata only.math/strided/special/smskrampAligns
math/strided/special/smskrampwith themath/strided/specialnamespace convention, where 85% of packages (69/81) liststdmath,mathematics, andmathas keywords followingstdlibinpackage.json. This package was among 12 outliers missing those keywords. No source changes.math/strided/special/smskrsqrtAligns
math/strided/special/smskrsqrtwith themath/strided/specialnamespace convention followed by 85% of packages (69/81): insertsstdmath,mathematics, andmathas keywords afterstdlibinpackage.json. No source changes.math/strided/special/smsksqrtAligns
math/strided/special/smsksqrtwith the 85% majority pattern across themath/strided/specialnamespace by inserting the missingstdmath,mathematics, andmathkeywords afterstdlibinpackage.json. No source changes.math/strided/special/smsktruncAligns
math/strided/special/smsktruncwith the 85% majority pattern across themath/strided/specialnamespace by inserting the missingstdmath,mathematics, andmathkeywords afterstdlibinpackage.json. No source changes.Related Issues
No.
Questions
No.
Other
Validation
package.jsonshape and values,manifest.jsonshape, README h2/h3 sequence,test//benchmark//examples/filenames.@examplepresence), parameter count, source-file location, function name. Validation-prologue and error-construction features were not applicable to this namespace — every member delegates argument validation to a@stdlib/strided/*base helper, so there is no per-package prologue.confirmed-driftfor all 12 outliers; nointentional-deviation,needs-human, orinsufficient-evidence.## Notesinstead of## See Alsoin their README (theSee Alsosection is autogenerated by stdlib tooling — the section comment reads "Do not manually edit this section, as it is automatically populated"; manual edits would fight the generator).@param Ntype drift betweenNonNegativeInteger(70/81) andinteger(11/81) — the 11integerpackages use@stdlib/strided/dispatch, whose own JSDoc declaresNasinteger; the JSDoc matches the underlying primitive and is intentional.directories/ native-addon / C-scaffolding feature splits — none reached 75% conformance globally.The full drift report (eligibility data, per-feature distributions, agent verdicts, dropped findings) is saved locally at
~/drift-reports/drift-math-strided-special-2026-05-05.md.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was generated by an automated cross-package drift-detection routine run by Claude Code on behalf of @Planeshifter. The routine selected
math/strided/specialuniformly at random (seed20260505) from eligible namespaces, extracted structural and semantic features from all 81 non-autogenerated members, computed per-feature majority patterns at the 75% conformance threshold, and validated outliers through three independent review agents (opus semantic-review, opus cross-reference, sonnet structural-review). Only the single drift finding for which all three agents returnedconfirmed-driftadvanced to a patch; the 12 commits on this branch each apply that fix to one outlier package. Per-package PR-body sections were drafted by per-package sonnet refinement agents and lightly edited for consistency.@stdlib-js/reviewers
Generated by Claude Code