SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2501.00912 · CVPR · 2025

AUTOPRESENT: Designing Structured Visuals from Scratch

Graham Neubig, Trevor Darrell, Daniel Fried, Alane Suhr, Xuhui Zhou, Maarten Sap, Yi-Hao Peng, Jiaxin Ge, Zora Wang, Sanjay Subramanian, Qinyue Tan

arXiv · PDF · Open in the Atlas

Code that ran

9 of 10 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 8 have no contract verdict; 1 failure of our instrument; 1 no recorded run), measured 2026-11-23; 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/2501.00912.json · badge: /api/ran/2501.00912.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
para-lost/AutoPresent canonical (classifier label)
classifier basis not recorded on the link
9 ran · 1 no recorded run
FunctionStatusWhere it lives
adjust_cost_for_context Ran
ran on a synthesized input
para-lost/AutoPresent/evaluate/match.py
code served (permissive licence) · get_code("2b7c34b1c0e28eff")
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 2, dtype family float, shape (3, 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 numpy as np

# Create a small cost matrix as a numpy array
# The function expects cost_matrix to have .shape attribute and support numpy operations
cost_matrix = np.array([
    [-1.2, -0.3, 0.5, 0.2],
    [0.1, -1.5, -0.8, 0.3],
    [-0.4, 0.2, -1.1, -0.6]
], dtype=float)

ARGS = {
    "cost_matrix": cost_matrix,
    "consecutive_bonus": 1.0,
    "window_size": 20
}
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 ndarray, ndim 2, dtype family float, shape (3, 4) — shape (3, 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
calc_scores Ran
ran on a synthesized input
para-lost/AutoPresent/generate/calc_score.py
code served (permissive licence) · get_code("b75f3ab85290be74")
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.

import os
import json
import tempfile
import shutil

# Create a temporary directory structure to simulate a slide deck
temp_dir = tempfile.mkdtemp()

# Create slide directories with the required structure
slide_deck_name = "test_deck"
slide_deck_path = os.path.join(temp_dir, slide_deck_name)
os.makedirs(slide_deck_path)

# Create a few slide directories
for i in range(2):
    slide_dir = os.path.join(slide_deck_path, f"slide_{i}")
    os.makedirs(slide_dir)
    
    # Create media directory with images
    media_dir = os.path.join(slide_dir, "media")
    os.makedirs(media_dir)
    with open(os.path.join(media_dir, "image_0.png"), "w") as f:
        f.write("fake image")
    
    # Create ref_eval.json
    ref_eval = {
        "match": 85.5,
        "text": 90.0,
        "color": 75.5,
        "position": 88.0
    }
    with open(os.path.join(slide_dir, "ref_eval.json"), "w") as f:
        json.dump(ref_eval, f)
    
    # Create free evaluation JSON
    free_eval = {
        "text": {"score": 82.0},
        "image": {"score": 88.5},
        "layout": {"score": 79.0},
        "color": {"score": 85.0}
    }
    with open(os.path.join(slide_dir, "gpt_4o_feedback_canonical_eval.json"), "w") as f:
        json.dump(free_eval, f)

# Create a mock args object for the function that references it
class MockArgs:
    skip_none = False

args = MockArgs()

ARGS = {
    "slide_deck": slide_deck_path,
    "subdir": None
}
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
calculate_similarity Ran
ran on a synthesized input
para-lost/AutoPresent/evaluate/match.py
code served (permissive licence) · get_code("d8b5102dc34864a0")
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 float, 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
import numpy as np
from difflib import SequenceMatcher

torch.manual_seed(0)

# Construct valid arguments for calculate_similarity
block1 = {
    'text': 'The quick brown fox jumps over the lazy dog'
}

block2 = {
    'text': 'The quick brown fox jumps over the lazy cat'
}

ARGS = {
    'block1': block1,
    'block2': block2
}
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 float, 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
create_cost_matrix Ran
ran on a synthesized input
para-lost/AutoPresent/evaluate/match.py
code served (permissive licence) · get_code("18b2b8ed69231201")
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 2, dtype family float, shape (3, 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 numpy as np
from difflib import SequenceMatcher

def calculate_similarity(block1: dict, block2: dict) -> float:
    if block1.get('text', None) is None or block2.get('text', None) is None:
        return 0.0
    text_similarity = SequenceMatcher(None, block1['text'], block2['text']).ratio()
    return text_similarity

def create_cost_matrix(A, B):
    n = len(A)
    m = len(B)
    cost_matrix = np.zeros((n, m))
    for i in range(n):
        for j in range(m):
            cost_matrix[i, j] = -calculate_similarity(A[i], B[j])
    return cost_matrix

# Setup code to construct valid arguments
A = [
    {'text': 'hello world'},
    {'text': 'hello there'},
    {'text': 'goodbye world'}
]

B = [
    {'text': 'hello world'},
    {'text': 'foo bar'},
    {'text': 'hello there'},
    {'text': 'xyz'}
]

ARGS = {
    'A': A,
    'B': B
}
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 ndarray, ndim 2, dtype family float, shape (3, 4) — shape (3, 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
encode_image Ran
ran; our contract draft was wrong, not the code
para-lost/AutoPresent/evaluate/reference_free_eval.py
pointer only (licence: MIT); the stored copy get_code serves, from jongwoopark7978/LVNet, is pointer only (licence: NONE) · get_code("f41cb1a19b154297")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from jongwoopark7978/LVNet, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_text Ran
ran on a synthesized input
para-lost/AutoPresent/evaluate/page_eval.py
code served (permissive licence) · get_code("9f5942c100b1ce65")
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

torch.manual_seed(0)

ARGS = {
    'block': {
        'text': 'This is the extracted text content from a block.'
    }
}
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
get_average Ran
ran on a synthesized input
para-lost/AutoPresent/generate/calc_score.py
code served (permissive licence) · get_code("08f8641d8f1c3e4a")
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 float, 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
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - scores: list[float] - used in sum() and len(), zipped with weights
# - weights: list[int | float] or None - optional, used in zip and sum()
# - scale: int - used in multiplication, defaults to 1

# Create test data
scores = [0.5, 0.75, 0.9, 0.6]
weights = [1, 2, 1.5, 3]
scale = 2

ARGS = {
    "scores": scores,
    "weights": weights,
    "scale": scale
}
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 float, 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
get_dataset Ran
ran on a synthesized input
para-lost/AutoPresent/autopresent/generate.py
code served (permissive licence) · get_code("6f7728e4bafebc1b")
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 Dataset. 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 tempfile
import os
import csv
from datasets import Dataset

# Create a temporary CSV file with test data
temp_dir = tempfile.mkdtemp()
csv_path = os.path.join(temp_dir, 'test_dataset.csv')

# Write test CSV data
with open(csv_path, mode='w', newline='', encoding='utf-8') as f:
    writer = csv.DictWriter(f, fieldnames=['instruction', 'slide_folder'])
    writer.writeheader()
    writer.writerow({
        'instruction': 'Create a title slide with company logo',
        'slide_folder': '/path/to/slide1'
    })
    writer.writerow({
        'instruction': 'Add a bullet point slide',
        'slide_folder': '/path/to/slide2'
    })

ARGS = {
    'dataset_path': csv_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
datasets, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Dataset — a Dataset output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Dataset output the recorded ndim 1 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
viz_scores Ran
ran on a synthesized input
para-lost/AutoPresent/evaluate/page_eval.py
code served (permissive licence) · get_code("adb7237ff82bd052")
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.

import torch

torch.manual_seed(0)

# The function expects a dict where:
# - keys are strings
# - values can be lists of numbers (or None values), single numbers, or floats
# The function filters None values, computes averages, and formats output

ARGS = {
    "scores": {
        "accuracy": [0.85, 0.92, 0.88],
        "precision": [0.90, 0.87, None, 0.91],
        "recall": 0.89,
        "f1_score": [0.86, 0.84, 0.87],
        "loss": [None, None],
    }
}
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 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
merge_scores Not yet run
unverified (harvested, no recorded run)
para-lost/AutoPresent/evaluate/page_eval.py
code served (permissive licence) · get_code("342dc12b686c9cba")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 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, 1 later) and 9 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
encode_image 76 other papers
55 dated earlier, 17 later, 4 same year, order not determinable
2309.05950 (2023-09)
Language Models as Black-Box Optimizers for Vision-Language Models
2311.15732 (2023-11)
GPT4Vis: What Can GPT-4 Do for Zero-shot Visual Recognition?
2312.14867 (2023-12)
VIEScore: Towards Explainable Metrics for Conditional Image Synthesis Evaluation
and 73 more not named here

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

GPT-4O. We further explore iterative design refinement where the model is tasked to self-refine its own output, and we found that this process improves the slide's quality. We hope that our work will provide a basis for future work on generating structured visuals. Our code, data, demo, and video demonstrations are publicly available at https: //github.com/para-lost/AutoPresent

For agents

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

get_harvested_code_for_paper("2501.00912")
get_code_for_paper("2501.00912")
have("2501.00912")

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

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

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

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

Connect an agent — have() is free.