Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to fix Heisenbug by skipping COO. #813

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

hameerabbasi
Copy link
Collaborator

@hameerabbasi hameerabbasi commented Nov 20, 2024

What type of PR is this? (check all applicable)

  • πŸ’Ύ Refactor
  • πŸͺ„ Feature
  • 🐞 Bug Fix
  • πŸ”§ Optimization
  • πŸ“š Documentation
  • πŸ§ͺ Test
  • πŸ› οΈ Other

Related issues

  • Related issue #
  • Closes #

Checklist

  • Code follows style guide
  • Tests added
  • Documented the changes

Please explain your changes below.

This PR fixes a Heisenbug introduced by the 3D COO test, which often caused the sparse_vector test (which is the next test to be executed) to fail.

The reason for this was that the COO test was sometimes writing to memory it shouldn't be, IMO. Just another case of COO being broken.

@hameerabbasi hameerabbasi added the bug Indicates an unexpected problem or unintended behavior label Nov 20, 2024
@hameerabbasi hameerabbasi changed the title Fix Heisenbug by skipping COO. Attempt to fix Heisenbug by skipping COO. Nov 20, 2024
@hameerabbasi hameerabbasi requested a review from mtsokol November 20, 2024 06:56
@hameerabbasi hameerabbasi marked this pull request as ready for review November 20, 2024 06:57
@hameerabbasi hameerabbasi enabled auto-merge (squash) November 20, 2024 07:23
Copy link

codspeed-hq bot commented Nov 20, 2024

CodSpeed Performance Report

Merging #813 will degrade performances by 16.47%

Comparing hameerabbasi:skip-coo-heisenbug (2fd9065) with main (b7b2e67)

Summary

❌ 1 regressions
βœ… 339 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main hameerabbasi:skip-coo-heisenbug Change
❌ test_index_fancy[side=100-rank=1-format='coo'] 1.2 ms 1.5 ms -16.47%

@hameerabbasi hameerabbasi merged commit c0b2b45 into pydata:main Nov 20, 2024
21 checks passed
@mtsokol mtsokol deleted the skip-coo-heisenbug branch November 20, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants