Release factory-robotics: 12 tasks (part 4)
Browse filesFiles changed (3)
41 unmodified lines4243444546474841 unmodified linesactuator still echoes its command); `images["overhead"]`, `depth["overhead"]` and `images["robot/wrist_cam"]`update at 1 Hz; `objects` is empty; `io` holds `ext_force_n` and `cycle_limit_s`. The controller may use numpy,mujoco and the files in `/app`. Wall-time limits per call and per run are in `/app/gauntlet/harness.py`. Thewhole acceptance run has 1800 s.- 12 hidden runs with a hidden seed, run exactly as `run_gauntlet.py` runs them: 2 at T2, 6 at T3 (each upsettwice) and 4 at T4 (each fault twice), over all three layout bands. The groups are in `FM3_SHEET.md`.- A run has 10 stages: isolation valve seated; bleed open with the valve seated; bowl unlocked and free (turned41 unmodified lines4243444546474841 unmodified linesactuator still echoes its command); `images["overhead"]`, `depth["overhead"]` and `images["robot/wrist_cam"]`update at 1 Hz; `objects` is empty; `io` holds `ext_force_n` and `cycle_limit_s`. The controller may use numpy,mujoco and the files in `/app`. Wall-time limits per call and per run are in `/app/gauntlet/harness.py`. Thewhole acceptance run has 1500 s of wall time; a run that has not started by then scores 0.- 12 hidden runs with a hidden seed, run exactly as `run_gauntlet.py` runs them: 2 at T2, 6 at T3 (each upsettwice) and 4 at T4 (each fault twice), over all three layout bands. The groups are in `FM3_SHEET.md`.- A run has 10 stages: isolation valve seated; bleed open with the valve seated; bowl unlocked and free (turned
62 unmodified lines63646566676869707162 unmodified linestask = task_mod.TASKscores, t_all, sim_s = [], time.monotonic(), 0.0skills = {}try:for e in spec["episodes"]:tier, idx, band = e["tier"], int(e["idx"]), e["band"]task_mod.BAND_NAME = bandr = harness.run_episode(G, task, ws, tier, idx, int(spec["base_seed"]), os.path.join(APP, "scene.xml"))rep = r["report"]62 unmodified lines636465666768697071727374757677787980818262 unmodified linestask = task_mod.TASKscores, t_all, sim_s = [], time.monotonic(), 0.0skills = {}episode_wall = harness.EPISODE_WALLtry:for e in spec["episodes"]:tier, idx, band = e["tier"], int(e["idx"]), e["band"]# the whole run has harness.RUN_WALL: a run gets at most what is left of it as controller time, and one that# cannot start in time scores 0left = harness.RUN_WALL - (time.monotonic() - t_all)if left <= 1.0:scores.append(0.0)details["episodes"].append({"tier": tier, "idx": idx, "band": band, "score": 0.0, "fully_done": False,"stages": [], "violations": [], "error": "acceptance run out of time"})print(f"{tier} {idx:2d} {band:10s} score=0.000 (acceptance run out of time)", flush=True)continueharness.EPISODE_WALL = min(episode_wall, left)task_mod.BAND_NAME = bandr = harness.run_episode(G, task, ws, tier, idx, int(spec["base_seed"]), os.path.join(APP, "scene.xml"))rep = r["report"]
23 unmodified lines24252627282923 unmodified linesCALL_TIMEOUT = 20.0 # s for a single reset/act callINIT_TIMEOUT = 60.0 # s for import + Controller(model_info)EPISODE_WALL = 150.0 # s of controller wall time per episode before it is cut offRUNNER = r'''import json, os, pickle, struct, sys, types23 unmodified lines2425262728293023 unmodified linesCALL_TIMEOUT = 20.0 # s for a single reset/act callINIT_TIMEOUT = 60.0 # s for import + Controller(model_info)EPISODE_WALL = 150.0 # s of controller wall time per episode before it is cut offRUN_WALL = 1500.0 # s of wall time for a whole acceptance run; a run not started by then scores 0RUNNER = r'''import json, os, pickle, struct, sys, types
tasks/filter-change/instruction.md+1-1
tasks/filter-change/tests/grade.py+11
tasks/filter-change/tests/world/gauntlet/harness.py+1