Skip to content

Size issue with rewards_df #19

Description

@marota

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
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions