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

102 - Update Pints' boundaries object #105

Conversation

BradyPlanden
Copy link
Member

@BradyPlanden BradyPlanden commented Nov 17, 2023

Fixes current failing tests. Closes #102.

Edit: This PR also,

  • Reduces the number of SOC locations that the unit tests complete, to improve GitHub actions runtime.
  • Replaces PintsBoundaries class with pint.RectangularBoundaries, which solves the randomly failing CMAES tests

Copy link

codecov bot commented Nov 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c8bd36c) 93.95% compared to head (a66be81) 94.02%.

❗ Current head a66be81 differs from pull request most recent head 3437b95. Consider uploading reports for the commit 3437b95 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #105      +/-   ##
===========================================
+ Coverage    93.95%   94.02%   +0.07%     
===========================================
  Files           29       29              
  Lines          992      987       -5     
===========================================
- Hits           932      928       -4     
+ Misses          60       59       -1     

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

@BradyPlanden BradyPlanden changed the title 102 - Update CMAES optimiser test settings 102 - Update Pints' boundaries object Nov 20, 2023
Copy link
Member

@NicolaCourtier NicolaCourtier left a comment

Choose a reason for hiding this comment

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

Well done for fixing the CMAES tests @BradyPlanden!
I left a few comments - please take or leave them as you wish.

@BradyPlanden BradyPlanden merged commit 355bbda into develop Nov 20, 2023
@BradyPlanden BradyPlanden deleted the 102-bug-github-pybopcmaes-tests-are-failing-due-to-npinf-cost-return branch November 20, 2023 15:14
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.

[Bug]: Github pybop.CMAES tests are failing due to np.inf cost return
2 participants