Skip to content

Standardise constraint residual/normalised residual calculations#4066

Draft
timothy-nunn wants to merge 2 commits intomainfrom
standardise-constraints
Draft

Standardise constraint residual/normalised residual calculations#4066
timothy-nunn wants to merge 2 commits intomainfrom
standardise-constraints

Conversation

@timothy-nunn
Copy link
Collaborator

@timothy-nunn timothy-nunn commented Jan 28, 2026

Standardises how we calculate normalised residuals and errors for constraints for our three types of constraints: geq, eq, leq

@timothy-nunn timothy-nunn force-pushed the standardise-constraints branch from b38e1f1 to aa68eee Compare January 28, 2026 17:30
@codecov-commenter
Copy link

codecov-commenter commented Jan 28, 2026

Codecov Report

❌ Patch coverage is 85.78199% with 30 lines in your changes missing coverage. Please review.
✅ Project coverage is 46.49%. Comparing base (40782b5) to head (6fb416c).

Files with missing lines Patch % Lines
process/constraints.py 87.01% 27 Missing ⚠️
process/scan.py 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4066      +/-   ##
==========================================
+ Coverage   46.46%   46.49%   +0.02%     
==========================================
  Files         122      122              
  Lines       28838    28769      -69     
==========================================
- Hits        13401    13377      -24     
+ Misses      15437    15392      -45     

☔ View full report in Codecov by Sentry.
📢 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.

@timothy-nunn timothy-nunn force-pushed the standardise-constraints branch from aa68eee to 6fb416c Compare February 3, 2026 13:48
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