docs: add stdmath keyword to chebyshev-series and chebyshev-seriesf in math/base/tools#12011
Merged
docs: add stdmath keyword to chebyshev-series and chebyshev-seriesf in math/base/tools#12011
stdmath keyword to chebyshev-series and chebyshev-seriesf in math/base/tools#12011Conversation
Insert `stdmath` keyword and reorder the leading entries so the keywords prefix becomes `[stdlib, stdmath, mathematics, math, ...]`, matching 15 of 17 sibling packages in `@stdlib/math/base/tools` (88.2% within the namespace; 97.2% across `@stdlib/math/*`). The package was introduced in PR #11470 without `stdmath`, while the surrounding namespace adopted the keyword as the standard math-domain marker.
Insert `stdmath` keyword and reorder the leading entries so the keywords prefix becomes `[stdlib, stdmath, mathematics, math, ...]`, matching 15 of 17 sibling packages in `@stdlib/math/base/tools` (88.2% within the namespace; 97.2% across `@stdlib/math/*`). Package shared the same omission as its double-precision sibling `math/base/tools/chebyshev-series`.
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
kgryte
approved these changes
May 9, 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
This pull request:
stdmathkeyword and reorders the leadingkeywordsentries in twomath/base/toolspackages so the prefix matches the rest of the namespace:["stdlib", "stdmath", "mathematics", "math", ...].Namespace summary
@stdlib/math/base/tools: 17 non-autogenerated members.package.jsonshape (top-level keys,scripts,keywords),manifest.jsonshape, README section list/order, test/benchmark/example file naming, and (inline) semantic surface — public signature, validation prologue, error construction, JSDoc shape, dependencies.keywordsprefix sequence (15/17 = 88.2%).README.md,lib/index.js,package.json,test/test.js,benchmark/benchmark.js,examples/index.js,docs/types/index.d.ts,docs/types/test.ts); 18 universalpackage.jsontop-level keys.lib/main.jsabsent incontinued-fractionandsum-series(intentionalbasic.js+generators.jsarchitecture for generator/non-generator paths);docs/repl.txtabsent in the four*-compile*packages (88.1% stdlib-wide presence — below the 90% gate).math/base/tools/chebyshev-seriesThe
keywordsarray begins["stdlib", "math", "mathematics", "chebyshev", ...]— the rest of@stdlib/math/base/tools(15/17 = 88.2%;@stdlib/math/*overall: 665/684 = 97.2%) leads withstdlib/stdmath/mathematics/math. Package was added in #11470 and thestdmathdiscoverability marker was missed at authoring; aligning the prefix here matches what every sibling already does. No source, tests, examples, or REPL fixtures touched.math/base/tools/chebyshev-seriesfSingle-precision sibling carries the same omission verbatim — same rationale, same fix. The two packages were authored together; the divergence is mechanical, not intentional.
Validation
package.jsonshape, README sections, test/bench/example names.throwand no@stdlib/assert/*validation imports —math/base/*is the unvalidated fast-path tier — sovalidationPrologue,errorConstruction, and related semantic features are trivially universal-empty.confirmed-driftfor both outliers; cross-reference agent verified that no test, example, README claim, or_tools/lint/pkg-jsonschema constrains keyword content/order beyond presence-of-stdliband the global character-set rule, and that the files are not generator output.math/base/tools/chebyshev-series#11470 (the package add) and docs: correct JSDoc return value inmath/base/tools/chebyshev-seriesf#11584 (a follow-up doc fix onchebyshev-seriesf) merged outside the 14-day window.Deliberately excluded
continued-fraction,sum-serieslackinglib/main.js).*-compile*packages lackingdocs/repl.txt— below the ≥90% stdlib-wide gate.NotesandSee Alsosections — sub-threshold in this namespace; theSee Alsoblock is auto-populated regardless and outside the routine's scope.keywordsfeatures that already conform on every member.Related Issues
No.
Questions
No.
Other
Total diff: 4 insertions / 2 deletions across 2 files, both
package.json. Each outlier receives a singlekeywordsprefix change and no other modifications. No commits touch source, tests, examples, types, or generated artifacts.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was authored by Claude (Opus 4.7) running a cross-package drift-detection routine: a randomly-picked namespace (
@stdlib/math/base/tools, seed1818300874) was scanned for structural and semantic drift against a 75% majority threshold, candidate corrections went through pre-validation gates and a multi-agent advance check (sonnet structural-review and cross-reference review, bothconfirmed-drift), and only the surviving mechanical metadata fix was applied. I reviewed the verdict, the gating decisions, and the diff before submission.@stdlib-js/reviewers
Generated by Claude Code