Commit History
-
Raw sidecar displays as the physical element array: tip + pad, each 3x2 Running
Unverified signatureTeardown of the DP-S2015 fingertip found the true sensing layout behind the 52-taxel SDK output: two magnets, one at the fingertip and one at the finger pad, each read by a 3x2 array of 3-axis magnetic sensors — the sidecar's 12 elements. The raw layer no longer borrows the 52-taxel picture: next to the mean/peak chart, each slot now renders a 6x2 grid (tip block above pad block, finger axis vertical), cell intensity |d| vs the session baseline at the playhead, per-axis counts in the tooltip. Color scale is the window's 99th-percentile peak. Element-to-cell order (e0-e5 tip, e6-e11 pad, row-major) is an assumed mapping until verified against the board schematic; the panel says so and elementCell() is the single place to flip it. parseSidecarWindow now keeps per-element deviations (Float32, ~9 MB per slot for a full episode) alongside the aggregates, and sidecar discovery also accepts the current recorder's flat raw/session_*/ layout next to board_raw/live_raw. Co-Authored-By: Claude…6ed12e8
-
Wrist camera as a second opinion where the top view is blind
Unverified signatureThe scorer used only the top camera: in-bowl is a positional judgment and only the top view has a fixed frame. But the gripper-mounted wrist camera looks straight at the fingers, which is exactly where the top view loses the ball at the end (the arm parks over it). In the 'carried, but not visible at the end' review branch the top view has already ruled the ball outside the final bowl circle, so a large red component at the fingers in the last 2 s of the wrist video proves the ball was never released into the bowl: the review becomes a scored failure. Positive evidence only; no red at the fingers keeps the episode with a person, and the wrist never awards a success. Calibrated on rollout_eval_A_71ep wrist frames: ball-at-gripper components measure 288-3966 px at 320-wide, the robot's fixed red fleck never exceeds ~20 px (threshold 150 px, lower 40% of the frame). Auto-resolves 5 of the 7 end-not-visible review episodes (21, 29, 30, 32, 33), all failures per the offline tracker. Co-Au…a3397b3 -
Scorer honesty round: visibility, carry evidence, review routing
Unverified signatureAnswers the false-success bug report (15/20 S5 with 'never lifted'): - frameFeatures keeps only the largest 4-connected red component, so a stray red marker can no longer drag the centroid when the ball is occluded; ballSpread (rms) gates compactness - visibility instrument: a detection under max(10, 0.15 x fullArea) px or too diffuse counts as not-visible; fullArea = median of the top-8 detections so mostly-occluded episodes don't collapse the reference - S5 now requires carry evidence: lifted OR occluded-carry (>=8 not-visible samples between visible bookends with the gripper actuated), plus endInBowl against the FINAL bowl circle, plus the ball visible at the end - rubric ladder with needsReview routing: ends-in-bowl-without-carry, carried-but-not-visible-at-end, end-not-visible-under-occlusion, and bowl-moved (>0.75r) -> F7 all go to human review instead of being committed as scores - batch evaluate skips needsReview episodes (never commits them) and lists th…050ec7d -
Scorer: success is judged against where the bowl ENDS
Unverified signatureThe bowl was Hough'd once, on the first frame, so an episode where the gripper dragged bowl and ball together and squeezed the ball onto the bowl's ORIGINAL spot read as S5 (A_71ep ep30, scene 1-7, video-verified failure). The last sampled frame is now Hough'd too: end-in-bowl is measured against the final circle, a bowl displaced by more than 0.75 r with the ball not in it suggests F7 collision, and a failed end-frame redetection falls back to the first-frame circle with the caveat in the evidence. Regression trio added; 359 tests. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PMXZevBPhx5PgE7rKZLZ6K79b8f60 -
Batch auto evaluate on the Batch tab; S5 by displacement into the bowl
Unverified signature- 'score all episodes' moves off the rollout review panel onto the Batch page as a 'batch auto evaluate' section (rollout datasets only): tracker over every episode, scene from the dataset card, one commit of the rollout reviews; optional chain into the event annotation run. The panel keeps single-episode auto score, CSV import, and scene autofill; the scoring core moves to lib/rolloutBatchScore.ts. - scorer: a ball that starts outside the bowl and ends inside it is S5 regardless of the area-gain lift gate. pi05_ft ep1 regression: real success ended 6 px from the bowl center but peaked at 1.078x base area vs the 1.08 gate and was read as S1; on that camera pose the ball starts large and is occluded during the carry, so the gain rule has no headroom. Ball starting inside the bowl still never gets S5 this way. - tests: 356 (regression pair added); next build clean. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0…9c4752d
-
Batch: every episode read has a deadline, so a stalled fetch fails one row, not the run
A fetch that stalled had no deadline outside a worker: on the worker's fallback, and on the main-thread run without workers, the row waited forever and held the run. Inside a worker the pool's three-minute job limit caught it, but only by killing the thread. Now one episode's read — its fetches and the detector together — is given three minutes everywhere: inside a worker, which then answers with an error and lives on (the pool's own limit, a minute longer, is for a thread that cannot even answer); on the fallback; and on the default reader the page uses without workers. The row fails with "no answer in 180 s" and the run goes on. The stalled request itself is not cancelled — the browser keeps waiting on it in the background — but nothing waits for it. Tests, written red first: withTimeout passes work through, value or error, rejects at the deadline, and waits with no limit; the reader gives up after its limit; a stalled episode fails its row while the other episodes complete; the fa…9bf8eac -
Batch pool: a dead worker is terminated and, up to twice, replaced
Follow-up to review item 6. Marking a crashed or hung worker dead kept the run going but left the thread alive: the pool held its reference, so it kept its memory (the rig profile, the decoded parquet cache) and, if hung, its core, until the page was left. The slot was never replaced either, so every later run on the page had one worker fewer. - onError terminates the worker (a no-op on one already gone) before moving its jobs to the main thread. - A dead slot with restarts left is given a fresh worker the next time every live worker is busy; an idle live worker is always preferred. The batch page allows two restarts per slot, so a passing failure such as a stalled fetch costs one job's delay rather than a thread, while a worker that keeps dying stays dead. The pool's default is no restarts. - Events from a replaced worker are ignored, and a job's timeout does nothing once the job has moved, so a late crash or reply from the old worker cannot kill its successor. - The …d8bd5b2
-
Review round 1 of PR #3: no file is overwritten on a Hub error, the detector's atoms are marked, the commit names its base version
Jingyi's review of 2026-09-15 (analysis/jingyi-review-2026-09-15.md), worst first, each with a test: 1. fetchAnnotationsFromHub: only a 404 means "no file"; any other status throws, so the episode's row fails and nothing is staged — a 429 or a 5xx can no longer read as an empty file that Commit then overwrites. 2. The detector marks its own subtask atoms (origin: "auto"); isAutoAtom requires the mark, so a hand-added subtask or a dragged detector atom (same role, same label) survives every run. autoAtomsToAdd: a detector subtask whose label a kept atom already carries is not added — a person's atom, or an unmarked one from a file written before the mark existed, wins at its own time, so no legacy file gets a second set. The panel's single run goes through the same rule. 3. The run records the dataset's commit on main at its start (report.baseSha, fetchBranchSha); Commit sends it as parentCommit; a 412 reads "the dataset moved since this run started — reru…cd3b55b
-
Merge main into the batch PR: rollout review, high-rate raw sidecar reader, prettier reformat
Her main moved on 2026-09-12 (1f26b39 prettier reformat of the files that did not match the locked style; 5e31def rollout review + high-rate raw sidecar reader; 6e8d04c automatic rollout review). No conflicts with the batch or the trim: the shared files (README, episode-viewer, fetch-data, tactile-panel, hubCommit, parquetUtils) merge cleanly. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>4e45332 -
Dataset trim: cut points from the arm's motion envelope, review on the timeline, one-click trim to a new repo
Your trim ask from the review of PR #1: "Use the trajectory signals (arm joints static, jaw at rest, no tactile load) to find the dead time before each recording actually starts and after it ends, then trim it from every modality in one click ... with timestamps and frame_index re-based so the episode still loads. Show the proposed cut points on the timeline first so the reviewer can adjust them. The source dataset is never modified ... the trimmed and annotated output is written to a separate dataset repo." The second commit on PR #3, after the batch. - src/lib/trimDetect.ts: the cut rule — start 0.43 s before the commanded joints first move faster than 0.5 deg/frame for 8 frames, end 0.53 s after the measured joints last move faster than 0.5 deg/frame for 2 frames. That is what the curated sotac's own cuts are, read off sotac_raw: the rule reproduces the 100 script-cut episodes' starts within 3 frames in 83 % (6 frames in 97 %) and their ends within 3 frames in 92 %. Jaw…0eba4c0
-
Automatic rollout review: in-browser scorer + offline CSV import
Claude +1: Claude Fable 5Unverified signatureAuto score (per episode): samples the top camera at 4 fps into a 320 px canvas and ports the offline scorer's heuristics — red-HSV ball centroid + area (lift = sustained 8% area gain), circle-Hough bowl on the first frame with neighborhood vote refinement, white-mask arm proximity, gripper actuation from the joint trajectory. Decides S5/S3/S2/S1/S0 with a suggested failure mode and prefills the review form with the evidence in notes; the reviewer checks the video and saves (S4 stays manual). CORS-unreadable video degrades to a clear error. Import CSV: bulk-loads an offline scorer CSV (episode + stage columns; scene/failure/notes optional, loose header match) as source:"auto" entries in one Hub commit. Human reviews are never overwritten by imports; auto entries show an (auto) badge, a confirm button re-saves them as human, and the summary counts unconfirmed auto labels. 17 new unit tests on synthetic frames (ball/bowl/arm rendering) and the decision logic; gripperActuated now ignores…6e8d04c -
Rollout review + high-rate raw sidecar reader
Claude +1: Claude Fable 5Unverified signatureRollout review (annotations tab + collapsed on episodes tab, rollout/eval datasets only): per-episode highest-stage rubric (S0-S5 with fixed progress scores), one primary failure mode (F0-F8), scene label and notes; saved as one aggregated annotations/rollout_reviews.json committed to the dataset repo as the signed-in user (same authorization model as review_status.json). Dataset-level summary from the same file: success rate with Wilson 95% CI, mean progress score, failure counts, per-scene table. High-rate raw sidecar panel (tactile datasets): reads the session-long raw sidecar CSVs (board_raw/<sensor>/session_*/slotNN_raw.csv or live_raw/<name>/session_*/raw.csv; t_epoch_ns + 36 per-element counts, ~0.3-1.2 kHz), windows them to the episode via the per-episode 91 Hz CSV timestamps (same clock), picks the session by session.json started_epoch_ns, subtracts the session-start baseline and plots mean/peak per-element deviation (relative counts) around the playhead. Shared commitJsonFi…5e31def
-
Batch auto-annotation: a dataset-level page runs the detector over every episode on worker threads, stages the proposals for review, commits in one go
The batch from the review of PR #1: "Run the detector over every episode of a dataset and save all annotations to the Hub in one commit, with a progress view and a list of episodes that failed or raised flags so the reviewer knows where to look first." Starts from main (e3714c1). - app/[org]/[dataset]/batch/: the page (a fixed route segment, so it wins over [episode]); "Batch" at the right of the viewer's tab bar and a line under the Auto-label panel lead to it. Range, raw-stream toggle, worker count, Run / Stop, progress with an estimate, counters, a per-flag histogram, the triage table (failed first, then the heaviest flags; sort by episode; filter to flagged / failed / changed); every row opens its episode on the Annotations tab. Stop leaves a resumable run: Resume does only the episodes still owed, Rerun starts the range over. - lib/annotateEpisode.ts: the single-episode pipeline as a plain function (table series or raw sidecar series clipped to the episode, the …7e7bccd
-
Interpretation layer (PR B): taxonomy, attempts, phantom and residual logic, hesitation, signal screen — behind a per-dataset opt-in and out of the default save path
The second half of the split asked for in the review of PR #1. Stacked on PR A (this branch starts at its tip): the instrument module from PR A is unchanged; this commit adds the interpretation layer and the profile machinery it needs. - src/lib/eventDetection.ts: the detector — grasp and transport anchors, failed-attempt rules (air-miss, squeeze-through, whiff-merge, chain merge), weak-contact and air-grasp spans, the post-task phantom gate, honest marker names (finger_unload / sensor_residual / phantom), place hygiene, sustained_slide with the load-retention veto, hesitation, short_transport, structured spans with the finger they belong to (blocker 3: finger-scoped deletion in the save path). The detector never reads the recorded outcome (context.result is gone; evaluation lives in the offline runner). - src/lib/residualGate.ts: rule 1 (post-release residual gate, pre-grasp form) and rule 2's quantum vocabulary, applied to the drift-corrected frames for datasets …e3714c1
-
SoTac annotator improvements: detector, review UI, artifact screen (#1)
- SoTac annotator improvements: detector, review UI, artifact screen, tests (a06a9d23099c4473b597fda9d13ca053890bcf8c) - Split per review: this PR becomes PR A (instruments); the interpretation layer moves to PR B (2b0b4d014e54adc31d97fdc8e6ca1df9183b2bde) Co-authored-by: Xueyicheng Xu <RyanXXYC@users.noreply.huggingface.co>0a3f2cf