SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.00245 · 2023

From Pixels to UI Actions: Learning to Follow Instructions via Graphical User Interfaces

arXiv · PDF · Open in the Atlas

Code that ran

9 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, 0 violated it and 7 have no contract verdict; 2 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2306.00245.json · badge: /api/ran/2306.00245.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
google-deepmind/pix2act canonical (classifier label)
classifier basis: census
9 ran · 0 no recorded run
FunctionStatusWhere it lives
get_bytes_feature Ran
ran; our contract draft was wrong, not the code
google-deepmind/pix2act/pix2act/common/tf_utils.py
code served (permissive licence) · get_code("7a8fbfbbda3d366a")
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 bytes. 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 tensorflow as tf

# Create a tf.train.Example with bytes_list feature
example = tf.train.Example()

# Add a bytes feature to the example
bytes_value = b"test_bytes_data"
example.features.feature["test_key"].bytes_list.value.append(bytes_value)

# Also add another bytes feature with different key for variety
example.features.feature["another_key"].bytes_list.value.append(b"another_bytes")

ARGS = {
    "example": example,
    "key": "test_key"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bytes — a bytes output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a bytes 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_cursor Ran
ran on a synthesized input
google-deepmind/pix2act/pix2act/common/render_utils.py
code served (permissive licence) · get_code("5219f685d8c77d1d")
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 PngImageFile. 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 functools
import os
from PIL import Image
from unittest.mock import Mock, MagicMock
import tempfile

# Create a temporary directory for testing
temp_dir = tempfile.mkdtemp()

# Create a minimal test image
test_image = Image.new('RGB', (32, 32), color='red')
test_image_path = os.path.join(temp_dir, 'test_cursor.png')
test_image.save(test_image_path)

# Mock gfile.GFile to return a file-like object without actual file I/O
original_open = open

def mock_gfile_open(path, mode):
    # Return a real file handle for our test image
    return original_open(test_image_path, mode)

# Patch tensorflow.io.gfile.GFile
import tensorflow.io.gfile as gfile
gfile.GFile = mock_gfile_open

ARGS = {
    'cursor_dir': temp_dir,
    'filename': 'test_cursor.png'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PngImageFile — a PngImageFile output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PngImageFile output the recorded ndim 3 and dtype family int 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_text_feature Ran
ran; our contract draft was wrong, not the code
google-deepmind/pix2act/pix2act/common/tf_utils.py
code served (permissive licence) · get_code("bd7544895c6d3aa9")
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 tensorflow as tf

# Create a valid tf.train.Example with a bytes feature
example = tf.train.Example()
feature_value = example.features.feature['test_key'].bytes_list.value
feature_value.append('hello world'.encode('utf-8'))

ARGS = {
    'example': example,
    'key': 'test_key'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — 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
image_to_png Ran
ran on a synthesized input
google-deepmind/pix2act/pix2act/common/render_utils.py
code served (permissive licence) · get_code("ebb6466594c5260f")
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 bytes. 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.

from PIL import Image
import numpy as np

# Create a small valid PIL Image object
# Create a simple RGB image with distinct dimensions (4x3)
image_array = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)
test_image = Image.fromarray(image_array, mode='RGB')

ARGS = {
    'image': test_image
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bytes — a bytes output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a bytes 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_float Ran
ran on a synthesized input
google-deepmind/pix2act/pix2act/common/env_utils.py
code served (permissive licence) · get_code("5e85cc9e77027c04")
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 torch

ARGS = {
    "element": "3.14"
}
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, 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
is_valid_coordinate Ran
ran on a synthesized input
google-deepmind/pix2act/pix2act/common/env_utils.py
code served (permissive licence) · get_code("db719b0186363fc3")
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 dataclasses

@dataclasses.dataclass()
class EnvConfig:
    """Web environment configuration."""
    cursor_dir: str
    width: int
    height: int
    num_x_buckets: int
    num_y_buckets: int
    center_buckets: bool
    scrollable_element_fn: str

def is_float(element: str) -> bool:
    """Returns whether `element` can be parsed as a float."""
    try:
        float(element)
        return True
    except ValueError:
        return False

def is_valid_coordinate(env_config: EnvConfig, x_str: str, y_str: str) -> bool:
    """Returns whether the given strings are valid coordinate buckets."""
    if not is_float(x_str) or not is_float(y_str):
        return False
    x = float(x_str)
    y = float(y_str)
    return x >= 0 and y >= 0 and (x < env_config.num_x_buckets) and (y < env_config.num_y_buckets)

env_config = EnvConfig(
    cursor_dir="right",
    width=1920,
    height=1080,
    num_x_buckets=10,
    num_y_buckets=8,
    center_buckets=True,
    scrollable_element_fn="get_scrollable"
)

ARGS = {
    "env_config": env_config,
    "x_str": "5.5",
    "y_str": "3.2"
}
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
normalize_reward Ran
ran on a synthesized input
google-deepmind/pix2act/pix2act/tasks/miniwob/miniwob_env.py
code served (permissive licence) · get_code("83a66096381aeb52")
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 Tensor, ndim 1, dtype family float, shape (4,) 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 torch

torch.manual_seed(0)

# The function normalize_reward takes a raw_reward parameter and applies
# a linear transformation: raw_reward / 2.0 + 0.5
# This suggests raw_reward should be a numeric value or tensor

# Create a small tensor to represent raw_reward
raw_reward = torch.tensor([-1.0, 0.0, 1.0, 0.5])

ARGS = {
    "raw_reward": raw_reward
}
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 Tensor, ndim 1, dtype family float, shape (4,) — shape (4,) 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
png_to_image Ran
ran on a synthesized input
google-deepmind/pix2act/pix2act/common/render_utils.py
code served (permissive licence) · get_code("4d2647b6fe47d016")
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 PngImageFile. 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 io
from PIL import Image
import numpy as np

# Create a small valid PNG image in memory
def create_test_png_bytes():
    # Create a simple 2x2 RGB image using PIL
    img = Image.new('RGB', (2, 2), color='red')
    # Save to bytes buffer
    buffer = io.BytesIO()
    img.save(buffer, format='PNG')
    return buffer.getvalue()

ARGS = {
    'image_png': create_test_png_bytes()
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PngImageFile — a PngImageFile output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PngImageFile output the recorded ndim 3 and dtype family int 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
rel_x_y_to_x_y Ran
ran on a synthesized input
google-deepmind/pix2act/pix2act/common/env_utils.py
code served (permissive licence) · get_code("535ec1bbd7e0de95")
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 int; 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 torch
import numpy as np

class EnvConfig:
    def __init__(self, center_buckets, num_x_buckets, num_y_buckets, width, height):
        self.center_buckets = center_buckets
        self.num_x_buckets = num_x_buckets
        self.num_y_buckets = num_y_buckets
        self.width = width
        self.height = height

env_config = EnvConfig(
    center_buckets=True,
    num_x_buckets=10,
    num_y_buckets=8,
    width=640,
    height=480
)

x_rel = 3
y_rel = 5

ARGS = {
    "env_config": env_config,
    "x_rel": x_rel,
    "y_rel": y_rel
}
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 tuple, ndim 1, dtype family int — 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

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, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 2 later) and 7 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
get_bytes_feature 1 other paper
1 later
2410.18077 (2024-10)
ALTA: Compiler-Based Analysis of Transformers
get_text_feature 1 other paper
1 later
2410.18077 (2024-10)
ALTA: Compiler-Based Analysis of Transformers

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-23.

Repositories linked to this paper

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

Abstract

Much of the previous work towards digital agents for graphical user interfaces (GUIs) has relied on text-based representations (derived from HTML or other structured data sources), which are not always readily available. These input representations have been often coupled with custom, task-specific action spaces. This paper focuses on creating agents that interact with the digital world using the same conceptual interface that humans commonly use -- via pixel-based screenshots and a generic action space corresponding to keyboard and mouse actions. Building upon recent progress in pixel-based pretraining, we show, for the first time, that it is possible for such agents to outperform human crowdworkers on the MiniWob++ benchmark of GUI-based instruction following tasks.

For agents

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

get_harvested_code_for_paper("2306.00245")
get_code_for_paper("2306.00245")
have("2306.00245")

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

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

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

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

Connect an agent — have() is free.