Skip to content

fix: rate-limit noisy collector warnings (#669) - #685

Merged
jepegit merged 1 commit into
masterfrom
669-collector-warnings
Jul 25, 2026
Merged

fix: rate-limit noisy collector warnings (#669)#685
jepegit merged 1 commit into
masterfrom
669-collector-warnings

Conversation

@jepegit

@jepegit jepegit commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Warn once (then DEBUG) when interpolate_y_on_x_per_monotonic_segments hits the max_segments fallback.
  • Same pattern for legacy dqdv_cycle half-cycle failures in cellpy.ica.
  • Use module loggers so messages are not WARNING:root.

Test plan

  • uv run pytest tests/test_cell_readers.py::test_interpolate_y_on_x_per_monotonic_segments_max_segments_fallback
  • MPLBACKEND=Agg uv run pytest -m essential (628 passed, 1 skipped)

Closes #669

Made with Cursor

Collector notebooks were flooded with per-cycle WARNING:root spam when
noisy curves hit the max_segments fallback or empty half-cycles failed;
warn once then demote repeats to DEBUG.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 25, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@jepegit
jepegit merged commit b1f542a into master Jul 25, 2026
6 checks passed
@jepegit
jepegit deleted the 669-collector-warnings branch July 25, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bad warnings in v1 collectors

1 participant