SanjinDedic / agent_games

Secure, extensible agent competition platform API build with FastAPI, SQLmodel, Pydantic and Docker
9 stars 2 forks source link

Use docker on submission #66

Closed SanjinDedic closed 2 months ago

SanjinDedic commented 2 months ago

use run_docker_simulations.py in validation.py

Reference this for ideas on how to provide feedback

https://github.com/SanjinDedic/agent_games/blob/12d94f2e3b0368404dae33a5483c02642e298a54/docker_simulation.py

basically use

output_lines = docker_results.stdout

to get the play by play text out of Docker