Papers › TurtleBench: A Visual Programming Benchmark in Turtle Geometry

TurtleBench: A Visual Programming Benchmark in Turtle Geometry

31 Oct 2024arXiv:2411.00264archive 2025-07-28

Sina Rismanchian, Yasaman Razeghi, Sameer Singh, Shayan Doroudi

Humans have the ability to reason about geometric patterns in images and scenes from a young age. However, developing large multimodal models (LMMs) capable of similar reasoning remains a challenge, highlighting the need for robust evaluation methods to assess these capabilities. We introduce TurtleBench, a benchmark designed to evaluate LMMs' capacity to interpret geometric patterns -- given visual examples, textual instructions, or both -- and generate precise code outputs. Inspired by turtle geometry, a notion used to teach children foundational coding and geometric concepts, TurtleBench features tasks with patterned shapes that have underlying algorithmic logic. Our evaluation reveals that leading LMMs struggle significantly with these tasks, with GPT-4o achieving only 19\% accuracy on the simplest tasks and few-shot prompting only marginally improves their performance (<2%). TurtleBench highlights the gap between human and AI performance in intuitive and visual geometrical understanding, setting the stage for future research in this area. TurtleBench stands as one of the few benchmarks to evaluate the integration of visual understanding and code generation capabilities in LMMs, setting the stage for future research. Code and Dataset for this paper is provided here: https://github.com/sinaris76/TurtleBench

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2411.00264")

Code

Syntology Ran 2 of 10 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran · our draft was wrong.

By repository: official repository: 10 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

sinaris76/turtlebench officialmentioned in papermentioned on GitHub report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 2 ran; 0 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
1ran · our draft was wrong
8unverified

Licence: 10 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from sinaris76/turtlebench. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

encode_image sinaris76/turtlebench/models/gpt.py official repository ran · our draft was wrong no licence file found · pointer only · f41cb1a19b154297 · report
verify_response sinaris76/turtlebench/models/gemini.py official repository ran · violated contract no licence file found · pointer only · d6259b0d9750cac7 · report
compare_shapes sinaris76/turtlebench/utils/contours.py official repository unverified no licence file found · pointer only · 2ebacf5ea6e9773c · report
extract_number_from_filename sinaris76/turtlebench/crawl_tasks.py official repository unverified no licence file found · pointer only · deab60503fa487ca · report
find_contour sinaris76/turtlebench/utils/contours.py official repository unverified no licence file found · pointer only · 7e3e9a9cf435baad · report
find_screen_variable_name sinaris76/turtlebench/utils/code_analysis.py official repository unverified no licence file found · pointer only · a4c3253ef9b7fe27 · report
get_settings_from_path sinaris76/turtlebench/calculate_score.py official repository unverified no licence file found · pointer only · 3f12b2b19b8c7a9d · report
preprocess_image sinaris76/turtlebench/utils/contours.py official repository unverified no licence file found · pointer only · 149160fd8008cc11 · report
preprocess_response sinaris76/turtlebench/utils/code_preprocess.py official repository unverified no licence file found · pointer only · 05275800f7f64704 · report
truncate_code sinaris76/turtlebench/utils/code_preprocess.py official repository unverified no licence file found · pointer only · 4597cdc79f201115 · report

Tasks

Code Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections