Skip to content

fix: restore math/base/special tests and remove duplicated REPL text - #15237

Draft
Planeshifter wants to merge 3 commits into
developfrom
philipp/fix-commit-review-2026-09-15
Draft

Planeshifter wants to merge 3 commits into
developfrom
philipp/fix-commit-review-2026-09-15

Conversation

@Planeshifter

Copy link
Copy Markdown
Member

Description

What is the purpose of this pull request?

This pull request:

Follow-up fixes for commits merged to develop between 2026-09-14T16:19:57-07:00 (adb952a) and 2026-09-15T02:37:51-07:00 (c24d71e).

  • math/base/special: Fix: 5258215e0 clobbered lib/node_modules/@stdlib/math/base/special/test/test.js when adding tanhf, git recording the new package's lib/index.js as a rename of it and leaving directories.test in package.json pointing at nothing. Restored the test file verbatim from the parent commit.
  • fft/base/fftpack/float32/decompose: Fixes a doc bug from a697555: the refactor of fft/base/fftpack/float32/decompose rewrote two description lines in lib/node_modules/@stdlib/fft/base/fftpack/float32/decompose/docs/repl.txt to backtick N but left the original two in place, duplicating the paragraph in the REPL help. Removes the stale pair.

Related Issues

Does this pull request have any related issues?

No.

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

Validation

All 43 commits merged to develop in the review window were audited for style guide compliance (against docs/style-guides and established reference packages) and scanned for bugs (diff-scoped logic, values, and documentation checks; the new tanhf implementation was executed against its Python-generated fixtures in both JS and C, and the new blas/ext/base/glast-index-greater-than-equal examples were hand-evaluated). Only objective, independently re-verified defects were fixed; anything requiring interpretation, judgment calls, or changes outside the window's diff was deliberately excluded. Notably excluded: fft/base/fftpack/float32/rffti still passing Float32Array workspaces to the refactored decompose — behavior is unchanged and a change would fall outside the reviewed diff.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of 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

If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".

This PR was produced by a scheduled Claude Code review of the last 24 hours of commits merged to develop; the fixes were authored and validated by Claude Code.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ApgqTYLbBALZcimF9KJqM5


Generated by Claude Code

The test file for the `math/base/special` namespace package was
accidentally removed when scaffolding `math/base/special/tanhf`
(see 5258215), leaving the namespace
package without tests and with a dangling `directories.test` entry.
This commit restores the file as it existed prior to removal.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ApgqTYLbBALZcimF9KJqM5
…mpose`

An incomplete find-and-replace in a697555
added updated description lines to the REPL help text without removing
the originals, resulting in duplicated, garbled text. This commit removes
the stale lines.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ApgqTYLbBALZcimF9KJqM5
The restored test file is a new file from git's perspective, so the
copyright notice must reference the current year per the copyright
year lint check.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ApgqTYLbBALZcimF9KJqM5
@stdlib-bot

stdlib-bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
fft/base/fftpack/float32/decompose $\\color{green}251/251$
$\\color{green}+100.00\\%$
$\\color{green}17/17$
$\\color{green}+100.00\\%$
$\\color{green}1/1$
$\\color{green}+100.00\\%$
$\\color{green}251/251$
$\\color{green}+100.00\\%$
math/base/special $\\color{red}67101/82882$
$\\color{green}+80.96\\%$
$\\color{red}1071/1117$
$\\color{green}+95.88\\%$
$\\color{red}12/800$
$\\color{green}+1.50\\%$
$\\color{red}67101/82882$
$\\color{green}+80.96\\%$

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants