From bb83395fb2456d6c5ae1b7ef0661241e2e9f6cc0 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 04:23:53 +0000 Subject: [PATCH 1/7] docs: fix incorrect function description in `stats/base/dists/pareto-type1/logcdf` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The JSDoc, native.js, C source, and C header docstrings all described the function as "Evaluates the cumulative distribution function (CDF)" when the package evaluates the natural logarithm of the CDF. The package's own `docs/repl.txt`, `docs/types/index.d.ts`, and `README.md` title/intro already document the function correctly; only the source comments were copy-pasted from `pareto-type1/cdf` without updating the brief. Also inconsistent with sibling `logpdf/lib/main.js`, which correctly reads "Evaluates the natural logarithm of the probability density function (PDF)…" — 24 of 25 `/logcdf` packages across `stats/base/dists/*` already carry the corrected phrasing. --- .../include/stdlib/stats/base/dists/pareto-type1/logcdf.h | 2 +- .../@stdlib/stats/base/dists/pareto-type1/logcdf/lib/main.js | 2 +- .../@stdlib/stats/base/dists/pareto-type1/logcdf/lib/native.js | 2 +- .../@stdlib/stats/base/dists/pareto-type1/logcdf/src/main.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/include/stdlib/stats/base/dists/pareto-type1/logcdf.h b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/include/stdlib/stats/base/dists/pareto-type1/logcdf.h index b59706e1f437..8b92bcdf3719 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/include/stdlib/stats/base/dists/pareto-type1/logcdf.h +++ b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/include/stdlib/stats/base/dists/pareto-type1/logcdf.h @@ -27,7 +27,7 @@ extern "C" { #endif /** -* Evaluates the cumulative distribution function (CDF) for a Pareto (Type I) distribution with shape parameter `alpha` and scale parameter `beta` at a value `x`. +* Evaluates the natural logarithm of the cumulative distribution function (CDF) for a Pareto (Type I) distribution with shape parameter `alpha` and scale parameter `beta` at a value `x`. */ double stdlib_base_dists_pareto_type1_logcdf( const double x, const double alpha, const double beta ); diff --git a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/lib/main.js b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/lib/main.js index cf7af3fa0219..463b2197f079 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/lib/main.js +++ b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/lib/main.js @@ -29,7 +29,7 @@ var NINF = require( '@stdlib/constants/float64/ninf' ); // MAIN // /** -* Evaluates the cumulative distribution function (CDF) for a Pareto (Type I) distribution with shape parameter `alpha` and scale parameter `beta` at a value `x`. +* Evaluates the natural logarithm of the cumulative distribution function (CDF) for a Pareto (Type I) distribution with shape parameter `alpha` and scale parameter `beta` at a value `x`. * * @param {number} x - input value * @param {PositiveNumber} alpha - shape parameter diff --git a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/lib/native.js b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/lib/native.js index d2bc601cd71b..e4e3636dd1c2 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/lib/native.js +++ b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/lib/native.js @@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' ); // MAIN // /** -* Evaluates the cumulative distribution function (CDF) for a Pareto (Type I) distribution with shape parameter `alpha` and scale parameter `beta` at a value `x`. +* Evaluates the natural logarithm of the cumulative distribution function (CDF) for a Pareto (Type I) distribution with shape parameter `alpha` and scale parameter `beta` at a value `x`. * * @private * @param {number} x - input value diff --git a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/src/main.c b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/src/main.c index 1b0f7cc2ba7f..eda300300b56 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/src/main.c +++ b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logcdf/src/main.c @@ -23,7 +23,7 @@ #include "stdlib/math/base/special/pow.h" /** -* Evaluates the cumulative distribution function (CDF) for a Pareto (Type I) distribution with shape parameter `alpha` and scale parameter `beta` at a value `x`. +* Evaluates the natural logarithm of the cumulative distribution function (CDF) for a Pareto (Type I) distribution with shape parameter `alpha` and scale parameter `beta` at a value `x`. * * @param x input value * @param alpha shape parameter From d1c243c492efb5e91ac3790243360a3d8e92adc3 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 04:24:03 +0000 Subject: [PATCH 2/7] docs: normalize brief phrasings in `stats/base/dists/pareto-type1/logpdf` Aligns the `README.md` title blockquote, the `lib/index.js` module-doc brief, and the `package.json` description with the namespace's noun-phrase convention ` distribution .` used by 12 of 14 sibling `lib/index.js` briefs (85.7% conformance), 13 of 14 sibling README blockquotes (92.9%), and 13 of 14 sibling package.json descriptions (92.9%). The prior verb-phrase form `Evaluate the natural logarithm of the probability density function (PDF) for a Pareto (Type I) distribution.` was the sole `lib/index.js`/README outlier in the namespace and the sole `package.json` outlier. New phrasings mirror `pareto-type1/logcdf` verbatim (word order, capitalization, elided `natural` in package.json, preserved trailing `(PDF)` acronym per the PDF-family convention). --- .../@stdlib/stats/base/dists/pareto-type1/logpdf/README.md | 2 +- .../@stdlib/stats/base/dists/pareto-type1/logpdf/lib/index.js | 2 +- .../@stdlib/stats/base/dists/pareto-type1/logpdf/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/README.md b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/README.md index aef0b1cff70e..87d55890f87c 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/README.md @@ -20,7 +20,7 @@ limitations under the License. # Logarithm of Probability Density Function -> Evaluate the natural logarithm of the [probability density function][pdf] (PDF) for a [Pareto (Type I)][pareto-distribution] distribution. +> [Pareto (Type I)][pareto-distribution] distribution natural logarithm of [probability density function][pdf] (PDF).
diff --git a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/lib/index.js b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/lib/index.js index 90a8fbfff3ea..6fcf05db73b0 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/lib/index.js +++ b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* Evaluate the natural logarithm of the probability density function (PDF) for a Pareto (Type I) distribution. +* Pareto (Type I) distribution natural logarithm of probability density function (PDF). * * @module @stdlib/stats/base/dists/pareto-type1/logpdf * diff --git a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/package.json b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/package.json index c49cecb0c2be..be58aa1c9624 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/package.json +++ b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/stats/base/dists/pareto-type1/logpdf", "version": "0.0.0", - "description": "Natural logarithm of the probability density function (PDF) for a Pareto (Type I) distribution.", + "description": "Pareto (Type I) distribution logarithm of probability density function (PDF).", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", From af827684789ac85cf24149b4b4daea7e53ef43d9 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 04:24:09 +0000 Subject: [PATCH 3/7] docs: normalize module brief in `stats/base/dists/pareto-type1/pdf` Aligns the `lib/index.js` module-doc brief with the namespace's noun-phrase convention ` distribution .` used by 12 of 14 sibling `lib/index.js` briefs (85.7% conformance) and by 26 of 31 sibling `/pdf` packages across `stats/base/dists/*` (83.9%). The prior verb-phrase form `Evaluate the probability density function (PDF) for a Pareto (Type I) distribution.` was the sole in-namespace outlier alongside `logpdf` (now realigned in the previous commit). The package's own `README.md` blockquote, `docs/repl.txt`, and `package.json` description already carry the noun-phrase form; only `lib/index.js` was drifting. --- .../@stdlib/stats/base/dists/pareto-type1/pdf/lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/pdf/lib/index.js b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/pdf/lib/index.js index 6afc1dd8eaf4..bb32a5bf6b4f 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/pdf/lib/index.js +++ b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/pdf/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* Evaluate the probability density function (PDF) for a Pareto (Type I) distribution. +* Pareto (Type I) distribution probability density function (PDF). * * @module @stdlib/stats/base/dists/pareto-type1/pdf * From c37f18855addec5b5fc68f8e96ff04689a702c9c Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 7 Jul 2026 23:08:17 -0700 Subject: [PATCH 4/7] Apply suggestions from code review Co-authored-by: Athan Signed-off-by: Athan --- .../@stdlib/stats/base/dists/pareto-type1/pdf/lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/pdf/lib/index.js b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/pdf/lib/index.js index bb32a5bf6b4f..6afc1dd8eaf4 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/pdf/lib/index.js +++ b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/pdf/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* Pareto (Type I) distribution probability density function (PDF). +* Evaluate the probability density function (PDF) for a Pareto (Type I) distribution. * * @module @stdlib/stats/base/dists/pareto-type1/pdf * From f7f495af46ddeadb8313997c2f1bbf8662973563 Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 7 Jul 2026 23:08:29 -0700 Subject: [PATCH 5/7] Discard changes to lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/README.md --- .../@stdlib/stats/base/dists/pareto-type1/logpdf/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/README.md b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/README.md index 87d55890f87c..aef0b1cff70e 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/README.md @@ -20,7 +20,7 @@ limitations under the License. # Logarithm of Probability Density Function -> [Pareto (Type I)][pareto-distribution] distribution natural logarithm of [probability density function][pdf] (PDF). +> Evaluate the natural logarithm of the [probability density function][pdf] (PDF) for a [Pareto (Type I)][pareto-distribution] distribution.
From 6b02b259028261c1d892d740e94d4824df37d557 Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 7 Jul 2026 23:08:44 -0700 Subject: [PATCH 6/7] Discard changes to lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/package.json --- .../@stdlib/stats/base/dists/pareto-type1/logpdf/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/package.json b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/package.json index be58aa1c9624..c49cecb0c2be 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/package.json +++ b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/stats/base/dists/pareto-type1/logpdf", "version": "0.0.0", - "description": "Pareto (Type I) distribution logarithm of probability density function (PDF).", + "description": "Natural logarithm of the probability density function (PDF) for a Pareto (Type I) distribution.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", From 642026f2ddb7cd4006719f41777f779b2a0649be Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 7 Jul 2026 23:08:52 -0700 Subject: [PATCH 7/7] Discard changes to lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/lib/index.js --- .../@stdlib/stats/base/dists/pareto-type1/logpdf/lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/lib/index.js b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/lib/index.js index 6fcf05db73b0..90a8fbfff3ea 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/lib/index.js +++ b/lib/node_modules/@stdlib/stats/base/dists/pareto-type1/logpdf/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* Pareto (Type I) distribution natural logarithm of probability density function (PDF). +* Evaluate the natural logarithm of the probability density function (PDF) for a Pareto (Type I) distribution. * * @module @stdlib/stats/base/dists/pareto-type1/logpdf *