Skip to content

Create base class#144

Open
henrikjacobsenfys wants to merge 3 commits intodevelopfrom
create-base-class
Open

Create base class#144
henrikjacobsenfys wants to merge 3 commits intodevelopfrom
create-base-class

Conversation

@henrikjacobsenfys
Copy link
Copy Markdown
Member

@henrikjacobsenfys henrikjacobsenfys commented Mar 30, 2026

Moves unit to a base class to centralize checks.

Also (re)introduces a name property that will replace unique_name for the users and make it easier to work with components by inheriting from EasyList. (see #117 and #70 )

Closes #92
Closes #73 as redundant

@henrikjacobsenfys henrikjacobsenfys added [scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH) [priority] medium Normal/default priority labels Mar 30, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

❌ Patch coverage is 97.53086% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.72%. Comparing base (cec1976) to head (3559c86).

Files with missing lines Patch % Lines
src/easydynamics/sample_model/model_base.py 88.88% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #144      +/-   ##
===========================================
- Coverage    97.75%   97.72%   -0.04%     
===========================================
  Files           37       40       +3     
  Lines         2493     2501       +8     
  Branches       422      424       +2     
===========================================
+ Hits          2437     2444       +7     
- Misses          32       34       +2     
+ Partials        24       23       -1     
Flag Coverage Δ
integration 49.90% <56.79%> (+0.04%) ⬆️
unittests 97.72% <97.53%> (-0.04%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[priority] medium Normal/default priority [scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make a base class for some common attributes Consider moving unit checks to utils

1 participant