Skip to content

Fix code smells in src/dist/doubly-noncentral-t.js (9.43 -> 10.0) - #1399

Merged
synesenom merged 2 commits into
mainfrom
claude/fix-doubly-noncentral-t-smells-n5wpe3
Aug 11, 2026
Merged

Fix code smells in src/dist/doubly-noncentral-t.js (9.43 -> 10.0)#1399
synesenom merged 2 commits into
mainfrom
claude/fix-doubly-noncentral-t-smells-n5wpe3

Conversation

@synesenom

Copy link
Copy Markdown
Owner
  • Bumpy Road: split _findStartIndex's Fibonacci-bracket-search and
    bisection loops into _bracketMaximum/_narrowBracket helpers,
    passing the bracket as a single { j1, j2, f1, f2 } object to keep
    the argument count under CodeScene's threshold.
  • Large Method: extracted _pdf's x*mu >= 0 forward/backward series
    computation into _pdfSameSignSeries(x).

No behavior change - same algorithm, same values.

- Bumpy Road: split _findStartIndex's Fibonacci-bracket-search and
  bisection loops into _bracketMaximum/_narrowBracket helpers,
  passing the bracket as a single { j1, j2, f1, f2 } object to keep
  the argument count under CodeScene's threshold.
- Large Method: extracted _pdf's x*mu >= 0 forward/backward series
  computation into _pdfSameSignSeries(x).

No behavior change - same algorithm, same values.
codescene-delta-analysis[bot]

This comment was marked as outdated.

…central-t-smells-n5wpe3

# Conflicts:
#	CHANGELOG.md
@synesenom
synesenom merged commit e51d461 into main Aug 11, 2026
9 checks passed
@synesenom
synesenom deleted the claude/fix-doubly-noncentral-t-smells-n5wpe3 branch August 11, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants