Skip to content

Minor edit: Simplify and tighten the distribution test#118585

Merged
rhettinger merged 1 commit intopython:mainfrom
rhettinger:kde_rand_tweaks
May 5, 2024
Merged

Minor edit: Simplify and tighten the distribution test#118585
rhettinger merged 1 commit intopython:mainfrom
rhettinger:kde_rand_tweaks

Conversation

@rhettinger
Copy link
Contributor

  • Expand tested range: -10.0 to 25.0
  • Tighten the tolerance: 0.0005
  • Narrow the probability calculations: P(x <= X < x+dx)
  • Fixup comments

@bedevere-app bedevere-app bot added tests Tests in the Lib/test dir awaiting core review labels May 5, 2024
@rhettinger rhettinger merged commit fd0ea63 into python:main May 5, 2024
@rhettinger rhettinger deleted the kde_rand_tweaks branch May 5, 2024 06:35
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issue skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments