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

feat: add run_with_required_agents function for TryCP scenarios #115

Merged
merged 7 commits into from
Oct 28, 2024

Conversation

cdunster
Copy link
Contributor

@cdunster cdunster commented Oct 17, 2024

The minimum number of required agents to run the scenario to completion. Can be overridden via an environment variable MIN_REQUIRED_AGENTS.

@cdunster cdunster self-assigned this Oct 17, 2024
@cdunster cdunster force-pushed the add-required-number-of-agents branch 2 times, most recently from e0f788a to 701045f Compare October 24, 2024 12:17
@cdunster cdunster changed the title feat: add min_required_agents option in scenario definition feat: add run_with_required_agents function for TryCP scenarios Oct 24, 2024
@cdunster cdunster marked this pull request as ready for review October 24, 2024 12:19
@cdunster
Copy link
Contributor Author

@ThetaSinner, as per our discussion; I changed this to only be an option for TryCP scenarios instead of all scenarios. I'll drop the first two commits before merging to main.

ThetaSinner
ThetaSinner previously approved these changes Oct 24, 2024
Copy link
Member

@ThetaSinner ThetaSinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, looks good

Copy link
Contributor

@neonphog neonphog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the test time question, this looks good to me 👍

neonphog
neonphog previously approved these changes Oct 25, 2024
@cdunster cdunster force-pushed the add-required-number-of-agents branch from b6e589d to 8851b54 Compare October 28, 2024 14:46
CHANGELOG.md Outdated Show resolved Hide resolved
@cdunster cdunster force-pushed the add-required-number-of-agents branch from 18757af to ee58fec Compare October 28, 2024 15:53
@cdunster cdunster added this pull request to the merge queue Oct 28, 2024
Merged via the queue into main with commit f2cd641 Oct 28, 2024
2 checks passed
@cdunster cdunster deleted the add-required-number-of-agents branch October 28, 2024 17:00
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.

4 participants