SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.18305 · 2026

SwipeGen: Bridging the Execution Gap in GUI Agents via Human-like Swipe Synthesis

Xuan Wang, Yangfan Zhou, Yongxiang Hu, Siyuan Su, Quantong Fu

arXiv · PDF · Open in the Atlas

Code that ran

3 of 4 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, 2 violated it and 0 have no contract verdict; 1 failure 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/2601.18305.json · badge: /api/ran/2601.18305.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
TSKGHS17/SwipeGen canonical (classifier label)
classifier basis: census
3 ran · 1 no recorded run
FunctionStatusWhere it lives
calculate_image_diff Ran
ran, violated the contract we drafted
TSKGHS17/SwipeGen/SwipeGen/utils/image_utils.py
code served (permissive licence) · get_code("1d4fcfa57d9fb1e3")
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, 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 cv2
import numpy as np
import tempfile
import os

# Create temporary test images
def create_test_image(filename, seed=0):
    """Create a simple test image"""
    np.random.seed(seed)
    img = np.random.randint(0, 256, (100, 100), dtype=np.uint8)
    cv2.imwrite(filename, img)
    return filename

# Create temporary directory and test images
temp_dir = tempfile.mkdtemp()
img_path1 = os.path.join(temp_dir, "test_img1.png")
img_path2 = os.path.join(temp_dir, "test_img2.png")

# Create two slightly different images to trigger UI change detection
create_test_image(img_path1, seed=0)
create_test_image(img_path2, seed=1)

ARGS = {
    "img_path1": img_path1,
    "img_path2": img_path2,
    "threshold": 0.01
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — 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, 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
mask Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
TSKGHS17/SwipeGen/SwipeGen/utils/image_utils.py
code served (permissive licence) · get_code("06ab91d6cfb7dc1b")
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 ndarray, ndim 3, dtype family int, shape (480, 640, 3) 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 cv2
import numpy as np

# Create a sample image (BGR format, as cv2 uses BGR)
# Create a 480x640 RGB image (height x width x channels)
img = np.ones((480, 640, 3), dtype=np.uint8) * 200

# Define a bounding box [x1, y1, x2, y2]
box = [100, 150, 300, 250]

# Define a reason string
reason = "face"

ARGS = {
    "img": img,
    "box": box,
    "reason": reason
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (480, 640, 3) — shape (480, 640, 3) 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_and_copy_item Ran
ran, violated the contract we drafted
TSKGHS17/SwipeGen/SwipeGen/summary.py
code served (permissive licence) · get_code("056ed515c0c2a3ef")
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, 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 shutil
from pathlib import Path
import tempfile

# Create temporary directories for source and destination
with tempfile.TemporaryDirectory() as tmpdir:
    src_dir = Path(tmpdir) / "src"
    dest_dir = Path(tmpdir) / "dest"
    src_dir.mkdir(exist_ok=True)
    dest_dir.mkdir(exist_ok=True)
    
    # Create dummy image files in source directory
    before_img = src_dir / "image_before.png"
    after_img = src_dir / "image_after.png"
    before_xml = src_dir / "image_before.xml"
    after_xml = src_dir / "image_after.xml"
    
    before_img.write_text("dummy image data")
    after_img.write_text("dummy image data")
    before_xml.write_text("<dummy>xml</dummy>")
    after_xml.write_text("<dummy>xml</dummy>")
    
    # Define the item dict with required fields
    item = {
        'img_filename': 'image_before.png',
        'after_image': 'image_after.png',
    }
    
    # Define existing_keys set (empty initially)
    existing_keys = set()
    
    # Define package name
    pkg_name = 'pkg1'
    
    # Construct ARGS dictionary
    ARGS = {
        'item': item,
        'src_dir': src_dir,
        'dest_dir': dest_dir,
        'pkg_name': pkg_name,
        'existing_keys': existing_keys,
    }
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 bool, 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
summary Not yet run
unverified (harvested, no recorded run)
TSKGHS17/SwipeGen/SwipeGen/summary.py
code served (permissive licence) · get_code("b025d64d0b92413d")
How it ran

no invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 4 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.

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

Despite numerous Graphical User Interface (GUI) agents claiming to automate user interaction tasks, to date, few achieve satisfactory interaction capability with human users in real-world scenarios. Through empirical analysis, this paper identifies the root cause of the limited interaction capability as the rigid swipe execution. In particular, unlike humans, who perform swipes with fine-grained control over trajectory, speed, and timing, existing agents can only conduct simplistic, deterministic swipe behaviors, leading to frequent failures on complicated user-like interaction tasks. Due to the lack of open-source human-like swipe training data, we propose SwipeGen, the first tool for synthesizing diverse and human-like swipe interactions, and SwipeBench, the first benchmark for evaluating agents' swipe interaction quality. Extensive experiments show that SwipeGen can improve the swipe execution success rate of existing agents by up to 2.46×. Our code, dataset, and model are available at https://github.com/TSKGHS17/SwipeGen. • Software and its engineering → Software system models; • Human-centered computing → Interaction techniques.

For agents

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

get_harvested_code_for_paper("2601.18305")
get_code_for_paper("2601.18305")
have("2601.18305")

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

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

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

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

Connect an agent — have() is free.