Repository navigation
fix typo in ramanujan branch - #7804
Conversation
|
added a test for generating larger expanders (2000 notes) which was failing for me with d=4 |
|
just noticed that the new version of networkx requires python 3.11. i am only mentioning this because i am still using python 3.10 in my projects so this created a bit of an issue when i was trying to add the fix to main so instead I add it to the nx3.4.2 commit (which was fine with my python 3.10 setup)... not a heavy user of networkx (yet :-)) so do not have much of a skin in this game but raising the python version could create a bar for usage. just saying. maybe you guys have a good reason... could file an issue that mentions this if you think it is worth it |
|
|
||
|
|
||
| @pytest.mark.parametrize("d, n", [(2, 7), (4, 10), (4, 16)]) | ||
| @pytest.mark.parametrize("d, n", [(2, 7), (4, 10), (4, 16), (4, 2000), (6, 2000)]) |
There was a problem hiding this comment.
I'm getting intermittent failures on the (6, 2000) case with a too many iterations exception. Without having any deeper insight into the test case, I'd vote to remove it.
There was a problem hiding this comment.
i will remove the (6,2000) test: i do not have a particular reason for it and we are testing the code not the bound itself. so...
btw i just tried and with the default max_tries=100 out of 1000 trials i got ~20% fails. with max_tries=1000 i did not get any fails in 1000 trials...
The policy for which Python versions to support is governed by SPEC 0 which is formulated via discussion across scientific Python projects. Check out the link if you're interested! |
rossbar
left a comment
There was a problem hiding this comment.
LGTM, thanks for the fix + test case @vtrifonov-altos !
CI failures are unrelated, so in this goes!
fixes #7800