Skip to content

Add bilateralization tool (project/newpathways-trade)#438

Merged
khaeru merged 195 commits into
mainfrom
project/newpathways-trade
Feb 13, 2026
Merged

Add bilateralization tool (project/newpathways-trade)#438
khaeru merged 195 commits into
mainfrom
project/newpathways-trade

Add to #438 to doc/whatsnew.rst

973ea5f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 13, 2026 in 0s

69.5% (-0.6%) compared to 3ebe7a9

View this Pull Request on Codecov

69.5% (-0.6%) compared to 3ebe7a9

Details

Codecov Report

❌ Patch coverage is 60.31314% with 583 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.5%. Comparing base (3ebe7a9) to head (973ea5f).

Files with missing lines Patch % Lines
...odels/tools/bilateralize/historical_calibration.py 26.6% 234 Missing ⚠️
message_ix_models/tools/bilateralize/pull_gem.py 18.0% 127 Missing ⚠️
...age_ix_models/tools/bilateralize/load_and_solve.py 57.9% 66 Missing ⚠️
...e_ix_models/tools/bilateralize/bare_to_scenario.py 68.0% 52 Missing ⚠️
..._models/tools/bilateralize/mariteam_calibration.py 20.3% 47 Missing ⚠️
...ssage_ix_models/tools/bilateralize/prepare_edit.py 89.7% 43 Missing ⚠️
...ix_models/tools/bilateralize/calculate_distance.py 80.0% 9 Missing ⚠️
message_ix_models/tools/bilateralize/utils.py 90.3% 3 Missing ⚠️
.../tests/tools/bilateralize/test_bare_to_scenario.py 91.6% 1 Missing ⚠️
...ts/tools/bilateralize/test_mariteam_calibration.py 90.0% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            main    #438     +/-   ##
=======================================
- Coverage   70.1%   69.5%   -0.6%     
=======================================
  Files        287     300     +13     
  Lines      23129   24598   +1469     
=======================================
+ Hits       16218   17104    +886     
- Misses      6911    7494    +583     
Files with missing lines Coverage Δ
.../tools/bilateralize/test_historical_calibration.py 100.0% <100.0%> (ø)
...x_models/tests/tools/bilateralize/test_pull_gem.py 100.0% <100.0%> (ø)
message_ix_models/tests/tools/test_bilateralize.py 100.0% <100.0%> (ø)
.../tests/tools/bilateralize/test_bare_to_scenario.py 91.6% <91.6%> (ø)
...ts/tools/bilateralize/test_mariteam_calibration.py 90.0% <90.0%> (ø)
message_ix_models/tools/bilateralize/utils.py 90.3% <90.3%> (ø)
...ix_models/tools/bilateralize/calculate_distance.py 80.0% <80.0%> (ø)
...ssage_ix_models/tools/bilateralize/prepare_edit.py 89.7% <89.7%> (ø)
..._models/tools/bilateralize/mariteam_calibration.py 20.3% <20.3%> (ø)
...e_ix_models/tools/bilateralize/bare_to_scenario.py 68.0% <68.0%> (ø)
... and 3 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.