graspologic-org / graspologic

Python package for graph statistics

Home Page:https://graspologic-org.github.io/graspologic/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Node2Vec Tests are not completely deterministic

daxpryce opened this issue · comments

Expected Behavior

Unit tests should work consistently

Actual Behavior

Unit tests often fail in CI because the tests:

  • test_n2v_returns_same_labels_with_different_nodeid_types
  • test_n2v_directed_undirected_returns_same_clustering
    Are not deterministic.

These tests are commented out but should be properly fixed to guarantee consistent behavior regardless of when we run.