Skip to content

Distribution pole asset class with custom fragility curve support#32

Open
m1muralid wants to merge 6 commits intomainfrom
mm/custom_pole_fragility
Open

Distribution pole asset class with custom fragility curve support#32
m1muralid wants to merge 6 commits intomainfrom
mm/custom_pole_fragility

Conversation

@m1muralid
Copy link
Collaborator

Changes Made:

  • Added DistributionPole asset class in asset.py
  • Implemented custom fragility curve functionality in custom_distribution.py
  • Updated probability_builder.py to support both standard scipy distributions and custom rv_continuous distributions
  • Completed unit testing for new functionality

@m1muralid m1muralid self-assigned this Sep 8, 2025
@codecov
Copy link

codecov bot commented Sep 8, 2025

Codecov Report

❌ Patch coverage is 94.16667% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.00%. Comparing base (a82d49b) to head (f611e81).
⚠️ Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
tests/test_probability_builder.py 87.27% 7 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##              main      #32      +/-   ##
===========================================
- Coverage   100.00%   98.00%   -2.00%     
===========================================
  Files           10       13       +3     
  Lines          212      350     +138     
  Branches         6        6              
===========================================
+ Hits           212      343     +131     
- Misses           0        7       +7     

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

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.

1 participant