-
Notifications
You must be signed in to change notification settings - Fork 505
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
Type annotation for benchmarks/ #7289
Conversation
a84f2b2
to
ba4603d
Compare
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.
Nice PR. I have pointed out a few places where type hints are still missing.
One additional comment: I think it would be better to update the PR title, so that it represents what you are doing here. It doesn't really fixes any document, does it?
Mostly LGTM with minor comments. Thanks! |
Are we also going to start using |
@will-cromar and @JackCaoG to see if we have such plan. |
@@ -70,7 +72,9 @@ def _expand_config_choices(self, config_choices): | |||
configs = new_configs | |||
return configs | |||
|
|||
def _is_available(self, experiment_config): | |||
def _is_available(self, | |||
experiment_config: List[Dict[str, |
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.
lol, our benchmark script is complicated
Type annotations for
benchmarks/
.Also relocated some functions due to circular import.