agentleFS
MicrosoftKnown publishermicrosoft/physical-ai-toolchain/.github/skills/dataviewer/SKILL.md

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

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
  1. Distinctive:

    Follow these steps in order every time the dataviewer is started.

    line 20
  2. Very specific:

    Use ./start.sh --check to check installed launch prerequisites without starting or installing services.

    line 26
  3. Very specific:

    After confirming both services are running (look for [OK] Backend is healthy in terminal output), open the frontend in VS Code's …

    line 40
  4. Very specific:

    If a non-default FRONTEND_PORT was set, substitute that port instead of 5173.

    line 48
  5. Distinctive:

    Before issuing any browser actions, always load the Playwright tools with:

    line 69
  6. Distinctive:

    If the search returns no results the MCP server has not started.

    line 75
  7. Very specific:

    Always call browser_snapshot first to inspect the current DOM before issuing click or type actions.

    line 91
  8. Distinctive:

    Start the dataviewer with the default dataset path:

    line 95
  9. Distinctive:

    Start with a custom dataset path:

    line 101
  10. Very specific:

    Use one of these methods to set DATA_DIR.

    line 120
  11. Distinctive:

    Use this method for workflow handoff and ad-hoc sessions:

    line 124
  12. Distinctive:

    Use this method only when a persistent local default is requested:

    line 132
  13. Distinctive:

    Use this method for a shell-scoped override:

    line 140
  14. Very specific:

    When accepted-dataset.json exists, verify the dataset capabilities before browser inspection.

    line 152
  15. Distinctive:

    Read the accepted-dataset contract reference for the descriptor schema, artifact integrity checks, and invalid-contract behavior.

    line 157
  16. Very specific:

    When a dataset task description is available the widget seeds the instruction with source = template.

    line 312
  17. Distinctive:

    Read back the saved labels after applying changes:

    line 405
  18. Very specific:

    When clearing labels is explicitly requested, send an empty labels array through the episode-label PUT endpoint for each selected episode.

    line 441
  19. Distinctive:

    After applying labels via API, refresh the browser and verify using Playwright:

    line 448
  20. Very specific:

    Wait for episode list to load: browser_wait_for with text like "64 Episodes".

    line 451
  21. Distinctive:

    Use label filter buttons in the sidebar to verify counts match expectations.

    line 453
  22. Very specific:

    Use the same MCP tooling as the rest of the skill, but route through the new panel selectors.

    line 534

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

PlatformRequirement
AllPython 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.sh

With a custom dataset path:

cd data-management/viewer && ./start.sh --data-dir /path/to/datasets

Step 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 --headless flag 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:

ActionPlaywright MCP ToolNotes
Capture page statebrowser_snapshotCall first before any click/type to orient
Navigate to URLbrowser_navigateUse to reload or go to a route
Click an elementbrowser_clickTarget aside li button for episodes
Type into inputbrowser_typeFor search or label inputs
Take a screenshotbrowser_take_screenshotUse 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.sh

Start with a custom dataset path:

cd data-management/viewer && ./start.sh --data-dir /path/to/datasets

Parameters Reference

ParameterDefaultDescription
DATA_DIR../../../datasets (relative to backend/)Directory containing dataset subdirectories
BACKEND_PORT8000FastAPI backend port
FRONTEND_PORT5173Vite frontend dev server port
HEALTH_TIMEOUT30Seconds 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/datasets

Backend environment file

Use this method only when a persistent local default is requested:

DATA_DIR=/path/to/datasets

Session environment

Use this method for a shell-scoped override:

export DATA_DIR=/path/to/datasets
cd data-management/viewer && ./start.sh

Persist 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 definitions

API Reference

Core Endpoints

EndpointMethodDescription
/healthGETHealth check
/api/datasetsGETList all datasets
/api/datasets/{id}GETGet dataset metadata
/api/datasets/{id}/capabilitiesGETGet format support, optional feature availability, and verified accepted-dataset contract
/api/datasets/{id}/episodesGETList episodes in a dataset
/api/datasets/{id}/episodes/{idx}GETGet episode data with trajectory and metadata
/api/datasets/{id}/episodes/{idx}/trajectoryGETGet trajectory data only
/api/datasets/{id}/episodes/{idx}/frames/{frame}GETGet a single frame image
/api/datasets/{id}/episodes/{idx}/camerasGETList available camera views
/api/datasets/{id}/episodes/{idx}/video/{camera}GETStream video for a camera
http://localhost:8000/docsGETSwagger UI documentation

Label Endpoints

EndpointMethodDescription
/api/datasets/{id}/labelsGETGet all episode labels and available label options
/api/datasets/{id}/labels/optionsGETList available label options
/api/datasets/{id}/labels/optionsPOSTAdd a new label option ({"label": "NAME"})
/api/datasets/{id}/episodes/{idx}/labelsGETGet labels for one episode
/api/datasets/{id}/episodes/{idx}/labelsPUTSet labels for one episode ({"labels": ["A", "B"]})
/api/datasets/{id}/labels/savePOSTPersist 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.

EndpointMethodDescription
/api/datasets/{id}/episodes/{idx}/judgeGETCache lookup: returns any persisted judgment for the episode without invoking the model
/api/datasets/{id}/episodes/{idx}/judgePOSTRun 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):

VariableDefaultPurpose
VLM_JUDGE_ENABLEDfalseMount the router
VLM_JUDGE_BACKENDechoqwen3-vl (local HF) / openai-compat (vLLM, NIM, AOAI) / echo (offline)
VLM_JUDGE_MODEL_IDQwen/Qwen3-VL-4B-InstructHF 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_FRAMES12Frames sampled per episode
VLM_JUDGE_CACHE_DIRoutputs/vlm-judge/cacheSHA256-keyed result cache; empty disables disk cache

Annotation Endpoints

EndpointMethodDescription
/api/datasets/{id}/episodes/{idx}/annotationsGETGet structured annotations
/api/datasets/{id}/episodes/{idx}/annotationsPUTUpdate structured annotations
/api/datasets/{id}/episodes/{idx}/annotationsDELETERemove annotations
/api/datasets/{id}/episodes/{idx}/annotations/autoPOSTTrigger auto-annotation
/api/datasets/{id}/annotations/summaryGETGet annotation summary across episodes

Export and Analysis Endpoints

EndpointMethodDescription
/api/datasets/{id}/exportPOSTExport dataset with filters
/api/datasets/{id}/export/streamPOSTStream export
/api/datasets/{id}/export/previewGETPreview export configuration
/api/datasets/{id}/episodes/{idx}/detectPOSTRun object detection
/api/analysis/trajectory-qualityPOSTTrajectory quality analysis
/api/analysis/anomaly-detectionPOSTAnomaly detection
/api/ai/suggest-annotationPOSTAI-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:

SurfaceStorageNotes
Labelsmeta/episode_labels.jsonFree-form tag set with shared dataset-level options
Episode annotationEpisodeAnnotation JSONTask completeness, trajectory quality, data quality, anomalies
Language instructionEpisodeAnnotation.language_instructionOptional 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:

FieldPurposeBounds
instructionPrimary natural-language task description1–1000 chars
sourceProvenance: human, template, llm-generated, retroactiveenum
languageBCP-47 language tag, defaults to enup to 10 chars
paraphrasesAlternative phrasings for data augmentationup to 50 entries, 1000 chars each
subtask_instructionsOrdered subtask decomposition for hierarchical conditioningup 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:

FieldTypeDescription
timestampfloatTime in seconds from episode start
frameintFrame index
joint_positionslist[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.json

For example, with the default dataset path:

datasets/ur10e_episodes/meta/episode_labels.json

File 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:

  1. Navigate to the app: browser_navigate to http://localhost:5173.
  2. Wait for episode list to load: browser_wait_for with text like "64 Episodes".
  3. Take a screenshot to confirm labels appear in the sidebar.
  4. Use label filter buttons in the sidebar to verify counts match expectations.
  5. 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:

  1. Click an episode in the sidebar (aside li button elements).
  2. Scroll to the "Edit Tools" / "Episode Labels" section using browser_evaluate with scrollIntoView.
  3. Toggle label buttons (SUCCESS, FAILURE, PARTIAL, or custom labels) — clicking a selected label removes it.
  4. 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:

AreaSelector PatternDescription
HeaderheaderContains title and dataset selector dropdown
Dataset selectorheader select or header inputDropdown (multi-dataset) or text input (single)
Episode sidebarasideScrollable episode list with selection state
Episode itemaside li buttonClickable episode entry with index and metadata
Main workspacemainAnnotation workspace with frame viewer
Label filterLabel filter component in sidebarFilter episodes by annotation labels

Troubleshooting

IssueSolution
Backend fails to startRecreate the locked environment with cd backend && uv sync --frozen --python 3.12 --group dev --extra analysis --extra export
Frontend shows "Loading..." indefinitelyVerify backend is healthy: curl http://localhost:8000/health
No datasets visibleCheck DATA_DIR in backend/.env points to a directory with dataset subdirectories
Port conflictSet BACKEND_PORT or FRONTEND_PORT environment variables
CORS errorsBackend allows localhost ports 5173-5177; check the frontend port is in range
Labels not persisted after restartCheck the PUT response; resolve any HTTP 412 revision conflict, then verify the saved labels with GET
Playwright opens separate Chrome windowEnsure --headless is in the Playwright MCP args in .vscode/mcp.json; restart the MCP server after changing
Snapshot refs stale after navigationAlways take a fresh browser_snapshot before clicking; refs change on page updates
Slider not responding to PlaywrightUse browser_evaluate with native input value setter and dispatch input + change events
Sidebar not scrollingScroll 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 --reload re-reads code, not env vars. The frontend reads vlm_judge_enabled from GET /api/datasets/{id}/capabilities before requesting an episode judgment.

Backends at a glance

BackendUse caseNotes
echoUI smoke / wiring testsDeterministic stub, no GPU, no network
qwen3-vlLocal HF inferenceFirst call downloads weights; ~10 GB GPU for Qwen3-VL-4B-Instruct BF16
openai-compatvLLM / NVIDIA NIM / Azure OpenAISet VLM_JUDGE_BASE_URL (+ VLM_JUDGE_API_KEY if needed); identical code path

UI workflow (Trajectory tab)

  1. Open the dataviewer (open_browser_page("http://localhost:5173")).
  2. Pick a dataset, select an episode, switch to the Trajectory tab.
  3. The VLM Judge panel sits between Episode Labels and Language Instructions.
  4. Click Run judge → outcome badge, progress sparkline, VOC, optional milestones + failure mode appear. The result also lands on disk under VLM_JUDGE_CACHE_DIR.
  5. Re-visiting the same episode shows a cached badge. 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}' | jq

Bulk 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.sh

The 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.