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
add Network.Moran method #595
Conversation
@slumnitz @knaaptime @jeffcsauer @sjsrey I am having a tough time diagnosing this failure. Any thoughts/advice/etc. would be super.
|
Could this be a ubuntu specific issue? As you noted, it's passing on macOS and Windows. I can try to spin up a ubuntu vm in a bit and see what's going on |
Yeah, I would be surprised at this point if it wasn't an Ubuntu specific issue. |
got an Ubuntu machine up. here is a quick gist "demonstrating" incorrect result on Ubuntu. |
@jGaboardi have not fully diagnosed the issue, but identified at least one place within the # From moran.py
def __calc(self, z):
zl = slag(self.w, z)
print(zl[0]) # compare values First few numbers from Windows:
First few numbers from Ubuntu:
True divergence in the function might start earlier, that was just the most crucial calculation that jumped out at me as likely being different (lucky guess?). Here are my Windows:
Ubuntu:
I'll keep looking into it. |
@jeffcsauer This is a nice find and we have something more concrete to focus on. Here is a rehash of our convo on gitter for the sake of openness:
|
Here is a workflow in macOS and ubuntu demonstrating the same difference in the result for EDIT Things to look at:
Solved in #599. |
Codecov Report
@@ Coverage Diff @@
## main #595 +/- ##
=====================================
Coverage 97.6% 97.7%
=====================================
Files 3 3
Lines 1144 1154 +10
Branches 286 288 +2
=====================================
+ Hits 1117 1127 +10
Misses 6 6
Partials 21 21
|
This PR partially addresses #586 by...
Network.Moran
method to the code base that was previously only found in the Tutorials;Network.Moran
method;