In
|
data.append({"action": run.action, "timestep": t, "reward": run.rewards[t], "overload_reward": run.other_rewards[t]["overload_reward"]}) |
Contrary to run.rewards, run.other_rewards does not have the length of rewards_df.shape[0] if the configuration did not run until the end of the scenario.
Changing "for t in range(run.rewards.shape[0])" "for t in range(run.nb_timestep)" is probably not enough as a new issue raises later

In
Oracle4Grid/oracle4grid/core/reward_computation/run_many.py
Line 27 in 1810f2d
Contrary to run.rewards, run.other_rewards does not have the length of rewards_df.shape[0] if the configuration did not run until the end of the scenario.
Changing "for t in range(run.rewards.shape[0])" "for t in range(run.nb_timestep)" is probably not enough as a new issue raises later
