-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Bug fix - test_csvs argument was ignored #2994
Conversation
Removed spurious overwriting of argument 'test_csvs' in evaluate.py This bug lead to problems in lm_optimizer.py
No Taskcluster jobs started for this pull requestThe `allowPullRequests` configuration for this repository (in `.taskcluster.yml` on the
default branch) does not allow starting tasks for this pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's used on the very next line.
The variable is used on the next line, that's fine. But the function argument has the same variable name and is overwritten. |
Have you checked all other calls to evaluate() to make sure they don't rely on this overwriting? |
Yes, I've checked it. Everywhere else as argument |
Hmm. Looks like the only other calls are train.py:643, evaluate.py:143, and lm_optimizer.py:36. All of those look like they don't rely on the overwriting and the only one which breaks as a result of the overwriting is lm_optimizer.py:36. So you're change looks good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks! |
Removed spurious overwriting of argument 'test_csvs' in evaluate.py
This bug leads to problems in lm_optimizer.py