Skip to content

chore: add number keyword to int32 outliers in math/base/assert#12554

Draft
Planeshifter wants to merge 2 commits into
developfrom
claude/practical-goodall-Yf6J2
Draft

chore: add number keyword to int32 outliers in math/base/assert#12554
Planeshifter wants to merge 2 commits into
developfrom
claude/practical-goodall-Yf6J2

Conversation

@Planeshifter
Copy link
Copy Markdown
Member

Description

Adds the missing "number" keyword to package.json in two outlier packages in the @stdlib/math/base/assert namespace, where 33/35 siblings (94.3%) already carry this keyword.

math/base/assert/int32-is-even

Package @stdlib/math/base/assert/int32-is-even was missing the "number" keyword from package.json. 33 of 35 sibling packages in @stdlib/math/base/assert carry this keyword (94.3% conformance), including all analogous integer-checking siblings (is-integer, is-safe-integer, is-positive-integer, is-negative-integer, is-nonnegative-integer, etc.). Added "number" after "integer" to match the thematic ordering established by is-integer and its siblings.

math/base/assert/int32-is-odd

Package @stdlib/math/base/assert/int32-is-odd was missing the "number" keyword from package.json. 33 of 35 sibling packages in @stdlib/math/base/assert carry this keyword (94.3% conformance), including all analogous integer-checking siblings. Added "number" after "integer" to match the thematic ordering established by is-integer and its siblings.

Related Issues

This pull request has no related issues.

Questions

No.

Other

Metadata-only change; no source, test, or behavioral changes. Total diff: 2 lines across 2 files.

Checklist

AI Assistance

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

This PR was authored by Claude Code via the cross-package drift-detection routine. Structural and semantic features were extracted from every member of @stdlib/math/base/assert (35 packages); majority patterns were computed at a 75% conformance threshold; three independent validation agents (opus semantic-review, opus cross-reference, sonnet structural-review) each returned confirmed-drift for both outliers before any file was edited. Only package.json keywords were modified.


@stdlib-js/reviewers


Generated by Claude Code

claude added 2 commits June 5, 2026 08:18
Adds missing `number` keyword in `package.json`, present in 33/35
siblings in `math/base/assert` (94.3% conformance) including the
analogous integer-checking siblings `is-integer`, `is-safe-integer`,
`is-positive-integer`, etc. Metadata-only change; no source, test,
or behavioral changes.
Adds missing `number` keyword in `package.json`, present in 33/35
siblings in `math/base/assert` (94.3% conformance) including the
analogous integer-checking siblings `is-integer`, `is-safe-integer`,
`is-positive-integer`, etc. Metadata-only change; no source, test,
or behavioral changes.
@stdlib-bot stdlib-bot added the Math Issue or pull request specific to math functionality. label Jun 5, 2026
@stdlib-bot
Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
math/base/assert/int32-is-even $\color{green}149/149$
$\color{green}+100.00\%$
$\color{green}5/5$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}149/149$
$\color{green}+100.00\%$
math/base/assert/int32-is-odd $\color{green}149/149$
$\color{green}+100.00\%$
$\color{green}5/5$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}149/149$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Math Issue or pull request specific to math functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants