Summary
The following claims that PULL_SUMS is used without being defined, which is not the case.
PULL_SUMS: "list[float]" = []
def bandit(foo: int) -> None:
global PULL_SUMS
if foo == 0:
# commenting this out fixes it
PULL_SUMS = []
return
def bar(arm):
return PULL_SUMS[arm]
Version
ty 0.0.26
Summary
The following claims that
PULL_SUMSis used without being defined, which is not the case.Version
ty 0.0.26