Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    ValueError
Message:      Expected object or value
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 290, in _generate_tables
                  pa_table = paj.read_json(
                      io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
                  )
                File "pyarrow/_json.pyx", line 342, in pyarrow._json.read_json
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
                  raise convert_status(status)
              pyarrow.lib.ArrowInvalid: JSON parse error: Column(/actions/[]/[]) changed from number to array in row 0
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 478, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2380, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 304, in _generate_tables
                  batch = json_encode_fields_in_json_lines(original_batch, json_field_paths)
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 111, in json_encode_fields_in_json_lines
                  examples = [ujson_loads(line) for line in original_batch.splitlines()]
                              ~~~~~~~~~~~^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 20, in ujson_loads
                  return pd.io.json.ujson_loads(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
              ValueError: Expected object or value

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

IDM Eval Set

preview

A validation set for evaluating Inverse Dynamics Models on macOS screen recordings. Each sample is a 5-second clip of real productivity desktop usage (browser, IDE, terminal, docs, dashboards) paired with a ground-truth action log captured at the OS level.

The task: given a short screen recording, predict the sequence of user input actions (keypresses, mouse clicks, scrolls, cursor moves) that produced the observed screen changes.

Code

Training, inference, and evaluation code is available at p-doom/inverse-dynamics-model.

Dataset Structure

clips_recording_{uuid}_seg{N}/
  clip_000_{tag}.mp4       # 5s screen recording (1728x1080)
  clip_000_{tag}.json      # ground truth action log
annotations.json           # visibility labels per action
gt_overrides.json          # manual corrections to GT details
gesture_gt_norm.json       # per-frame mouse-move / scroll GT (0 to 1000 scale)
gesture_gt_exp.json        # per-frame mouse-move / scroll GT (exponential bins)

Stats

Metric Value
Clips 44
Recordings 10
Total raw actions 8,504
Resolution 1728 x 1080
Clip duration 5 seconds

Tag Distribution

Tag Count
scroll/drag 15
keystroke-heavy 15
click-heavy 6
hotkeys 4
mixed 3
hard-case 1

Baseline leaderboard

The table below provides reference scores for p-doom/idm and off-the-shelf VLM baselines on this eval set. Scores use visibility filtering (visible + inferable) and action-type-specific matching. MM R² and MM cos_mean include missed MouseMove frames as zero predictions.

Model Overall F1 KeyPress F1 MouseClick F1 MouseMove F1 MouseScroll F1 MM R² MM cos_mean MM cov.
Ours (8B) 0.787 0.791 0.598 0.857 0.447 0.708 0.643 92%
Gemini 3.5 Flash 0.740 0.826 0.726 0.760 0.337 0.714 0.560 64%
GPT 5.5 0.709 0.821 0.714 0.669 0.392 0.586 0.455 52%
Kimi K2.6 0.540 0.711 0.444 0.381 0.326 0.420 0.177 25%
Gemma 4 31B 0.430 0.381 0.581 0.500 0.237 0.077 0.228 37%
Qwen3-VL 8B 0.360 0.409 0.449 0.334 0.127 -6.038 0.035 28%

Action Log Format

Each clip JSON contains:

{
  "start_s": 206.913,
  "end_s": 211.913,
  "tag": "keystroke-heavy",
  "actions": [
    [206933331, ["KeyPress", [32, "Space"]]],
    [207233331, ["KeyRelease", [32, "Space"]]],
    [208633331, ["MousePress", ["Left", 0, 0]]],
    [209533331, ["MouseScroll", [0, -1, 0, 0]]]
  ]
}

Details:

  • Timestamps are absolute microseconds. Subtract start_s * 1e6 for clip-relative.
  • Raw event types in the JSON: KeyPress, KeyRelease, MousePress, MouseRelease, MouseMove, MouseScroll, ContextChanged.
  • For IDM evaluation, the canonical action set is KeyPress, MouseClick, MouseScroll, MouseMove. A MouseClick is derived from a MousePress event (its MouseRelease partner is discarded).
  • KeyPress params: [keycode, key_name].
  • MousePress params: [button, x, y]. The x, y fields are always 0 in this version (cursor position is not stored on press events); only the button name is meaningful.
  • MouseScroll params: [dx, dy, x, y].

Annotations

annotations.json contains manual visibility labels for each primary action (KeyPress, MousePress, MouseScroll) in each clip.

Label Count Meaning
visible 479 Effect is directly visible in the frames
inferable 21 Effect can be inferred but isn't directly visible
ambiguous 25 Action type is unclear from video (e.g. scroll via mouse vs keyboard)
not_predictable 24 Cannot be predicted from video alone

Format:

{
  "clips_recording_.../clip_003_keystroke-heavy": {
    "0": "visible",
    "1": "inferable",
    "2": "ambiguous",
    "3": "not_predictable"
  }
}

Use these to filter ground truth when scoring (e.g. exclude not_predictable and optionally ambiguous actions from recall calculations).

The eval set is strongly visible-dominated: the vast majority of annotated actions have a directly observable visual effect, so a competent IDM should be able to recover them from pixels alone without context inference.

GT Overrides

gt_overrides.json contains manual corrections to ground-truth action details (e.g. when a modifier key was held from before the clip).

Structure:

{
  "clips_recording_.../clip_name": {
    "edits": {"5": "Cmd+Tab"},
    "deletions": [],
    "additions": [{"frame": 8, "type": "KeyPress", "detail": "Space"}]
  }
}

Gesture GT (Mouse Movement + Scroll)

In addition to sparse event evaluation (KeyPress, MouseClick, MouseScroll), this dataset supports gesture evaluation: predicting per-frame mouse cursor movement and scroll magnitude.

  • gesture_gt_norm.json: normalized 0 to 1000 scale, resolution-independent.
  • gesture_gt_exp.json: signed exponential bin indices (one bin per magnitude order).

Both are derived from the raw MouseMove and MouseScroll events in each clip JSON. Mouse deltas are accumulated per frame (5fps), normalized by video resolution, then either kept as integers (norm) or binned (exp).

Format:

  • MouseMove details: "dx,dy". Positive dx = right, positive dy = down.
  • MouseScroll details: signed scalar. Positive = scroll down (content moves up).

Scope

This eval set is productivity-focused. It covers IDE, browser, terminal, docs, dashboards, and PDF reading workflows. Gaming and entertainment clips are intentionally excluded so the benchmark targets long-horizon digital-work behavior.

Downloads last month
201

Collection including p-doom/idm-eval