Skip to content

Conversation

@rozyczko
Copy link
Member

  • Add ModelCollection class extending ModelBase with MutableSequence
  • Provides list-like functionality with EasyScience features
  • Supports interface propagation to collection items (via InterfaceFactoryTemplate)
  • Export ModelCollection from base_classes module
  • Add comprehensive unit tests (102 tests)

andped10 and others added 18 commits September 18, 2024 15:18
Fix for setup-python@v5 expecting string now
- Add ModelCollection class extending ModelBase with MutableSequence
- Provides list-like functionality with EasyScience features
- Supports interface propagation to collection items (via InterfaceFactoryTemplate)
- Add NewBase to CollectionBase type checking
- Export ModelCollection from base_classes module
- Add comprehensive unit tests (102 tests)
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request does not contain a valid label. Please add one of the following labels: ['[scope] bug', '[scope] enhancement', '[scope] documentation', '[scope] significant', '[scope] maintenance']

@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

❌ Patch coverage is 97.88732% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.82%. Comparing base (366e324) to head (4a9c99d).
⚠️ Report is 4 commits behind head on develop.

Files with missing lines Patch % Lines
src/easyscience/base_classes/model_collection.py 97.84% 1 Missing and 2 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #180      +/-   ##
===========================================
+ Coverage    80.80%   81.82%   +1.02%     
===========================================
  Files           52       53       +1     
  Lines         4261     4451     +190     
  Branches       739      798      +59     
===========================================
+ Hits          3443     3642     +199     
+ Misses         633      626       -7     
+ Partials       185      183       -2     
Flag Coverage Δ
unittests 81.82% <97.88%> (+1.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/easyscience/base_classes/__init__.py 100.00% <100.00%> (ø)
src/easyscience/base_classes/collection_base.py 91.26% <100.00%> (+0.06%) ⬆️
src/easyscience/base_classes/model_collection.py 97.84% <97.84%> (ø)

... and 1 file with indirect coverage changes

@rozyczko rozyczko added [scope] enhancement Adds/improves features (major.MINOR.patch) [priority] medium Normal/default priority [area] base classes Changes to or creation of new base classes labels Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[area] base classes Changes to or creation of new base classes [priority] medium Normal/default priority [scope] enhancement Adds/improves features (major.MINOR.patch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants