Skip to content

[WIP] Inlining worker for ES (DO NOT SUBMIT) #493

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

svkeerthy
Copy link
Collaborator

No description provided.

Comment on lines +155 to +157
for i in range(len(policy_results)):
policy_result = policy_results[i]
baseline = self._baselines[i]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

range(len()) is almost always a sign to use enumerate() or zip() instead.

Suggested change
for i in range(len(policy_results)):
policy_result = policy_results[i]
baseline = self._baselines[i]
for policy_result, baseline in zip(policy_results, self._baselines, strict=True):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants