Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix - Coerce arguments passed to random, randomNormal and randomBinomial to numbers #1268

Merged
merged 1 commit into from
May 21, 2024

Conversation

bfinzer
Copy link
Contributor

@bfinzer bfinzer commented May 17, 2024

[#187531276] Bug fix: randomNormal function bug fix when encountering string arguments

  • We coerce the arguments passed to all the randomGen functions to numbers since that is what they expect

… string arguments

* We coerce the arguments passed to all the randomGen functions to numbers since that is what they expect
@bfinzer bfinzer requested a review from tealefristoe May 17, 2024 21:44
@bfinzer bfinzer added the v3 CODAP v3 label May 17, 2024
Copy link

codecov bot commented May 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.08%. Comparing base (912e18a) to head (2b012d2).
Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1268      +/-   ##
==========================================
- Coverage   85.82%   85.08%   -0.75%     
==========================================
  Files         478      482       +4     
  Lines       22696    22957     +261     
  Branches     6021     6072      +51     
==========================================
+ Hits        19479    19532      +53     
- Misses       2947     3147     +200     
- Partials      270      278       +8     
Flag Coverage Δ
cypress 73.68% <ø> (-0.80%) ⬇️
jest 52.15% <ø> (-0.37%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@tealefristoe tealefristoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 👍

@bfinzer bfinzer merged commit 536120b into main May 21, 2024
7 of 8 checks passed
@bfinzer bfinzer deleted the 187531276-bug-fix-random-normal-v3 branch May 21, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v3 CODAP v3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants