mal-lang / mal-simulator

Apache License 2.0
1 stars 1 forks source link

Episodes never terminate #12

Closed kasanari closed 4 months ago

kasanari commented 4 months ago

This is what I have used as a condition, i.e. the attack surface is empty.

terminations[agent] = sum(infos["attacker"]["action_mask"][1]) == 0

andrewbwm commented 4 months ago

Fixed in 47e9331a7ae67d09408dce6efde4ac940b0a8cac

All agents now terminate if none of the attacker have any action left to take.