-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Adding test_randomseed to TestLQNash #717
base: main
Are you sure you want to change the base?
Conversation
Hello @hsalberti! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2023-10-30 11:51:27 UTC |
Thanks @hsalberti , much appreciated. @oyamad , could you please review this when you have time? |
@hsalberti I have approved the |
@hsalberti the
|
Looking at the code, randomness at QuantEcon.py/quantecon/_lqnash.py Lines 113 to 114 in d1e4d22
F1 and F2 are deterministically redefined here QuantEcon.py/quantecon/_lqnash.py Lines 131 to 132 in d1e4d22
F1 and F2 are used (as F10 and F20 ) only for the convergence check here QuantEcon.py/quantecon/_lqnash.py Line 144 in d1e4d22
Replacing these QuantEcon.py/quantecon/_lqnash.py Lines 113 to 114 in d1e4d22
So randomness in this function should be removed in the first place... |
Okay, got it. |
Additional test to guarantee randomseed is working on lqnash based on issue #349