Skip to content

Harmonize all string-representations of objects - #252

Merged
danielhuppmann merged 2 commits into
iiasa:mainfrom
danielhuppmann:log/object-str
Jun 8, 2026
Merged

Harmonize all string-representations of objects#252
danielhuppmann merged 2 commits into
iiasa:mainfrom
danielhuppmann:log/object-str

Conversation

@danielhuppmann

Copy link
Copy Markdown
Member

I thought that having the id first and without clear identification of its meaning wasn't really helpful to average users like me... Tried to do this consistently through all similar items.

@danielhuppmann
danielhuppmann requested a review from meksor June 8, 2026 15:31
@danielhuppmann danielhuppmann self-assigned this Jun 8, 2026
@codecov

codecov Bot commented Jun 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 24.00000% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.7%. Comparing base (d4aba97) to head (83e3cb6).

Files with missing lines Patch % Lines
ixmp4/core/optimization/equation.py 0.0% 1 Missing ⚠️
ixmp4/core/optimization/indexset.py 0.0% 1 Missing ⚠️
ixmp4/core/optimization/parameter.py 0.0% 1 Missing ⚠️
ixmp4/core/optimization/scalar.py 0.0% 1 Missing ⚠️
ixmp4/core/optimization/table.py 0.0% 1 Missing ⚠️
ixmp4/core/optimization/variable.py 0.0% 1 Missing ⚠️
ixmp4/data/iamc/variable/dto.py 0.0% 1 Missing ⚠️
ixmp4/data/meta/dto.py 0.0% 1 Missing ⚠️
ixmp4/data/model/dto.py 0.0% 1 Missing ⚠️
ixmp4/data/optimization/equation/dto.py 0.0% 1 Missing ⚠️
... and 9 more
Additional details and impacted files
@@          Coverage Diff          @@
##            main    #252   +/-   ##
=====================================
  Coverage   96.7%   96.7%           
=====================================
  Files        221     221           
  Lines       9821    9821           
=====================================
  Hits        9500    9500           
  Misses       321     321           
Files with missing lines Coverage Δ
ixmp4/core/iamc/variable.py 98.3% <100.0%> (ø)
ixmp4/core/model.py 96.8% <100.0%> (ø)
ixmp4/core/region.py 97.0% <100.0%> (ø)
ixmp4/core/run.py 96.9% <ø> (ø)
ixmp4/core/scenario.py 96.8% <100.0%> (ø)
ixmp4/core/unit.py 97.0% <100.0%> (ø)
ixmp4/data/checkpoint/dto.py 90.0% <ø> (ø)
ixmp4/data/docs/dto.py 100.0% <100.0%> (ø)
ixmp4/core/optimization/equation.py 97.8% <0.0%> (ø)
ixmp4/core/optimization/indexset.py 96.3% <0.0%> (ø)
... and 17 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@danielhuppmann
danielhuppmann marked this pull request as ready for review June 8, 2026 16:14

@meksor meksor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@danielhuppmann
danielhuppmann merged commit 19180c4 into iiasa:main Jun 8, 2026
20 checks passed
@danielhuppmann
danielhuppmann deleted the log/object-str branch June 8, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants