posttrain-arena-env / schema.json
distributedtensor's picture
M1 variant A: task list, schema, provenance
8992bbe verified
Raw History Blame Contribute Delete
3.32 kB
{"action":{"additionalProperties":false,"description":"{\"tool\", \"args\"} plus OpenEnv's inherited free-form `metadata` (reasoning goes in\nmetadata.thought). One schema for both variants. No numeric bounds anywhere (SPEC §3.2).","properties":{"metadata":{"additionalProperties":true,"description":"Additional metadata for the action","title":"Metadata","type":"object"},"tool":{"description":"Tool name, as listed in the first observation","title":"Tool","type":"string"},"args":{"additionalProperties":true,"description":"Tool arguments, keys as listed in the first observation","title":"Args","type":"object"}},"required":["tool","args"],"title":"ArenaAction","type":"object"},"observation":{"additionalProperties":false,"description":"One model for reset and step observations. None fields are dropped on the wire.","properties":{"done":{"default":false,"description":"Whether the episode has terminated","title":"Done","type":"boolean"},"reward":{"anyOf":[{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"description":"Reward signal from the last action","title":"Reward"},"metadata":{"additionalProperties":true,"description":"Additional metadata for the observation","title":"Metadata","type":"object"},"task":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Task instruction (reset only)","title":"Task"},"tools":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Tool names, args, descriptions (reset only)","title":"Tools"},"reply_format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"How to reply (reset only)","title":"Reply Format"},"ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"Whether the last action succeeded (step only)","title":"Ok"},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Tool output or error message (step only)","title":"Result"},"truncated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"Output was cut at the cap","title":"Truncated"},"bytes_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Full output size in bytes when truncated","title":"Bytes Total"},"next_start":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Next line for a paged read","title":"Next Start"},"step":{"default":0,"description":"Actions taken so far","title":"Step","type":"integer"},"calls_left":{"default":0,"description":"Tool calls remaining","title":"Calls Left","type":"integer"}},"title":"ArenaObservation","type":"object"},"state":{"additionalProperties":true,"properties":{"episode_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Unique identifier for the current episode","title":"Episode Id"},"step_count":{"default":0,"description":"Number of steps taken in the current episode","title":"Step Count","type":"integer"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Task Id"},"family":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Family"},"calls_left":{"default":0,"title":"Calls Left","type":"integer"},"done":{"default":false,"title":"Done","type":"boolean"}},"title":"ArenaState","type":"object"}}