ComputerControl / DATASET_CARD.md
FoundationML's picture
Upload DATASET_CARD.md with huggingface_hub
869142e verified
|
Raw History Blame
6.21 kB
# CMPCNTRL1 / CMPCNTRL2 — Computer Control Datasets
Original synthesis for FoundationML / Iridium Spark, built 2026-10-28.
## Files
- `CMPCNTRL1.jsonl` — **88 rows, text-only.** No images. Observation is an
accessibility-tree text dump + window name. For text-only computer-use
training / evaluation.
- `CMPCNTRL2.jsonl` — **80 rows, vision.** User turn is multimodal
(`image` + `text`), `images: [...]` lists files under `images/`.
**All screenshots are synthetic mock UIs drawn with Pillow** from the
exact element boxes the row claims. They are NOT real OSWorld / desktop
screenshots, and no real user screen, credential, or personal data is
included. 104 PNGs, 1280x800, in `images/`.
- Total: **168 rows, verifier 0 errors** (`verify_cmpcntrl.py`).
- Expansion 2026-10-28 evening (v2): doubled 84 -> 168 by appending
NEW rows only (`generate_cmpcntrl_v2.py`); no v1 row was edited.
HF upload of the expanded set is pending a fresh write token.
## Format (both files)
Chat JSONL, FoundationML / Iridium Spark style:
```json
{"type": "chat", "id": "...", "family": "...", "platform": "...",
"apps": [...], "difficulty": "easy|medium|hard", "kind": "...",
"messages": [{"role": "system", ...}, {"role": "user", ...},
{"role": "assistant", ...}],
"trajectory": [{"step": 1, "observation": "...", "thought": "...",
"action": {"type": "click", "target": "...", "x": 0-1000, "y": 0-1000},
"result": "..."}],
"final_state": {...}, "verified": true, "provenance": "...",
"metadata": {"variant_data": {...}}}
```
CMPCNTRL2 adds `"images": ["images/....png"]` and multimodal user content.
Action types: click, double_click, type, hotkey, scroll, screenshot, wait,
open_app, drag, select, press, done, fail, refuse, cancel.
Coordinates are normalized 0-1000. Grounding rows also carry `bbox`
`[x0, y0, x1, y1]` and the verifier checks point-in-box.
## What was surveyed (public, best-in-class) — and what was NOT copied
Surveyed 2026-10-28: OSWorld / OSWorld-Verified (369 real Ubuntu tasks,
state-checked), WebArena / VisualWebArena (812 / 910 web tasks),
Mind2Web (2,350 web tasks, 137 sites), AndroidWorld (116 templates),
AITW (30k mobile), AndroidControl (15,283), OmniAct (9,802),
ScreenSpot-V2 (1,272) / ScreenSpot-Pro (1,581) / OSWorld-G (564) grounding,
OS-Atlas (13M GUI elements), ScreenRef (586k screenshots / 633k refs),
Gelato Click-100k, markov-ai/computer-use (OSWorld trajectories with
screenshots + accessibility trees + pyautogui actions), ProCUA-SFT.
**None of those trajectories, screenshots, or task texts are redistributed
here.** These rows are original tasks modelled on their patterns
(multi-app desktop work, web shop/cart, spreadsheet formulas, grounding
with duplicate labels, error recovery). If you need the original
benchmarks, get them from their own releases / licences.
## Improvements over the raw public sets
1. **Machine-checkable final state on every row** — totals are recomputed
from variant data in verification (spreadsheet SUM/AVERAGE, shop cart
totals, multi-app totals); grounding rows are point-in-box checked.
2. **Recovery branches** — 8 text rows + multi-step vision rows include an
error / unexpected state (folder already exists, terminal error,
dialog) with a diagnosis and a different retry, not a repeat.
3. **Refusal / safety rows** — 4 text + 8 vision: destructive deletes,
credential exfiltration, bank transfer, disabling security. No
destructive action is taken; a safe alternative is offered.
4. **Disambiguation grounding** — same-label elements distinguished by
context, not first-match (a known ScreenSpot failure mode).
5. **No irreversible side effects in training targets** — email rows are
drafts (not sent), shop rows stop at cart verification (no checkout /
payment), GIMP rows export to a new file (original untouched).
6. **Deterministic + deduplicated** — generator is stdlib + Pillow only,
verifier drops any row failing JSON, step order, action type,
coordinate range, target-in-observation, point-in-box, image existence
/ size, or numeric total checks. This run: 168 kept, 0 errors.
## CMPCNTRL1 breakdown (88)
v1 (44): spreadsheet_calc 4, file_organise 4, browser_research_to_doc 4,
email_draft 4, code_edit_run 4, multi_app_report 4, calendar_reschedule 4,
web_shop_cart 4, image_resize_export 4, grounding_disambiguation 4,
refusal_safety 4.
v2 NEW (44): terminal_git_workflow 4, presentation_slides 4,
spreadsheet_sort_filter 4, browser_download_verify 4,
system_settings_toggle 4, media_playlist 4, writer_table 4,
terminal_file_search 4, cross_app_copy_paste 4, network_recovery 4,
keyboard_only_navigation 4.
Kinds: trajectory 68, trajectory_recovery 12, grounding 4, refusal 4.
## CMPCNTRL2 breakdown (80)
v1 (40): vision_grounding_browser/spreadsheet/filemanager/ide/email: 20,
vision_trajectory_shop/calc/files/email: 12 (2 screenshots each),
vision_refusal: 8.
v2 NEW (40): vision_grounding_terminal/calendar/settings/media/webform: 20,
vision_trajectory_git/presentation/settings2/media2: 12 (2 screenshots each),
vision_refusal (prompts 5-8): 8.
Kinds: grounding 40, trajectory 24, refusal 16. Steps: 2-3 per row;
grounding rows carry bbox.
## Limitations — read before training
- Synthetic mock UIs in CMPCNTRL2 are schematic (labelled boxes), not
photorealistic desktops. They teach grounding + step discipline, not
pixel-perfect real-UI robustness. Pair with a real grounding set
(ScreenSpot-Pro / OSWorld-G) for that.
- Text rows simulate a11y trees; they do not execute in a live VM.
They are not a substitute for OSWorld live evaluation.
- No real websites, accounts, or personal data. All names, prices,
files, and facts are invented examples.
- Small by design (168 rows): a verified seed / eval-style set, not a
100k-scale SFT corpus. Expand by adding generator families, not by
copying benchmark trajectories.
## Reproduce
```
python3 generate_cmpcntrl.py # v1: 44 + 40
python3 generate_cmpcntrl_v2.py # v2 append: +44 +40 (do NOT re-run on an already-expanded file - it would duplicate rows)
python3 verify_cmpcntrl.py # must print TOTAL 168 ERRORS 0
```