• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Ouranosinc / xclim / 13377332321
92%

Build:
DEFAULT BRANCH: main
Ran 17 Feb 2025 07:31PM UTC
Jobs 8
Files 72
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Feb 2025 07:25PM UTC coverage: 89.968% (+0.006%) from 89.962%
13377332321

push

github

web-flow
Add xclim.indices.stats.fit method: MSE (maximum product of spacings) (#2077)

<!--Please ensure the PR fulfills the following requirements! -->
<!-- If this is your first PR, make sure to add your details to the
AUTHORS.rst! -->
### Pull Request Checklist:
- [x] This PR addresses an already opened issue (for bug fixes /
features)
    - This PR fixes #2078 
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] (If applicable) Documentation has been added / updated (for bug
fixes / features)
- [x] CHANGELOG.rst has been updated (with summary of main changes)
- [x] Link to issue (:issue:`number`) and pull request (:pull:`number`)
has been added

### What kind of change does this PR introduce?

* Adds a fit method: MSE, using
[scipy.stats.fit](https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.fit.html#ra4db2bb0bf1d-1).
Note that this is not available in the `dist` object.

### Does this PR introduce a breaking change?
- No.

### Other information:
- [Maximum spacing
estimation](https://en.wikipedia.org/wiki/Maximum_spacing_estimation#Sensitivity)
- A comparative analysis of L-moments, maximum likelihood, and maximum
product of spacing methods for the four-parameter kappa distribution in
extreme value analysis:
https://www.nature.com/articles/s41598-024-84056-1

7 of 7 new or added lines in 1 file covered. (100.0%)

9614 of 10686 relevant lines covered (89.97%)

7.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.11-macos-latest-py311-coverage-extras - 13377332321.1 17 Feb 2025 07:36PM UTC 72
88.06
GitHub Action Run
2 run-3.10-windows-latest-py310-coverage-prefetch - 13377332321.2 17 Feb 2025 07:36PM UTC 72
82.17
GitHub Action Run
3 run-3.10-ubuntu-latest-standard - 13377332321.3 17 Feb 2025 07:36PM UTC 72
82.45
GitHub Action Run
4 run-3.11-ubuntu-latest-py311-coverage-sbck-offline-prefetch - 13377332321.4 17 Feb 2025 07:36PM UTC 72
84.21
GitHub Action Run
5 run-{{ matrix.python-version }}-conda - 13377332321.5 17 Feb 2025 07:36PM UTC 72
88.14
GitHub Action Run
6 run-3.12-ubuntu-latest-standard - 13377332321.6 17 Feb 2025 07:36PM UTC 72
82.74
GitHub Action Run
7 run-3.10-ubuntu-latest-preliminary - 13377332321.7 17 Feb 2025 07:36PM UTC 72
82.45
GitHub Action Run
8 run-3.11-ubuntu-latest-standard - 13377332321.8 17 Feb 2025 07:36PM UTC 72
84.27
GitHub Action Run
Source Files on build 13377332321
  • Tree
  • List 72
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2ac91505 on github
  • Prev Build on main (#13376622539)
  • Next Build on main (#13397187601)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc