Test & improve perfomance in .tools.add_year #494
Draft
Codecov / codecov/project
failed
Nov 21, 2025 in 0s
26.5% (-70.0%) compared to d7452ee
View this Pull Request on Codecov
26.5% (-70.0%) compared to d7452ee
Details
Codecov Report
❌ Patch coverage is 6.12245% with 92 lines in your changes missing coverage. Please review.
✅ Project coverage is 26.5%. Comparing base (d7452ee) to head (91cdca4).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| message_ix/tools/add_year/__init__.py | 2.8% | 67 Missing |
| message_ix/tests/tools/test_add_year.py | 13.7% | 25 Missing |
❗ There is a different number of reports uploaded between BASE (d7452ee) and HEAD (91cdca4). Click for more details.
Additional details and impacted files
@@ Coverage Diff @@
## main #494 +/- ##
========================================
- Coverage 96.5% 26.5% -70.0%
========================================
Files 60 60
Lines 5155 5172 +17
========================================
- Hits 4975 1374 -3601
- Misses 180 3798 +3618 | Files with missing lines | Coverage Δ | |
|---|---|---|
| message_ix/tests/tools/test_add_year.py | 17.8% <13.7%> (-78.2%) |
⬇️ |
| message_ix/tools/add_year/__init__.py | 4.7% <2.8%> (-62.1%) |
⬇️ |
Loading