-
Notifications
You must be signed in to change notification settings - Fork 495
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
Fix penalty-based cost function in STOMP #2625
Fix penalty-based cost function in STOMP #2625
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2625 +/- ##
==========================================
+ Coverage 50.91% 50.92% +0.02%
==========================================
Files 387 391 +4
Lines 32430 32590 +160
==========================================
+ Hits 16507 16592 +85
- Misses 15923 15998 +75 ☔ View full report in Codecov by Sentry. |
This adds several test cases for STOMP's noise generation and cost functions, and provides the following fixes: * out-of-bounds vector access when tail states of trajectory are invalid * smoothed costs overriding values of previous invalid groups * missing validity check of last state in trajectory * inability to disable cost function interpolation steps * total cost of trajectory not summing up to sum of state penalties * bug in Gaussian producing infinite values with invalid start states
ed15ae4
to
b4e26b6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this! I have a couple of comments, mostly question to understand the changes better. Is there a good way to test the improvements?
* Fix penalty-based cost function in STOMP This adds several test cases for STOMP's noise generation and cost functions, and provides the following fixes: * out-of-bounds vector access when tail states of trajectory are invalid * smoothed costs overriding values of previous invalid groups * missing validity check of last state in trajectory * inability to disable cost function interpolation steps * total cost of trajectory not summing up to sum of state penalties * bug in Gaussian producing infinite values with invalid start states * Improve documentation ---------
* Fix penalty-based cost function in STOMP This adds several test cases for STOMP's noise generation and cost functions, and provides the following fixes: * out-of-bounds vector access when tail states of trajectory are invalid * smoothed costs overriding values of previous invalid groups * missing validity check of last state in trajectory * inability to disable cost function interpolation steps * total cost of trajectory not summing up to sum of state penalties * bug in Gaussian producing infinite values with invalid start states * Improve documentation ---------
This adds several test cases for STOMP's noise generation and cost functions, and provides the following fixes:
Fixes #2462, #2554