Skip to content

Top level bqm import#847

Merged
arcondello merged 8 commits into
dwavesystems:mainfrom
arcondello:top-level-bqm-import
Jun 16, 2021
Merged

Top level bqm import#847
arcondello merged 8 commits into
dwavesystems:mainfrom
arcondello:top-level-bqm-import

Conversation

@arcondello

Copy link
Copy Markdown
Member

Closes #846 as redundant.

@arcondello arcondello force-pushed the top-level-bqm-import branch from 58e0eca to dd3cbfa Compare June 16, 2021 01:39
@codecov-commenter

codecov-commenter commented Jun 16, 2021

Copy link
Copy Markdown

Codecov Report

Merging #847 (51f17ce) into main (0615c32) will decrease coverage by 3.50%.
The diff coverage is 98.03%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #847      +/-   ##
==========================================
- Coverage   88.61%   85.10%   -3.51%     
==========================================
  Files          71       71              
  Lines        6071     6010      -61     
==========================================
- Hits         5380     5115     -265     
- Misses        691      895     +204     
Impacted Files Coverage Δ
dimod/reference/composites/spin_transform.py 57.14% <0.00%> (ø)
dimod/serialization/coo.py 95.91% <ø> (ø)
dimod/__init__.py 100.00% <100.00%> (ø)
dimod/binary/binary_quadratic_model.py 90.72% <100.00%> (+0.62%) ⬆️
dimod/binary/pybqm.py 96.55% <100.00%> (ø)
dimod/binary_quadratic_model.py 100.00% <100.00%> (+2.43%) ⬆️
dimod/converters.py 91.66% <100.00%> (+1.19%) ⬆️
dimod/generators/constraints.py 86.36% <100.00%> (ø)
dimod/higherorder/utils.py 94.62% <100.00%> (+0.11%) ⬆️
dimod/reference/composites/connectedcomponent.py 97.36% <100.00%> (ø)
... and 11 more

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 0615c32...51f17ce. Read the comment docs.

@arcondello arcondello merged commit 22bc677 into dwavesystems:main Jun 16, 2021
arcondello added a commit that referenced this pull request Jun 16, 2021
Changes
-------
* Promote `dimod.binary.binary_quadratic_model` to the top-level `dimod` namespace and remove `dimod.binary_quadratic_model.BinaryQuadraticModel` #847

Fixes
-----
* Fix `Variables._relabel` in rare cases a0791b0
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.

2 participants