- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1
Weibull #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Weibull #32
Conversation
| Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@            Coverage Diff             @@
##              dev      #32      +/-   ##
==========================================
+ Coverage   98.07%   98.39%   +0.33%     
==========================================
  Files           7        8       +1     
  Lines         155      186      +31     
  Branches       18       21       +3     
==========================================
+ Hits          152      183      +31     
  Misses          2        2              
  Partials        1        1              ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
 | 
        
          
                CHANGELOG.md
              
                Outdated
          
        
      | ## [Unreleased] | ||
| ### Changed | ||
| - `Python 3.14` added to `test.yml` | ||
| - Weibull model | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please relocate this line to the ### Added section.
| model.simulate(duration=100, time_step=1) | ||
| model.plot(show=True) | ||
| ``` | ||
| <img src="./otherfiles/weibull_plot.png" alt="Weibull Plot"> | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please convert this link to an absolute format (https://github.com/openscilab/drux/raw/...)
|  | ||
| def _validate_parameters(self) -> None: | ||
| """Validate the parameters of the Weibull model.""" | ||
| if self._parameters.M <= 0: | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here, I believe we can change this line to self._parameters.M < 0. It's a bit weird, but theoretically, it is correct.
Reference Issues/PRs
#30
What does this implement/fix? Explain your changes.