docs: fix options.seed duplicate and add missing options.copy tags in random/iter#11558
Merged
docs: fix options.seed duplicate and add missing options.copy tags in random/iter#11558
options.seed duplicate and add missing options.copy tags in random/iter#11558Conversation
Remove duplicate `@param {*} [options.seed]` tag from the JSDoc; a single
`@param {PRNGSeedMT19937} [options.seed]` entry (matching 98% of siblings) is
retained.
Add missing `@param {boolean} [options.copy=true]` JSDoc tag; this option is
implemented in the source and documented in the README, repl help, and
TypeScript declarations but was missing from the main JSDoc block. Present in
95% of sibling packages.
Add missing `@param {boolean} [options.copy=true]` JSDoc tag; this option is
implemented in the source and documented in the README, repl help, and
TypeScript declarations but was missing from the main JSDoc block. Present in
95% of sibling packages.
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
random/iter with namespace majority patternsoptions.seed duplicate and add missing options.copy tags in random/iter
kgryte
approved these changes
Apr 19, 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:
random/iterwith majority JSDoc conventions observed across the 41 non-autogenerated siblings.random/iter/bernoulli: removes a duplicate@param {*} [options.seed]tag (97.6% of siblings carry a single{PRNGSeedMT19937}entry).random/iter/betaprime,random/iter/binomial: add the missing@param {boolean} [options.copy=true]tag betweenoptions.stateandoptions.iter(95.1% of siblings document it; option is already implemented, tested, and documented in README/repl/TS).No runtime, signature, or test changes.
Related Issues
No.
Questions
No.
Other
Produced by an automated cross-package drift-detection pass over
random/iter(random namespace pick, seed20260418). Three agents independently confirmedconfirmed-driftfor each finding. Excluded: packages with a## Referencessection (cite source papers); packages missingoptions.prng(PRNG engines/selectors); features without a ≥75% majority.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was authored by Claude Code running a cross-package drift-detection routine.
@stdlib-js/reviewers