Skip to content

Implement comprehensive Registry Pattern for system-wide modularity and decoupling#29

Merged
wenh06 merged 4 commits into
masterfrom
arch-registry
Mar 14, 2026
Merged

Implement comprehensive Registry Pattern for system-wide modularity and decoupling#29
wenh06 merged 4 commits into
masterfrom
arch-registry

fix error in from_config method for augmenter/preprocessor managers

a147f34
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Mar 13, 2026 in 0s

93.46% (-0.07%) compared to e34c695

View this Pull Request on Codecov

93.46% (-0.07%) compared to e34c695

Details

Codecov Report

❌ Patch coverage is 89.83051% with 36 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.46%. Comparing base (e34c695) to head (a147f34).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
torch_ecg/components/trainer.py 67.56% 12 Missing ⚠️
torch_ecg/utils/registry.py 73.80% 11 Missing ⚠️
torch_ecg/models/ecg_crnn.py 91.39% 8 Missing ⚠️
torch_ecg/augmenters/augmenter_manager.py 86.95% 3 Missing ⚠️
torch_ecg/preprocessors/preproc_manager.py 91.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
- Coverage   93.52%   93.46%   -0.07%     
==========================================
  Files         134      139       +5     
  Lines       18252    18413     +161     
==========================================
+ Hits        17071    17210     +139     
- Misses       1181     1203      +22     

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