Download debug/850/n052_regrip/n052_regrip_n052.diff from prlq/mobilemanipbench-data: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/datasets/prlq/mobilemanipbench-data/resolve/main/debug/850/n052_regrip/n052_regrip_n052.diff
- Command line
-
hf download hf://datasets/prlq/mobilemanipbench-data/debug/850/n052_regrip/n052_regrip_n052.diff
-
curl -L -o n052_regrip_n052.diff https://huggingface.co/datasets/prlq/mobilemanipbench-data/resolve/main/debug/850/n052_regrip/n052_regrip_n052.diff
1.02 kB
| --- n052.py.orig 2026-11-08 21:58:53.786667565 -0500 | |
| +++ n052.py 2026-11-08 21:59:05.387046605 -0500 | |
| """N052 expert: S -> A (read both pad deflections through the window) -> B -> take the lighter item -> put it on the delivery pad.""" | |
| +import os | |
| + | |
| from magicsim.Collect.Command.memory_scripts.moves import ( | |
| carry_onto, | |
| hand, | |
| # --- first cue-dependent choice: which item? (the pads are locked, both items stand at one height) | |
| ctx.decide("pick_lighter", ["weight_red", "weight_blue"], readings_m=readings, lighter=lighter) | |
| ctx.note(chosen=lighter) | |
| - yield from pick_top_down(ctx, f"item_{lighter}", also_ignore=("weigher",), square=True, label="take_item") | |
| + yield from pick_top_down(ctx, f"item_{lighter}", also_ignore=("weigher",), square=True, label="take_item", regrip=int(os.environ.get("MMB_N052_REGRIP", "0"))) | |
| delivery = ctx.scene()["delivery"] | |
| pos = lambda: next(i["pos"] for i in ctx.scene()["items"] if i["color"] == lighter) | |