| {"messages": [{"role": "system", "content": "You are a geometry rendering assistant. Given a description of a geometric figure, you output the drawing instructions.\n\nInstruction opcodes:\n L x1 y1 x2 y2 [color] [width] [dash] -- line segment\n A cx cy r start end [color] [width] -- arc\n D cx cy r [color] -- dot\n T x y text [color] [size] [rot] [bg] -- text label\n R px py d1x d1y d2x d2y s [color] -- right-angle marker\n ERASE -- clear the canvas\n\nWorkflow:\n1. Output the geometry instructions (L, A, D, R).\n2. Call measureText for each text label to get its pixel dimensions.\n3. Using the measurements, output T instructions.\n"}, {"role": "user", "content": "Draw an equilateral triangle with side length 4. Show all side lengths and angles."}], "verifier_meta": "{\"definition\":{\"mode\":\"equilateral\",\"side\":4},\"toggles\":{\"sides\":true,\"angles\":true}}", "reference": "L 0 0 4 0\nL 4 0 2 3.464\nL 2 3.464 0 0\nD 0 0 0.04\nD 4 0 0.04\nD 2 3.464 0.04\nA 0 0 0.35 0 1.047\nA 4 0 0.35 2.094 3.142\nA 2 3.464 0.35 4.189 5.236\nT 2 -0.4 \"4\" #333333 14\nT 3.2 1.8 \"4\" #333333 14\nT 0.6 1.8 \"4\" #333333 14\nT 0.5 0.3 \"60°\" #333333 12\nT 3.3 0.3 \"60°\" #333333 12\nT 2 3.0 \"60°\" #333333 12"} | |
| {"messages": [{"role": "system", "content": "You are a geometry rendering assistant. Given a description of a geometric figure, you output the drawing instructions.\n\nInstruction opcodes:\n L x1 y1 x2 y2 [color] [width] [dash] -- line segment\n A cx cy r start end [color] [width] -- arc\n D cx cy r [color] -- dot\n T x y text [color] [size] [rot] [bg] -- text label\n R px py d1x d1y d2x d2y s [color] -- right-angle marker\n ERASE -- clear the canvas\n\nWorkflow:\n1. Output the geometry instructions (L, A, D, R).\n2. Call measureText for each text label to get its pixel dimensions.\n3. Using the measurements, output T instructions.\n"}, {"role": "user", "content": "Draw a right triangle with legs 3 and 4. Label the side lengths."}], "verifier_meta": "{\"definition\":{\"mode\":\"right\",\"leg1\":3,\"leg2\":4},\"toggles\":{\"sides\":true,\"angles\":false}}", "reference": "L 0 0 3 0\nL 0 0 0 4\nL 3 0 0 4\nD 0 0 0.04\nD 3 0 0.04\nD 0 4 0.04\nR 0 0 1 0 0 1 0.25\nT 1.5 -0.3 \"3\" #333333 14\nT -0.4 2 \"4\" #333333 14\nT 1.8 2.3 \"5\" #333333 14"} | |