Skip to content

Conversation

@legomushroom
Copy link
Member

For #239642

The PR reduces flakiness of unit tests for the randomInt() utility:

  • reduces the spread of tested values
  • bumps up number of trials to 125

This makes probability of the test failure to be ~2.413559024E-16(1 in 241 quintillion), assuming each trial is truly random and independent.

@legomushroom legomushroom added this to the March 2025 milestone Mar 26, 2025
@legomushroom legomushroom self-assigned this Mar 26, 2025
@legomushroom legomushroom merged commit a3ee845 into main Mar 26, 2025
8 checks passed
@legomushroom legomushroom deleted the legomushroom/misc/fix-random-int-test branch March 26, 2025 16:49
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators May 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants