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

hydrologie / xhydro / 11692443276
92%

Build:
DEFAULT BRANCH: main
Ran 05 Nov 2024 09:07PM UTC
Jobs 3
Files 26
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

05 Nov 2024 09:01PM UTC coverage: 94.558% (+0.1%) from 94.447%
11692443276

push

github

web-flow
More flexible sampled_indicators (#220)

<!-- 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 #xyz
- [x] (If applicable) Documentation has been added / updated (for bug
fixes / features).
- [x] (If applicable) Tests have been added.
- [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?

* Multiple additions to `sampled_indicators` to make it more flexible:
* `delta_kind` can now be a dictionary and change per variable. It can
also be None, in which case it will search for a `delta_kind` attribute
in the variables (which is automatically added by
`xh.cc.compute_deltas`.
* Weights can be given along a `time` or `horizon` dimension. These
weights will be broadcast, but the dimension will not be stacked.
  * Added a bunch of missing attributes.

### Does this PR introduce a breaking change?

- `delta_type` was renamed `delta_kind` to be more consistent with
`xh.cc.compute_deltas`. It is now also no longer a positional argument
since it can be `None`.

### Other information:

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

2033 of 2150 relevant lines covered (94.56%)

2.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-Python3.10-conda - 11692443276.1 05 Nov 2024 09:13PM UTC 26
94.56
GitHub Action Run
2 run-Python3.12-conda - 11692443276.2 05 Nov 2024 09:13PM UTC 26
94.56
GitHub Action Run
3 run-Python3.11-conda - 11692443276.3 05 Nov 2024 09:13PM UTC 26
94.56
GitHub Action Run
Source Files on build 11692443276
  • Tree
  • List 26
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 113a0ab3 on github
  • Prev Build on main (#11671774540)
  • Next Build on main (#11693078622)
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