Skip to content

docs: add missing intro section in stats/base/dists/normal/stdev - #17015

Open
devnaldo wants to merge 1 commit into
stdlib-js:developfrom
devnaldo:docs-normal-stdev-readme-intro
Open

devnaldo wants to merge 1 commit into
stdlib-js:developfrom
devnaldo:docs-normal-stdev-readme-intro

Conversation

@devnaldo

@devnaldo devnaldo commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Description

What is the purpose of this pull request?

This pull request adds the missing <section class="intro"> block to the
stats/base/dists/normal/stdev README. The README currently goes straight from
the description blockquote to <!-- Package usage documentation. --> and
<section class="usage">, skipping the empty intro block that the other
function READMEs in the distribution carry.

Measurement. Across stats/base/dists, 529 of 530 function READMEs
(99.8%) begin with <section class="intro">; normal/stdev is the sole
outlier (its first section is <section class="usage">). Within the normal
namespace, 13 of 14 function READMEs have the intro block. This mirrors the
already-merged pattern in #16618 (blas/ext/base/ndarray), applied here to the
remaining stats/base/dists outlier.

The inserted block is byte-for-byte the empty intro block from the sibling
stats/base/dists/normal/logcdf README.

Docs-only; no source, test, benchmark, or behavioral changes.

Related Issues

Does this pull request have any related issues?

None.

Reference Packages

Did the content of this pull request follow one or more existing packages?

This pull request followed these packages:

  • stats/base/dists/normal/logcdf

What carried over from the reference(s)?

  • The empty <section class="intro"> / <!-- /.intro --> block.

What differed, or what did you have to work out yourself?

  • Nothing.

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request?

Found by a cross-package drift check of stats/base/dists. Other packages were
reviewed and left alone: normal/variance (and most siblings) use a
non-empty intro with an equation, which is intentional; this PR uses the empty
intro form matching logcdf and the #16618 template.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of 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

If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance.


@stdlib-js/reviewers

---
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
  - task: lint_filenames
    status: passed
  - task: lint_editorconfig
    status: passed
  - task: lint_markdown_pkg_readmes
    status: passed
  - task: lint_markdown_docs
    status: na
  - task: lint_markdown
    status: na
  - task: lint_package_json
    status: na
  - task: lint_repl_help
    status: na
  - task: lint_javascript_src
    status: na
  - task: lint_javascript_cli
    status: na
  - task: lint_javascript_examples
    status: na
  - task: lint_javascript_tests
    status: na
  - task: lint_javascript_benchmarks
    status: na
  - task: lint_python
    status: na
  - task: lint_r
    status: na
  - task: lint_c_src
    status: na
  - task: lint_c_examples
    status: na
  - task: lint_c_benchmarks
    status: na
  - task: lint_c_tests_fixtures
    status: na
  - task: lint_shell
    status: na
  - task: lint_typescript_declarations
    status: passed
  - task: lint_typescript_tests
    status: na
  - task: lint_license_headers
    status: passed
---
@devnaldo
devnaldo requested a review from a team November 30, 2026 18:19
@stdlib-bot stdlib-bot added Statistics Issue or pull request related to statistical functionality. Needs Review A pull request which needs code review. labels Nov 30, 2026
@stdlib-bot

Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
stats/base/dists/normal/stdev $\\color{green}175/175$
$\\color{green}+100.00\\%$
$\\color{green}9/9$
$\\color{green}+100.00\\%$
$\\color{green}2/2$
$\\color{green}+100.00\\%$
$\\color{green}175/175$
$\\color{green}+100.00\\%$

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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review A pull request which needs code review. Statistics Issue or pull request related to statistical functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants