From 9237b9961b41279129b4e7e47493a25d6250cb66 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 12 Jul 2026 16:27:22 +0000 Subject: [PATCH 1/2] docs: use canonical "beta prime" naming in `@stdlib/random/betaprime` Normalizes the multi-word distribution name from "betaprime distribution" to "beta prime distribution" across the package's `README.md` intro/notes blockquote and method descriptions, `lib/main.js`, `lib/index.js`, and `lib/factory.js` JSDoc description lines, and the `package.json` description field. Aligns with the spelling used by every other distribution package in `@stdlib/random/*` (33 of 33 use spaced/hyphenated multi-word names, e.g. "negative binomial distribution", "chi-square distribution", "discrete uniform distribution") and by all sibling `betaprime` packages under `@stdlib/random/base`, `@stdlib/random/array`, `@stdlib/random/strided`, and `@stdlib/stats/base/dists`. The link anchor `@stdlib/random/base/betaprime` and every code identifier remain unchanged; only the human-readable distribution name in prose is affected. docs/repl.txt and docs/types/index.d.ts are excluded per the drift-audit convention (auto-populated / generator-owned). --- lib/node_modules/@stdlib/random/betaprime/README.md | 8 ++++---- lib/node_modules/@stdlib/random/betaprime/lib/factory.js | 2 +- lib/node_modules/@stdlib/random/betaprime/lib/index.js | 2 +- lib/node_modules/@stdlib/random/betaprime/lib/main.js | 2 +- lib/node_modules/@stdlib/random/betaprime/package.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/node_modules/@stdlib/random/betaprime/README.md b/lib/node_modules/@stdlib/random/betaprime/README.md index 27b5ef40763f..c42baa33720a 100644 --- a/lib/node_modules/@stdlib/random/betaprime/README.md +++ b/lib/node_modules/@stdlib/random/betaprime/README.md @@ -20,7 +20,7 @@ limitations under the License. # Beta Prime Random Numbers -> Generate pseudorandom numbers drawn from a [betaprime][@stdlib/random/base/betaprime] distribution. +> Generate pseudorandom numbers drawn from a [beta prime][@stdlib/random/base/betaprime] distribution.
@@ -32,7 +32,7 @@ var betaprime = require( '@stdlib/random/betaprime' ); #### betaprime( shape, alpha, beta\[, options] ) -Returns an [ndarray][@stdlib/ndarray/ctor] containing pseudorandom numbers drawn from a [betaprime][@stdlib/random/base/betaprime] distribution. +Returns an [ndarray][@stdlib/ndarray/ctor] containing pseudorandom numbers drawn from a [beta prime][@stdlib/random/base/betaprime] distribution. ```javascript var arr = betaprime( [ 3, 3 ], 2.0, 5.0 ); @@ -106,7 +106,7 @@ var dt = String( getDType( arr ) ); #### betaprime.assign( alpha, beta, out ) -Fills an [ndarray][@stdlib/ndarray/ctor] with pseudorandom numbers drawn from a [betaprime][@stdlib/random/base/betaprime] distribution. +Fills an [ndarray][@stdlib/ndarray/ctor] with pseudorandom numbers drawn from a [beta prime][@stdlib/random/base/betaprime] distribution. ```javascript var zeros = require( '@stdlib/ndarray/zeros' ); @@ -129,7 +129,7 @@ The method has the following parameters: #### betaprime.factory( \[options] ) -Returns a function for generating pseudorandom numbers drawn from a [betaprime][@stdlib/random/base/betaprime] distribution. +Returns a function for generating pseudorandom numbers drawn from a [beta prime][@stdlib/random/base/betaprime] distribution. ```javascript var getShape = require( '@stdlib/ndarray/shape' ); diff --git a/lib/node_modules/@stdlib/random/betaprime/lib/factory.js b/lib/node_modules/@stdlib/random/betaprime/lib/factory.js index 5841d67ca124..c15733727640 100644 --- a/lib/node_modules/@stdlib/random/betaprime/lib/factory.js +++ b/lib/node_modules/@stdlib/random/betaprime/lib/factory.js @@ -38,7 +38,7 @@ var policies = { // MAIN // /** -* Returns a function for generating pseudorandom numbers drawn from a betaprime distribution. +* Returns a function for generating pseudorandom numbers drawn from a beta prime distribution. * * @name factory * @type {Function} diff --git a/lib/node_modules/@stdlib/random/betaprime/lib/index.js b/lib/node_modules/@stdlib/random/betaprime/lib/index.js index 350a8eebc28b..11d10f6616e3 100644 --- a/lib/node_modules/@stdlib/random/betaprime/lib/index.js +++ b/lib/node_modules/@stdlib/random/betaprime/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* Generate pseudorandom numbers drawn from a betaprime distribution. +* Generate pseudorandom numbers drawn from a beta prime distribution. * * @module @stdlib/random/betaprime * diff --git a/lib/node_modules/@stdlib/random/betaprime/lib/main.js b/lib/node_modules/@stdlib/random/betaprime/lib/main.js index 42e8fd094c83..57a4e2a7fe5f 100644 --- a/lib/node_modules/@stdlib/random/betaprime/lib/main.js +++ b/lib/node_modules/@stdlib/random/betaprime/lib/main.js @@ -26,7 +26,7 @@ var factory = require( './factory.js' ); // MAIN // /** -* Returns pseudorandom numbers drawn from a betaprime distribution. +* Returns pseudorandom numbers drawn from a beta prime distribution. * * @name betaprime * @type {Function} diff --git a/lib/node_modules/@stdlib/random/betaprime/package.json b/lib/node_modules/@stdlib/random/betaprime/package.json index 7b935e4496e3..57eb3ddafe10 100644 --- a/lib/node_modules/@stdlib/random/betaprime/package.json +++ b/lib/node_modules/@stdlib/random/betaprime/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/random/betaprime", "version": "0.0.0", - "description": "Generate pseudorandom numbers drawn from a betaprime distribution.", + "description": "Generate pseudorandom numbers drawn from a beta prime distribution.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", From 933db3ca5b3d73e6dc94035289df206dd9125b30 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 12 Jul 2026 18:36:04 +0000 Subject: [PATCH 2/2] docs: use canonical "beta prime" naming in `random/betaprime` scaffold data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aligns the scaffold source with the leaf-package fix in the previous commit so that a scaffold re-run will not overwrite the "beta prime" prose. Rewrites `from_desc`, `readme_from_desc`, `repl_text_main_desc`, `repl_text_assign_desc`, and `repl_text_factory_desc`. The `keywords` field is unchanged — `betaprime` there is the package identifier used for keyword search, not the distribution's prose name. --- .../scaffolds/binary/scripts/data/betaprime.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/node_modules/@stdlib/random/scripts/scaffolds/binary/scripts/data/betaprime.json b/lib/node_modules/@stdlib/random/scripts/scaffolds/binary/scripts/data/betaprime.json index 6a2ba2056c93..794d38c1f3a4 100644 --- a/lib/node_modules/@stdlib/random/scripts/scaffolds/binary/scripts/data/betaprime.json +++ b/lib/node_modules/@stdlib/random/scripts/scaffolds/binary/scripts/data/betaprime.json @@ -27,16 +27,16 @@ "default_dtype": "float64", "default_dtype_kind": "real_floating_point", - "from_desc": "a betaprime distribution", - "readme_from_desc": "a [betaprime][@stdlib/random/base/betaprime] distribution", + "from_desc": "a beta prime distribution", + "readme_from_desc": "a [beta prime][@stdlib/random/base/betaprime] distribution", "readme_heading": "Beta Prime Random Numbers", "readme_dtype_kind_desc": "a real-valued floating-point", "readme_dtype_kind_pkg": "stdlib/ndarray/dtypes", - "repl_text_main_desc": "Returns an ndarray containing pseudorandom numbers drawn from a betaprime distribution.", - "repl_text_assign_desc": "Fills an ndarray with pseudorandom numbers drawn from a betaprime distribution.", - "repl_text_factory_desc": "Returns a function for generating pseudorandom numbers drawn from a betaprime distribution.", + "repl_text_main_desc": "Returns an ndarray containing pseudorandom numbers drawn from a beta prime distribution.", + "repl_text_assign_desc": "Fills an ndarray with pseudorandom numbers drawn from a beta prime distribution.", + "repl_text_factory_desc": "Returns a function for generating pseudorandom numbers drawn from a beta prime distribution.", "repl_text_param_1_desc": "First shape parameter. If an ndarray, must be broadcast compatible with the specified array shape.", "repl_text_param_2_desc": "Second shape parameter. If an ndarray, must be broadcast compatible with the specified array shape.",