From 4ae1e2aca5eb7528e334b39a493b10d04cc2a123 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 21 Sep 2026 07:50:08 +0000 Subject: [PATCH 1/2] Update remove_bias doctest values to match current bias_correction The `how="modified_quantile"` example pinned values that no longer match what `bias_correction` produces, so the `Doctests` CI job failed on main: - SST (lead) float64 80B 0.07628 0.08293 0.08169 ... 0.1577 0.1821 0.2087 + SST (lead) float64 80B 0.0766 0.08275 0.08152 ... 0.1573 0.1817 0.2085 The new values reproduce identically under CI's conda/Python 3.10 environment and a local pip/Python 3.11 one, so this is a genuine change in the upstream package rather than environment noise. That is why the expected output is updated rather than masked with an ELLIPSIS directive: these numbers are rendered in the published docs, so they should be correct. Verified: `pytest --doctest-modules src/climpred/classes.py -k remove_bias` passes, and `pre-commit run --all-files` is clean. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_012xXJVZrXR4k3BmmDeTLEaD --- CHANGELOG.rst | 1 + src/climpred/classes.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 27ca9b0af..89a943f1b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -30,6 +30,7 @@ Internals/Minor Fixes - :py:meth:`.HindcastEnsemble.smooth` and :py:meth:`.PerfectModelEnsemble.smooth` propagate the ``lead`` ``units`` attribute onto the ``lead_center`` coordinate that is added during verification of temporally smoothed ensembles. `Aaron Spring`_ - :py:meth:`.HindcastEnsemble.plot_alignment` now raises a clear error message when there is no overlap between hindcast ``valid_time`` and verification ``time``, instead of a cryptic ``ValueError`` about ``CFTimeIndex`` ambiguity. (:issue:`912`, :pr:`921`) `Aaron Spring`_ - Restored GitHub Actions CI, which had been disabled for repository inactivity. Both workflows are re-registered as ``ci.yml`` and ``upstream-dev.yml``, scheduled and manual runs no longer skip the test matrix, and the upstream test runs on Python 3.13. (:pr:`929`) `Aaron Spring`_ +- Updated the :py:meth:`.HindcastEnsemble.remove_bias` doctest values for ``how="modified_quantile"`` to match current `bias_correction` output, fixing the ``Doctests`` CI job. `Aaron Spring`_ climpred v2.6.0 (2026-02-19) diff --git a/src/climpred/classes.py b/src/climpred/classes.py index 4a1510688..5b434f4ed 100644 --- a/src/climpred/classes.py +++ b/src/climpred/classes.py @@ -2824,7 +2824,7 @@ def remove_bias( * lead (lead) int32 40B 1 2 3 4 5 6 7 8 9 10 skill Date: Mon, 21 Sep 2026 08:17:04 +0000 Subject: [PATCH 2/2] Reference PR 930 in the CHANGELOG entry The entry was written before the PR number was known. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_012xXJVZrXR4k3BmmDeTLEaD --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 89a943f1b..79638fc9d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -30,7 +30,7 @@ Internals/Minor Fixes - :py:meth:`.HindcastEnsemble.smooth` and :py:meth:`.PerfectModelEnsemble.smooth` propagate the ``lead`` ``units`` attribute onto the ``lead_center`` coordinate that is added during verification of temporally smoothed ensembles. `Aaron Spring`_ - :py:meth:`.HindcastEnsemble.plot_alignment` now raises a clear error message when there is no overlap between hindcast ``valid_time`` and verification ``time``, instead of a cryptic ``ValueError`` about ``CFTimeIndex`` ambiguity. (:issue:`912`, :pr:`921`) `Aaron Spring`_ - Restored GitHub Actions CI, which had been disabled for repository inactivity. Both workflows are re-registered as ``ci.yml`` and ``upstream-dev.yml``, scheduled and manual runs no longer skip the test matrix, and the upstream test runs on Python 3.13. (:pr:`929`) `Aaron Spring`_ -- Updated the :py:meth:`.HindcastEnsemble.remove_bias` doctest values for ``how="modified_quantile"`` to match current `bias_correction` output, fixing the ``Doctests`` CI job. `Aaron Spring`_ +- Updated the :py:meth:`.HindcastEnsemble.remove_bias` doctest values for ``how="modified_quantile"`` to match current `bias_correction` output, fixing the ``Doctests`` CI job. (:pr:`930`) `Aaron Spring`_ climpred v2.6.0 (2026-02-19)