SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.12632 · CVPR · 2025

Scalable Video-to-Dataset Generation for Cross-Platform Mobile Agents

Sungryull Sohn, Honglak Lee, Dong-Ki Kim, Lajanugen Logeswaran, Yeda Song, Yunseok Jang, Kyunghoon Bae, Tiange Luo

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 7 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2505.12632.json · badge: /api/ran/2505.12632.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
runamu/monday canonical (classifier label)
classifier basis not recorded on the link
8 ran · 1 no recorded run
FunctionStatusWhere it lives
action2step_common Ran
ran on a synthesized input
runamu/monday/agent_tasks/eval_seeclick.py
code served (permissive licence) · get_code("42dd46cf39372b94")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

# Setup code for action2step_common

# Test case 1: click action
step_data_click = {
    'action_type_id': 4,
    'action_type_text': 'click',
    'touch': [100.5, 200.3],
    'lift': [101.7, 202.1]
}

# Test case 2: type action
step_data_type = {
    'action_type_id': 3,
    'type_text': 'hello world'
}

# Test case 3: other action (not click, not type)
step_data_other = {
    'action_type_id': 4,
    'action_type_text': 'scroll'
}

# Test case 4: unknown action type
step_data_unknown = {
    'action_type_id': 5
}

# We'll use the click case as the primary test
ARGS = {
    'step_data': step_data_click
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
action_2_format Ran
ran on a synthesized input
runamu/monday/agent_tasks/action_matching.py
code served (permissive licence) · get_code("ce5baa687c42285a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

# Test case 1: action_type == 4, action_type_text == 'click'
step_data_click = {
    'action_type_id': 4,
    'action_type_text': 'click',
    'touch': [0.3, 0.4],
    'lift': [0.3, 0.4],
    'type_text': ''
}

# Test case 2: action_type == 4, action_type_text == 'scroll down'
step_data_scroll_down = {
    'action_type_id': 4,
    'action_type_text': 'scroll down',
    'touch': [0.5, 0.8],
    'lift': [0.5, 0.2],
    'type_text': ''
}

# Test case 3: action_type == 4, action_type_text == 'scroll up'
step_data_scroll_up = {
    'action_type_id': 4,
    'action_type_text': 'scroll up',
    'touch': [0.5, 0.2],
    'lift': [0.5, 0.8],
    'type_text': ''
}

# Test case 4: action_type == 4, action_type_text == 'scroll left'
step_data_scroll_left = {
    'action_type_id': 4,
    'action_type_text': 'scroll left',
    'touch': [0.2, 0.5],
    'lift': [0.8, 0.5],
    'type_text': ''
}

# Test case 5: action_type == 4, action_type_text == 'scroll right'
step_data_scroll_right = {
    'action_type_id': 4,
    'action_type_text': 'scroll right',
    'touch': [0.8, 0.5],
    'lift': [0.2, 0.5],
    'type_text': ''
}

# Test case 6: action_type == 3 (type action)
step_data_type = {
    'action_type_id': 3,
    'action_type_text': 'type',
    'touch': [-1.0, -1.0],
    'lift': [-1.0, -1.0],
    'type_text': 'Hello World'
}

# Test case 7: action_type != 3 and != 4
step_data_other = {
    'action_type_id': 2,
    'action_type_text': 'other',
    'touch': [-1.0, -1.0],
    'lift': [-1.0, -1.0],
    'type_text': ''
}

ARGS = {
    'step_data': step_data_click
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
format_seconds Ran
ran on a synthesized input
runamu/monday/data_processing/utils.py
code served (permissive licence) · get_code("9904a95483802677")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Analyze the function: format_seconds takes a single parameter 'seconds'
# which should be a numeric value (int or float)
# The function performs arithmetic operations on it and formats it as a time string

ARGS = {
    'seconds': 3661.5  # 1 hour, 1 minute, 1.5 seconds
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_pure_size Ran
ran on a synthesized input
runamu/monday/data_processing/utils.py
code served (permissive licence) · get_code("3259fb8a9fc8234b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a sample image as a numpy array
# The function expects shape (H, W, C) where C is the number of channels
# Create a 10x15x3 image with some non-zero pixels
image_np = np.zeros((10, 15, 3), dtype=np.uint8)
# Add some non-zero values in a region to create a bounding box
image_np[2:7, 3:12, :] = 255

ARGS = {
    "image_np": image_np
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_seeclick_model Ran
ran on a synthesized input
runamu/monday/agent_tasks/eval_seeclick.py
code served (permissive licence) · get_code("4d074d11cb63be1d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from unittest.mock import Mock, MagicMock
from transformers.generation import GenerationConfig

torch.manual_seed(0)

class MockTokenizer:
    def __init__(self):
        self.model_max_length = 2048
    
    def __call__(self, text, return_tensors=None):
        return {"input_ids": torch.tensor([[1, 2, 3]]), "attention_mask": torch.tensor([[1, 1, 1]])}
    
    def decode(self, token_ids):
        return "decoded text"

class MockModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 4)
        self.generation_config = None
    
    def __call__(self, *args, **kwargs):
        return Mock(logits=torch.randn(2, 4, 4))
    
    def eval(self):
        return self
    
    def to(self, device):
        return self
    
    def merge_and_unload(self):
        return self

class MockGenerationConfig:
    @classmethod
    def from_pretrained(cls, model_name, trust_remote_code=False):
        config = GenerationConfig()
        config.max_length = 512
        config.top_p = 0.9
        config.temperature = 0.7
        return config

# Mock AutoTokenizer.from_pretrained
def mock_tokenizer_from_pretrained(model_name, trust_remote_code=False):
    return MockTokenizer()

# Mock AutoModelForCausalLM.from_pretrained
def mock_model_from_pretrained(model_name, device_map=None, trust_remote_code=False, bf16=False):
    return MockModel()

# Mock AutoPeftModelForCausalLM.from_pretrained
def mock_peft_model_from_pretrained(model_name, device_map=None, trust_remote_code=False):
    return MockModel()

# Patch the functions before defining ARGS
import transformers
from peft import AutoPeftModelForCausalLM as RealAutoPeftModelForCausalLM

transformers.AutoTokenizer.from_pretrained = mock_tokenizer_from_pretrained
transformers.AutoModelForCausalLM.from_pretrained = mock_model_from_pretrained
RealAutoPeftModelForCausalLM.from_pretrained = mock_peft_model_from_pretrained
transformers.generation.GenerationConfig.from_pretrained = MockGenerationConfig.from_pretrained

ARGS = {
    "model_path": "mock_model_path",
    "qwen_path": "mock_qwen_path",
    "peft_model": None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
peft, torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_seeclick_response Ran
ran on a synthesized input
runamu/monday/agent_tasks/eval_seeclick.py
code served (permissive licence) · get_code("52ceba3e2a19a07b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class StandInTokenizer:
    def from_list_format(self, format_list):
        return "formatted_query"

class StandInModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def chat(self, tokenizer, query, history):
        response = "This is a response"
        history = []
        return response, history

model = StandInModel()
tokenizer = StandInTokenizer()
prompt = "What is in this image?"
img_path = "/path/to/image.jpg"

ARGS = {
    "model": model,
    "tokenizer": tokenizer,
    "prompt": prompt,
    "img_path": img_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_tap_action Ran
ran, violated the contract we drafted
runamu/monday/agent_tasks/action_matching.py
code served (permissive licence) · get_code("41f6e1b0feaded2f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ArrayImpl, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax.numpy as jnp
import numpy as np

# The function takes two parameters: normalized_start_yx and normalized_end_yx
# Both are used as array-like inputs to jnp.array() and subtracted from each other
# They represent normalized coordinates (y, x) in a 2D space
# For a tap action, they should be very close together (within _SWIPE_DISTANCE_THRESHOLD = 0.04)

# Create two coordinate pairs that are close together (representing a tap)
normalized_start_yx = [0.5, 0.5]  # Starting position in normalized coordinates
normalized_end_yx = [0.51, 0.51]  # Ending position very close (distance ~0.014)

ARGS = {
    "normalized_start_yx": normalized_start_yx,
    "normalized_end_yx": normalized_end_yx,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
process_row Ran
ran on a synthesized input
runamu/monday/data_processing/extract_scenes.py
code served (permissive licence) · get_code("f0ee53e5b2feb7e6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
import torch

# Create temporary directories for video_dir and output_dir
video_dir = tempfile.mkdtemp()
output_dir = tempfile.mkdtemp()

# Create a dummy video file
video_id = "test_video_001"
video_file = os.path.join(video_dir, video_id + ".mp4")
with open(video_file, 'w') as f:
    f.write("dummy video content")

# Create a mock row dictionary with required keys
my_row = {
    'video_id': video_id,
    'scene_timestamps_in_sec': [[0.0, 1.5], [2.0, 3.5]],
    'screen_bboxes': [
        {'x': 10, 'y': 20, 'width': 100, 'height': 80},
        {'x': 15, 'y': 25, 'width': 110, 'height': 90}
    ]
}

# Create stand-in functions that process_row calls
def extract_frames(video_file, scene_timestamps, output_folder, verbose=False):
    """Mock function that extract_frames calls"""
    pass

def crop_and_save_images(output_folder, screen_bboxes):
    """Mock function that crop_and_save_images calls"""
    pass

# Inject the mock functions into the module namespace
import sys
current_module = sys.modules[__name__]
setattr(current_module, 'extract_frames', extract_frames)
setattr(current_module, 'crop_and_save_images', crop_and_save_images)

ARGS = {
    'my_row': my_row,
    'split': 'train',
    'video_dir': video_dir,
    'output_dir': output_dir,
    'verbose': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float — no output shape is stated: observe_signature.py could not observe it (fixture:KeyError)
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
process_dataset Not yet run
unverified (harvested, no recorded run)
runamu/monday/data_processing/extract_scenes.py
code served (permissive licence) · get_code("c9a868b25b751c41")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
is_tap_action 3 other papers
3 dated earlier
2309.11436 (2023-09)
You Only Look at Screens: Multimodal Chain-of-Action Agents
2024.findings-acl.186 (2024 (year only))
You Only Look at Screens: Multimodal Chain-of-Action Agents
2502.18906 (2025-02)
VEM: Environment-Free Exploration for Training GUI Agent with Value Environment Model

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Recent advancements in Large Language Models (LLMs) and Vision-Language Models (VLMs) have sparked significant interest in developing GUI visual agents. We introduce MONDAY (Mobile OS Navigation Task Dataset for Agents from YouTube), a large-scale dataset of 313K annotated frames from 20K instructional videos capturing diverse real-world mobile OS navigation across multiple platforms. Models that include MONDAY in their pretraining phases demonstrate robust cross-platform generalization capabilities, consistently outperforming models trained on existing single OS datasets while achieving an average performance gain of 18.11%p on an unseen mobile OS platform. To enable continuous dataset expansion as mobile platforms evolve, we present an automated framework that leverages publicly available video content to create comprehensive task datasets without manual annotation. Our framework comprises robust OCR-based scene detection (95.04% F1-score), near-perfect UI element detection (99.87% hit ratio), and novel multi-step action identification to extract reliable action sequences across diverse interface configurations. We contribute both the MONDAY dataset and our automated collection framework to facilitate future research in mobile OS navigation, available at https://github.com/runamu/monday.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2505.12632")
get_code_for_paper("2505.12632")
have("2505.12632")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2505.12632.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2505.12632.svg)](https://syntology.ai/paper/2505.12632)

Connect an agent — have() is free.