docs: change type to integer in number/uint32/base/identity REPL docs#11759
Merged
docs: change type to integer in number/uint32/base/identity REPL docs#11759
number/uint32/base/identity REPL docs#11759Conversation
…pace convention Normalize parameter and return type column in `docs/repl.txt` from `number` to `integer` to match 9/10 (90%) sibling packages in `@stdlib/number/uint32/base/*`, which consistently use `integer` as the scalar type for unsigned 32-bit integer operands in REPL documentation.
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
number/uint32/base with namespace majority patternsnumber/uint32/base REPL docs
kgryte
approved these changes
Apr 25, 2026
number/uint32/base REPL docsnumber/uint32/base/identity REPL docs
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
number/uint32/basewith namespace majority patterns (random namespace pick, seed42).Namespace summary
@stdlib/number/uint32/baseadd,from-binary-string,identity,mul,muldw,rotl,rotr,sub,to-binary-string,to-int32)package.jsontop-level / scripts / stdlib keys,manifest.jsonkeys, README##/###section order, test/benchmark/example filenames. Semantic: public signature, return kind, validation prologue, error construction, JSDoc shape,@stdlib/*dependency set, anddocs/repl.txtParameters/Returns type column.package.jsontop-level keys,docs/repl.txttype column =integerfor uint32 operands (9/10 = 90%).@paramtype{uinteger32}vs{uinteger}(60% / 30%), C-API artifacts (40%),## NotesREADME section (70%),## See Alsopopulated (60%),manifest.json/gypfile/__stdlib__/binding.gyp/src//include/(40% — legitimately C-API-only).number/uint32/base/identityNormalizes the
repl.txttype-column entries fornumber/uint32/base/identityfromnumbertointeger, bringing it in line with 9 of 10 sibling packages in thenumber/uint32/base/*namespace (90% conformance). The change affects theParametersandReturnscolumns and is semantically correct given the function operates exclusively on unsigned 32-bit integers.Validation
Three independent validation agents signed off on the correction:
integeris semantically correct and aligns with siblings. No other ≥ 75% semantic patterns with outliers were found.identity/test/test.jsandidentity/examples/index.jsdo not reference the REPL type label; no external stdlib module depends on the previous wording;_tools/repl-txt/rules/tag-typedef-typos/lib/defaults.jsonwhitelists bothnumberandinteger, so the change is lint-clean.Deliberately excluded from this PR:
manifest.json/binding.gyp/include/).Related Issues
None.
Questions
No.
Other
Full drift report (majority pattern, per-feature conformance, outlier list, agent verdicts, dropped corrections) saved locally at
~/drift-reports/drift-number-uint32-base-2026-04-24.mdfor the maintainer's audit trail.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 API drift detection routine that selects a random stdlib namespace (seed
42→number/uint32/base), extracts structural and semantic features from every package, computes per-feature majority patterns at a 75% threshold, and validates outliers through three independent review agents before proposing the correction.@stdlib-js/reviewers
Generated by Claude Code