InfiniteOpt.jl icon indicating copy to clipboard operation
InfiniteOpt.jl copied to clipboard

Update Optimal Control Example Documentation

Open wenwen0231 opened this issue 7 months ago • 2 comments

Summary Fix documentation typos in optimal control examples & add unit tests that check the output results match expected values within a certain tolerance.

Closing issues Fixes issue #379

wenwen0231 avatar May 07 '25 16:05 wenwen0231

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 99.68%. Comparing base (5915743) to head (d5b657e). :warning: Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #380      +/-   ##
==========================================
+ Coverage   99.67%   99.68%   +0.01%     
==========================================
  Files          35       35              
  Lines        6760     6759       -1     
==========================================
  Hits         6738     6738              
+ Misses         22       21       -1     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar May 07 '25 16:05 codecov[bot]

Thanks for this, the doc failure is due to link check failures that should go away when we run it again. To make the tests more robust, please change to tolerance to 1e-6.

pulsipher avatar May 07 '25 16:05 pulsipher

@wenwen0231, please do check for any improvements we can make and do a fresh commit, I think the tests will pass now.

pulsipher avatar Jul 31 '25 01:07 pulsipher