docs: align outliers in math/base/tools with namespace majority patterns#11864
Draft
Planeshifter wants to merge 4 commits intodevelopfrom
Draft
docs: align outliers in math/base/tools with namespace majority patterns#11864Planeshifter wants to merge 4 commits intodevelopfrom
math/base/tools with namespace majority patterns#11864Planeshifter wants to merge 4 commits intodevelopfrom
Conversation
Adds `docs/repl.txt` aligning with the `math/base/tools` namespace majority pattern (76% of siblings ship a REPL help file). Content is derived from the existing JSDoc and TypeScript declarations; no behavior changes.
Adds `docs/repl.txt` aligning with the `math/base/tools` namespace majority pattern (76% of siblings ship a REPL help file). Content is derived from the existing JSDoc and TypeScript declarations; no behavior changes.
Adds `docs/repl.txt` aligning with the `math/base/tools` namespace majority pattern (76% of siblings ship a REPL help file). Content is derived from the existing JSDoc and TypeScript declarations; no behavior changes.
Adds `docs/repl.txt` aligning with the `math/base/tools` namespace majority pattern (76% of siblings ship a REPL help file). Content is derived from the existing JSDoc and TypeScript declarations; no behavior changes.
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
Aligning outliers in
math/base/toolswith namespace majority patterns (random namespace pick, seed20260430).This pull request adds the missing
docs/repl.txtto the four*-compile*packages so that REPL help is available across the entiremath/base/toolsnamespace, matching the dominant convention. New file content is derived deterministically from each package's existing JSDoc and TypeScript declarations; no source, behavior, or public API changes.Namespace summary
math/base/toolsREADME.md,package.json,lib/index.js,lib/main.js,test/test.js,benchmark/benchmark.js,examples/index.js,docs/types/index.d.ts,docs/types/test.ts,docs/repl.txt),package.jsontop-level keys,returnKind, JSDoc@example/@returnspresencepublicSignature(genuinely heterogeneous —(c, x)evaluators vs(P, Q, x)rational vs(n, x)polynomial vs(generator, options)series), README L2 heading sequence, dependencies,lib/factory.jspresence (65%),Notessection in README (71%)validationPrologueanderrorConstruction— no package in this namespace throwsmath/base/tools/evalpoly-compileAdds missing
docs/repl.txtto bring the package in line with sibling convention — 13/17 (76%) ofmath/base/toolspackages carry this file, includingevalpolyitself. Content was derived directly from the existing JSDoc and TypeScript declarations forcompile(c[, options])with no behavior or API changes.math/base/tools/evalpoly-compile-cAdds missing
docs/repl.txtto bring the package into conformance with themath/base/toolsnamespace, where 13/17 siblings (76%) carry this file. Content was derived directly from existing JSDoc and TypeScript declarations forcompile(c[, options])— no API or behavior change.math/base/tools/evalrational-compileAdds missing
docs/repl.txt, flagged by the drift routine as absent in this package while present in 13/17 (76%) ofmath/base/toolssiblings — includingevalrationalitself. The file was derived directly from existing JSDoc and TypeScript declarations forcompile(P, Q[, options]); no behavior or API changes.math/base/tools/evalrational-compile-cAdds missing
docs/repl.txtto bring the package into conformance with themath/base/toolsnamespace, where 13/17 siblings (76%) carry this file. Content was derived directly from the existing JSDoc and TypeScript declarations forcompile(P, Q[, options])— no API or behavior change.Validation
What was checked:
package.jsonshape, README headings, test/benchmark/example layout)lib/main.js/lib/index.js/lib/basic.js(publicSignature, returnKind, validationPrologue, errorConstruction, JSDoc shape, dependencies)What was deliberately excluded:
lib/main.js"drift" incontinued-fractionandsum-series— both deliberately split implementation acrosslib/basic.jsandlib/generators.jsand select between them at runtime vialib/index.js. Markedintentional-deviation/needs-humanand dropped.math/base/toolsthrows, so there is no normalization target.NotesL2 section at 71%,lib/factory.jsat 65%,See Alsoat 35%).Related Issues
No related issues.
Questions
No.
Other
Random namespace pick, seed
20260430. Detailed run report (per-feature distributions, dropped corrections, agent verdicts) is kept locally outside the repo tree at~/drift-reports/drift-math-base-tools-2026-04-30.md.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was authored end-to-end by Claude Code running an automated cross-package drift-detection routine: structural and semantic features were extracted from every member of
math/base/tools, three independent validation agents confirmed each correction, and the four addeddocs/repl.txtfiles were derived deterministically from the existing JSDoc and TypeScript declarations of each package.@stdlib-js/reviewers
Generated by Claude Code