Release factory-robotics: 12 tasks
Browse filesFiles changed (5)
1 unmodified line2345671 unmodified linename = "reactive-labs/factory-robotics"version = "1.0.0"description = "Robot-controller tasks for Panda, SO-101 and YAM arms: changeover, machine tending and service cycles in MuJoCo cells. The agent writes a controller; hidden seeded episodes grade it."keywords = ["robotics", "manipulation", "mujoco", "control"][[dataset.authors]]name = "Reactive Labs"1 unmodified line234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556571 unmodified linename = "reactive-labs/factory-robotics"version = "1.0.0"description = "Robot-controller tasks for Panda, SO-101 and YAM arms: changeover, machine tending and service cycles in MuJoCo cells. The agent writes a controller; hidden seeded episodes grade it."keywords = [ "robotics", "manipulation", "mujoco", "control",][[dataset.authors]]name = "Reactive Labs"[[tasks]]name = "reactive-labs/board-test-loading"digest = "sha256:ebe4c1e229d4a103135acd7448262f4a97b46034ba54e6934145a68c95d1ffc8"[[tasks]]name = "reactive-labs/drawer-handover"digest = "sha256:e375cb4b21f8794f43aa6379877c4427b7ebcb22eb348b385281ecf444774293"[[tasks]]name = "reactive-labs/feeder-jam-clearing"digest = "sha256:dfeda1af657dcabe0b93803c5477677be11b202d03da99ce101beb73cdd2b9b6"[[tasks]]name = "reactive-labs/filter-change"digest = "sha256:9d2bca67534327404dec27335bfb32ecd01d1456d6c86eda4b15e94c02b951a9"[[tasks]]name = "reactive-labs/fixture-changeover"digest = "sha256:322f24884afbffb09ab14335e0240cab56367be9d959f9ecf5e14f8db503fbd4"[[tasks]]name = "reactive-labs/gearbox-cover-refit"digest = "sha256:c3abe09d887c458b2ed4686fa65fde184faf35a3465bf42c125f7d0a721f2c35"[[tasks]]name = "reactive-labs/ict-fixture-tending"digest = "sha256:8684b209d2e45d2238eb0d00832d8f9e1cb78e6a1f04ce4bda7781e792c7073b"[[tasks]]name = "reactive-labs/kit-picking"digest = "sha256:8bc2c159461e344ba007c7a85bda4b252396f5a873c868e438fbe32c591f7b18"[[tasks]]name = "reactive-labs/mill-part-change"digest = "sha256:47b0b3b6e726ffba5adbfa17ae146cbc24de45ad8fdc0069782f4803e854cccc"[[tasks]]name = "reactive-labs/probe-stow"digest = "sha256:30a6efc5dc04d4ae12107e56b028d35d33655778d04bc67387c4d968a3a356aa"[[tasks]]name = "reactive-labs/tube-recapping"digest = "sha256:e72d08dabab789506f09f13d5959fc839bb77df5dfb8c4331b5c4a2beb39b8bd"[[tasks]]name = "reactive-labs/two-arm-cover-refit"digest = "sha256:e8f2204f2754fb43f64c2a82a5123e89753ef89284d483f98db828b4883a280b"
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
61 unmodified lines626364656661 unmodified linesstops following shows only in its joint reading and in the work;- a controller error, or going over a wall-time limit (60 s to start, 20 s per call, 150 s of controller timeper cycle), keeps only the stages done before it. A controller error after a fault started scores 0.- The whole acceptance run of 18 cycles has 1800 s of wall time.- Reward: mean cycle score. `scene.xml`, `task.py` and `robot/so101.xml` in `/app` must be unchanged.61 unmodified lines626364656661 unmodified linesstops following shows only in its joint reading and in the work;- a controller error, or going over a wall-time limit (60 s to start, 20 s per call, 150 s of controller timeper cycle), keeps only the stages done before it. A controller error after a fault started scores 0.- The whole acceptance run of 18 cycles has 1500 s of wall time; a cycle that has not started by then scores 0.- Reward: mean cycle score. `scene.xml`, `task.py` and `robot/so101.xml` in `/app` must be unchanged.
62 unmodified lines63646566676869707162 unmodified linesws = harness.Workspace(CONTROLLER, APP, stderr_path=os.path.join(LOG_DIR, "controller_stderr.log"))task = task_mod.TASKrows, t_all = [], time.monotonic()try:for e in spec["episodes"]: # order, tiers, bands and fault episodes fixed by rule (tools/pick_seed.py)tier, idx = e["tier"], int(e["idx"])task_mod.EPISODE["force_band"] = e["band"]r = harness.run_episode(G, task, ws, tier, idx, int(spec["base_seed"]), os.path.join(APP, "scene.xml"))x = scoring.summarize(r)62 unmodified lines6364656667686970717273747576777879808182838462 unmodified linesws = harness.Workspace(CONTROLLER, APP, stderr_path=os.path.join(LOG_DIR, "controller_stderr.log"))task = task_mod.TASKrows, t_all = [], time.monotonic()episode_wall = harness.EPISODE_WALLtry:for e in spec["episodes"]: # order, tiers, bands and fault episodes fixed by rule (tools/pick_seed.py)tier, idx = e["tier"], int(e["idx"])# the whole run has harness.RUN_WALL: a cycle 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:rows.append({"tier": tier, "idx": idx, "band": e["band"], "score": 0.0, "fully_done": False,"stages": [{"name": n, "done": False, "reason": "not run"} for n in scoring.STAGES],"cycle_time_s": None, "fault": "", "disturbance": "", "outcome": None, "violations": [],"metrics": {}, "done_time_s": None, "error": "acceptance run out of time","onset_s": None, "onset_done": None})print(f"{tier} {idx:2d} band={e['band']} score=0.000 (acceptance run out of time)", flush=True)continueharness.EPISODE_WALL = min(episode_wall, left)task_mod.EPISODE["force_band"] = e["band"]r = harness.run_episode(G, task, ws, tier, idx, int(spec["base_seed"]), os.path.join(APP, "scene.xml"))x = scoring.summarize(r)
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
dataset.toml+51-1
tasks/board-test-loading/environment/world/gauntlet/harness.py+1
tasks/board-test-loading/instruction.md+1-1
tasks/board-test-loading/tests/grade.py+13
tasks/board-test-loading/tests/world/gauntlet/harness.py+1