chore: rename little_endian_array.js example to plural in four blas/base/wasm packages#12556
Open
Planeshifter wants to merge 4 commits into
Open
chore: rename little_endian_array.js example to plural in four blas/base/wasm packages#12556Planeshifter wants to merge 4 commits into
little_endian_array.js example to plural in four blas/base/wasm packages#12556Planeshifter wants to merge 4 commits into
Conversation
Renames `examples/little_endian_array.js` to `examples/little_endian_arrays.js` to align with the convention used by 29/33 (88%) sibling packages in `blas/base/wasm/`, including all single-vector routines. The example creates two little-endian array views (`x` and `y`), so the plural form is also the semantically accurate name. No content changes; rename only.
Renames `examples/little_endian_array.js` to `examples/little_endian_arrays.js` to align with the convention used by 29/33 (88%) sibling packages in `blas/base/wasm/`, including all single-vector routines. The example creates two little-endian array views (`x` and `y`), so the plural form is also the semantically accurate name. No content changes; rename only.
Renames `examples/little_endian_array.js` to `examples/little_endian_arrays.js` to align with the convention used by 29/33 (88%) sibling packages in `blas/base/wasm/`, including all single-vector routines. The example creates two little-endian array views (`x` and `y`), so the plural form is also the semantically accurate name. No content changes; rename only.
Renames `examples/little_endian_array.js` to `examples/little_endian_arrays.js` to align with the convention used by 29/33 (88%) sibling packages in `blas/base/wasm/`, including all single-vector routines. The example creates two little-endian array views (`x` and `y`), so the plural form is also the semantically accurate name. No content changes; rename only.
little_endian_array.js example to plural in four blas/base/wasm packageslittle_endian_array.js example to plural in four blas/base/wasm packages
kgryte
approved these changes
Jun 5, 2026
Contributor
Coverage ReportNo coverage information available. |
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
Renames
examples/little_endian_array.jstoexamples/little_endian_arrays.jsin fourblas/base/wasmpackages —dcopy,dswap,scopy,sswap— to align with the universal convention in the namespace. No content changes; rename only.Namespace summary
@stdlib/blas/base/wasmpackage.jsonshape (top-level keys,scripts,stdlib,keywords,engines,main,types,browser),manifest.jsonshape,README.md##/###section list and order, file naming undertest/,benchmark/,examples/,docs/,scripts/,src/,lib/, plus a fast cross-package scan for error-construction patterns inlib/.manifest.jsonshape is identical across all 33 packages (confs,fields,options). All 33 packages have identical README structure (## Usage/### Module/## Notes/## Examples). All 33 useformat()from@stdlib/string/formatfor the singlethrow new TypeError(...)site inlib/module.js. All 33 share identicalpackage.jsontop-level key sets and identicalengineskeys. The lone outlier is theexamples/little_endian_arrays.jsfilename — present in 29/33 (88%) packages.package.jsonkeywordsarray necessarily contains a per-routine token (e.g.,"dcopy"); that is the package identifier, not drift.blas/base/wasm/dcopy,dswap,scopy,sswapThese four packages alone ship
examples/little_endian_array.js(singular) where every other sibling — including all 13 single-vector routines (dasum,dnrm2,idamax,sasum,snrm2,isamax,dscal,sscal,cscal,zscal,dznrm2,scasum,scnrm2) — shipsexamples/little_endian_arrays.js(plural). The convention is arity-independent; the singular name is an early-package legacy. The file content in all four outliers creates twoFloat64ArrayLEviews (xandy), so the plural form is also the semantically accurate name. Each file is renamed in place with no content edits.Validation
Checked:
lib/directory contains exactly onethrow new TypeError( format( ... ) )site (inmodule.js) and no template-literal, concatenation, or plain-string throws — so error normalization had nothing to flag.confirmed-driftfor all four outliers.lib/node_modules/@stdlib/for any reference to the singular filenamelittle_endian_array.js: zero hits. Notest/,docs/repl.txt,docs/types/*,package.json,README.md, orexamples/index.jsreferences the renamed file.blas/base/wasm/{dcopy,dswap,scopy,sswap}. The 10 openblas/*/wasmPRs all add new packages underblas/ext/base/wasm/.blas/base/igamax#12420 (drift onblas/base, notwasm), docs: fix TSDoc errors inblasdeclarations #12529 (TSDoc fixes inblasdeclarations — does not touchexamples/), chore: propagateblas/*JSDoc andcscalheader fixes to siblings #12318 (JSDoc descriptor propagation — does not touchexamples/). No collision.Deliberately excluded:
keywordsper-package tokens — every package legitimately has its own routine name inkeywords; this is identity, not drift.lib/file layout (binary.js,binary.browser.js,index.js,main.js,module.js,routine.js), and (c) 100%format()-conformance, so the per-package agent sweep would yield no signal at the cost of 33 model calls.Related Issues
None.
Questions
No.
Other
Generated by an automated cross-package drift-detection run (random-pick namespace selection; full per-feature distribution lives in a local report). The diff is mechanical: four file renames, zero content changes, no observable behavior change.
Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was authored by Claude Code as part of an automated cross-package drift-detection routine over a random-pick stdlib namespace. The drift was identified by structural feature extraction across
@stdlib/blas/base/wasm/; the proposed rename was validated by three parallel review subagents (opus semantic-review, opus cross-reference, sonnet structural-review), all of which returnedconfirmed-driftfor all four outlier packages.@stdlib-js/reviewers
Generated by Claude Code