Skip to content

fix: update parameter names#12487

Merged
kgryte merged 1 commit into
developfrom
philipp/weibull-mgf-param-names
Jun 3, 2026
Merged

fix: update parameter names#12487
kgryte merged 1 commit into
developfrom
philipp/weibull-mgf-param-names

Conversation

@Planeshifter
Copy link
Copy Markdown
Member

Description

What is the purpose of this pull request?

This pull request renames the mgf call-signature shape and scale parameters from alpha/beta to k/lambda so they match the documented @param k/@param lambda and the rest of the weibull family. Parameter names do not affect type-checking.

This is part of a series of follow-up PRs addressing findings from a TypeScript declaration audit of the stats namespace (documentation-only fixes landed separately in #12482).

Related Issues

Does this pull request have any related issues?

No.

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

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

This change was surfaced by a Claude Code audit of the stats namespace TypeScript declarations. The fix was verified against the implementation and declaration test before submission, and reviewed by myself.


@stdlib-js/reviewers

@Planeshifter Planeshifter requested a review from a team June 3, 2026 05:02
@Planeshifter Planeshifter changed the title fix: align mgf parameter names with TSDoc in base/dists/weibull/mgf chore: align mgf parameter names with TSDoc in base/dists/weibull/mgf Jun 3, 2026
@Planeshifter Planeshifter requested a review from kgryte June 3, 2026 05:03
@stdlib-bot stdlib-bot added Statistics Issue or pull request related to statistical functionality. Needs Review A pull request which needs code review. labels Jun 3, 2026
@stdlib-bot
Copy link
Copy Markdown
Contributor

stdlib-bot commented Jun 3, 2026

Coverage Report

Package Statements Branches Functions Lines
stats/base/dists/weibull/mgf $\color{green}344/344$
$\color{green}+0.00\%$
$\color{green}29/29$
$\color{green}+0.00\%$
$\color{green}4/4$
$\color{green}+0.00\%$
$\color{green}344/344$
$\color{green}+0.00\%$

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

@Planeshifter Planeshifter marked this pull request as draft June 3, 2026 05:22
@Planeshifter Planeshifter force-pushed the philipp/weibull-mgf-param-names branch from d39f67c to c76bd37 Compare June 3, 2026 05:25
@Planeshifter Planeshifter changed the title chore: align mgf parameter names with TSDoc in base/dists/weibull/mgf refactor: align mgf parameter names with TSDoc in base/dists/weibull/mgf Jun 3, 2026
@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Jun 3, 2026
@kgryte kgryte marked this pull request as ready for review June 3, 2026 07:23
@kgryte kgryte changed the title refactor: align mgf parameter names with TSDoc in base/dists/weibull/mgf fix: align mgf parameter names with TSDoc in base/dists/weibull/mgf Jun 3, 2026
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Jun 3, 2026
@kgryte kgryte removed the Needs Review A pull request which needs code review. label Jun 3, 2026
@kgryte kgryte changed the title fix: align mgf parameter names with TSDoc in base/dists/weibull/mgf fix: update parameter names Jun 3, 2026
@kgryte kgryte merged commit 93d712b into develop Jun 3, 2026
40 checks passed
@kgryte kgryte deleted the philipp/weibull-mgf-param-names branch June 3, 2026 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Statistics Issue or pull request related to statistical functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants