LLM Code Customization with Visual Results: A Benchmark on TikZ
Paper • 2505.04670 • Published • 2
difficulty_ast listlengths 1 7 | id stringlengths 7 28 | code stringlengths 918 3.32k | commented_code stringlengths 1.11k 3.44k | instruction stringlengths 18 328 | result_description stringlengths 10 115 | difficulty stringclasses 3
values | modification_type stringclasses 3
values | type stringclasses 2
values | patch listlengths 1 7 | template_solution_code listlengths 1 7 | code_solution listlengths 1 7 | image_solution images listlengths 1 7 | image_input imagewidth (px) 300 300 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[
3
] | beam_coord_change | \documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{/pgf/number format/use comma,compat=1.16}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{stanli}
\usetikzlibrary{calc,intersections,patterns}
\begin{document}
\begin{tikzpicture}[scale=1]
\draw (-2,3) node[below] {O};
... | \documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{/pgf/number format/use comma,compat=1.16}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{stanli} % TikZ Library for Structural Analysis by Jurgen Hackl
\usetikzlibrary{calc,intersections,patterns}
\begin{document}
\begin{t... | Move the coordinate system between the top EA and F. | Diagram of a mechanical system, with a coordinate system close to the point B | easy | update | scientific | [
"@@ -10,2 +10,2 @@\n\n-\\draw (-2,3) node[below] {O};\n-\\draw[<->] (-1,3) node[right] {$x$}-|(-2,4) node[left]{$y$};\n+\\draw (1,4.5) node[below] {O};\n+\\draw[<->] (2,4.5) node[right] {$x$}-|(1,5.5) node[left]{$y$};"
] | [
"\\documentclass[tikz,border=5pt]{standalone}\n\\usepackage{pgfplots}\n\\pgfplotsset{/pgf/number format/use comma,compat=1.16}\n\\usepackage[T1]{fontenc}\n\\usepackage[utf8]{inputenc}\n\\usepackage{stanli} \n\\usetikzlibrary{calc,intersections,patterns}\n\n\\begin{document}\n\\begin{tikzpicture}[scale=1]\n \\draw ... | [
"\\documentclass[tikz,border=5pt]{standalone}\n\\usepackage{pgfplots}\n\\pgfplotsset{/pgf/number format/use comma,compat=1.16}\n\\usepackage[T1]{fontenc}\n\\usepackage[utf8]{inputenc}\n\\usepackage{stanli} \n\\usetikzlibrary{calc,intersections,patterns}\n\n\\begin{document}\n\\begin{tikzpicture}[scale=1]\n \\draw ... | ||
[
29
] | bee_eyes | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on le... | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{%
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on l... | Add eyes to the bee with pupils, on the front of its head, looking forward | A bee with eyes, looking forward | hard | add | animal | [
"@@ -49,0 +50,2 @@\n\n+\\fill [BlueGrey100] (40, 150) circle [radius=20];\n+\\fill [BlueGrey700] (40, 160) circle [radius=7];"
] | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on l... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on l... | ||
[
19,
2
] | bee_longer_body | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on le... | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{%
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on l... | Make the body of the bee longer, and pointy | A bee with a long and pointy body | medium | update | animal | [
"@@ -25,2 +25,2 @@\n\n-\\fill [body] (0,-160)\n-.. controls ++(120:64) and ++(270:64) .. (-88, -16)\n+\\fill [body] (0,-240)\n+.. controls ++(110:100) and ++(270:64) .. (-88, -16)\n@@ -29 +29 @@\n\n-.. controls ++(270:64) and ++( 60:64) .. cycle;\n+.. controls ++(270:64) and ++( 70:100) .. cycle;\n@@ -36,2 +36,2 @@... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\\tikzset{\nhalf clip/.code={\n\\clip (0, -256) rectangle (256, 256);\n},\ncolor alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\ncolors alias/.style={color alias/.list/.expanded={#1}},\nexecute/.code={#1},\non left/.style={.. on ... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\\tikzset{\nhalf clip/.code={\n\\clip (0, -256) rectangle (256, 256);\n},\ncolor alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\ncolors alias/.style={color alias/.list/.expanded={#1}},\nexecute/.code={#1},\non left/.style={.. on ... | ||
[
19,
1,
19
] | bee_mirrored | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on le... | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{%
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on l... | Mirror the bee horizontally | A bee, flying towards the left | easy | add | animal | [
"@@ -56 +56 @@\n\n-\\pic {bee};\n+\\pic[xscale=-1] {bee};",
"@@ -20 +20 @@\n\n-\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n+\\begin{scope}[x=3cm/480,y=3cm/480, rotate=45, shift=(270:48)]",
"@@ -56 +56 @@\n\n-\\pic {bee};\n+\\pic [xscale=-1] {bee};"
] | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\\tikzset{\nhalf clip/.code={\n\\clip (0, -256) rectangle (256, 256);\n},\ncolor alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\ncolors alias/.style={color alias/.list/.expanded={#1}},\nexecute/.code={#1},\non left/.style={.. on ... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\\tikzset{\nhalf clip/.code={\n\\clip (0, -256) rectangle (256, 256);\n},\ncolor alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\ncolors alias/.style={color alias/.list/.expanded={#1}},\nexecute/.code={#1},\non left/.style={.. on ... | ||
[
2,
2
] | bee_red_stripes | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on le... | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{%
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on l... | Change the color of the stripes to red | A bee with red stripes | easy | update | animal | [
"@@ -22,2 +22,2 @@\n\n-on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n-on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n+on left= {colors alias={body as BlueGrey800, stripes as Red}},\n+on right={colors alias={body as BlueGrey900, stripes as Red}, half clip},",
... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on l... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on l... | ||
[
8,
9,
7,
8,
9,
8
] | bee_three_wings | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on le... | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{%
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on l... | Add a third pair of wings to the bee | A bee with three sets of wings | medium | add | animal | [
"@@ -24 +24 @@\n\n-lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{\n+lower wing/.style={fill=BlueGrey200}, upper wing/.style={fill=BlueGrey50}, middle wing/.style={fill=BlueGrey100}]{\n@@ -44 +44 @@\n\n-\\foreach \\s [count=\\i from -1] in {lower wing, upper wing}\n+\\foreach \\s [count=... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on l... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on l... | ||
[
1
] | boson_square | \documentclass[tikz,border=5]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage[]{xcolor}
\usepackage{tikz}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{warn luatex=false}
\begin{document}
\begin{tikzpicture}[thick... | \documentclass[tikz,border=5]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage[]{xcolor}
\usepackage{tikz}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{warn luatex=false}
\begin{document}
\begin{tikzpicture}[thick... | Put the c diagram under a. | Feynman diagram in a grid layout | easy | update | scientific | [
"@@ -31 +31 @@\n\n-\\vertex[right = 3 of ce](ce3);\n+\\vertex[below = 2 of ce2](ce3);"
] | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[utf8x]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{amsmath}\n\\usepackage{amssymb}\n\\usepackage{color}\n\\usepackage[]{xcolor}\n\\usepackage{tikz}\n\\usepackage{tikz}\n\\usepackage{tikz-feynman}\n\\tikzfeynmanset{warn luatex=false}\n\n\\begin{documen... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[utf8x]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{amsmath}\n\\usepackage{amssymb}\n\\usepackage{color}\n\\usepackage[]{xcolor}\n\\usepackage{tikz}\n\\usepackage{tikz}\n\\usepackage{tikz-feynman}\n\\tikzfeynmanset{warn luatex=false}\n\n\\begin{documen... | ||
[
23
] | box_other_measure | \documentclass[tikz,border=5]{standalone}
\usepackage{amsmath, amsthm, amssymb,enumerate}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfplots,amsmath}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns,decorations.pathmorphin... | \documentclass[tikz,border=5]{standalone}
\usepackage{amsmath, amsthm, amssymb,enumerate}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfplots,amsmath}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns,decorations.pathmorphin... | Add another interval L2, going from the end of b1 to the end of b3. | colored Boxes placed on a t axis, with a L2 measure on the top right. | easy | add | scientific | [
"@@ -43,0 +44 @@\n\n+\\draw [<->] (7.5,0.65)--node[above]{\\small $L_2$}(9.5,0.65);"
] | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage{amsmath, amsthm, amssymb,enumerate}\n\\usepackage{tikz}\n\\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns}\n\\usepackage{xcolor}\n\\usepackage{tikz}\n\\usepackage{pgfplots,amsmath}\n\\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns,dec... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage{amsmath, amsthm, amssymb,enumerate}\n\\usepackage{tikz}\n\\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns}\n\\usepackage{xcolor}\n\\usepackage{tikz}\n\\usepackage{pgfplots,amsmath}\n\\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns,dec... | ||
[
12
] | cardiac_right_align | \documentclass[tikz,border=5]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usepgfmodule{nonlineartransformations}
\usetikzlibrary{curvilinear,patterns,decorations.pathreplacing,spy,calc}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepgfplotslibrary{groupplots}
\pgfplotsset{/pgfplots/table/search path={dat... | \documentclass[tikz,border=5]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usepgfmodule{nonlineartransformations}
\usetikzlibrary{curvilinear,patterns,decorations.pathreplacing,spy,calc}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepgfplotslibrary{groupplots}
\pgfplotsset{/pgfplots/table/search path={dat... | Move the gpu and the section under it(all the bottom content) to the right of the OpenCL Program. Put the "Execute" arrow to the right so that it does not interfere with the compile arrow. | Diagram of the execution of a openCL program, with the GPU diagram placed on the right. | hard | update | scientific | [
"@@ -26 +26 @@\n\n-\\begin{scope}[shift={(2,1.25)}]\n+\\begin{scope}[shift={(7.5,8.25)}]\n@@ -28,3 +28,3 @@\n\n-\\draw[->,thick,blue] (1.5,4) to (1.5,0.25);\n-\\draw[->,thick,blue] (3.0,4) to (3.0,0.25);\n-\\draw[->,thick,blue] (4.5,4) to (4.5,0.25);\n+\\draw[->,thick,blue] (1.5,4) to (1.5,+0.25);\n+\\draw[->,thick... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage{amsmath}\n\\usepackage{tikz}\n\\usepgfmodule{nonlineartransformations}\n\\usetikzlibrary{curvilinear,patterns,decorations.pathreplacing,spy,calc}\n\\usepackage{pgfplots}\n\\usepackage{pgfplotstable}\n\\usepgfplotslibrary{groupplots}\n\\pgfplotsset{/pgfplots/... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage{amsmath}\n\\usepackage{tikz}\n\\usepgfmodule{nonlineartransformations}\n\\usetikzlibrary{curvilinear,patterns,decorations.pathreplacing,spy,calc}\n\\usepackage{pgfplots}\n\\usepackage{pgfplotstable}\n\\usepgfplotslibrary{groupplots}\n\\pgfplotsset{/pgfplots/... | ||
[
31
] | cardiac_rm_blocks | \documentclass[tikz,border=5]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usepgfmodule{nonlineartransformations}
\usetikzlibrary{curvilinear,patterns,decorations.pathreplacing,spy,calc}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepgfplotslibrary{groupplots}
\pgfplotsset{/pgfplots/table/search path={dat... | \documentclass[tikz,border=5]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usepgfmodule{nonlineartransformations}
\usetikzlibrary{curvilinear,patterns,decorations.pathreplacing,spy,calc}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepgfplotslibrary{groupplots}
\pgfplotsset{/pgfplots/table/search path={dat... | Delete the Blocks 6, 7 and 8. update the size and positions of the boxes and arrows accordingly. | Diagram of the execution of a openCL program, containing 5 blocks | medium | remove | scientific | [
"@@ -13,2 +13,2 @@\n\n-\\begin{scope}[shift={(0,8)}]\n-\\draw[thick,blue](-1,-0.75) rectangle (4,3.25);\n+\\begin{scope}[shift={(0,7.25)}]\n+\\draw[thick,blue](-1,0) rectangle (4,3.25);\n@@ -16,3 +15,0 @@\n\n-\\block(A, 0.0, 0, Block 6)\n-\\block(B, 1.5, 0, Block 7)\n-\\block(C, 3.0, 0, Block 8)\n@@ -27 +24 @@\n\n-... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage{amsmath}\n\\usepackage{tikz}\n\\usepgfmodule{nonlineartransformations}\n\\usetikzlibrary{curvilinear,patterns,decorations.pathreplacing,spy,calc}\n\\usepackage{pgfplots}\n\\usepackage{pgfplotstable}\n\\usepgfplotslibrary{groupplots}\n\\pgfplotsset{/pgfplots/... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage{amsmath}\n\\usepackage{tikz}\n\\usepgfmodule{nonlineartransformations}\n\\usetikzlibrary{curvilinear,patterns,decorations.pathreplacing,spy,calc}\n\\usepackage{pgfplots}\n\\usepackage{pgfplotstable}\n\\usepgfplotslibrary{groupplots}\n\\pgfplotsset{/pgfplots/... | ||
[
1,
8
] | cat_big | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
cat/.pic={
\tikzset{x=3cm/5,y=3cm/5,shift={(0,-1/3)}}
\useasboundingbox (-1,-1) (1,2);
\fill [BlueGrey900] (0,-2)
.. controls ++(180:3) and ++(0:5/4) .. (-2,0)
arc (270:90:1/5)
.. controls ++(0:2) and ++(180:11/4) .. (0,-2+... | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
cat/.pic={
\tikzset{x=3cm/5,y=3cm/5,shift={(0,-1/3)}}
\useasboundingbox (-1,-1) (1,2);
\fill [BlueGrey900] (0,-2)
.. controls ++(180:3) and ++(0:5/4) .. (-2,0)
arc (270:90:1/5)
.. controls ++(0:2) and ++(180:11/4) .. (0,-2+... | Make the cat wider | A very wide cat | medium | update | animal | [
"@@ -5 +5 @@\n\n-\\tikzset{x=3cm/5,y=3cm/5,shift={(0,-1/3)}}\n+\\tikzset{x=4cm/5,y=3cm/5,shift={(0,-1/3)}}",
"@@ -20,2 +20,2 @@\n\n-\\fill [BlueGrey900] ellipse [x radius=3/4, y radius=2];\n-\\fill [BlueGrey100] ellipse [x radius=1/3, y radius=1];\n+\\fill [BlueGrey900] ellipse [x radius=1.25, y radius=2];\n+\\fi... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\ncat/.pic={\n\\tikzset{x=§range(4,5,4)cm/5,y=3cm/5,shift={(0,-1/3)}}\n\\useasboundingbox (§rangei(-1,1),-1) (§rangei(1,1),2);\n\\fill [BlueGrey900] (0,-2)\n .. controls ++(180:3) and ++(0:5/4) .. (-2,0)\n arc (270:90... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\ncat/.pic={\n\\tikzset{x=4cm/5,y=3cm/5,shift={(0,-1/3)}}\n\\useasboundingbox (-1,-1) (1,2);\n\\fill [BlueGrey900] (0,-2)\n .. controls ++(180:3) and ++(0:5/4) .. (-2,0)\n arc (270:90:1/5)\n .. controls ++(0:2) and +... | ||
[
1,
1,
1
] | cat_blue_nose | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
cat/.pic={
\tikzset{x=3cm/5,y=3cm/5,shift={(0,-1/3)}}
\useasboundingbox (-1,-1) (1,2);
\fill [BlueGrey900] (0,-2)
.. controls ++(180:3) and ++(0:5/4) .. (-2,0)
arc (270:90:1/5)
.. controls ++(0:2) and ++(180:11/4) .. (0,-2+... | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
cat/.pic={
\tikzset{x=3cm/5,y=3cm/5,shift={(0,-1/3)}}
\useasboundingbox (-1,-1) (1,2);
\fill [BlueGrey900] (0,-2)
.. controls ++(180:3) and ++(0:5/4) .. (-2,0)
arc (270:90:1/5)
.. controls ++(0:2) and ++(180:11/4) .. (0,-2+... | Make the nose of the cat blue | A cat with a blue nose | easy | update | animal | [
"@@ -30 +30 @@\n\n-\\fill [Purple100]\n+\\fill [Blue]",
"@@ -30 +30 @@\n\n-\\fill [Purple100]\n+\\fill [Blue500]",
"@@ -30 +30 @@\n\n-\\fill [Purple100]\n+\\fill [LightBlue500]"
] | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\ncat/.pic={\n\\tikzset{x=3cm/5,y=3cm/5,shift={(0,-1/3)}}\n\\useasboundingbox (-1,-1) (1,2);\n\\fill [BlueGrey900] (0,-2)\n .. controls ++(180:3) and ++(0:5/4) .. (-2,0)\n arc (270:90:1/5)\n .. controls ++(0:2) and +... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\ncat/.pic={\n\\tikzset{x=3cm/5,y=3cm/5,shift={(0,-1/3)}}\n\\useasboundingbox (-1,-1) (1,2);\n\\fill [BlueGrey900] (0,-2)\n .. controls ++(180:3) and ++(0:5/4) .. (-2,0)\n arc (270:90:1/5)\n .. controls ++(0:2) and +... | ||
[
2
] | cat_longer_mustache | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
cat/.pic={
\tikzset{x=3cm/5,y=3cm/5,shift={(0,-1/3)}}
\useasboundingbox (-1,-1) (1,2);
\fill [BlueGrey900] (0,-2)
.. controls ++(180:3) and ++(0:5/4) .. (-2,0)
arc (270:90:1/5)
.. controls ++(0:2) and ++(180:11/4) .. (0,-2+... | \documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
cat/.pic={
\tikzset{x=3cm/5,y=3cm/5,shift={(0,-1/3)}}
\useasboundingbox (-1,-1) (1,2);
\fill [BlueGrey900] (0,-2)
.. controls ++(180:3) and ++(0:5/4) .. (-2,0)
arc (270:90:1/5)
.. controls ++(0:2) and ++(180:11/4) .. (0,-2+... | Make the mustache of the cat much longer | A cat, with vey long mustaches | easy | update | animal | [
"@@ -49,2 +49,2 @@\n\n-shift=(0:1/2)]\n-ellipse [x radius=1/3, y radius=1/64];\n+shift=(0:1)]\n+ellipse [x radius=1, y radius=1/64];"
] | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\ncat/.pic={\n\\tikzset{x=3cm/5,y=3cm/5,shift={(0,-1/3)}}\n\\useasboundingbox (-1,-1) (1,2);\n\\fill [BlueGrey900] (0,-2)\n .. controls ++(180:3) and ++(0:5/4) .. (-2,0)\n arc (270:90:1/5)\n .. controls ++(0:2) and +... | [
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\ncat/.pic={\n\\tikzset{x=3cm/5,y=3cm/5,shift={(0,-1/3)}}\n\\useasboundingbox (-1,-1) (1,2);\n\\fill [BlueGrey900] (0,-2)\n .. controls ++(180:3) and ++(0:5/4) .. (-2,0)\n arc (270:90:1/5)\n .. controls ++(0:2) and +... |
vTikZ is the first benchmark explicitly designed to evaluate Large Language Models (LLMs) on code editing tasks with visual intent. It focuses on scenarios where natural language instructions are used to modify code that generates diagrams or figures, such as TikZ. The dataset targets the core challenges of this task: localizing relevant code (feature location), generating valid code variants, and ensuring visual consistency with user intent.
add, remove, or update.scientific or animal).If you use this dataset, please cite:
@inproceedings{reux_llmvisualcutomization_2025,
author = {Reux, Charly and Acher, Mathieu and Khelladi, Djamel Eddine and Barais, Olivier and Quinton, Cl{'e}ment},
title = {LLM Code Customization with Visual Results: A Benchmark on TikZ},
booktitle = {Proceedings of {The} 29th {International} {Conference} on {Evaluation} and {Assessment} in {Software} {Engineering} ({EASE} 2025).},
year = {2025},
}