This line is tripping me up: https://github.com/csmfindling/behavior_models/blob/master/models/expSmoothing_prevAction.py#L48 As far as I can tell, it does nothing. I added an assert statement to check its size is zero and no error was thrown.