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

Fix inconsistent sampleset interface across hybrid samplers #544

Conversation

randomir
Copy link
Member

Make sure sampleset returned always has a working wait_id() method.

The fix was actually implemented in dwavesystems/dimod#1393 (released in dimod 0.12.18), and supported with dwavesystems/dwave-cloud-client#674 in cloud-client.

On the dwave-system level, it's enough to require the latest dimod.

Fix #540.

BQM/CQM samplers return a sampleset with `wait_id()`, but CQM doesn't.
@randomir randomir requested a review from arcondello October 25, 2024 21:02
@randomir randomir force-pushed the fix-inconsistent-sampleset-across-hybrid-samplers branch from a04d1d1 to e2e64b9 Compare October 25, 2024 21:19
Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.93%. Comparing base (053d256) to head (e2e64b9).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #544   +/-   ##
=======================================
  Coverage   88.93%   88.93%           
=======================================
  Files          20       20           
  Lines        1582     1582           
=======================================
  Hits         1407     1407           
  Misses        175      175           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@randomir randomir merged commit 306b8a2 into dwavesystems:master Oct 25, 2024
20 checks passed
@randomir randomir deleted the fix-inconsistent-sampleset-across-hybrid-samplers branch October 25, 2024 21:34
randomir added a commit to randomir/dwave-system that referenced this pull request Nov 29, 2024
randomir added a commit that referenced this pull request Nov 29, 2024
…s-when-api-unavailable

Skip live hybrid tests missed in #544
@randomir randomir mentioned this pull request Dec 2, 2024
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.

Inconsistent SampleSet interface across Leap hybrid samplers
2 participants