Skip to content

Add reduced basin functionality#432

Merged
khaeru merged 10 commits into
iiasa:mainfrom
Wegatriespython:reduced_basin
Mar 9, 2026
Merged

Add reduced basin functionality#432
khaeru merged 10 commits into
iiasa:mainfrom
Wegatriespython:reduced_basin

Add FIXME for indirect region derivation in water_for_ppl

df6c5dc
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 6, 2026 in 1s

69.6% (+0.1%) compared to 54fe267

View this Pull Request on Codecov

69.6% (+0.1%) compared to 54fe267

Details

Codecov Report

❌ Patch coverage is 91.42857% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.6%. Comparing base (54fe267) to head (df6c5dc).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
message_ix_models/model/water/cli.py 45.4% 6 Missing ⚠️
message_ix_models/model/water/data/water_supply.py 68.4% 6 Missing ⚠️
message_ix_models/model/water/utils.py 93.6% 5 Missing ⚠️
message_ix_models/model/water/data/demands.py 93.7% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            main    #432     +/-   ##
=======================================
+ Coverage   69.5%   69.6%   +0.1%     
=======================================
  Files        300     300             
  Lines      24598   24771    +173     
=======================================
+ Hits       17104   17260    +156     
- Misses      7494    7511     +17     
Files with missing lines Coverage Δ
message_ix_models/model/water/build.py 74.4% <100.0%> (+0.2%) ⬆️
...ssage_ix_models/model/water/data/infrastructure.py 100.0% <100.0%> (ø)
message_ix_models/model/water/data/irrigation.py 100.0% <100.0%> (ø)
...essage_ix_models/model/water/data/water_for_ppl.py 91.5% <ø> (ø)
message_ix_models/tests/model/water/conftest.py 98.7% <100.0%> (+0.3%) ⬆️
...e_ix_models/tests/model/water/data/test_demands.py 100.0% <100.0%> (ø)
...dels/tests/model/water/data/test_infrastructure.py 100.0% <100.0%> (ø)
...x_models/tests/model/water/data/test_irrigation.py 100.0% <100.0%> (ø)
...odels/tests/model/water/data/test_water_for_ppl.py 97.7% <100.0%> (-0.3%) ⬇️
...models/tests/model/water/data/test_water_supply.py 100.0% <100.0%> (ø)
... and 5 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.