docs: add link#13406
Merged
kgryte merged 2 commits intoJul 10, 2026
Merged
Conversation
…/pdf` README Reference-link the term `probability density function` in the README opening description quote, matching the sibling `cauchy` namespace convention. Six of eight non-`ctor` packages (`cdf`, `entropy`, `logcdf`, `median`, `mode`, `quantile`) already wrap the term in a reference-style link on that line; `pdf` was the outlier. The `[pdf]` reference is already defined at the bottom of the file, so the link resolves without further changes. Ref: #11942
…/logpdf` README Reference-link the term `probability density function` in the README opening description quote, matching the sibling `cauchy` namespace convention. Six of eight non-`ctor` packages already wrap the term in a reference-style link on that line; `logpdf` was one of two outliers. The `[pdf]` reference is already defined at the bottom of the file, so the link resolves without further changes. The "natural logarithm of" phrase introduced in 8d60f41 is preserved. Ref: #11942
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
kgryte
approved these changes
Jul 10, 2026
probability density function in stats/base/dists/cauchy/{pdf,logpdf} READMEs
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
Link the term
probability density functionto the[pdf]reference in the opening blockquote of bothstats/base/dists/cauchy/pdf/README.mdandstats/base/dists/cauchy/logpdf/README.md. Every other non-ctorsibling in thecauchynamespace already wraps its mathematical term in a reference-style link on that line ([cumulative distribution function][cdf],[differential entropy][entropy],[median][median],[mode][mode],[quantile function][quantile-function]). The[pdf]:reference is already defined at the bottom of both files, so the link resolves without further changes. Conformance on this line goes from 6/8 to 8/8; the "natural logarithm of" phrasing inlogpdf(from 8d60f41, propagated via #12736) is preserved.@stdlib/stats/base/dists/cauchy/pdfFixed the drift in
pdf's README: line 23's opening blockquote referenced "probability density function" as plain text instead of the[probability density function][pdf]link every other non-ctorsibling uses there, even though the[pdf]:reference definition already existed at the bottom of the file. One-line change, brings thecauchynamespace from 6/8 to 8/8 conformance on this pattern. No behavioral, test, or signature changes.@stdlib/stats/base/dists/cauchy/logpdfFixed the
logpdfREADME to linkprobability density functionto the[pdf]reference, matching the pattern used by 6 of the other 7 non-ctorsiblings in@stdlib/stats/base/dists/cauchy. The[pdf]anchor was already defined at the bottom of the file, so this is a pure markup fix — no behavioral, test, or signature changes. Namespace conformance on this line goes from 6/8 to 8/8.Related Issues
None.
Questions
None.
Other
Single conformance percentage: 6/8 non-
ctorsibling packages already reference-link the mathematical term in the opening blockquote (75%);pdfandlogpdfwere the two outliers.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was authored by Claude Code as part of an automated cross-package drift-detection sweep. The routine extracted structural and semantic features from every package in
stats/base/dists/cauchy/, computed a per-feature majority pattern, and validated each candidate correction through a structural-review agent (confirmed the linked form is the file's own established convention and the un-linked blockquote is the outlier) and a cross-reference agent (confirmed no test, example,docs/types/*, or generated file depends on the current wording) before any edit. The single correction is a pure Markdown link addition; no behavior, signatures, or tests changed.@stdlib-js/reviewers
Generated by Claude Code