Skip to content

Refactor MESSAGEix-Materials build#475

Merged
khaeru merged 40 commits into
mainfrom
enh/materials-clean-up
Mar 9, 2026
Merged

Refactor MESSAGEix-Materials build#475
khaeru merged 40 commits into
mainfrom
enh/materials-clean-up

Update materials paper citation

ac48376
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 9, 2026 in 0s

73.3% (+3.6%) compared to df6c5dc

View this Pull Request on Codecov

73.3% (+3.6%) compared to df6c5dc

Details

Codecov Report

❌ Patch coverage is 77.08333% with 110 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.3%. Comparing base (df6c5dc) to head (ac48376).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ge_ix_models/model/material/data_other_industry.py 17.3% 38 Missing ⚠️
message_ix_models/model/material/data_generic.py 30.7% 27 Missing ⚠️
...sage_ix_models/model/material/data_power_sector.py 67.9% 17 Missing ⚠️
...sage_ix_models/model/material/share_constraints.py 72.5% 14 Missing ⚠️
message_ix_models/model/material/build.py 50.0% 6 Missing ⚠️
message_ix_models/model/material/data_steel.py 94.2% 4 Missing ⚠️
message_ix_models/model/material/data_aluminum.py 97.9% 1 Missing ⚠️
message_ix_models/model/material/data_ammonia.py 50.0% 1 Missing ⚠️
message_ix_models/model/material/data_methanol.py 0.0% 1 Missing ⚠️
message_ix_models/model/material/data_petro.py 98.7% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            main    #475     +/-   ##
=======================================
+ Coverage   69.6%   73.3%   +3.6%     
=======================================
  Files        300     301      +1     
  Lines      24771   24427    -344     
=======================================
+ Hits       17260   17912    +652     
+ Misses      7511    6515    -996     
Files with missing lines Coverage Δ
message_ix_models/model/material/cli.py 23.5% <100.0%> (-0.5%) ⬇️
message_ix_models/model/material/data_cement.py 95.2% <100.0%> (-0.1%) ⬇️
message_ix_models/model/material/data_util.py 82.5% <100.0%> (+41.0%) ⬆️
...ssage_ix_models/model/material/demand/math_util.py 83.3% <ø> (ø)
message_ix_models/model/material/util.py 80.9% <100.0%> (+6.1%) ⬆️
...ssage_ix_models/tests/model/material/test_build.py 91.3% <100.0%> (ø)
..._models/tests/model/material/test_data_aluminum.py 100.0% <100.0%> (ø)
...ix_models/tests/model/material/test_data_cement.py 100.0% <ø> (ø)
..._ix_models/tests/model/material/test_data_petro.py 100.0% <ø> (ø)
...els/tests/model/material/test_data_power_sector.py 100.0% <100.0%> (ø)
... and 12 more

... and 4 files with indirect coverage changes

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