Representing complex systems for long-horizon optimisation

Which details must an agent remember to make good decisions hundreds of steps later? Run experiments, build a model, and test it on unseen worlds. How assessment works

Choose a task

Run a task program

Each task publishes a language description and a runnable example. The service returns one observation batch per step. Reuse the encrypted continuation to extend an experiment.

import json
from urllib.request import Request, urlopen

host = "http://localhost"
tasks = json.load(urlopen(host + "/api/problems"))
task = tasks[0]
language = json.load(urlopen(host + task["language"]))
request = Request(host + task["run"],
    data=json.dumps({"state": None, "code": language["example"]}).encode(),
    headers={"Content-Type": "application/json"})
result = json.load(urlopen(request))
for step, frames in enumerate(result["trace"]):
    print(step, frames)

Browse the native task API for task and program endpoints.