-
Notifications
You must be signed in to change notification settings - Fork 24
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: use insertion-ordered sets for deterministic results #23
base: master
Are you sure you want to change the base?
Conversation
NOTE dict are not deterministic in <PY3.6. So this commit would not improve determinism in those pythons. + build: add `boltons` dependency for ndexedSet. + doc: mark all set usage if affect determinism. + e.g. see reproducibility problem in yahoo#14.
Codecov Report
@@ Coverage Diff @@
## master #23 +/- ##
=======================================
+ Coverage 77.87% 78% +0.12%
=======================================
Files 5 5
Lines 348 350 +2
=======================================
+ Hits 271 273 +2
Misses 77 77
Continue to review full report at Codecov.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #23 +/- ##
=========================================
Coverage ? 78.00%
=========================================
Files ? 5
Lines ? 350
Branches ? 0
=========================================
Hits ? 273
Misses ? 77
Partials ? 0
Continue to review full report in Codecov by Sentry.
|
Addresses 1 issue from #22 (but not yet any TC to prove it!), see also reproducibility problem in #14.
NOTE: dicts are not deterministic in <PY3.6. So this commit would not improve determinism in those pythons.
boltons
dependency forIndexedSet
.set()
usage whether they would affect determinism.nx.dag.<method>
package(remnant from older
networkx
versions?)I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.