Skip to content

Fix/api change compatibility - #60

Merged
thisac merged 1 commit into
dwavesystems:mainfrom
jackraymond:fix/api_change_compatibility
Jul 29, 2026
Merged

Fix/api change compatibility#60
thisac merged 1 commit into
dwavesystems:mainfrom
jackraymond:fix/api_change_compatibility

Conversation

@jackraymond

Copy link
Copy Markdown
Contributor

Examples and tests are updated to fix breakages caused by changes to the get_properties return format.

Defaults are modified to accommodate the change from Advantage2_research1 to Advantage2_research2.

This pull request contains a subset of changes in #51.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.30%. Comparing base (5a918fa) to head (c2ec35d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #60   +/-   ##
=======================================
  Coverage   94.30%   94.30%           
=======================================
  Files          15       15           
  Lines        1141     1141           
=======================================
  Hits         1076     1076           
  Misses         65       65           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@thisac thisac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. I noticed that there's some coverage missing for the mca tests, but this might be better addressed separately (specifically exceptions aren't being tested + some edge cases).

Comment thread examples/mca_shim_AO_FB.py Outdated

@randomir randomir left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm OK with merging this, but we should improve the return format of mca.get_properties() in a follow-up PR.

Returning a list of unrelated items (as SAPI does now) is really not ideal.

Opened #61.

@jackraymond
jackraymond force-pushed the fix/api_change_compatibility branch from 4b12950 to 9a30d11 Compare July 29, 2026 00:18
@jackraymond
jackraymond force-pushed the fix/api_change_compatibility branch from 9a30d11 to b4b6569 Compare July 29, 2026 00:22
@thisac
thisac merged commit cbe7ce3 into dwavesystems:main Jul 29, 2026
3 checks passed
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.

4 participants