Edgar Moreau commited on
Commit
c0b76d1
·
verified ·
1 Parent(s): 4ccf3b9

First upload (private preview)

Browse files
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ pretty_name: pilot tasks
4
+ tags:
5
+ - robotics
6
+ - task-cards
7
+ - world-model
8
+ - model-predictive-control
9
+ configs: []
10
+ ---
11
+
12
+ # pilot tasks
13
+
14
+ Robot tasks written as **cards**, improved in the open by people and their agents. Each improvement is scored and
15
+ traceable, and every pilot reads the same cards:
16
+ [cablepilot](https://huggingface.co/Ethgar/cablepilot) (cable robots) today, armpilot and dronepilot next.
17
+
18
+ A card says **what** a job is, in a vocabulary every body shares. Each body says **how**, with its own world model and
19
+ planner. A tuning file says **how much** for one body. A result says how it went. So a new task starts from the best
20
+ card so far, not from scratch, and a subtask written for one robot is there for the next.
21
+
22
+ ```
23
+ tasks/<task>/
24
+ card.yaml body-free: objects, stages (each a skill), fallbacks, done test, lineage
25
+ tuning/<body>.yaml that body's numbers (cost weights, thresholds), with lineage
26
+ results/<id>.json one scored run (format pilot-result/1): score, compute, world, seed, card + tuning hashes
27
+ media/<id>.mp4 its film (the plan in purple)
28
+ board.json best result per task x body x world, rebuilt from results/ (scripts/board.py)
29
+ ```
30
+
31
+ ## Tasks
32
+
33
+ | task | bodies | best so far (sim) | note |
34
+ |---|---|---|---|
35
+ | [clean_the_room](tasks/clean_the_room) | cable | 29/36 toys boxed, bedroom, 3 episodes | requested by the Stringman community; sorting is the next card |
36
+ | [pen_in_cup](tasks/pen_in_cup) | (card only) | no hub result yet | armpilot's card, unchanged; the cable robot runs it but cannot watch `aligned(pen, up)` yet. Its arm tuning comes with armpilot's release |
37
+
38
+ ## A card
39
+
40
+ ```yaml
41
+ task: clean_the_room
42
+ lineage: {parent: "worldpilot:cards/home/clean_the_room.yaml", by: Ethgar, why: "runnable on today's skills"}
43
+ objects:
44
+ stray: {kind: any, role: held, shape: any, movable: true, each: out_of_place}
45
+ toy_box: {kind: box, role: site, shape: open_container, movable: false}
46
+ stages:
47
+ - {name: observe, goals: [{see: [head_camera, stray]}]}
48
+ - {name: pre_grasp, goals: [{pre_grasp: [hand, stray]}], avoid: [{avoid: [hand, toy_box]}]}
49
+ - {name: grasp, goals: [{grasp: [hand, stray]}]}
50
+ - {name: over_box, goals: [{pre_inside: [stray, toy_box.interior]}], invariants: [{grasp: [hand, stray]}]}
51
+ - {name: release, goals: [{release: [hand, stray]}]}
52
+ fallbacks:
53
+ - {when: {broken: {grasp: [hand, stray]}}, go: pre_grasp}
54
+ done: {inside: [stray, toy_box.interior]}
55
+ ```
56
+
57
+ No metres, colours or positions: the body's eyes bind `stray` and `toy_box` when it runs, and the body's tuning holds
58
+ the numbers. Predicates and skills: `cablepilot/core/cards.py` (`PREDICATES`, `SKILLS`).
59
+
60
+ ## Contributing (people and agents)
61
+
62
+ 1. `cablepilot fetch <task>`, then `cablepilot run tasks/<task>/card.yaml --world bedroom` to reproduce the best result.
63
+ 2. Change **one** thing: a tuning number, a stage, a fallback, or write a new card from an old one with `lineage` set.
64
+ 3. Score it on the same worlds and seeds, then `cablepilot submit runs/<run> --task <task> ...`. That opens a pull
65
+ request here, and its page is the discussion thread.
66
+ 4. The maintainers re-run the PR in simulation and post the result as a comment. Merged results update `board.json`.
67
+
68
+ Good first contributions: a missing skill that `cablepilot check` reports on an existing card (window washing needs
69
+ `wipe`; folding needs `support_both`), a second seed or room for an existing result, or the first real-robot log.
70
+
71
+ Every card must stay body-free, every result must come with its `result.json`, and a measured regression is welcome
72
+ too.
board.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "pilot-board/1",
3
+ "built": "2026-11-10T17:58:13+00:00",
4
+ "tasks": {
5
+ "clean_the_room": {
6
+ "bodies": [
7
+ "cable"
8
+ ],
9
+ "results": [
10
+ {
11
+ "id": "2026-11-10_2ed39e20ae72_c1511f1b78dd_bedroom_s0",
12
+ "sim": "3.15.0",
13
+ "reference_sim": true,
14
+ "body": "cable",
15
+ "world": "sim:bedroom",
16
+ "seed": 0,
17
+ "episodes": 3,
18
+ "score": {
19
+ "done": 29,
20
+ "of": 36,
21
+ "done_frac": 0.8055555555555556,
22
+ "s_per_item": 62.325925926072756,
23
+ "furniture_contact_ticks": 0,
24
+ "max_tension_N": 24.770697346564702
25
+ },
26
+ "compute": {
27
+ "plan_ms_mean": 49.00661432258048,
28
+ "plan_ms_p95": 51.280632347697974,
29
+ "perception_ms_mean": 8.871021099325944
30
+ },
31
+ "card_sha": "2ed39e20ae72",
32
+ "tuning_sha": "c1511f1b78dd",
33
+ "lineage": {
34
+ "parent": "worldpilot:cards/home/clean_the_room.yaml",
35
+ "by": "Ethgar",
36
+ "why": "runnable on today's skills: one box, every stray"
37
+ },
38
+ "by": "Ethgar",
39
+ "date": "2026-11-10T17:57:24+00:00",
40
+ "media": "tasks/clean_the_room/media/2026-11-10_2ed39e20ae72_c1511f1b78dd_bedroom_s0.mp4"
41
+ }
42
+ ],
43
+ "best": [
44
+ {
45
+ "id": "2026-11-10_2ed39e20ae72_c1511f1b78dd_bedroom_s0",
46
+ "sim": "3.15.0",
47
+ "reference_sim": true,
48
+ "body": "cable",
49
+ "world": "sim:bedroom",
50
+ "seed": 0,
51
+ "episodes": 3,
52
+ "score": {
53
+ "done": 29,
54
+ "of": 36,
55
+ "done_frac": 0.8055555555555556,
56
+ "s_per_item": 62.325925926072756,
57
+ "furniture_contact_ticks": 0,
58
+ "max_tension_N": 24.770697346564702
59
+ },
60
+ "compute": {
61
+ "plan_ms_mean": 49.00661432258048,
62
+ "plan_ms_p95": 51.280632347697974,
63
+ "perception_ms_mean": 8.871021099325944
64
+ },
65
+ "card_sha": "2ed39e20ae72",
66
+ "tuning_sha": "c1511f1b78dd",
67
+ "lineage": {
68
+ "parent": "worldpilot:cards/home/clean_the_room.yaml",
69
+ "by": "Ethgar",
70
+ "why": "runnable on today's skills: one box, every stray"
71
+ },
72
+ "by": "Ethgar",
73
+ "date": "2026-11-10T17:57:24+00:00",
74
+ "media": "tasks/clean_the_room/media/2026-11-10_2ed39e20ae72_c1511f1b78dd_bedroom_s0.mp4"
75
+ }
76
+ ],
77
+ "card_lines": 32
78
+ },
79
+ "pen_in_cup": {
80
+ "bodies": [],
81
+ "results": [],
82
+ "best": [],
83
+ "card_lines": 36
84
+ }
85
+ }
86
+ }
scripts/board.py ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Rebuild board.json from every tasks/*/results/*.json: the best result per (task, body, world), each task's results
2
+ ranked, and its lineage edges. Run after merging a PR: python scripts/board.py (stdlib only)."""
3
+ from __future__ import annotations
4
+
5
+ import json
6
+ from datetime import datetime, timezone
7
+ from pathlib import Path
8
+
9
+ ROOT = Path(__file__).resolve().parents[1]
10
+
11
+
12
+ def rank_key(r: dict):
13
+ s = r["score"]
14
+ return (-s["done_frac"], s.get("furniture_contact_ticks", 0), s.get("s_per_item") or 1e9)
15
+
16
+
17
+ def main():
18
+ tasks = {}
19
+ for task_dir in sorted((ROOT / "tasks").iterdir()):
20
+ if not task_dir.is_dir():
21
+ continue
22
+ results = []
23
+ for f in sorted((task_dir / "results").glob("*.json")):
24
+ r = json.loads(f.read_text())
25
+ if r.get("format") != "pilot-result/1":
26
+ continue
27
+ env = r.get("env") or {}
28
+ results.append({"id": f.stem, "sim": env.get("mujoco"), "reference_sim": bool(env.get("reference_sim")), "body": r["body"], "world": r["world"], "seed": r["seed"],
29
+ "episodes": r["episodes"], "score": r["score"], "compute": r["compute"],
30
+ "card_sha": r["card_sha"], "tuning_sha": r.get("tuning_sha"), "lineage": r.get("lineage"),
31
+ "by": r["by"], "date": r["date"],
32
+ "media": f"tasks/{task_dir.name}/media/{f.stem}.mp4"
33
+ if (task_dir / "media" / f"{f.stem}.mp4").exists() else None})
34
+ best = {}
35
+ for r in sorted(results, key=rank_key):
36
+ if r["reference_sim"]: # only results on the reference simulator compete for best
37
+ best.setdefault(f"{r['body']}|{r['world']}", r)
38
+ card = (task_dir / "card.yaml").read_text() if (task_dir / "card.yaml").exists() else ""
39
+ tunings = sorted(p.stem for p in (task_dir / "tuning").glob("*.yaml"))
40
+ tasks[task_dir.name] = {"bodies": tunings, "results": sorted(results, key=rank_key),
41
+ "best": list(best.values()), "card_lines": card.count("\n")}
42
+ board = {"format": "pilot-board/1", "built": datetime.now(timezone.utc).isoformat(timespec="seconds"), "tasks": tasks}
43
+ (ROOT / "board.json").write_text(json.dumps(board, indent=1))
44
+ for t, v in tasks.items():
45
+ b = ", ".join(f"{r['body']} {r['world']}: {r['score']['done']}/{r['score']['of']}" for r in v["best"]) or "no results"
46
+ print(f"{t:<20} {b}")
47
+
48
+
49
+ if __name__ == "__main__":
50
+ main()
scripts/score_pr.py ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Re-run a pull request on Ethgar/pilot-tasks in simulation and post the score on the PR page.
2
+
3
+ python scripts/score_pr.py 7 # PR number; needs `pip install -e <cablepilot>[sim,hub]`
4
+ python scripts/score_pr.py 7 --seeds 0 1 2 --worlds bedroom playroom --post
5
+
6
+ The contributor's own result is a claim; this is the check. It downloads the PR's card and tuning (falling back to the
7
+ task's merged ones), runs each (world, seed), and compares with the merged best on the same worlds and seeds when the
8
+ board has them. Designed to run on the Mac or as a Hugging Face Job (CPU is enough: ~25 min per world and seed).
9
+ Nothing from the PR is executed as code: cards and tunings are YAML, validated before the run.
10
+ """
11
+ from __future__ import annotations
12
+
13
+ import argparse
14
+ import json
15
+ import subprocess
16
+ import sys
17
+ import tempfile
18
+ from pathlib import Path
19
+
20
+ REPO = "Ethgar/pilot-tasks"
21
+
22
+
23
+ def main():
24
+ ap = argparse.ArgumentParser()
25
+ ap.add_argument("pr", type=int)
26
+ ap.add_argument("--seeds", type=int, nargs="+", default=[0])
27
+ ap.add_argument("--worlds", nargs="+", default=["bedroom"])
28
+ ap.add_argument("--post", action="store_true", help="comment the result on the PR (else print it)")
29
+ a = ap.parse_args()
30
+
31
+ from huggingface_hub import HfApi, snapshot_download
32
+ api = HfApi()
33
+ rev = f"refs/pr/{a.pr}"
34
+ details = api.get_discussion_details(REPO, a.pr, repo_type="dataset")
35
+ work = Path(tempfile.mkdtemp(prefix=f"pr{a.pr}_"))
36
+ snap = Path(snapshot_download(REPO, repo_type="dataset", revision=rev, local_dir=work / "pr"))
37
+ tasks = sorted(p.parent.name for p in snap.glob("tasks/*/card.yaml"))
38
+ title = details.title
39
+ task = next((t for t in tasks if f"[{t}]" in title), None)
40
+ if task is None:
41
+ sys.exit(f"PR title must start with [<task>]: {title!r}")
42
+ tdir = snap / "tasks" / task
43
+ card, tuning = tdir / "card.yaml", tdir / "tuning" / "cable.yaml"
44
+ lines = [f"**Re-run of PR #{a.pr}** (`{task}`, cable body, simulation)", "",
45
+ "| world | seed | done | s / item | furniture ticks | max tension | plan ms |", "|---|---|---|---|---|---|---|"]
46
+ rows = []
47
+ for w in a.worlds:
48
+ for s in a.seeds:
49
+ out = work / f"run_{w}_s{s}"
50
+ cmd = ["cablepilot", "run", str(card), "--world", w, "--seed", str(s), "--out", str(out), "--by", "pilot-scorer"]
51
+ if tuning.exists():
52
+ cmd += ["--tuning", str(tuning)]
53
+ r = subprocess.run(cmd, capture_output=True, text=True)
54
+ if r.returncode != 0 or not (out / "result.json").exists():
55
+ lines.append(f"| {w} | {s} | **failed** | | | | |")
56
+ print(r.stdout[-2000:], r.stderr[-2000:])
57
+ continue
58
+ res = json.loads((out / "result.json").read_text())
59
+ sc = res["score"]
60
+ rows.append(res)
61
+ lines.append(f"| {w} | {s} | {sc['done']}/{sc['of']} | {sc['s_per_item']:.0f} | {sc['furniture_contact_ticks']} | "
62
+ f"{sc['max_tension_N']:.0f} N | {res['compute']['plan_ms_mean']:.0f} |")
63
+ done = sum(r["score"]["done"] for r in rows)
64
+ of = sum(r["score"]["of"] for r in rows)
65
+ lines += ["", f"Total: **{done}/{of}**. card `{rows[0]['card_sha'] if rows else '?'}`, tuning "
66
+ f"`{rows[0]['tuning_sha'] if rows else '?'}`. Same worlds and seeds as the board's best are the fair comparison."]
67
+ text = "\n".join(lines)
68
+ print(text)
69
+ if a.post:
70
+ api.comment_discussion(REPO, a.pr, text, repo_type="dataset")
71
+
72
+
73
+ if __name__ == "__main__":
74
+ main()
tasks/clean_the_room/card.yaml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Clean the room: every stray thing on the floor goes into the toy box. The common sense of the task and nothing else:
2
+ # no size, colour, position or tolerance in metres. Any body that has these skills runs this file as it is; its numbers
3
+ # live in tuning/<body>.yaml. Asked for by the Stringman community (2026-11).
4
+ task: clean_the_room
5
+ source: {dataset: null, model: null, note: "the runnable form of worldpilot cards/home/clean_the_room: one kind of stray, one box. Sorting (toys -> box, clothes -> basket) and putting things back where they live are the next cards"}
6
+ lineage: {parent: "worldpilot:cards/home/clean_the_room.yaml", by: "Ethgar", why: "runnable on today's skills: one box, every stray"}
7
+ roles: [hand, head_camera]
8
+ objects:
9
+ stray: {kind: any, role: held, shape: any, movable: true, each: out_of_place}
10
+ toy_box: {kind: box, role: site, shape: open_container, movable: false}
11
+ parts:
12
+ toy_box.interior: {of: toy_box, part: interior}
13
+ toy_box.wall: {of: toy_box, part: wall}
14
+ stages:
15
+ - name: observe # the floor against the clean floor: what is new is what gets tidied
16
+ goals: [{see: [head_camera, stray]}, {see: [head_camera, toy_box]}]
17
+ - name: pre_grasp
18
+ goals: [{pre_grasp: [hand, stray]}]
19
+ avoid: [{avoid: [hand, toy_box]}]
20
+ - name: grasp
21
+ goals: [{grasp: [hand, stray]}]
22
+ - name: over_box # over the opening, then let go: it drops in
23
+ goals: [{pre_inside: [stray, toy_box.interior]}]
24
+ invariants: [{grasp: [hand, stray]}]
25
+ avoid: [{avoid: [stray, toy_box.wall]}]
26
+ - name: release
27
+ goals: [{release: [hand, stray]}]
28
+ fallbacks:
29
+ - {when: {broken: {see: [head_camera, stray]}}, go: observe}
30
+ - {when: {broken: {grasp: [hand, stray]}}, go: pre_grasp}
31
+ done: {inside: [stray, toy_box.interior]}
32
+ validation: {sim: "cablepilot run card.yaml --world bedroom"}
tasks/clean_the_room/media/2026-11-10_2ed39e20ae72_c1511f1b78dd_bedroom_s0.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e01188b421f536ada524d07c1469d5ba59d1d815f78bfce26989f9dee4e5f85d
3
+ size 7162310
tasks/clean_the_room/results/2026-11-10_2ed39e20ae72_c1511f1b78dd_bedroom_s0.json ADDED
@@ -0,0 +1,1186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "pilot-result/1",
3
+ "card": "clean_the_room",
4
+ "card_sha": "2ed39e20ae72",
5
+ "lineage": {
6
+ "parent": "worldpilot:cards/home/clean_the_room.yaml",
7
+ "by": "Ethgar",
8
+ "why": "runnable on today's skills: one box, every stray"
9
+ },
10
+ "tuning": "/home/edgarmoreau/Projects/pilothub/pilot-tasks/tasks/clean_the_room/tuning/cable.yaml",
11
+ "tuning_sha": "c1511f1b78dd",
12
+ "body": "cable",
13
+ "model": "learned stringman_g1.pt",
14
+ "world": "sim:bedroom",
15
+ "seed": 0,
16
+ "episodes": 3,
17
+ "score": {
18
+ "done": 29,
19
+ "of": 36,
20
+ "done_frac": 0.8055555555555556,
21
+ "s_per_item": 62.325925926072756,
22
+ "furniture_contact_ticks": 0,
23
+ "max_tension_N": 24.770697346564702
24
+ },
25
+ "compute": {
26
+ "plan_ms_mean": 49.00661432258048,
27
+ "plan_ms_p95": 51.280632347697974,
28
+ "perception_ms_mean": 8.871021099325944
29
+ },
30
+ "env": {
31
+ "python": "3.12.16",
32
+ "machine": "aarch64",
33
+ "torch": "2.15.0+cu132",
34
+ "numpy": "2.5.4",
35
+ "mujoco": "3.15.0",
36
+ "reference_sim": true
37
+ },
38
+ "binding": {
39
+ "held": [
40
+ "stray"
41
+ ],
42
+ "sites": {
43
+ "toy_box": "bin"
44
+ },
45
+ "notes": [
46
+ "site 'toy_box' (box) bound to this room's 'bin'"
47
+ ]
48
+ },
49
+ "skills": [
50
+ [
51
+ "observe",
52
+ "look"
53
+ ],
54
+ [
55
+ "pre_grasp",
56
+ "approach"
57
+ ],
58
+ [
59
+ "grasp",
60
+ "grasp"
61
+ ],
62
+ [
63
+ "over_box",
64
+ "carry_over"
65
+ ],
66
+ [
67
+ "release",
68
+ "release"
69
+ ]
70
+ ],
71
+ "unwatched": [],
72
+ "episodes_detail": [
73
+ {
74
+ "cubes": 12,
75
+ "binned": 9,
76
+ "left_on_floor": 2,
77
+ "picks_tried": 10,
78
+ "picks_done": 9,
79
+ "given_up": 1,
80
+ "close_attempts": 10,
81
+ "duration_s": 601.0000000014159,
82
+ "s_per_binned_cube": 66.7777777779351,
83
+ "pick_s_median": 59.79999999995937,
84
+ "plan_ms_mean": 49.127266390036915,
85
+ "plan_ms_p95": 51.280632347697974,
86
+ "perception_ms_mean": 8.842472826319863,
87
+ "max_tension_N": 23.99441396238035,
88
+ "furniture_contact_ticks": 0,
89
+ "overhead_render_ms": 1.2725957424316958,
90
+ "overhead_process_ms": 7.447850610867654,
91
+ "wall_s": 278.69918881000194,
92
+ "trace": [
93
+ {
94
+ "skill": "approach",
95
+ "from_tick": 0,
96
+ "ticks": 71
97
+ },
98
+ {
99
+ "skill": "grasp",
100
+ "from_tick": 71,
101
+ "ticks": 25
102
+ },
103
+ {
104
+ "skill": "carry_over",
105
+ "from_tick": 96,
106
+ "ticks": 88
107
+ },
108
+ {
109
+ "skill": "release",
110
+ "from_tick": 184,
111
+ "ticks": 16
112
+ },
113
+ {
114
+ "skill": "approach",
115
+ "from_tick": 200,
116
+ "ticks": 141
117
+ },
118
+ {
119
+ "skill": "grasp",
120
+ "from_tick": 341,
121
+ "ticks": 26
122
+ },
123
+ {
124
+ "skill": "carry_over",
125
+ "from_tick": 367,
126
+ "ticks": 70
127
+ },
128
+ {
129
+ "skill": "release",
130
+ "from_tick": 437,
131
+ "ticks": 15
132
+ },
133
+ {
134
+ "skill": "approach",
135
+ "from_tick": 452,
136
+ "ticks": 188
137
+ },
138
+ {
139
+ "skill": "grasp",
140
+ "from_tick": 640,
141
+ "ticks": 25
142
+ },
143
+ {
144
+ "skill": "carry_over",
145
+ "from_tick": 665,
146
+ "ticks": 77
147
+ },
148
+ {
149
+ "skill": "release",
150
+ "from_tick": 742,
151
+ "ticks": 17
152
+ },
153
+ {
154
+ "skill": "approach",
155
+ "from_tick": 759,
156
+ "ticks": 165
157
+ },
158
+ {
159
+ "skill": "grasp",
160
+ "from_tick": 924,
161
+ "ticks": 26
162
+ },
163
+ {
164
+ "skill": "carry_over",
165
+ "from_tick": 950,
166
+ "ticks": 82
167
+ },
168
+ {
169
+ "skill": "release",
170
+ "from_tick": 1032,
171
+ "ticks": 16
172
+ },
173
+ {
174
+ "skill": "approach",
175
+ "from_tick": 1048,
176
+ "ticks": 169
177
+ },
178
+ {
179
+ "skill": "grasp",
180
+ "from_tick": 1217,
181
+ "ticks": 25
182
+ },
183
+ {
184
+ "skill": "carry_over",
185
+ "from_tick": 1242,
186
+ "ticks": 89
187
+ },
188
+ {
189
+ "skill": "release",
190
+ "from_tick": 1331,
191
+ "ticks": 16
192
+ },
193
+ {
194
+ "skill": "approach",
195
+ "from_tick": 1347,
196
+ "ticks": 201
197
+ },
198
+ {
199
+ "skill": "grasp",
200
+ "from_tick": 1548,
201
+ "ticks": 25
202
+ },
203
+ {
204
+ "skill": "carry_over",
205
+ "from_tick": 1573,
206
+ "ticks": 85
207
+ },
208
+ {
209
+ "skill": "release",
210
+ "from_tick": 1658,
211
+ "ticks": 14
212
+ },
213
+ {
214
+ "skill": "approach",
215
+ "from_tick": 1672,
216
+ "ticks": 229
217
+ },
218
+ {
219
+ "skill": "grasp",
220
+ "from_tick": 1901,
221
+ "ticks": 24
222
+ },
223
+ {
224
+ "skill": "carry_over",
225
+ "from_tick": 1925,
226
+ "ticks": 88
227
+ },
228
+ {
229
+ "skill": "release",
230
+ "from_tick": 2013,
231
+ "ticks": 16
232
+ },
233
+ {
234
+ "skill": "approach",
235
+ "from_tick": 2029,
236
+ "ticks": 244
237
+ },
238
+ {
239
+ "skill": "grasp",
240
+ "from_tick": 2273,
241
+ "ticks": 25
242
+ },
243
+ {
244
+ "skill": "carry_over",
245
+ "from_tick": 2298,
246
+ "ticks": 92
247
+ },
248
+ {
249
+ "skill": "release",
250
+ "from_tick": 2390,
251
+ "ticks": 15
252
+ },
253
+ {
254
+ "skill": "approach",
255
+ "from_tick": 2405,
256
+ "ticks": 151
257
+ },
258
+ {
259
+ "skill": "grasp",
260
+ "from_tick": 2556,
261
+ "ticks": 25
262
+ },
263
+ {
264
+ "skill": "carry_over",
265
+ "from_tick": 2581,
266
+ "ticks": 88
267
+ },
268
+ {
269
+ "skill": "release",
270
+ "from_tick": 2669,
271
+ "ticks": 15
272
+ },
273
+ {
274
+ "skill": "approach",
275
+ "from_tick": 2684,
276
+ "ticks": 228
277
+ },
278
+ {
279
+ "skill": "grasp",
280
+ "from_tick": 2912,
281
+ "ticks": 24
282
+ },
283
+ {
284
+ "skill": "carry_over",
285
+ "from_tick": 2936,
286
+ "ticks": 64
287
+ }
288
+ ],
289
+ "picks": [
290
+ {
291
+ "t0": 0.0,
292
+ "done": 1.0,
293
+ "duration_s": 39.99999999999931,
294
+ "events": [
295
+ "wrist camera sees it (36 cm off)",
296
+ "in the pads (xy 6 mm, z +4 mm, swing 1.9 deg/s)",
297
+ "holding (closure 0.67, pads 4.4 N)",
298
+ "lifted while holding",
299
+ "over the bin (55 mm off, swing 2.3 deg/s)",
300
+ "released",
301
+ "backed off"
302
+ ]
303
+ },
304
+ {
305
+ "t0": 39.99999999999931,
306
+ "done": 1.0,
307
+ "duration_s": 50.40000000001985,
308
+ "events": [
309
+ "wrist camera sees it (133 cm off)",
310
+ "in the pads (xy 4 mm, z +7 mm, swing 0.9 deg/s)",
311
+ "holding (closure 0.78, pads 5.6 N)",
312
+ "lifted while holding",
313
+ "over the bin (29 mm off, swing 1.8 deg/s)",
314
+ "released",
315
+ "backed off"
316
+ ]
317
+ },
318
+ {
319
+ "t0": 90.40000000001916,
320
+ "done": 1.0,
321
+ "duration_s": 61.399999999988694,
322
+ "events": [
323
+ "wrist camera sees it (181 cm off)",
324
+ "in the pads (xy 3 mm, z +7 mm, swing 1.2 deg/s)",
325
+ "holding (closure 0.79, pads 5.7 N)",
326
+ "lifted while holding",
327
+ "over the bin (59 mm off, swing 1.6 deg/s)",
328
+ "released",
329
+ "backed off"
330
+ ]
331
+ },
332
+ {
333
+ "t0": 151.80000000000786,
334
+ "done": 1.0,
335
+ "duration_s": 57.79999999986529,
336
+ "events": [
337
+ "wrist camera sees it (194 cm off)",
338
+ "in the pads (xy 13 mm, z -1 mm, swing 1.7 deg/s)",
339
+ "holding (closure 0.81, pads 5.1 N)",
340
+ "lifted while holding",
341
+ "over the bin (35 mm off, swing 1.6 deg/s)",
342
+ "released",
343
+ "backed off"
344
+ ]
345
+ },
346
+ {
347
+ "t0": 209.59999999987315,
348
+ "done": 1.0,
349
+ "duration_s": 59.79999999995937,
350
+ "events": [
351
+ "wrist camera sees it (270 cm off)",
352
+ "in the pads (xy 3 mm, z +6 mm, swing 2.1 deg/s)",
353
+ "holding (closure 0.82, pads 4.7 N)",
354
+ "lifted while holding",
355
+ "over the bin (43 mm off, swing 3.6 deg/s)",
356
+ "released",
357
+ "backed off"
358
+ ]
359
+ },
360
+ {
361
+ "t0": 269.3999999998325,
362
+ "done": 1.0,
363
+ "duration_s": 65.00000000031037,
364
+ "events": [
365
+ "wrist camera sees it (313 cm off)",
366
+ "in the pads (xy 8 mm, z +7 mm, swing 1.9 deg/s)",
367
+ "holding (closure 0.84, pads 4.2 N)",
368
+ "lifted while holding",
369
+ "over the bin (54 mm off, swing 2.6 deg/s)",
370
+ "released",
371
+ "backed off"
372
+ ]
373
+ },
374
+ {
375
+ "t0": 334.4000000001429,
376
+ "done": 1.0,
377
+ "duration_s": 71.40000000034092,
378
+ "events": [
379
+ "wrist camera sees it (336 cm off)",
380
+ "in the pads (xy 6 mm, z +3 mm, swing 2.1 deg/s)",
381
+ "holding (closure 0.78, pads 6.1 N)",
382
+ "lifted while holding",
383
+ "over the bin (55 mm off, swing 2.1 deg/s)",
384
+ "released",
385
+ "backed off"
386
+ ]
387
+ },
388
+ {
389
+ "t0": 405.8000000004838,
390
+ "done": 1.0,
391
+ "duration_s": 75.20000000035907,
392
+ "events": [
393
+ "wrist camera sees it (339 cm off)",
394
+ "in the pads (xy 7 mm, z +7 mm, swing 0.7 deg/s)",
395
+ "holding (closure 0.79, pads 5.6 N)",
396
+ "lifted while holding",
397
+ "over the bin (42 mm off, swing 1.0 deg/s)",
398
+ "released",
399
+ "backed off"
400
+ ]
401
+ },
402
+ {
403
+ "t0": 481.0000000008429,
404
+ "done": 1.0,
405
+ "duration_s": 55.80000000026644,
406
+ "events": [
407
+ "wrist camera sees it (340 cm off)",
408
+ "in the pads (xy 10 mm, z +4 mm, swing 1.9 deg/s)",
409
+ "holding (closure 0.79, pads 6.3 N)",
410
+ "lifted while holding",
411
+ "over the bin (57 mm off, swing 3.3 deg/s)",
412
+ "released",
413
+ "backed off"
414
+ ]
415
+ },
416
+ {
417
+ "t0": 536.8000000011093,
418
+ "done": 0.0,
419
+ "duration_s": 63.20000000030177,
420
+ "events": [
421
+ "wrist camera sees it (382 cm off)",
422
+ "in the pads (xy 12 mm, z -7 mm, swing 0.9 deg/s)",
423
+ "holding (closure 0.81, pads 5.5 N)",
424
+ "lifted while holding"
425
+ ]
426
+ }
427
+ ]
428
+ },
429
+ {
430
+ "cubes": 12,
431
+ "binned": 10,
432
+ "left_on_floor": 2,
433
+ "picks_tried": 11,
434
+ "picks_done": 10,
435
+ "given_up": 1,
436
+ "close_attempts": 10,
437
+ "duration_s": 601.0000000014159,
438
+ "s_per_binned_cube": 60.100000000141584,
439
+ "pick_s_median": 59.99999999999817,
440
+ "plan_ms_mean": 48.99651943567733,
441
+ "plan_ms_p95": 51.00614914808829,
442
+ "perception_ms_mean": 8.854818987677087,
443
+ "max_tension_N": 23.20124564055368,
444
+ "furniture_contact_ticks": 0,
445
+ "overhead_render_ms": 1.282132025293461,
446
+ "overhead_process_ms": 7.448448069727265,
447
+ "wall_s": 279.8691637939992,
448
+ "trace": [
449
+ {
450
+ "skill": "approach",
451
+ "from_tick": 0,
452
+ "ticks": 64
453
+ },
454
+ {
455
+ "skill": "grasp",
456
+ "from_tick": 64,
457
+ "ticks": 26
458
+ },
459
+ {
460
+ "skill": "carry_over",
461
+ "from_tick": 90,
462
+ "ticks": 57
463
+ },
464
+ {
465
+ "skill": "release",
466
+ "from_tick": 147,
467
+ "ticks": 16
468
+ },
469
+ {
470
+ "skill": "approach",
471
+ "from_tick": 163,
472
+ "ticks": 87
473
+ },
474
+ {
475
+ "skill": "grasp",
476
+ "from_tick": 250,
477
+ "ticks": 25
478
+ },
479
+ {
480
+ "skill": "carry_over",
481
+ "from_tick": 275,
482
+ "ticks": 53
483
+ },
484
+ {
485
+ "skill": "release",
486
+ "from_tick": 328,
487
+ "ticks": 16
488
+ },
489
+ {
490
+ "skill": "approach",
491
+ "from_tick": 344,
492
+ "ticks": 135
493
+ },
494
+ {
495
+ "skill": "grasp",
496
+ "from_tick": 479,
497
+ "ticks": 26
498
+ },
499
+ {
500
+ "skill": "carry_over",
501
+ "from_tick": 505,
502
+ "ticks": 72
503
+ },
504
+ {
505
+ "skill": "release",
506
+ "from_tick": 577,
507
+ "ticks": 15
508
+ },
509
+ {
510
+ "skill": "approach",
511
+ "from_tick": 592,
512
+ "ticks": 210
513
+ },
514
+ {
515
+ "skill": "grasp",
516
+ "from_tick": 802,
517
+ "ticks": 27
518
+ },
519
+ {
520
+ "skill": "carry_over",
521
+ "from_tick": 829,
522
+ "ticks": 78
523
+ },
524
+ {
525
+ "skill": "release",
526
+ "from_tick": 907,
527
+ "ticks": 14
528
+ },
529
+ {
530
+ "skill": "approach",
531
+ "from_tick": 921,
532
+ "ticks": 133
533
+ },
534
+ {
535
+ "skill": "grasp",
536
+ "from_tick": 1054,
537
+ "ticks": 26
538
+ },
539
+ {
540
+ "skill": "carry_over",
541
+ "from_tick": 1080,
542
+ "ticks": 81
543
+ },
544
+ {
545
+ "skill": "release",
546
+ "from_tick": 1161,
547
+ "ticks": 17
548
+ },
549
+ {
550
+ "skill": "approach",
551
+ "from_tick": 1178,
552
+ "ticks": 145
553
+ },
554
+ {
555
+ "skill": "grasp",
556
+ "from_tick": 1323,
557
+ "ticks": 25
558
+ },
559
+ {
560
+ "skill": "carry_over",
561
+ "from_tick": 1348,
562
+ "ticks": 84
563
+ },
564
+ {
565
+ "skill": "release",
566
+ "from_tick": 1432,
567
+ "ticks": 17
568
+ },
569
+ {
570
+ "skill": "approach",
571
+ "from_tick": 1449,
572
+ "ticks": 215
573
+ },
574
+ {
575
+ "skill": "grasp",
576
+ "from_tick": 1664,
577
+ "ticks": 26
578
+ },
579
+ {
580
+ "skill": "carry_over",
581
+ "from_tick": 1690,
582
+ "ticks": 96
583
+ },
584
+ {
585
+ "skill": "release",
586
+ "from_tick": 1786,
587
+ "ticks": 16
588
+ },
589
+ {
590
+ "skill": "approach",
591
+ "from_tick": 1802,
592
+ "ticks": 258
593
+ },
594
+ {
595
+ "skill": "grasp",
596
+ "from_tick": 2060,
597
+ "ticks": 25
598
+ },
599
+ {
600
+ "skill": "carry_over",
601
+ "from_tick": 2085,
602
+ "ticks": 86
603
+ },
604
+ {
605
+ "skill": "release",
606
+ "from_tick": 2171,
607
+ "ticks": 15
608
+ },
609
+ {
610
+ "skill": "approach",
611
+ "from_tick": 2186,
612
+ "ticks": 221
613
+ },
614
+ {
615
+ "skill": "grasp",
616
+ "from_tick": 2407,
617
+ "ticks": 27
618
+ },
619
+ {
620
+ "skill": "carry_over",
621
+ "from_tick": 2434,
622
+ "ticks": 96
623
+ },
624
+ {
625
+ "skill": "release",
626
+ "from_tick": 2530,
627
+ "ticks": 16
628
+ },
629
+ {
630
+ "skill": "approach",
631
+ "from_tick": 2546,
632
+ "ticks": 195
633
+ },
634
+ {
635
+ "skill": "grasp",
636
+ "from_tick": 2741,
637
+ "ticks": 26
638
+ },
639
+ {
640
+ "skill": "carry_over",
641
+ "from_tick": 2767,
642
+ "ticks": 99
643
+ },
644
+ {
645
+ "skill": "release",
646
+ "from_tick": 2866,
647
+ "ticks": 15
648
+ },
649
+ {
650
+ "skill": "approach",
651
+ "from_tick": 2881,
652
+ "ticks": 119
653
+ }
654
+ ],
655
+ "picks": [
656
+ {
657
+ "t0": 0.0,
658
+ "done": 1.0,
659
+ "duration_s": 32.60000000000341,
660
+ "events": [
661
+ "wrist camera sees it (54 cm off)",
662
+ "in the pads (xy 3 mm, z -8 mm, swing 1.3 deg/s)",
663
+ "holding (closure 0.78, pads 5.5 N)",
664
+ "lifted while holding",
665
+ "over the bin (45 mm off, swing 2.8 deg/s)",
666
+ "released",
667
+ "backed off"
668
+ ]
669
+ },
670
+ {
671
+ "t0": 32.60000000000341,
672
+ "done": 1.0,
673
+ "duration_s": 36.19999999998935,
674
+ "events": [
675
+ "wrist camera sees it (79 cm off)",
676
+ "in the pads (xy 13 mm, z +3 mm, swing 2.2 deg/s)",
677
+ "holding (closure 0.80, pads 5.2 N)",
678
+ "lifted while holding",
679
+ "over the bin (30 mm off, swing 1.5 deg/s)",
680
+ "released",
681
+ "backed off"
682
+ ]
683
+ },
684
+ {
685
+ "t0": 68.79999999999276,
686
+ "done": 1.0,
687
+ "duration_s": 49.60000000006062,
688
+ "events": [
689
+ "wrist camera sees it (167 cm off)",
690
+ "in the pads (xy 10 mm, z -4 mm, swing 0.8 deg/s)",
691
+ "holding (closure 0.76, pads 6.5 N)",
692
+ "lifted while holding",
693
+ "over the bin (45 mm off, swing 2.1 deg/s)",
694
+ "released",
695
+ "backed off"
696
+ ]
697
+ },
698
+ {
699
+ "t0": 118.40000000005338,
700
+ "done": 1.0,
701
+ "duration_s": 65.79999999987896,
702
+ "events": [
703
+ "wrist camera sees it (186 cm off)",
704
+ "in the pads (xy 6 mm, z -2 mm, swing 1.9 deg/s)",
705
+ "holding (closure 0.78, pads 5.8 N)",
706
+ "lifted while holding",
707
+ "over the bin (59 mm off, swing 3.9 deg/s)",
708
+ "released",
709
+ "backed off"
710
+ ]
711
+ },
712
+ {
713
+ "t0": 184.19999999993234,
714
+ "done": 1.0,
715
+ "duration_s": 51.39999999988021,
716
+ "events": [
717
+ "wrist camera sees it (184 cm off)",
718
+ "in the pads (xy 15 mm, z +3 mm, swing 0.6 deg/s)",
719
+ "holding (closure 0.80, pads 6.1 N)",
720
+ "lifted while holding",
721
+ "over the bin (39 mm off, swing 2.6 deg/s)",
722
+ "released",
723
+ "backed off"
724
+ ]
725
+ },
726
+ {
727
+ "t0": 235.59999999981255,
728
+ "done": 1.0,
729
+ "duration_s": 54.20000000011737,
730
+ "events": [
731
+ "wrist camera sees it (298 cm off)",
732
+ "in the pads (xy 9 mm, z -2 mm, swing 0.2 deg/s)",
733
+ "holding (closure 0.82, pads 5.3 N)",
734
+ "lifted while holding",
735
+ "over the bin (46 mm off, swing 3.2 deg/s)",
736
+ "released",
737
+ "backed off"
738
+ ]
739
+ },
740
+ {
741
+ "t0": 289.7999999999299,
742
+ "done": 1.0,
743
+ "duration_s": 70.6000000003371,
744
+ "events": [
745
+ "wrist camera sees it (305 cm off)",
746
+ "in the pads (xy 4 mm, z +4 mm, swing 1.2 deg/s)",
747
+ "holding (closure 0.85, pads 4.3 N)",
748
+ "lifted while holding",
749
+ "over the bin (41 mm off, swing 2.3 deg/s)",
750
+ "released",
751
+ "backed off"
752
+ ]
753
+ },
754
+ {
755
+ "t0": 360.400000000267,
756
+ "done": 1.0,
757
+ "duration_s": 76.80000000036671,
758
+ "events": [
759
+ "wrist camera sees it (324 cm off)",
760
+ "in the pads (xy 5 mm, z +8 mm, swing 1.7 deg/s)",
761
+ "holding (closure 0.86, pads 4.3 N)",
762
+ "lifted while holding",
763
+ "over the bin (60 mm off, swing 2.4 deg/s)",
764
+ "released",
765
+ "backed off"
766
+ ]
767
+ },
768
+ {
769
+ "t0": 437.20000000063374,
770
+ "done": 1.0,
771
+ "duration_s": 72.00000000034379,
772
+ "events": [
773
+ "wrist camera sees it (385 cm off)",
774
+ "in the pads (xy 4 mm, z +5 mm, swing 2.3 deg/s)",
775
+ "holding (closure 0.82, pads 4.8 N)",
776
+ "lifted while holding",
777
+ "over the bin (28 mm off, swing 0.4 deg/s)",
778
+ "released",
779
+ "backed off"
780
+ ]
781
+ },
782
+ {
783
+ "t0": 509.2000000009775,
784
+ "done": 1.0,
785
+ "duration_s": 67.00000000031991,
786
+ "events": [
787
+ "wrist camera sees it (400 cm off)",
788
+ "in the pads (xy 6 mm, z +6 mm, swing 0.5 deg/s)",
789
+ "holding (closure 0.82, pads 4.7 N)",
790
+ "lifted while holding",
791
+ "over the bin (45 mm off, swing 1.7 deg/s)",
792
+ "released",
793
+ "backed off"
794
+ ]
795
+ },
796
+ {
797
+ "t0": 576.2000000012974,
798
+ "done": 0.0,
799
+ "duration_s": 23.80000000011364,
800
+ "events": [
801
+ "wrist camera sees it (412 cm off)"
802
+ ]
803
+ }
804
+ ]
805
+ },
806
+ {
807
+ "cubes": 12,
808
+ "binned": 10,
809
+ "left_on_floor": 2,
810
+ "picks_tried": 11,
811
+ "picks_done": 10,
812
+ "given_up": 1,
813
+ "close_attempts": 10,
814
+ "duration_s": 601.0000000014159,
815
+ "s_per_binned_cube": 60.100000000141584,
816
+ "pick_s_median": 66.20000000017167,
817
+ "plan_ms_mean": 48.896057142027225,
818
+ "plan_ms_p95": 51.082053801110305,
819
+ "perception_ms_mean": 8.915771483980885,
820
+ "max_tension_N": 24.770697346564702,
821
+ "furniture_contact_ticks": 0,
822
+ "overhead_render_ms": 1.2970665960300574,
823
+ "overhead_process_ms": 7.494821244843455,
824
+ "wall_s": 279.72808537400124,
825
+ "trace": [
826
+ {
827
+ "skill": "approach",
828
+ "from_tick": 0,
829
+ "ticks": 70
830
+ },
831
+ {
832
+ "skill": "grasp",
833
+ "from_tick": 70,
834
+ "ticks": 26
835
+ },
836
+ {
837
+ "skill": "carry_over",
838
+ "from_tick": 96,
839
+ "ticks": 58
840
+ },
841
+ {
842
+ "skill": "release",
843
+ "from_tick": 154,
844
+ "ticks": 16
845
+ },
846
+ {
847
+ "skill": "approach",
848
+ "from_tick": 170,
849
+ "ticks": 96
850
+ },
851
+ {
852
+ "skill": "grasp",
853
+ "from_tick": 266,
854
+ "ticks": 27
855
+ },
856
+ {
857
+ "skill": "carry_over",
858
+ "from_tick": 293,
859
+ "ticks": 68
860
+ },
861
+ {
862
+ "skill": "release",
863
+ "from_tick": 361,
864
+ "ticks": 15
865
+ },
866
+ {
867
+ "skill": "approach",
868
+ "from_tick": 376,
869
+ "ticks": 207
870
+ },
871
+ {
872
+ "skill": "grasp",
873
+ "from_tick": 583,
874
+ "ticks": 25
875
+ },
876
+ {
877
+ "skill": "carry_over",
878
+ "from_tick": 608,
879
+ "ticks": 85
880
+ },
881
+ {
882
+ "skill": "release",
883
+ "from_tick": 693,
884
+ "ticks": 17
885
+ },
886
+ {
887
+ "skill": "approach",
888
+ "from_tick": 710,
889
+ "ticks": 110
890
+ },
891
+ {
892
+ "skill": "grasp",
893
+ "from_tick": 820,
894
+ "ticks": 26
895
+ },
896
+ {
897
+ "skill": "carry_over",
898
+ "from_tick": 846,
899
+ "ticks": 95
900
+ },
901
+ {
902
+ "skill": "release",
903
+ "from_tick": 941,
904
+ "ticks": 17
905
+ },
906
+ {
907
+ "skill": "approach",
908
+ "from_tick": 958,
909
+ "ticks": 152
910
+ },
911
+ {
912
+ "skill": "grasp",
913
+ "from_tick": 1110,
914
+ "ticks": 25
915
+ },
916
+ {
917
+ "skill": "carry_over",
918
+ "from_tick": 1135,
919
+ "ticks": 85
920
+ },
921
+ {
922
+ "skill": "release",
923
+ "from_tick": 1220,
924
+ "ticks": 16
925
+ },
926
+ {
927
+ "skill": "approach",
928
+ "from_tick": 1236,
929
+ "ticks": 220
930
+ },
931
+ {
932
+ "skill": "grasp",
933
+ "from_tick": 1456,
934
+ "ticks": 23
935
+ },
936
+ {
937
+ "skill": "carry_over",
938
+ "from_tick": 1479,
939
+ "ticks": 85
940
+ },
941
+ {
942
+ "skill": "release",
943
+ "from_tick": 1564,
944
+ "ticks": 16
945
+ },
946
+ {
947
+ "skill": "approach",
948
+ "from_tick": 1580,
949
+ "ticks": 198
950
+ },
951
+ {
952
+ "skill": "grasp",
953
+ "from_tick": 1778,
954
+ "ticks": 24
955
+ },
956
+ {
957
+ "skill": "carry_over",
958
+ "from_tick": 1802,
959
+ "ticks": 89
960
+ },
961
+ {
962
+ "skill": "release",
963
+ "from_tick": 1891,
964
+ "ticks": 17
965
+ },
966
+ {
967
+ "skill": "approach",
968
+ "from_tick": 1908,
969
+ "ticks": 222
970
+ },
971
+ {
972
+ "skill": "grasp",
973
+ "from_tick": 2130,
974
+ "ticks": 25
975
+ },
976
+ {
977
+ "skill": "carry_over",
978
+ "from_tick": 2155,
979
+ "ticks": 93
980
+ },
981
+ {
982
+ "skill": "release",
983
+ "from_tick": 2248,
984
+ "ticks": 16
985
+ },
986
+ {
987
+ "skill": "approach",
988
+ "from_tick": 2264,
989
+ "ticks": 216
990
+ },
991
+ {
992
+ "skill": "grasp",
993
+ "from_tick": 2480,
994
+ "ticks": 24
995
+ },
996
+ {
997
+ "skill": "carry_over",
998
+ "from_tick": 2504,
999
+ "ticks": 94
1000
+ },
1001
+ {
1002
+ "skill": "release",
1003
+ "from_tick": 2598,
1004
+ "ticks": 16
1005
+ },
1006
+ {
1007
+ "skill": "approach",
1008
+ "from_tick": 2614,
1009
+ "ticks": 214
1010
+ },
1011
+ {
1012
+ "skill": "grasp",
1013
+ "from_tick": 2828,
1014
+ "ticks": 25
1015
+ },
1016
+ {
1017
+ "skill": "carry_over",
1018
+ "from_tick": 2853,
1019
+ "ticks": 96
1020
+ },
1021
+ {
1022
+ "skill": "release",
1023
+ "from_tick": 2949,
1024
+ "ticks": 15
1025
+ },
1026
+ {
1027
+ "skill": "approach",
1028
+ "from_tick": 2964,
1029
+ "ticks": 36
1030
+ }
1031
+ ],
1032
+ "picks": [
1033
+ {
1034
+ "t0": 0.0,
1035
+ "done": 1.0,
1036
+ "duration_s": 34.000000000002636,
1037
+ "events": [
1038
+ "wrist camera sees it (31 cm off)",
1039
+ "in the pads (xy 11 mm, z +5 mm, swing 2.9 deg/s)",
1040
+ "holding (closure 0.78, pads 6.5 N)",
1041
+ "lifted while holding",
1042
+ "over the bin (41 mm off, swing 1.8 deg/s)",
1043
+ "released",
1044
+ "backed off"
1045
+ ]
1046
+ },
1047
+ {
1048
+ "t0": 34.000000000002636,
1049
+ "done": 1.0,
1050
+ "duration_s": 41.19999999999795,
1051
+ "events": [
1052
+ "wrist camera sees it (154 cm off)",
1053
+ "in the pads (xy 13 mm, z +6 mm, swing 2.5 deg/s)",
1054
+ "holding (closure 0.78, pads 6.5 N)",
1055
+ "lifted while holding",
1056
+ "over the bin (37 mm off, swing 2.2 deg/s)",
1057
+ "released",
1058
+ "backed off"
1059
+ ]
1060
+ },
1061
+ {
1062
+ "t0": 75.20000000000059,
1063
+ "done": 1.0,
1064
+ "duration_s": 66.80000000003011,
1065
+ "events": [
1066
+ "wrist camera sees it (230 cm off)",
1067
+ "in the pads (xy 4 mm, z +6 mm, swing 2.3 deg/s)",
1068
+ "holding (closure 0.82, pads 5.3 N)",
1069
+ "lifted while holding",
1070
+ "over the bin (57 mm off, swing 0.8 deg/s)",
1071
+ "released",
1072
+ "backed off"
1073
+ ]
1074
+ },
1075
+ {
1076
+ "t0": 142.0000000000307,
1077
+ "done": 1.0,
1078
+ "duration_s": 49.5999999998844,
1079
+ "events": [
1080
+ "wrist camera sees it (239 cm off)",
1081
+ "in the pads (xy 3 mm, z -0 mm, swing 0.7 deg/s)",
1082
+ "holding (closure 0.78, pads 8.3 N)",
1083
+ "lifted while holding",
1084
+ "over the bin (42 mm off, swing 3.1 deg/s)",
1085
+ "released",
1086
+ "backed off"
1087
+ ]
1088
+ },
1089
+ {
1090
+ "t0": 191.5999999999151,
1091
+ "done": 1.0,
1092
+ "duration_s": 55.59999999987042,
1093
+ "events": [
1094
+ "wrist camera sees it (259 cm off)",
1095
+ "in the pads (xy 11 mm, z +7 mm, swing 1.2 deg/s)",
1096
+ "holding (closure 0.77, pads 6.3 N)",
1097
+ "lifted while holding",
1098
+ "over the bin (29 mm off, swing 2.1 deg/s)",
1099
+ "released",
1100
+ "backed off"
1101
+ ]
1102
+ },
1103
+ {
1104
+ "t0": 247.19999999978552,
1105
+ "done": 1.0,
1106
+ "duration_s": 68.8000000002695,
1107
+ "events": [
1108
+ "wrist camera sees it (275 cm off)",
1109
+ "in the pads (xy 10 mm, z +7 mm, swing 1.4 deg/s)",
1110
+ "holding (closure 0.82, pads 4.6 N)",
1111
+ "lifted while holding",
1112
+ "over the bin (37 mm off, swing 3.5 deg/s)",
1113
+ "released",
1114
+ "backed off"
1115
+ ]
1116
+ },
1117
+ {
1118
+ "t0": 316.000000000055,
1119
+ "done": 1.0,
1120
+ "duration_s": 65.60000000031323,
1121
+ "events": [
1122
+ "wrist camera sees it (339 cm off)",
1123
+ "in the pads (xy 3 mm, z +4 mm, swing 1.2 deg/s)",
1124
+ "holding (closure 0.76, pads 6.1 N)",
1125
+ "lifted while holding",
1126
+ "over the bin (60 mm off, swing 3.1 deg/s)",
1127
+ "released",
1128
+ "backed off"
1129
+ ]
1130
+ },
1131
+ {
1132
+ "t0": 381.60000000036825,
1133
+ "done": 1.0,
1134
+ "duration_s": 71.20000000033997,
1135
+ "events": [
1136
+ "wrist camera sees it (364 cm off)",
1137
+ "in the pads (xy 6 mm, z +6 mm, swing 1.5 deg/s)",
1138
+ "holding (closure 0.85, pads 4.9 N)",
1139
+ "lifted while holding",
1140
+ "over the bin (59 mm off, swing 2.9 deg/s)",
1141
+ "released",
1142
+ "backed off"
1143
+ ]
1144
+ },
1145
+ {
1146
+ "t0": 452.8000000007082,
1147
+ "done": 1.0,
1148
+ "duration_s": 70.00000000033424,
1149
+ "events": [
1150
+ "wrist camera sees it (370 cm off)",
1151
+ "in the pads (xy 6 mm, z +5 mm, swing 0.7 deg/s)",
1152
+ "holding (closure 0.80, pads 9.6 N)",
1153
+ "lifted while holding",
1154
+ "over the bin (44 mm off, swing 2.2 deg/s)",
1155
+ "released",
1156
+ "backed off"
1157
+ ]
1158
+ },
1159
+ {
1160
+ "t0": 522.8000000010425,
1161
+ "done": 1.0,
1162
+ "duration_s": 70.00000000033424,
1163
+ "events": [
1164
+ "wrist camera sees it (384 cm off)",
1165
+ "in the pads (xy 14 mm, z +5 mm, swing 0.7 deg/s)",
1166
+ "holding (closure 0.81, pads 4.6 N)",
1167
+ "lifted while holding",
1168
+ "over the bin (54 mm off, swing 2.1 deg/s)",
1169
+ "released",
1170
+ "backed off"
1171
+ ]
1172
+ },
1173
+ {
1174
+ "t0": 592.8000000013767,
1175
+ "done": 0.0,
1176
+ "duration_s": 7.200000000034379,
1177
+ "events": [
1178
+ "wrist camera sees it (185 cm off)"
1179
+ ]
1180
+ }
1181
+ ]
1182
+ }
1183
+ ],
1184
+ "by": "Ethgar",
1185
+ "date": "2026-11-10T17:57:24+00:00"
1186
+ }
tasks/clean_the_room/tuning/cable.yaml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # The cable body's numbers for clean_the_room: merged over cablepilot configs/tasks/clear_floor.yaml (only what is
2
+ # listed here changes). These are the values of the first scored run (Ethgar, sim bedroom 29/36 over 3 episodes, 2026-11-10).
3
+ # To improve: copy this file, change a few numbers, `cablepilot run ../card.yaml --tuning <yours>`, submit the result.
4
+ # Every key, what it does and its unit: cablepilot/configs/tasks/pick_place.yaml (commented).
5
+ lineage: {parent: null, by: Ethgar, why: "cablepilot defaults, milestone M2 (sim, real naavox rooms)"}
6
+ params:
7
+ weights: {xy: 4.0, z: 4.0, wrist: 20.0, see: 0.0, lift: 4.0, swing: 0.05, swing_carry: 0.3,
8
+ tension: 5.0, walls: 5.0, floor: 5.0, furniture: 5.0, lines: 5.0}
9
+ funnel: {k_xy: 3.0, dead_xy_m: 0.008, k_align: 0.4, k_swing: 0.5, k_sigma: 4.0,
10
+ dead_sigma_m: 0.006, h_max_m: 0.35}
11
+ carry: {k_xy: 0.6, dead_xy_m: 0.02, h_max_m: 0.5}
12
+ close_tol: {xy_m: 0.015, z_m: 0.008, align_deg: 12.0, swing_dps: 4.0, speed_mps: 0.03}
13
+ observe_height_m: 0.45
14
+ lift_height_m: 0.25
15
+ release_above_rim_m: 0.05
16
+ wall_margin_m: 0.25
17
+ tension_frac: 0.8
tasks/pen_in_cup/card.yaml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Pen in the cup, as a card (docs/video_to_costs.html, section 3). The common sense of the task and nothing else:
2
+ # no length, radius, colour, position or tolerance in metres. The eyes bind pen and cup to map entries and fill
3
+ # their sizes at run; the servos fill the pinch, the slip and the miss. Written by hand on 2026-10-19 to check the
4
+ # schema and the viewer; the extractor must write this same file from a video (empty diff) later.
5
+ task: pen_in_cup
6
+ source: {dataset: hand-written, model: null, note: "the hand-written cup3d task read as a card; replaced by the extractor's output when it matches"}
7
+ roles: [hand, head_camera]
8
+ objects:
9
+ pen: {kind: pen, role: held, shape: long_thin, movable: true}
10
+ cup: {kind: cup, role: site, shape: open_container, movable: false}
11
+ parts:
12
+ pen.tip: {of: pen, part: end, note: "either end; the lower one when it goes in"}
13
+ cup.opening: {of: cup, part: top_opening}
14
+ cup.interior: {of: cup, part: interior}
15
+ cup.wall: {of: cup, part: wall}
16
+ stages:
17
+ - name: observe # the eyes must have both things before the hand moves on them: the arm
18
+ goals: [{see: [head_camera, pen]}, {see: [head_camera, cup]}] # gets out of the head's way until they are seen
19
+ - name: pre_grasp
20
+ goals: [{pre_grasp: [hand, pen]}]
21
+ avoid: [{avoid: [hand, cup]}]
22
+ - name: grasp
23
+ goals: [{grasp: [hand, pen]}]
24
+ avoid: [{avoid: [hand, cup]}]
25
+ - name: pre_inside # over the opening, upright enough that it falls in: then let go (no lowering,
26
+ goals: [{pre_inside: [pen.tip, cup.interior]}] # no hovering: the drop is the efficient way in)
27
+ invariants: [{grasp: [hand, pen]}, {aligned: [pen, up]}]
28
+ avoid: [{avoid: [pen, cup.wall]}, {avoid: [hand, cup]}]
29
+ - name: release
30
+ goals: [{release: [hand, pen]}]
31
+ fallbacks:
32
+ - {when: {broken: {see: [head_camera, pen]}}, go: observe} # lost it before the grasp: look again
33
+ - {when: {broken: {grasp: [hand, pen]}}, go: pre_grasp}
34
+ - {when: {broken: {aligned: [pen, up]}}, go: pre_inside}
35
+ done: {inside: [pen.tip, cup.interior]}
36
+ validation: {sim: null}