dataviewer
Skill121 starsChanged 2 months agoMITView on GitHub
Start and interact with the Dataset Analysis Tool (dataviewer) for browsing, annotating, and exporting robotic training episodes
- Reads credentials
- Sends data out
In this repository8 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- azureml-k3s-compute-target-setupSkill
- environment-deploymentSkill
- fleet-deploymentSkill
- fleet-intelligenceSkill
- infrastructureSkill
- osmo-lerobot-trainingSkill
- synthetic-dataSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 12 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Follow these steps in order every time the dataviewer is started.
- Very specific: line 26
Use ./start.sh --check to check installed launch prerequisites without starting or installing services.
- Very specific: line 40
After confirming both services are running (look for [OK] Backend is healthy in terminal output), open the frontend in VS Code's …
- Very specific: line 48
If a non-default FRONTEND_PORT was set, substitute that port instead of 5173.
- Distinctive: line 69
Before issuing any browser actions, always load the Playwright tools with:
- Distinctive: line 75
If the search returns no results the MCP server has not started.
- Very specific: line 91
Always call browser_snapshot first to inspect the current DOM before issuing click or type actions.
- Distinctive: line 95
Start the dataviewer with the default dataset path:
- Distinctive: line 101
Start with a custom dataset path:
- Very specific: line 120
Use one of these methods to set DATA_DIR.
- Distinctive: line 124
Use this method for workflow handoff and ad-hoc sessions:
- Distinctive: line 132
Use this method only when a persistent local default is requested:
- Distinctive: line 140
Use this method for a shell-scoped override:
- Very specific: line 152
When accepted-dataset.json exists, verify the dataset capabilities before browser inspection.
- Distinctive: line 157
Read the accepted-dataset contract reference for the descriptor schema, artifact integrity checks, and invalid-contract behavior.
- Very specific: line 312
When a dataset task description is available the widget seeds the instruction with source = template.
- Distinctive: line 405
Read back the saved labels after applying changes:
- Very specific: line 441
When clearing labels is explicitly requested, send an empty labels array through the episode-label PUT endpoint for each selected episode.
- Distinctive: line 448
After applying labels via API, refresh the browser and verify using Playwright:
- Very specific: line 451
Wait for episode list to load: browser_wait_for with text like "64 Episodes".
- Distinctive: line 453
Use label filter buttons in the sidebar to verify counts match expectations.
- Very specific: line 534
Use the same MCP tooling as the rest of the skill, but route through the new panel selectors.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dataviewer Skill
Launch and interact with the Dataset Analysis Tool — a full-stack application for analyzing and annotating robotic training data from episode-based datasets.
Prerequisites
| Platform | Requirement |
| All | Python 3.12+, Node.js 24+, npm, uv |
The backend virtual environment and repository-root npm workspace dependencies are auto-created on first launch by start.sh.
Launch and Connect Workflow
Follow these steps in order every time the dataviewer is started.
Step 1 — Start the app
Launch start.sh as a background terminal process. The script prints [OK] Both services are running and the URLs when both services are healthy.
Use ./start.sh --check to check installed launch prerequisites without starting or installing services. The launcher binds both services to loopback, requires the selected frontend port and returns failure when either service fails readiness.
cd data-management/viewer && ./start.shWith a custom dataset path:
cd data-management/viewer && ./start.sh --data-dir /path/to/datasetsStep 2 — Open SimpleBrowser
After confirming both services are running (look for [OK] Backend is healthy in terminal output), open the frontend in VS Code's SimpleBrowser using the open_browser_page tool:
open_browser_page("http://localhost:5173")SimpleBrowser is the primary visual interface for the user. All Playwright automation operates headlessly in the background — the user sees results in SimpleBrowser.
If a non-default FRONTEND_PORT was set, substitute that port instead of 5173.
Step 3 — Load the Playwright MCP tools
Playwright runs in headless mode so it does not open a separate browser window. All visual feedback goes through SimpleBrowser (Step 2). The Playwright MCP server must be declared in .vscode/mcp.json with the --headless flag:
// .vscode/mcp.json
{
"servers": {
"playwright": {
"command": "npx",
"args": ["@playwright/mcp@latest", "--headless"]
}
}
}[!IMPORTANT] The
--headlessflag is required. Without it, Playwright opens a separate Chromium window instead of working invisibly behind SimpleBrowser.
Before issuing any browser actions, always load the Playwright tools with:
tool_search_tool_regex("playwright|browser_snapshot|browser_navigate|browser_click|browser_type")If the search returns no results the MCP server has not started. Ask the user to open the VS Code Command Palette and run MCP: Start Server → playwright, then retry the search.
Step 4 — Interact via Playwright MCP
Playwright operates headlessly on the same URL as SimpleBrowser. Both see the same backend state, so API-driven changes (labels, annotations) appear in both.
Once the tools are available, use the following patterns for all UI interaction:
| Action | Playwright MCP Tool | Notes |
| Capture page state | browser_snapshot | Call first before any click/type to orient |
| Navigate to URL | browser_navigate | Use to reload or go to a route |
| Click an element | browser_click | Target aside li button for episodes |
| Type into input | browser_type | For search or label inputs |
| Take a screenshot | browser_take_screenshot | Use to verify visual state |
Always call browser_snapshot first to inspect the current DOM before issuing click or type actions. Reference the selector patterns in the Frontend UI Structure section below.
Quick Start
Start the dataviewer with the default dataset path:
cd data-management/viewer && ./start.shStart with a custom dataset path:
cd data-management/viewer && ./start.sh --data-dir /path/to/datasetsParameters Reference
| Parameter | Default | Description |
DATA_DIR | ../../../datasets (relative to backend/) | Directory containing dataset subdirectories |
BACKEND_PORT | 8000 | FastAPI backend port |
FRONTEND_PORT | 5173 | Vite frontend dev server port |
HEALTH_TIMEOUT | 30 | Seconds to wait for backend health check |
Dataset Path Configuration
The DATA_DIR environment variable controls which datasets are visible in the app. Each subdirectory under this path is treated as a separate dataset_id.
Use one of these methods to set DATA_DIR.
Launch argument
Use this method for workflow handoff and ad-hoc sessions:
./start.sh --data-dir /path/to/datasetsBackend environment file
Use this method only when a persistent local default is requested:
DATA_DIR=/path/to/datasetsSession environment
Use this method for a shell-scoped override:
export DATA_DIR=/path/to/datasets
cd data-management/viewer && ./start.shPersist a path in backend/.env only when the user explicitly requests a local default
across restarts. Do not mutate .env for a profile-bound workflow handoff. The workflow
owns the viewer child and passes the manifest's exact dataset parent through
--data-dir.
When accepted-dataset.json exists, verify the dataset capabilities before browser
inspection. Require the returned dataset ID, output adapter/version, viewer adapter,
profile ID/hash, capture-provenance hash, export-validation hash, capture features, and
sensor roles to match the descriptor.
Read the accepted-dataset contract reference for the descriptor schema, artifact integrity checks, and invalid-contract behavior.
Architecture
data-management/viewer/
├── start.sh # Orchestrator: launches backend + frontend
├── backend/
│ ├── .env # DATA_DIR and test config
│ ├── pyproject.toml # Python dependencies (uv)
│ └── src/api/
│ ├── main.py # FastAPI app, CORS, router registration
│ ├── routers/ # REST endpoints: datasets, annotations, labels, export, detection, analysis
│ ├── routes/ # AI analysis routes
│ ├── services/ # Business logic and dataset service
│ ├── models/ # Pydantic models
│ └── storage/ # Persistence layer
├── frontend/
│ ├── vite.config.ts # Dev server + API proxy to :8000
│ └── src/
│ ├── App.tsx # Root: dataset selector, episode list, annotation workspace
│ ├── api/ # HTTP client and typed API functions
│ ├── components/ # UI components (annotation, dashboard, episode viewer, export)
│ ├── hooks/ # React Query hooks for datasets, episodes, annotations
│ ├── stores/ # Zustand stores for episode and dataset state
│ └── types/ # TypeScript type definitionsAPI Reference
Core Endpoints
| Endpoint | Method | Description |
/health | GET | Health check |
/api/datasets | GET | List all datasets |
/api/datasets/{id} | GET | Get dataset metadata |
/api/datasets/{id}/capabilities | GET | Get format support, optional feature availability, and verified accepted-dataset contract |
/api/datasets/{id}/episodes | GET | List episodes in a dataset |
/api/datasets/{id}/episodes/{idx} | GET | Get episode data with trajectory and metadata |
/api/datasets/{id}/episodes/{idx}/trajectory | GET | Get trajectory data only |
/api/datasets/{id}/episodes/{idx}/frames/{frame} | GET | Get a single frame image |
/api/datasets/{id}/episodes/{idx}/cameras | GET | List available camera views |
/api/datasets/{id}/episodes/{idx}/video/{camera} | GET | Stream video for a camera |
http://localhost:8000/docs | GET | Swagger UI documentation |
Label Endpoints
| Endpoint | Method | Description |
/api/datasets/{id}/labels | GET | Get all episode labels and available label options |
/api/datasets/{id}/labels/options | GET | List available label options |
/api/datasets/{id}/labels/options | POST | Add a new label option ({"label": "NAME"}) |
/api/datasets/{id}/episodes/{idx}/labels | GET | Get labels for one episode |
/api/datasets/{id}/episodes/{idx}/labels | PUT | Set labels for one episode ({"labels": ["A", "B"]}) |
/api/datasets/{id}/labels/save | POST | Persist all labels to disk |
VLM-as-Judge Endpoints
[!NOTE] Mounted only when
VLM_JUDGE_ENABLED=true. Dataset capabilities advertise this state, and the frontend does not request an episode judge status while disabled.
| Endpoint | Method | Description |
/api/datasets/{id}/episodes/{idx}/judge | GET | Cache lookup: returns any persisted judgment for the episode without invoking the model |
/api/datasets/{id}/episodes/{idx}/judge | POST | Run the multi-step judge (cache-first unless force: true); body: {instruction?, views?, force?} |
POST response (snake_case on the wire, camelCased by the frontend client) is the composite JudgeResult:
{
"episode_id": "leisaac-pick-orange/episode_000007",
"instruction": "Grab orange and place into plate",
"judge_model": "Qwen/Qwen3-VL-4B-Instruct",
"prompt_version": "outcome-mcq-v1+gvl-process-v1+milestones-v1+failuremode-v1",
"n_frames": 12,
"outcome_success": true,
"outcome_confidence": 0.83,
"outcome_n_valid_votes": 3,
"progress_per_frame": [0, 14, 28, 42, 57, 71, 85, 100],
"voc": 0.92,
"milestones": [
{"name": "approach_object", "completed": true, "frame_range": "0-3", "evidence": "..."}
],
"failure_mode": null,
"cached": false
}Key knobs (backend/.env):
| Variable | Default | Purpose |
VLM_JUDGE_ENABLED | false | Mount the router |
VLM_JUDGE_BACKEND | echo | qwen3-vl (local HF) / openai-compat (vLLM, NIM, AOAI) / echo (offline) |
VLM_JUDGE_MODEL_ID | Qwen/Qwen3-VL-4B-Instruct | HF id or remote model name |
VLM_JUDGE_BASE_URL | (unset) | OpenAI-compatible server URL (openai-compat only) |
VLM_JUDGE_API_KEY | (unset) | Bearer token for the remote backend |
VLM_JUDGE_N_FRAMES | 12 | Frames sampled per episode |
VLM_JUDGE_CACHE_DIR | outputs/vlm-judge/cache | SHA256-keyed result cache; empty disables disk cache |
Annotation Endpoints
| Endpoint | Method | Description |
/api/datasets/{id}/episodes/{idx}/annotations | GET | Get structured annotations |
/api/datasets/{id}/episodes/{idx}/annotations | PUT | Update structured annotations |
/api/datasets/{id}/episodes/{idx}/annotations | DELETE | Remove annotations |
/api/datasets/{id}/episodes/{idx}/annotations/auto | POST | Trigger auto-annotation |
/api/datasets/{id}/annotations/summary | GET | Get annotation summary across episodes |
Export and Analysis Endpoints
| Endpoint | Method | Description |
/api/datasets/{id}/export | POST | Export dataset with filters |
/api/datasets/{id}/export/stream | POST | Stream export |
/api/datasets/{id}/export/preview | GET | Preview export configuration |
/api/datasets/{id}/episodes/{idx}/detect | POST | Run object detection |
/api/analysis/trajectory-quality | POST | Trajectory quality analysis |
/api/analysis/anomaly-detection | POST | Anomaly detection |
/api/ai/suggest-annotation | POST | AI-suggested annotations |
Annotation Workflow
Annotation combines API calls for efficiency with Playwright UI interaction for verification. Use the API for bulk operations and the UI for visual review and spot-checking.
Annotation surfaces
The annotation panel exposes three structured surfaces in addition to free-form labels:
| Surface | Storage | Notes |
| Labels | meta/episode_labels.json | Free-form tag set with shared dataset-level options |
| Episode annotation | EpisodeAnnotation JSON | Task completeness, trajectory quality, data quality, anomalies |
| Language instruction | EpisodeAnnotation.language_instruction | Optional VLA payload (instruction, source, paraphrases, subtask decomposition) |
Multi-camera selection
Datasets that record multiple camera streams expose a camera selector in the annotation workspace header. Default selection is episode.cameras[0] (or the first key of videoUrls when cameras is empty). User selections persist for the current episode; switching to an episode that no longer contains the selected camera resets selection back to cameras[0]. Both video playback and /frames/{idx} thumbnail extraction follow the active camera.
Language instruction (VLA annotation)
The LanguageInstructionWidget writes a structured payload through PUT /api/datasets/{id}/episodes/{idx}/annotations:
| Field | Purpose | Bounds |
instruction | Primary natural-language task description | 1–1000 chars |
source | Provenance: human, template, llm-generated, retroactive | enum |
language | BCP-47 language tag, defaults to en | up to 10 chars |
paraphrases | Alternative phrasings for data augmentation | up to 50 entries, 1000 chars each |
subtask_instructions | Ordered subtask decomposition for hierarchical conditioning | up to 100 entries, 1000 chars each |
When a dataset task description is available the widget seeds the instruction with source = template; otherwise it creates a blank instruction with source = human. The source dropdown allows changing the value at any time.
Step 1 — Analyze trajectory data
Fetch episode trajectory data from the API to determine labels programmatically:
curl -s "http://localhost:8000/api/datasets/{dataset_id}/episodes/{idx}" | python3 -c "
import sys, json
d = json.load(sys.stdin)
traj = d['trajectory_data'] # List of frames with joint_positions and timestamps
print(f'Frames: {len(traj)}')
print(f'First joint positions: {traj[0]["joint_positions"][:8]}')
print(f'Last joint positions: {traj[-1]["joint_positions"][:8]}')
"Episode trajectory data is a list of frame dictionaries, each containing:
| Field | Type | Description |
timestamp | float | Time in seconds from episode start |
frame | int | Frame index |
joint_positions | list[float] | Joint positions for all robot joints |
The meta field of the episode response contains index, length, task_index, and has_annotations.
Step 2 — Determine labels from trajectory
Analyze gripper and joint data at multiple time points to classify episodes. Check the midpoint first, then 25% and 75% for episodes where grasp actions happen earlier or later:
Resolve gripper channels and units from the dataset's declared features and verified capture profile before assigning grasp labels. The example below assumes a verified 16-joint bimanual layout; do not reuse its offsets for single-arm datasets.
# Example: check grip values at multiple points for robust classification
for pct in [25, 50, 75]:
idx = int(len(traj) * pct / 100)
jp = traj[idx]["joint_positions"]
right_grip = jp[7] # Right arm gripper index
left_grip = jp[15] # Left arm gripper index[!IMPORTANT] Some episodes have late or early grasp actions, so checking only the midpoint may yield UNKNOWN results. Always check multiple time points (25%, 50%, 75%) and the minimum grip value across the full trajectory for robust classification.
Step 3 — Apply labels via API
Successful PUT requests persist immediately. Label mutations require the latest
dataset-label ETag in If-Match, or If-None-Match: * when the GET response has no
ETag yet. Stop and reconcile after HTTP 412; do not overwrite another writer's changes.
These examples use the launcher's loopback-only development mode with
DATAVIEWER_AUTH_DISABLED=true. Authenticated servers also require authentication
and CSRF headers; the frontend supplies them automatically.
curl -i -fsS "http://localhost:8000/api/datasets/{dataset_id}/labels"
curl -fsS -X PUT "http://localhost:8000/api/datasets/{dataset_id}/episodes/{idx}/labels" \
-H "Content-Type: application/json" \
-H 'If-Match: "<ETag from the GET response>"' \
-d '{"labels": ["RIGHT", "SUCCESS"]}'For bulk annotation, loop over episodes in a script:
from __future__ import annotations
import json
from urllib.request import Request, urlopen
def annotate(dataset_id: str, episode_idx: int, labels: list[str]) -> dict[str, object]:
dataset_url = f"http://localhost:8000/api/datasets/{dataset_id}"
with urlopen(f"{dataset_url}/labels") as response:
etag = response.headers.get("ETag")
headers = {"Content-Type": "application/json"}
headers["If-Match" if etag else "If-None-Match"] = etag or "*"
data = json.dumps({"labels": labels}).encode()
req = Request(
f"{dataset_url}/episodes/{episode_idx}/labels",
data=data,
method="PUT",
headers=headers,
)
with urlopen(req) as response:
return json.load(response)Step 4 — Verify persisted labels
Read back the saved labels after applying changes:
curl -fsS "http://localhost:8000/api/datasets/{dataset_id}/labels"The optional POST /labels/save endpoint confirms persistence and also requires a
current revision precondition. It is not needed after a successful PUT.
Label storage on disk
In local storage mode, successful label mutations write inside the dataset's meta/ directory:
{DATA_DIR}/{dataset_id}/meta/episode_labels.jsonFor example, with the default dataset path:
datasets/ur10e_episodes/meta/episode_labels.jsonFile structure:
{
"dataset_id": "ur10e_episodes",
"available_labels": ["SUCCESS", "FAILURE", "PARTIAL", "LEFT", "RIGHT"],
"episodes": {
"0": ["LEFT", "SUCCESS"],
"1": ["RIGHT", "SUCCESS"]
}
}When clearing labels is explicitly requested, send an empty labels array through
the episode-label PUT endpoint for each selected episode. Use the latest revision
precondition for every write and verify the result with GET. Do not overwrite label
files behind a running server.
Step 5 — Verify in UI with Playwright
After applying labels via API, refresh the browser and verify using Playwright:
- Navigate to the app:
browser_navigatetohttp://localhost:5173. - Wait for episode list to load:
browser_wait_forwith text like"64 Episodes". - Take a screenshot to confirm labels appear in the sidebar.
- Use label filter buttons in the sidebar to verify counts match expectations.
- Click individual episodes and scroll to the "Episode Labels" section to verify correct labels are applied.
Step 6 — Interactive annotation via UI
For individual episode review or correction:
- Click an episode in the sidebar (
aside li buttonelements). - Scroll to the "Edit Tools" / "Episode Labels" section using
browser_evaluatewithscrollIntoView. - Toggle label buttons (SUCCESS, FAILURE, PARTIAL, or custom labels) — clicking a selected label removes it.
- Click "Save & Next Episode" to persist and continue, or "Save Episode" on the final episode.
Frontend UI Structure
The React app has these key areas for Playwright interaction:
| Area | Selector Pattern | Description |
| Header | header | Contains title and dataset selector dropdown |
| Dataset selector | header select or header input | Dropdown (multi-dataset) or text input (single) |
| Episode sidebar | aside | Scrollable episode list with selection state |
| Episode item | aside li button | Clickable episode entry with index and metadata |
| Main workspace | main | Annotation workspace with frame viewer |
| Label filter | Label filter component in sidebar | Filter episodes by annotation labels |
Troubleshooting
| Issue | Solution |
| Backend fails to start | Recreate the locked environment with cd backend && uv sync --frozen --python 3.12 --group dev --extra analysis --extra export |
| Frontend shows "Loading..." indefinitely | Verify backend is healthy: curl http://localhost:8000/health |
| No datasets visible | Check DATA_DIR in backend/.env points to a directory with dataset subdirectories |
| Port conflict | Set BACKEND_PORT or FRONTEND_PORT environment variables |
| CORS errors | Backend allows localhost ports 5173-5177; check the frontend port is in range |
| Labels not persisted after restart | Check the PUT response; resolve any HTTP 412 revision conflict, then verify the saved labels with GET |
| Playwright opens separate Chrome window | Ensure --headless is in the Playwright MCP args in .vscode/mcp.json; restart the MCP server after changing |
| Snapshot refs stale after navigation | Always take a fresh browser_snapshot before clicking; refs change on page updates |
| Slider not responding to Playwright | Use browser_evaluate with native input value setter and dispatch input + change events |
| Sidebar not scrolling | Scroll the aside ul element directly via browser_evaluate with element.scrollTop = N |
VLM-as-Judge Workflow
The VLM judge scores each episode with an outcome MCQ (success/fail with N-sample self-consistency), a GVL process reward (per-frame 0-100 progress + Spearman VOC), milestone decomposition, and failure-mode attribution. Both the dataviewer UI and the CLI under evaluation/vlm_judge/ consume the same JudgeService, so cache hits and prompt versions stay aligned across surfaces.
Enable the judge
Pass the judge settings through the launcher's child environment. Store them in
backend/.env only when persistent defaults are explicitly requested:
DATA_DIR=/abs/path/to/datasets
DATAVIEWER_AUTH_DISABLED=true
VLM_JUDGE_ENABLED=true
VLM_JUDGE_BACKEND=echo # echo | qwen3-vl | openai-compat
VLM_JUDGE_MODEL_ID=Qwen/Qwen3-VL-4B-Instruct
VLM_JUDGE_N_FRAMES=12
VLM_JUDGE_CACHE_DIR=outputs/vlm-judge/cache[!IMPORTANT] Restart an owned backend after changing launch settings. Uvicorn
--reloadre-reads code, not env vars. The frontend readsvlm_judge_enabledfromGET /api/datasets/{id}/capabilitiesbefore requesting an episode judgment.
Backends at a glance
| Backend | Use case | Notes |
echo | UI smoke / wiring tests | Deterministic stub, no GPU, no network |
qwen3-vl | Local HF inference | First call downloads weights; ~10 GB GPU for Qwen3-VL-4B-Instruct BF16 |
openai-compat | vLLM / NVIDIA NIM / Azure OpenAI | Set VLM_JUDGE_BASE_URL (+ VLM_JUDGE_API_KEY if needed); identical code path |
UI workflow (Trajectory tab)
- Open the dataviewer (
open_browser_page("http://localhost:5173")). - Pick a dataset, select an episode, switch to the Trajectory tab.
- The VLM Judge panel sits between Episode Labels and Language Instructions.
- Click Run judge → outcome badge, progress sparkline, VOC, optional milestones + failure mode appear. The result also lands on disk under
VLM_JUDGE_CACHE_DIR. - Re-visiting the same episode shows a
cachedbadge. Click Force fresh to bypass the cache and re-run.
Playwright UI verification
Use the same MCP tooling as the rest of the skill, but route through the new panel selectors. After a browser_snapshot, click using element refs from the snapshot. As a JS-fallback when the snapshot lacks button refs:
browser_evaluate: () => {
const headers = Array.from(document.querySelectorAll('h3'))
const judge = headers.find((el) => el.textContent?.includes('VLM Judge'))
judge?.scrollIntoView({ behavior: 'smooth', block: 'center' })
const run = Array.from(judge?.parentElement?.querySelectorAll('button') ?? [])
.find((b) => /run judge|re-evaluate/i.test(b.textContent ?? ''))
run?.click()
return run ? 'clicked' : 'panel not visible'
}To assert the result rendered, wait for the outcome badge text:
browser_wait_for(text="SUCCESS") # or "FAILURE", "Inconclusive"Direct API calls (curl / Python)
CSRF must be honored on POST. The frontend hook does this transparently; for ad-hoc shell:
CSRF=$(curl -s http://localhost:8000/api/csrf-token -c /tmp/dv-cookie | jq -r .csrf_token)
# Cache lookup (no inference)
curl -s http://localhost:8000/api/datasets/leisaac-pick-orange/episodes/0/judge | jq
# Run the judge (cache-first)
curl -s -X POST http://localhost:8000/api/datasets/leisaac-pick-orange/episodes/0/judge \
-H "Content-Type: application/json" -H "X-CSRF-Token: $CSRF" -b /tmp/dv-cookie \
-d '{"force": false}' | jqBulk evaluation via the CLI (no dataviewer needed)
# Single dataset
evaluation/vlm_judge/scripts/evaluate-leisaac-pick-orange.sh --limit 5
# Generic
python -m evaluation.vlm_judge.run \
--dataset datasets/cnc_lerobot \
--views observation.images.color \
--backend qwen3-vl \
--model-id Qwen/Qwen3-VL-4B-Instruct \
--output outputs/vlm-judge/cnc_lerobot.jsonl \
--limit 5
# Policy-rollout MP4s (e.g. leisaac-tests/pickup-orange/)
evaluation/vlm_judge/scripts/evaluate-policy-rollouts.shThe CLI writes a JSONL with the same composite schema as the API, keyed on the same SHA256 cache, so a CLI run primes the dataviewer's cache (and vice versa).
Brought to you by physical-ai-toolchain
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

