Skip to content

Conversation

@luke-kiernan
Copy link
Contributor

Implement (ioc::InputOutputCurve)(x::Real) by evaluating ioc's function data at x. (This gives me a clean way to calculate the power loss in a HVDC line in PowerFlows.jl.) Also fix a copy-paste error and only enforce bounds up to FP precision.

@codecov
Copy link

codecov bot commented Nov 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.28%. Comparing base (0ee9770) to head (69859fd).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #517      +/-   ##
==========================================
+ Coverage   79.10%   80.28%   +1.18%     
==========================================
  Files          71       71              
  Lines        6192     6103      -89     
==========================================
+ Hits         4898     4900       +2     
+ Misses       1294     1203      -91     
Flag Coverage Δ
unittests 80.28% <100.00%> (+1.18%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/function_data.jl 99.56% <100.00%> (+1.30%) ⬆️
src/value_curve.jl 93.06% <100.00%> (+1.89%) ⬆️

... and 28 files with indirect coverage changes

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

Copy link
Member

@GabrielKS GabrielKS left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@jd-lara jd-lara merged commit 2e10db2 into main Nov 21, 2025
7 of 8 checks passed
@luke-kiernan luke-kiernan deleted the lk/io-curve-eval branch November 21, 2025 22:00
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.

4 participants