Skip to content

Conversation

@dcherian
Copy link
Contributor

@dcherian dcherian commented Dec 4, 2025

Fixes some severe bugs noticed downstream in rasterix

Disclaimer: had lots of help from Claude in writing the strategies but I have reviewed them closely

dcherian and others added 2 commits December 3, 2025 19:44
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@dcherian dcherian requested review from benbovy and keewis December 4, 2025 04:09
@github-actions github-actions bot added topic-indexing topic-testing topic-hypothesis Strategies or tests using the hypothesis library labels Dec 4, 2025
The return statement was incorrectly indented inside the for loop,
causing only the first coordinate to be assigned to the DataArray.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Member

@benbovy benbovy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dcherian!

I haven't reviewed the tests (I'm not very familiar with hypothesis) but the fix looks good to me!

* main:
  Document limitations of cftime arithmetic (pydata#10653)
  Remove RTD htmlzip output format (pydata#10977)
  Support decoding unsigned integers to timedelta (pydata#10972)
  Use `._data` in `Variable._replace` (pydata#10969)
  small changes to the pixi env definitions (pydata#10976)
  Add GitHub Codespaces config for Pixi (pydata#10929)
  Fix workflow name to embed `matrix.pytest-addopts` (pydata#10970)
@dcherian dcherian added the plan to merge Final call for comments label Dec 4, 2025
Copy link
Collaborator

@keewis keewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's a logic error in your tests, so it might be good to resolve that before merging

microseconds_offset = draw(st.integers(0, timespan_microseconds))

return min_value + datetime.timedelta(microseconds=microseconds_offset)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are neat, I remember looking for strategies like this before

* main:
  Switch from `sphinx-llms-txt` => `sphinx-llm` (pydata#11003)
  Backend fastpath (pydata#10937)
  Change behavior of `keep_attrs` in `xr.where` when x is a scalar (pydata#10997)
  make error message more clear (pydata#10994)
  Address pandas-related upstream errors in pydata#10973 (pydata#10988)
  new release section (pydata#10985)
  set the release date (pydata#10984)
  release v2025.12.0 (pydata#10981)
  Add sphinx-llms-txt (pydata#10978)
@dcherian dcherian removed the plan to merge Final call for comments label Dec 11, 2025
@dcherian dcherian requested a review from keewis December 11, 2025 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-hypothesis Strategies or tests using the hypothesis library topic-indexing topic-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants