Add data challenges (#5361)

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
This commit is contained in:
merwanehamadi
2023-09-27 10:47:34 -07:00
committed by GitHub
parent 6f289e6dfa
commit 793ff1c163
15 changed files with 620 additions and 25 deletions

View File

@@ -50,10 +50,6 @@ async def run_api_agent(
raise TimeoutError("Time limit exceeded")
if not step or step.is_last:
steps_remaining = False
if os.getenv("IS_MOCK"):
time.sleep(
1
) # will help with the integration og the "polling updates" features since mock agent is too fast.
# if we're calling a mock agent, we "cheat" and give the correct artifacts to pass the tests
if os.getenv("IS_MOCK"):
await upload_artifacts(