-
Notifications
You must be signed in to change notification settings - Fork 9
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
Expand the game logic to allow for N runs to be executed #668
Comments
@kongzii curious about your thoughts here, maybe this can be done using a diferent design? |
We already talked about running all agents in one container. That brings more complexity than it solves. Don't we just need to:
Agents are already configured to pick that up and they will continue the next round automatically. Maybe (2) will need to be part of anvil container itself, but that isn't an issue. |
Not only reduce the sleeping time but also avoid it doing reflections multiple times (if wait time ends and game is still over).
Sounds good. So do we agree on the steps above? If yes, happy to get started with this ticket. |
True! We need to modify that callback to optionally not resume the iteration, but to stop it, if the game is still off. |
-> Current setup allows for 1 run to be executed (until treasury is emptied), then manual setup is carried out (while agent sleeps), and then game restarts
It would be nice if we had a more flexible game setup - I'm thinking about an
experiment container
that contains everything:→ Start foundry provider (using
ape
)→ Run
reset_balance_anvil.py
→ Start all 7 agents (
deploy_local
), use RPC_URL (anvil
running inside container)-> Here I expect some modification on the agent running logic, i.e. maybe an external ENV is set and the agent stops (so that it doesn't have to call
wait
and have the pod restart) - need to double-check best way to do this→ Run scripts for generating reports
→ Kill pod (this should take ~ 3h)
The above idea is interesting because it removes the manual setup currently required for starting/pausing games, allowing for experiments to be carried out much faster.
The text was updated successfully, but these errors were encountered: