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

Ouranosinc / xclim / 10114731662
92%

Build:
DEFAULT BRANCH: main
Ran 26 Jul 2024 04:52PM UTC
Jobs 2
Files 70
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

26 Jul 2024 04:46PM UTC coverage: 90.42% (-0.04%) from 90.463%
10114731662

push

github

web-flow
Fix wet spells - generic spell statistics (#1838)

<!--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 #1834
- [x] Tests for the changes have been added (for bug fixes / features)
- [x] (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?

* Implements a generic spell length statistics function
* Use that function in dry and wet spells, which fixes wet spells
* That required me to implement the `reducer='count'` case in 1d
`rle_statistics`.

### Does this PR introduce a breaking change?
Yes, results for all wet spells indicators will change. But they were
not correct before.

Results for `dry_spell_frequency` are also different, were also not
correct previsouly.

### Other information:

31 of 32 new or added lines in 3 files covered. (96.88%)

3 existing lines in 1 file now uncovered.

9033 of 9990 relevant lines covered (90.42%)

5.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-{{ matrix.tox-env }}-opt-slow - 10114731662.1 26 Jul 2024 05:02PM UTC 0
89.52
GitHub Action Run
2 run-{{ matrix.tox-env }}-{{ matrix.os }} - 10114731662.2 26 Jul 2024 05:02PM UTC 0
90.38
GitHub Action Run
Source Files on build 10114731662
Detailed source file information is not available for this build.
  • Back to Repo
  • b053b266 on github
  • Prev Build on main (#10069141429)
  • Next Build on main (#10146220766)
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

© 2026 Coveralls, Inc