From 0a2e47446e205d0dc280395d2a8acc1537a04885 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 21 Jul 2026 20:30:12 +0000 Subject: [PATCH 01/11] bench: fix `factory` benchmark label in `stats/base/dists/gumbel/cdf` The `factory` benchmark used a double-colon label (`%s::factory`), whereas the double-colon form is reserved for `::native` benchmark variants. Changed to the single-colon `%s:factory` label used by 5/6 (83%) of the namespace's distribution-function siblings (logcdf, logpdf, pdf, quantile, mgf). --- .../@stdlib/stats/base/dists/gumbel/cdf/benchmark/benchmark.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/benchmark/benchmark.js b/lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/benchmark/benchmark.js index 440279bdd147..1eb14d9d7aae 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/benchmark/benchmark.js @@ -65,7 +65,7 @@ bench( pkg, function benchmark( b ) { b.end(); }); -bench( format( '%s::factory', pkg ), function benchmark( b ) { +bench( format( '%s:factory', pkg ), function benchmark( b ) { var mycdf; var beta; var len; From 383b1a7d0445242ac590cf025fc95ebe751602a7 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 21 Jul 2026 20:30:19 +0000 Subject: [PATCH 02/11] docs: fix drift in `stats/base/dists/gumbel/mgf` Normalizes two documentation deviations from namespace convention: - README summary line left the term "moment-generating function (MGF)" unlinked; 5/6 (83%) of distribution-function siblings link the function term in the summary. Linked it via the existing `mgf` reference. - JSDoc `@example` labeled the `beta = -1.0` case "Non-positive scale parameter", whereas 5/6 (83%) of siblings label the identical negative-value example "Negative scale parameter". Corrected the comment in both lib/main.js and lib/native.js. --- lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/README.md | 2 +- .../@stdlib/stats/base/dists/gumbel/mgf/lib/main.js | 2 +- .../@stdlib/stats/base/dists/gumbel/mgf/lib/native.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/README.md b/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/README.md index 4799054103c5..cdf6fdbd79f6 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/README.md @@ -20,7 +20,7 @@ limitations under the License. # Moment-Generating Function -> [Gumbel][gumbel-distribution] distribution moment-generating function (MGF). +> [Gumbel][gumbel-distribution] distribution [moment-generating function (MGF)][mgf]. diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/main.js b/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/main.js index b0c52c0b48ba..c6c196e09263 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/main.js +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/main.js @@ -60,7 +60,7 @@ var exp = require( '@stdlib/math/base/special/exp' ); * // returns NaN * * @example -* // Non-positive scale parameter: +* // Negative scale parameter: * var y = mgf( 0.0, 0.0, -1.0 ); * // returns NaN */ diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/native.js b/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/native.js index 248e52ef3a02..3e40d594ef67 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/native.js +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/native.js @@ -59,7 +59,7 @@ var addon = require( './../src/addon.node' ); * // returns NaN * * @example -* // Non-positive scale parameter: +* // Negative scale parameter: * var y = mgf( 0.0, 0.0, -1.0 ); * // returns NaN */ From 9702985c0b2193268f7141303830877c6c964f15 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 21 Jul 2026 20:30:27 +0000 Subject: [PATCH 03/11] docs: describe `factory` method in `stats/base/dists/gumbel/pdf` The `pdf.factory` description used a non-templated sentence ("Partially applies `mu` and `beta` to create a reusable `function`...") that omitted the linked function term, the Gumbel distribution reference, and the parameter annotations. Rewrote it to the "Returns a function for evaluating the [probability density function][pdf] of a [Gumbel][gumbel-distribution] distribution with parameters..." form used by 5/6 (83%) of the distribution-function siblings. --- lib/node_modules/@stdlib/stats/base/dists/gumbel/pdf/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/pdf/README.md b/lib/node_modules/@stdlib/stats/base/dists/gumbel/pdf/README.md index 4c19bed5534b..732b4348330f 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/pdf/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/pdf/README.md @@ -93,7 +93,7 @@ y = pdf( 2.0, 8.0, 0.0 ); #### pdf.factory( mu, beta ) -Partially applies `mu` and `beta` to create a reusable `function` for evaluating the PDF. +Returns a function for evaluating the [probability density function][pdf] of a [Gumbel][gumbel-distribution] distribution with parameters `mu` (location parameter) and `beta` (scale parameter). ```javascript var mypdf = pdf.factory( 10.0, 2.0 ); From 5ffabf28724ad81fe0a573deb25c3585bcd81ed5 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 21 Jul 2026 20:30:28 +0000 Subject: [PATCH 04/11] docs: fix C API description in `stats/base/dists/gumbel/quantile` The C API usage sentence used the reference anchors as visible link text ("[quantile-function]", "[gumbel-distribution]") and the phrasing "of a ... with parameter probability", diverging from the package's own (correct) JavaScript-usage sentence and from 5/6 (83%) of the distribution-function siblings. Replaced it with the conventional "Evaluates the [quantile function][quantile-function] for a [Gumbel][gumbel-distribution] distribution with parameters..." form. --- .../@stdlib/stats/base/dists/gumbel/quantile/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/quantile/README.md b/lib/node_modules/@stdlib/stats/base/dists/gumbel/quantile/README.md index deb4c01df0c1..22ca624978db 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/quantile/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/quantile/README.md @@ -173,7 +173,7 @@ logEachMap( 'p: %0.4f, μ: %0.4f, β: %0.4f, Q(p;μ,β): %0.4f', p, mu, beta, qu #### stdlib_base_dists_gumbel_quantile( p, mu, beta ) -Evaluates the [quantile-function][quantile-function] of a [gumbel-distribution][gumbel-distribution] with parameter probability `p`, location parameter `mu`, and scale parameter `beta`. +Evaluates the [quantile function][quantile-function] for a [Gumbel][gumbel-distribution] distribution with parameters `mu` (location parameter) and `beta` (scale parameter). ```c double y = stdlib_base_dists_gumbel_quantile( 0.8, 0.0, 1.0 ); From a200fd8b8cfb1964c10a5067cc3f344626cf24b3 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 21 Jul 2026 20:30:40 +0000 Subject: [PATCH 05/11] docs: fix intro and C API wording in `stats/base/dists/gumbel/median` Normalizes two README deviations from moment-function convention: - Intro sentence lowercased "gumbel" and omitted the "with location and scale" parameter clause carried by 6/8 (75%) of the moment siblings. Capitalized "Gumbel" and restored the clause. - C API description used the verb "Evaluates the", whereas 7/8 (88%) of the moment siblings (and the package's own JavaScript-usage sentence) use "Returns the". Changed to "Returns the". --- .../@stdlib/stats/base/dists/gumbel/median/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/median/README.md b/lib/node_modules/@stdlib/stats/base/dists/gumbel/median/README.md index dabeef593251..e7640d6467cb 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/median/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/median/README.md @@ -26,7 +26,7 @@ limitations under the License.
-The [median][median] for a [gumbel][gumbel-distribution] random variable is +The [median][median] for a [Gumbel][gumbel-distribution] random variable with location `μ` and scale `β` is @@ -158,7 +158,7 @@ logEachMap( 'μ: %0.4f, β: %0.4f, Median(X;μ,β): %0.4f', mu, beta, median ); #### stdlib_base_dists_gumbel_median( mu, beta ) -Evaluates the [median][median] for a [Gumbel][gumbel-distribution] distribution with location parameter `mu` and scale parameter `beta`. +Returns the [median][median] for a [Gumbel][gumbel-distribution] distribution with location parameter `mu` and scale parameter `beta`. ```c double out = stdlib_base_dists_gumbel_median( 0.0, 1.0 ); From 6f698388f3da8fbb422476e72f7a02358b1dbd85 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 21 Jul 2026 20:30:40 +0000 Subject: [PATCH 06/11] docs: add reference links to C API description in `stats/base/dists/gumbel/variance` The C API usage sentence dropped the markdown reference links and the "parameter" qualifiers ("Returns the variance for a Gumbel distribution with location `mu` and scale `beta`."), diverging from the package's own (correct) JavaScript-usage sentence and from 6/8 (75%) of the moment siblings. Restored the linked "Returns the [variance][variance] for a [Gumbel][gumbel-distribution] distribution with location parameter `mu` and scale parameter `beta`." form; both references were already defined in the README. --- .../@stdlib/stats/base/dists/gumbel/variance/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/variance/README.md b/lib/node_modules/@stdlib/stats/base/dists/gumbel/variance/README.md index ceabfb3b02d6..f8ae011eb7ed 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/variance/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/variance/README.md @@ -156,7 +156,7 @@ logEachMap( 'μ: %0.4f, β: %0.4f, Var(X;μ,β): %0.4f', mu, beta, variance ); #### stdlib_base_dists_gumbel_variance( mu, beta ) -Returns the variance for a Gumbel distribution with location `mu` and scale `beta`. +Returns the [variance][variance] for a [Gumbel][gumbel-distribution] distribution with location parameter `mu` and scale parameter `beta`. ```c double out = stdlib_base_dists_gumbel_variance( 0.0, 1.0 ); From be247eb6823d41ee0a9144517e4d556be7dc2040 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 21 Jul 2026 20:30:41 +0000 Subject: [PATCH 07/11] docs: fix C API description in `stats/base/dists/gumbel/skewness` Normalizes two C API README deviations from moment-function convention: - Usage sentence dropped the markdown reference links and "parameter" qualifiers; 6/8 (75%) of the moment siblings (and the package's own JavaScript-usage sentence) use the linked "Returns the [skewness][skewness] for a [Gumbel][gumbel-distribution] distribution with location parameter `mu` and scale parameter `beta`." form. Restored it; both references were already defined. - C usage example declared the result as `double y`, whereas 7/8 (88%) of the moment siblings declare it as `double out`. Renamed to `out` (README only; the C source correctly retains `y`). --- .../@stdlib/stats/base/dists/gumbel/skewness/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/skewness/README.md b/lib/node_modules/@stdlib/stats/base/dists/gumbel/skewness/README.md index 0fd759ac4d4c..9445c7eab71d 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/skewness/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/skewness/README.md @@ -158,10 +158,10 @@ logEachMap( 'μ: %0.4f, β: %0.4f, skew(X;μ,β): %0.4f', mu, beta, skewness ); #### stdlib_base_dists_gumbel_skewness( mu, beta ) -Returns the skewness for a Gumbel distribution with location `mu` and scale `beta`. +Returns the [skewness][skewness] for a [Gumbel][gumbel-distribution] distribution with location parameter `mu` and scale parameter `beta`. ```c -double y = stdlib_base_dists_gumbel_skewness( 0.0, 1.0 ); +double out = stdlib_base_dists_gumbel_skewness( 0.0, 1.0 ); // returns ~1.14 ``` From 62ee0bc2993f52e2569885219b63bc0987138f04 Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 21 Jul 2026 14:24:22 -0700 Subject: [PATCH 08/11] Discard changes to lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/benchmark/benchmark.js --- .../@stdlib/stats/base/dists/gumbel/cdf/benchmark/benchmark.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/benchmark/benchmark.js b/lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/benchmark/benchmark.js index 1eb14d9d7aae..440279bdd147 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/benchmark/benchmark.js @@ -65,7 +65,7 @@ bench( pkg, function benchmark( b ) { b.end(); }); -bench( format( '%s:factory', pkg ), function benchmark( b ) { +bench( format( '%s::factory', pkg ), function benchmark( b ) { var mycdf; var beta; var len; From 929bbb63cfe6b212eec26683bd1115c0b014c712 Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 21 Jul 2026 14:24:57 -0700 Subject: [PATCH 09/11] Discard changes to lib/node_modules/@stdlib/stats/base/dists/gumbel/median/README.md --- .../@stdlib/stats/base/dists/gumbel/median/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/median/README.md b/lib/node_modules/@stdlib/stats/base/dists/gumbel/median/README.md index e7640d6467cb..dabeef593251 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/median/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/median/README.md @@ -26,7 +26,7 @@ limitations under the License.
-The [median][median] for a [Gumbel][gumbel-distribution] random variable with location `μ` and scale `β` is +The [median][median] for a [gumbel][gumbel-distribution] random variable is @@ -158,7 +158,7 @@ logEachMap( 'μ: %0.4f, β: %0.4f, Median(X;μ,β): %0.4f', mu, beta, median ); #### stdlib_base_dists_gumbel_median( mu, beta ) -Returns the [median][median] for a [Gumbel][gumbel-distribution] distribution with location parameter `mu` and scale parameter `beta`. +Evaluates the [median][median] for a [Gumbel][gumbel-distribution] distribution with location parameter `mu` and scale parameter `beta`. ```c double out = stdlib_base_dists_gumbel_median( 0.0, 1.0 ); From 6294e4b4687d3e5b5be0fa01c6cc8000b2c2a049 Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 21 Jul 2026 14:25:29 -0700 Subject: [PATCH 10/11] Discard changes to lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/main.js --- .../@stdlib/stats/base/dists/gumbel/mgf/lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/main.js b/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/main.js index c6c196e09263..b0c52c0b48ba 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/main.js +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/main.js @@ -60,7 +60,7 @@ var exp = require( '@stdlib/math/base/special/exp' ); * // returns NaN * * @example -* // Negative scale parameter: +* // Non-positive scale parameter: * var y = mgf( 0.0, 0.0, -1.0 ); * // returns NaN */ From 8db5389927f9b556f11c4b5ceb1e603195ce9835 Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 21 Jul 2026 14:26:14 -0700 Subject: [PATCH 11/11] Discard changes to lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/native.js --- .../@stdlib/stats/base/dists/gumbel/mgf/lib/native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/native.js b/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/native.js index 3e40d594ef67..248e52ef3a02 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/native.js +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/mgf/lib/native.js @@ -59,7 +59,7 @@ var addon = require( './../src/addon.node' ); * // returns NaN * * @example -* // Negative scale parameter: +* // Non-positive scale parameter: * var y = mgf( 0.0, 0.0, -1.0 ); * // returns NaN */