Skip to content

docs: harmonize description and README intro in stats/base/dists/exponential/logpdf#12514

Draft
Planeshifter wants to merge 1 commit into
developfrom
philipp/drift-stats-base-dists-exponential-2026-06-03
Draft

docs: harmonize description and README intro in stats/base/dists/exponential/logpdf#12514
Planeshifter wants to merge 1 commit into
developfrom
philipp/drift-stats-base-dists-exponential-2026-06-03

Conversation

@Planeshifter
Copy link
Copy Markdown
Member

Description

@stdlib/stats/base/dists/exponential/logpdf: rewrite the package.json description and README.md short-description line to match the Exponential distribution <X>. template used by the rest of the stats/base/dists/exponential namespace (14/15 = 93% conformance; logpdf was the sole outlier). The new wording mirrors sibling logcdf's phrasing; the [pdf] and [exponential-distribution] link references invoked from the rewritten README intro are already defined at the bottom of the file. Metadata and README prose only — no source, test, or behavioral changes.

Related Issues

This pull request has no related issues.

Questions

No.

Other

No.

Checklist

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

This PR was authored by Claude Code via the cross-package drift-detection routine: structural and semantic features were extracted from every member of stats/base/dists/exponential, the majority pattern for each feature was computed at a 75% conformance threshold, and three independent validation agents (opus semantic-review, opus cross-reference, sonnet structural-review) confirmed each correction was high-signal mechanical drift before any file was edited. The diff is two single-line metadata/prose edits in logpdf's package.json and README.md.


@stdlib-js/reviewers


Generated by Claude Code

…xponential/logpdf`

Rewrites the `package.json` `description` and `README.md` short-description
line so that `logpdf` matches the `Exponential distribution <X>.` template
followed by every other member of the `stats/base/dists/exponential`
namespace.

- `package.json` `description` field: `Natural logarithm of the probability
  density function (PDF) for an exponential distribution.` →
  `Exponential distribution logarithm of probability density function (PDF).`
  (14/15 = 93% of siblings follow the `Exponential distribution <X>.`
  template; logpdf was the sole outlier).
- `README.md` short-description line rewritten to mirror sibling `logcdf`'s
  intro (`> [Exponential][exponential-distribution] distribution logarithm
  of [probability density function][pdf] (PDF).`); link references
  `[pdf]` and `[exponential-distribution]` are already defined at the
  bottom of the file.

No source, test, or behavioral changes.
@stdlib-bot stdlib-bot added the Statistics Issue or pull request related to statistical functionality. label Jun 3, 2026
@stdlib-bot
Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
stats/base/dists/exponential/logpdf $\color{green}281/281$
$\color{green}+100.00\%$
$\color{green}23/23$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}281/281$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this PR.

# Logarithm of Probability Density Function

> Evaluate the natural logarithm of the probability density function (PDF) for an [exponential][exponential-distribution] distribution.
> [Exponential][exponential-distribution] distribution logarithm of [probability density function][pdf] (PDF).
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still contend that this is an awkward language construction.

@kgryte kgryte added the Documentation Improvements, additions, or changes to documentation. label Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements, additions, or changes to documentation. Statistics Issue or pull request related to statistical functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants