Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Role dependent timeout #251

Merged
merged 7 commits into from
Nov 5, 2024
Merged

Role dependent timeout #251

merged 7 commits into from
Nov 5, 2024

Conversation

ondrej-lukas
Copy link
Member

Introduces change in which only the attackers can reach the timeout. Other agent types have an infinite amount of steps. This change prevents defenders from forcing the episode to end. Currently, the game ends when the attacker reaches the goal, OR it reaches the timeout.

Added test for the timeout

@ondrej-lukas ondrej-lukas linked an issue Nov 5, 2024 that may be closed by this pull request
@ondrej-lukas ondrej-lukas merged commit 0b24242 into main Nov 5, 2024
2 checks passed
@ondrej-lukas ondrej-lukas deleted the role-dependent-timeout branch November 5, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Apply timeout only to agents of type "Attacker"
1 participant