Skip to content

remove unused `field_for_key`; switch `get_value` to use type by default

fbb5ca1
Select commit
Loading
Failed to load commit list.
Open

deduplicate opt container keys; start addressing issue 18. #36

remove unused `field_for_key`; switch `get_value` to use type by default
fbb5ca1
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 6, 2026 in 0s

20.95% (+0.06%) compared to e7b9279

View this Pull Request on Codecov

20.95% (+0.06%) compared to e7b9279

Details

Codecov Report

❌ Patch coverage is 30.76923% with 135 lines in your changes missing coverage. Please review.
✅ Project coverage is 20.95%. Comparing base (e7b9279) to head (fbb5ca1).

Files with missing lines Patch % Lines
src/core/optimization_container.jl 58.33% 25 Missing ⚠️
src/common_models/rateofchange_constraints.jl 0.00% 17 Missing ⚠️
src/common_models/range_constraint.jl 0.00% 14 Missing ⚠️
src/core/optimization_container_utils.jl 23.52% 13 Missing ⚠️
src/core/abstract_model_store.jl 8.33% 11 Missing ⚠️
src/operation/operation_model_interface.jl 0.00% 11 Missing ⚠️
src/core/initial_conditions.jl 0.00% 10 Missing ⚠️
src/objective_function/piecewise_linear.jl 40.00% 6 Missing ⚠️
src/objective_function/start_up_shut_down.jl 0.00% 6 Missing ⚠️
src/core/dataset_container.jl 50.00% 5 Missing ⚠️
... and 7 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
+ Coverage   20.88%   20.95%   +0.06%     
==========================================
  Files          72       73       +1     
  Lines        5430     5326     -104     
==========================================
- Hits         1134     1116      -18     
+ Misses       4296     4210      -86     
Files with missing lines Coverage Δ
src/objective_function/proportional.jl 96.96% <100.00%> (ø)
src/utils/print_pt_v2.jl 0.00% <ø> (ø)
src/utils/print_pt_v3.jl 0.00% <ø> (ø)
src/common_models/add_pwl_methods.jl 98.33% <80.00%> (+1.61%) ⬆️
src/common_models/set_expression.jl 0.00% <0.00%> (ø)
src/objective_function/quadratic_curve.jl 92.30% <50.00%> (+1.39%) ⬆️
src/objective_function/common.jl 7.31% <0.00%> (+0.17%) ⬆️
src/core/standard_variables_expressions.jl 12.50% <0.00%> (+1.97%) ⬆️
src/objective_function/cost_term_helpers.jl 76.74% <50.00%> (+1.74%) ⬆️
src/core/dataset_container.jl 59.42% <50.00%> (+11.31%) ⬆️
... and 10 more

... and 9 files with indirect coverage changes

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