Skip to content
This repository was archived by the owner on Jan 26, 2023. It is now read-only.

Conversation

instance01
Copy link

I think the title says it all. I found that useful for debugging in a project I use qbsolv for, and thought this could be useful to others too.

Signed-off-by: Daniel Ratke <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Jun 5, 2021

Codecov Report

Merging #156 (b3ce50c) into master (3eda2ec) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #156   +/-   ##
=======================================
  Coverage   96.17%   96.17%           
=======================================
  Files           5        5           
  Lines         183      183           
=======================================
  Hits          176      176           
  Misses          7        7           
Impacted Files Coverage Δ
python/dwave_qbsolv/dimod_wrapper.py 94.44% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3eda2ec...b3ce50c. Read the comment docs.

Copy link
Member

@arcondello arcondello left a comment

Choose a reason for hiding this comment

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

Can you add a test for this?

def sample(self, bqm, num_repeats=50, seed=None, algorithm=None,
verbosity=-1, timeout=2592000, solver_limit=None, solver=None,
target=None, find_max=False, **sample_kwargs):
target=None, find_max=False, n_solutions=20, **sample_kwargs):
Copy link
Member

Choose a reason for hiding this comment

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

Can we rename this num_reads? I know n_solutions is consistent with QBSolv locally, but we use num_reads in all of the other Ocean samplers.

@instance01
Copy link
Author

Many thanks for your reply. I'll likely get to it this weekend.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants