The tests run the agent's code. On the docker backend they run in a throwaway container with no network. On local processes they run on this machine, as you, for 3 seconds at most.
Only solution.py is tested. Other files the agent writes are ignored.
The task given to agents, completing the function in solution.py, is Nullius's wording.
@article{chen2021codex,title={Evaluating Large Language Models Trained on Code},author={Chen, Mark and Tworek, Jerry and Jun, Heewoo and Yuan, Qiming and Pinto, Henrique Ponde de Oliveira and Kaplan, Jared and others},journal={arXiv preprint arXiv:2107.03374},year={2021}}