Out of curiosity what do you get if you print this at every step:
print(env.agents[a].malfunction_data)
where a is the agent number.
Out of curiosity what do you get if you print this at every step:
print(env.agents[a].malfunction_data)
where a is the agent number.