Repository navigation
chore: add missing keywords to number/float32/base/{div,identity,ulp-difference} - #16278
Draft
Planeshifter wants to merge 3 commits into
Draft
Planeshifter wants to merge 3 commits into
Planeshifter wants to merge 3 commits into
Conversation
Added missing `single` keyword (present in 88% of `number/float32/base` siblings, including `add`, `mul`, and `sub`). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017gCTHWvPZr3r87WBahjkw4
Added missing `number` keyword (present in 88% of `number/float32/base` siblings and in `number/float64/base/identity`). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017gCTHWvPZr3r87WBahjkw4
Added missing `single` keyword (present in 88% of `number/float32/base` siblings) and missing `number` keyword (present in 88% of siblings and in `number/float64/base/ulp-difference`). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017gCTHWvPZr3r87WBahjkw4
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
This branch has not been deployed
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:
package.jsonkeywords that 15 of the 17number/float32/basepackages carry and these three packages lack.number/float32/base/divAdds the
singlekeyword, which 88% of siblings carry.add,mul, andsuball pairnumber,float,single, andsingle-precision, anddivwas the only arithmetic package withoutsingle.number/float32/base/identityAdds the
numberkeyword, which 88% of siblings carry. Thenumber/float64/base/identitycounterpart also listsnumber.number/float32/base/ulp-differenceAdds the
singleandnumberkeywords (88% of siblings each). When the keyword list was adapted fromnumber/float64/base/ulp-difference,float64becamefloat32, but thedoubleandnumberentries were dropped rather than carried over assingleandnumber.Related Issues
No.
Questions
No.
Other
Namespace summary.
number/float32/basehas 17 member packages, not counting theassertsub-namespace. A pattern counts as the majority when at least 13 packages (75%) share it. The comparison covered:package.jsonkeys,directories,manifest.jsonkeys, README sections, and keywords.The semantic features showed no drift.
Validation. Structural features were extracted from the filesystem. Semantic features came from one agent per package. A semantic, a cross-reference, and a structural reviewer each confirmed every correction as drift. No test, example, or tooling depends on the exact keyword arrays. The following were excluded on purpose:
C APIsREADME sections infrom-binary-string,to-binary-string,to-int32, andto-uint32. Adding a C implementation is not a mechanical fix.## See Alsosections. These are generator-owned.include/. These are package-specific by design.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was written primarily by Claude Code. It came from an automated run that compares sibling packages to detect API drift.
@stdlib-js/reviewers
Generated by Claude Code