docs: harmonize description and README intro in stats/base/dists/exponential/logpdf#12514
Draft
Planeshifter wants to merge 1 commit into
Draft
docs: harmonize description and README intro in stats/base/dists/exponential/logpdf#12514Planeshifter wants to merge 1 commit into
stats/base/dists/exponential/logpdf#12514Planeshifter wants to merge 1 commit into
Conversation
…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.
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
kgryte
reviewed
Jun 4, 2026
| # 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). |
Member
There was a problem hiding this comment.
I still contend that this is an awkward language construction.
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
@stdlib/stats/base/dists/exponential/logpdf: rewrite thepackage.jsondescriptionandREADME.mdshort-description line to match theExponential distribution <X>.template used by the rest of thestats/base/dists/exponentialnamespace (14/15 = 93% conformance;logpdfwas the sole outlier). The new wording mirrors siblinglogcdf'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
If you answered "yes" above, how did you use AI assistance?
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 inlogpdf'spackage.jsonandREADME.md.@stdlib-js/reviewers
Generated by Claude Code