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

Ouranosinc / xclim / 10707481039
92%

Build:
DEFAULT BRANCH: main
Ran 04 Sep 2024 06:36PM UTC
Jobs 8
Files 73
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

04 Sep 2024 06:31PM UTC coverage: 89.393%. Remained the same
10707481039

push

github

web-flow
FIX: Standardize method applied on individual variables in OTC/dOTC (#1896)

<!--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:
- [ ] This PR addresses an already opened issue (for bug fixes /
features)
    - This PR fixes #xyz
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] (If applicable) Documentation has been added / updated (for bug
fixes / features)
- [ ] CHANGELOG.rst has been updated (with summary of main changes)
- [ ] Link to issue (:issue:`number`) and pull request (:pull:`number`)
has been added

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

* The mean and std in the 'standardize' normalization method of OTC/dOTC
now is correctly applied on each variable individually
* While we're at it, I suggest changing the argument `transform` to
`normalization` which I feel is more specific and informative. Also, in
`optimal_transport`, we should follow the snake convention, `numIterMax`
-> `num_iter_max` (I guess this was done to imitate the signature of
`ot.emd`, but I think we need to stick to a standard in `xclim`
functions)

### Does this PR introduce a breaking change?
* `transform` -> `normalization` in input arguments.

### Other information:

7 of 10 new or added lines in 3 files covered. (70.0%)

9094 of 10173 relevant lines covered (89.39%)

7.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.10-macos-latest-py310-coverage-extras - 10707481039.1 04 Sep 2024 06:45PM UTC 0
87.07
GitHub Action Run
2 run-3.9-windows-latest-py39-coverage-prefetch - 10707481039.2 04 Sep 2024 06:45PM UTC 0
81.45
GitHub Action Run
3 run-3.11-ubuntu-latest-standard - 10707481039.3 04 Sep 2024 06:45PM UTC 0
83.46
GitHub Action Run
4 run-3.10-ubuntu-latest-standard - 10707481039.4 04 Sep 2024 06:45PM UTC 0
81.52
GitHub Action Run
5 10707481039.5 04 Sep 2024 06:45PM UTC 0
81.6
GitHub Action Run
6 run-{{ matrix.python-version }}-conda - 10707481039.6 04 Sep 2024 06:45PM UTC 0
87.23
GitHub Action Run
7 run-3.12-ubuntu-latest-standard - 10707481039.7 04 Sep 2024 06:45PM UTC 0
81.52
GitHub Action Run
8 run-3.9-ubuntu-latest-py39-coverage-offline-prefetch - 10707481039.8 04 Sep 2024 06:45PM UTC 0
81.6
GitHub Action Run
Source Files on build 10707481039
Detailed source file information is not available for this build.
  • Back to Repo
  • 4b23e126 on github
  • Prev Build on main (#10705992615)
  • Next Build on main (#10742777452)
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