Skip to content

test: improve coverage of predictive controller constraint violation#388

Merged
franckgaga merged 1 commit into
mainfrom
debug_mpc_setconstraint
Jun 23, 2026
Merged

test: improve coverage of predictive controller constraint violation#388
franckgaga merged 1 commit into
mainfrom
debug_mpc_setconstraint

Conversation

@franckgaga

@franckgaga franckgaga commented Jun 23, 2026

Copy link
Copy Markdown
Member

Similarly to the new tests in #387, this PR adds tests for constraint violations on two LinMPC controllers:

  1. Only hard constraints with Cwt=Inf
  2. Only soft constraints withCwt=1e5

@franckgaga franckgaga changed the title test: improve coverage of LinMPC constraint violation test: improve coverage of predictive controller constraint violation Jun 23, 2026
@codecov-commenter

codecov-commenter commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.60%. Comparing base (021349a) to head (47e531c).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #388   +/-   ##
=======================================
  Coverage   98.60%   98.60%           
=======================================
  Files          27       27           
  Lines        5595     5595           
=======================================
  Hits         5517     5517           
  Misses         78       78           

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

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

@franckgaga franckgaga merged commit e05da07 into main Jun 23, 2026
5 checks passed
@franckgaga franckgaga deleted the debug_mpc_setconstraint branch June 23, 2026 22:08
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.

2 participants