Closed jerry871002 closed 1 year ago
The cause of this issue is this piece of code that is executed after each episode
The problem was that if the intra-belief
happens to be uniformly distributed (which is quite unlikely, so the error does not happen every time), the code enters the first if
block, and the step_i_policy_preds
arrays aren't properly "aligned", causing the next episode having an IndexError
. (i
increased but the length of the array wasn't)
https://github.com/jerry871002/bayesian-strategy-inference/actions/runs/5841852816/job/15842391174
https://github.com/jerry871002/bayesian-strategy-inference/actions/runs/5857902074/job/15880785779?pr=56