Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
1
4
question
stringlengths
49
533
options
listlengths
0
5
image
stringlengths
12
15
decoded_image
imagewidth (px)
113
2.52k
answer
stringclasses
47 values
solution
stringclasses
24 values
level
int64
1
5
subject
stringclasses
16 values
prompt
stringlengths
40
1.18k
4
How many different digits can you find in this picture? <image1>
[]
images/4.jpg
6
null
1
counting
How many different digits can you find in this picture?
5
Which number do you have to write in the last daisy? <image1>
[]
images/5.jpg
61
null
2
arithmetic
Which number do you have to write in the last daisy?
6
Misty the cat has five kittens: two of them are striped, one spotty, the rest of them are absolutely white. In which picture can we see the kittens of Misty, knowing that the ears of one of them are of different colour? <image1>
[ "A", "B", "C", "D", "E" ]
images/6.jpg
D
null
3
logic
Misty the cat has five kittens: two of them are striped, one spotty, the rest of them are absolutely white. In which picture can we see the kittens of Misty, knowing that the ears of one of them are of different colour? Choices: (A) (B) (C) (D) (E)
7
How many bricks are missing in the wall? <image1>
[]
images/7.jpg
6
null
1
counting
How many bricks are missing in the wall?
8
The sums of the all the three numbers on each side of the triangle are equal. Two numbers happened to be stained with ink. How much is the sum of these two numbers? <image1>
[]
images/8.jpg
2
null
2
arithmetic
The sums of the all the three numbers on each side of the triangle are equal. Two numbers happened to be stained with ink. How much is the sum of these two numbers?
10
Four people can be seated at a square table. How many people at most could be seated if we pushed four tables of this kind together in one row? <image1>
[]
images/10.jpg
10
null
2
arithmetic
Four people can be seated at a square table. How many people at most could be seated if we pushed four tables of this kind together in one row?
11
Mike has built a construction, shown in the upper picture, from equal cubes. Lily has taken several cubes out of it, thus Mike's construction became such as we see in the lower picture. How many cubes has Lily taken? <image1>
[]
images/11.jpg
7
null
1
solid geometry
Mike has built a construction, shown in the upper picture, from equal cubes. Lily has taken several cubes out of it, thus Mike's construction became such as we see in the lower picture. How many cubes has Lily taken?
16
How many points are there in the three unseen sides of dice? <image1>
[]
images/16.jpg
11
null
2
arithmetic
How many points are there in the three unseen sides of dice?
20
How many plums (see the picture) weigh as much as an apple? <image1>
[]
images/20.jpg
3
null
2
arithmetic
How many plums (see the picture) weigh as much as an apple?
23
Tom bought a chocolate heart (see the picture) to Mary on her birthday. <image1> How many grams did the chocolate weigh, if each square weighs 10 grams?
[]
images/23.jpg
140
null
1
combinatorial geometry
Tom bought a chocolate heart (see the picture) to Mary on her birthday. How many grams did the chocolate weigh, if each square weighs 10 grams?
26
The ladybird would like to sit on his flower. The flower has five petals and the stem has three leaves. On which flower should the ladybird sit? <image1>
[ "A", "B", "C", "D", "E" ]
images/26.jpg
B
null
1
counting
The ladybird would like to sit on his flower. The flower has five petals and the stem has three leaves. On which flower should the ladybird sit? Choices: (A) (B) (C) (D) (E)
27
Theresa moves a pencil along the line. She starts at the arrow shown. In which order will she go past the shapes? <image1>
[ "$\\Delta, \\square, \\bullet$", "$\\Delta, \\bullet, \\square$", "$\\bullet, \\Delta, \\square$", "$\\square, \\Delta, \\bullet$", "$\\square, \\bullet, \\Delta$" ]
images/27.jpg
A
null
5
topology
Theresa moves a pencil along the line. She starts at the arrow shown. In which order will she go past the shapes? Choices: (A) $\Delta, \square, \bullet$ (B) $\Delta, \bullet, \square$ (C) $\bullet, \Delta, \square$ (D) $\square, \Delta, \bullet$ (E) $\square, \bullet, \Delta$
28
There are more grey squares than white. How many more? <image1>
[]
images/28.jpg
9
null
1
counting
There are more grey squares than white. How many more?
29
A big square is made from 25 small squares put together. A few of the small squares have been lost. How many have been lost? <image1>
[]
images/29.jpg
10
null
1
counting
A big square is made from 25 small squares put together. A few of the small squares have been lost. How many have been lost?
32
The kangaroo is inside how many circles? <image1>
[]
images/32.jpg
3
null
1
counting
The kangaroo is inside how many circles?
35
Seven sticks lay on top of each other. Stick 2 lays right at the bottom. Stick 6 lays right on top. Which stick lays exactly in the middle? <image1>
[]
images/35.jpg
3
null
2
descriptive geometry
Seven sticks lay on top of each other. Stick 2 lays right at the bottom. Stick 6 lays right on top. Which stick lays exactly in the middle?
38
Each of the digits 2, 3, 4 and 5 will be placed in a square. Then there will be two numbers, which will be added together. What is the biggest number that they could make? <image1>
[]
images/38.jpg
95
null
2
arithmetic
Each of the digits 2, 3, 4 and 5 will be placed in a square. Then there will be two numbers, which will be added together. What is the biggest number that they could make?
39
Ingrid has 4 red, 3 blue, 2 green and 1 yellow cube. She uses them to build the following object: <image1> Cubes with the same colour don't touch each other. Which colour is the cube with the question mark?
[ "red", "blue", "green", "Yellow", "This cannot be worked out for certain." ]
images/39.jpg
A
null
3
logic
Ingrid has 4 red, 3 blue, 2 green and 1 yellow cube. She uses them to build the following object: Cubes with the same colour don't touch each other. Which colour is the cube with the question mark? Choices: (A) red (B) blue (C) green (D) Yellow (E) This cannot be worked out for certain.
41
How many triangles can you find in the picture? <image1>
[]
images/41.jpg
5
null
1
counting
How many triangles can you find in the picture?
43
How many dots do all ladybirds have together? <image1>
[]
images/43.jpg
19
null
1
counting
How many dots do all ladybirds have together?
49
Every one of these six building blocks consists of 5 little cubes. The little cubes are either white or grey. Cubes of equal colour don't touch each other. How many little white cubes are there in total? <image1>
[]
images/49.jpg
12
null
1
solid geometry
Every one of these six building blocks consists of 5 little cubes. The little cubes are either white or grey. Cubes of equal colour don't touch each other. How many little white cubes are there in total?
52
Which point in the labyrinth can we get to, starting at point $O$? <image1>
[ "A", "B", "C", "D", "E" ]
images/52.jpg
C
null
1
graph theory
Which point in the labyrinth can we get to, starting at point $O$? Choices: (A) (B) (C) (D) (E)
53
Max has 10 dice. Which one of the following solids can he build with them? <image1>
[ "A", "B", "C", "D", "E" ]
images/53.jpg
A
null
1
combinatorial geometry
Max has 10 dice. Which one of the following solids can he build with them? Choices: (A) (B) (C) (D) (E)
55
Gerda walks along the road and writes down the letters she can see on her right hand side. Which word is formed while Gerda walks from point 1 to point 2? <image1>
[ "KNAO", "KNGO", "KNR", "AGRO", "KAO" ]
images/55.jpg
A
null
1
combinatorics
Gerda walks along the road and writes down the letters she can see on her right hand side. Which word is formed while Gerda walks from point 1 to point 2? Choices: (A) KNAO (B) KNGO (C) KNR (D) AGRO (E) KAO
61
Into how many pieces will the string be cut? <image1>
[]
images/61.jpg
9
null
1
counting
Into how many pieces will the string be cut?
62
How many blocks are missing in this igloo? <image1>
[]
images/62.jpg
10
null
1
counting
How many blocks are missing in this igloo?
64
Four of the numbers 1,3,4,5 and 7 are written into the boxes so that the calculation is correct. Which number was not used? <image1>
[]
images/64.jpg
4
null
2
arithmetic
Four of the numbers 1,3,4,5 and 7 are written into the boxes so that the calculation is correct. Which number was not used?
71
Each one of the four keys locks exactly one padlock. Every letter on a padlock stands for exactly one digit. Same letters mean same digits. Which letters must be written on the fourth padlock? <image1>
[ "GDA", "ADG", "GAD", "GAG", "DAD" ]
images/71.jpg
D
null
3
logic
Each one of the four keys locks exactly one padlock. Every letter on a padlock stands for exactly one digit. Same letters mean same digits. Which letters must be written on the fourth padlock? Choices: (A) GDA (B) ADG (C) GAD (D) GAG (E) DAD
75
Peter has drawn this pattern: <image1> He draws exactly the same pattern once more. Which point is on his drawing?
[ "A", "B", "C", "D", "E" ]
images/75.jpg
D
null
1
combinatorial geometry
Peter has drawn this pattern: He draws exactly the same pattern once more. Which point is on his drawing? Choices: (A) (B) (C) (D) (E)
78
In order to get to his bone, the dog has to follow the black line. In total he turns 3-times to the right and 2-times to the left. Which path does he take? <image1>
[ "A", "B", "C", "D", "E" ]
images/78.jpg
E
null
1
counting
In order to get to his bone, the dog has to follow the black line. In total he turns 3-times to the right and 2-times to the left. Which path does he take? Choices: (A) (B) (C) (D) (E)
80
Charles cuts a rope into 3 equally long pieces. Then he makes one knot in one of the pieces, 2 in the next and in the third piece 3 knots. Then he lays the three pieces down in a random order. Which picture does he see? <image1>
[ "A", "B", "C", "D", "E" ]
images/80.jpg
B
null
1
metric geometry - length
Charles cuts a rope into 3 equally long pieces. Then he makes one knot in one of the pieces, 2 in the next and in the third piece 3 knots. Then he lays the three pieces down in a random order. Which picture does he see? Choices: (A) (B) (C) (D) (E)
89
Jörg is sorting his socks. Two socks with the same number are one pair. <image1> How many pairs can he find?
[]
images/89.jpg
5
null
1
counting
Jörg is sorting his socks. Two socks with the same number are one pair. How many pairs can he find?
90
Five equally big square pieces of card are placed on a table on top of each other. The picture on the side is created this way. The cards are collected up from top to bottom. In which order are they collected? <image1>
[ "5-4-3-2-1", "5-2-3-4-1", "5-4-2-3-1", "5-3-2-1-4", "5-2-3-1-4" ]
images/90.jpg
E
null
2
descriptive geometry
Five equally big square pieces of card are placed on a table on top of each other. The picture on the side is created this way. The cards are collected up from top to bottom. In which order are they collected? Choices: (A) 5-4-3-2-1 (B) 5-2-3-4-1 (C) 5-4-2-3-1 (D) 5-3-2-1-4 (E) 5-2-3-1-4
91
The floor of a room is covered with equally big rectangular tiles (see picture). How long is the room? <image1>
[ "$6 \\mathrm{~m}$", "$8 \\mathrm{~m}$", "$10 \\mathrm{~m}$", "$11 \\mathrm{~m}$", "$12 \\mathrm{~m}$" ]
images/91.jpg
E
null
1
combinatorial geometry
The floor of a room is covered with equally big rectangular tiles (see picture). How long is the room? Choices: (A) $6 \mathrm{~m}$ (B) $8 \mathrm{~m}$ (C) $10 \mathrm{~m}$ (D) $11 \mathrm{~m}$ (E) $12 \mathrm{~m}$
92
The picture shows a mouse and a piece of cheese. The mouse is only allowed to move to the neighbouring fields in the direction of the arrows. How many paths are there from the mouse to the cheese? <image1>
[]
images/92.jpg
6
null
1
combinatorics
The picture shows a mouse and a piece of cheese. The mouse is only allowed to move to the neighbouring fields in the direction of the arrows. How many paths are there from the mouse to the cheese?
104
Maria made a block using white cubes and colored cubes in equal amounts. How many of the white cubes cannot be seen in the picture? <image1>
[]
images/104.jpg
2
null
1
solid geometry
Maria made a block using white cubes and colored cubes in equal amounts. How many of the white cubes cannot be seen in the picture?
105
Ana draws some shapes on a sheet. Her drawing has fewer squares than triangles. What could be her drawing? <image1>
[ "A", "B", "C", "D", "E" ]
images/105.jpg
D
null
1
counting
Ana draws some shapes on a sheet. Her drawing has fewer squares than triangles. What could be her drawing? Choices: (A) (B) (C) (D) (E)
107
A village of 12 houses has four straight streets and four circular streets. The map shows 11 houses. In each straight street there are three houses and in each circular street there are also three houses. Where should the 12th house be placed on this map? <image1>
[ "On A", "On B", "On C", "On D", "On E" ]
images/107.jpg
D
null
3
logic
A village of 12 houses has four straight streets and four circular streets. The map shows 11 houses. In each straight street there are three houses and in each circular street there are also three houses. Where should the 12th house be placed on this map? Choices: (A) On A (B) On B (C) On C (D) On D (E) On E
114
Two equal trains, each with 31 numbered wagons, travel in opposite directions. When the wagon number 7 of a train is side by side with the wagon number 12 of the other train, which wagon is side by side with the wagon number 11 ? <image1>
[]
images/114.jpg
8
null
1
algebra
Two equal trains, each with 31 numbered wagons, travel in opposite directions. When the wagon number 7 of a train is side by side with the wagon number 12 of the other train, which wagon is side by side with the wagon number 11 ?
115
Six different numbers, chosen from integers 1 to 9 , are written on the faces of a cube, one number per face. The sum of the numbers on each pair of opposite faces is always the same. Which of the following numbers could have been written on the opposite side with the number 8 ? <image1>
[]
images/115.jpg
3
null
3
logic
Six different numbers, chosen from integers 1 to 9 , are written on the faces of a cube, one number per face. The sum of the numbers on each pair of opposite faces is always the same. Which of the following numbers could have been written on the opposite side with the number 8 ?
117
In the figure, an arrow pointing from one person to another means that the first person is shorter than the second. For example, person $B$ is shorter than person $A$. Which person is the tallest? <image1>
[ "Person A", "Person B", "Person C", "Person D", "Person E" ]
images/117.jpg
C
null
3
logic
In the figure, an arrow pointing from one person to another means that the first person is shorter than the second. For example, person $B$ is shorter than person $A$. Which person is the tallest? Choices: (A) Person A (B) Person B (C) Person C (D) Person D (E) Person E
118
Maia the bee can only walk on colorful houses. How many ways can you color exactly three white houses with the same color so that Maia can walk from $A$ to $B$ ? <image1>
[]
images/118.jpg
16
null
1
combinatorics
Maia the bee can only walk on colorful houses. How many ways can you color exactly three white houses with the same color so that Maia can walk from $A$ to $B$ ?
120
The picture shows 2 mushrooms. What is the difference between their heights? <image1>
[]
images/120.jpg
5
null
2
arithmetic
The picture shows 2 mushrooms. What is the difference between their heights?
124
These children are standing in a line. Some are facing forwards and others are facing backwards. How many children are holding another child's hand with their right hand? <image1>
[]
images/124.jpg
6
null
1
counting
These children are standing in a line. Some are facing forwards and others are facing backwards. How many children are holding another child's hand with their right hand?
125
In the Kangaroo constellation, all stars have a number greater than 3 and their sum is 20 . Which is the Kangaroo constellation? <image1>
[ "A", "B", "C", "D", "E" ]
images/125.jpg
B
null
2
arithmetic
In the Kangaroo constellation, all stars have a number greater than 3 and their sum is 20 . Which is the Kangaroo constellation? Choices: (A) (B) (C) (D) (E)
126
Edmund cut a ribbon as shown in the picture. How many pieces of the ribbon did he finish with? <image1>
[]
images/126.jpg
12
null
5
topology
Edmund cut a ribbon as shown in the picture. How many pieces of the ribbon did he finish with?
149
The numbers in the five circles around each house add up to 20 . Some numbers are missing. <image1> Which number does the question mark stand for?
[]
images/149.jpg
9
null
1
algebra
The numbers in the five circles around each house add up to 20 . Some numbers are missing. Which number does the question mark stand for?
159
The two markers with a question mark have the same number. <image1> Which number do you have to put instead of the question mark so that the calculation is correct?
[]
images/159.jpg
3
null
1
algebra
The two markers with a question mark have the same number. Which number do you have to put instead of the question mark so that the calculation is correct?
162
Each of the children Ali, Lea, Josef, Vittorio and Sophie get a birthday cake. The number on top of the cake shows how old the child is. Lea is two years older than Josef, but one year younger than Ali. Vittorio is the youngest. Which cake belongs to Sophie? <image1>
[ "A", "B", "C", "D", "E" ]
images/162.jpg
C
null
3
logic
Each of the children Ali, Lea, Josef, Vittorio and Sophie get a birthday cake. The number on top of the cake shows how old the child is. Lea is two years older than Josef, but one year younger than Ali. Vittorio is the youngest. Which cake belongs to Sophie? Choices: (A) (B) (C) (D) (E)
164
According to the rule given in the left picture below, we construct a numerical triangle with an integer number greater than 1 in each cell. Which of the numbers given in the answers cannot appear in the shaded cell? <image1>
[ "154", "100", "90", "88", "60" ]
images/164.jpg
A
null
5
algebra
According to the rule given in the left picture below, we construct a numerical triangle with an integer number greater than 1 in each cell. Which of the numbers given in the answers cannot appear in the shaded cell? Choices: (A) 154 (B) 100 (C) 90 (D) 88 (E) 60
167
We first draw an equilateral triangle, then draw the circumcircle of this triangle, then circumscribe a square to this circle. After drawing another circumcircle, we circumscribe a regular pentagon to this circle, and so on. We repeat this construction with new circles and new regular polygons (each with one side more ...
[]
images/167.jpg
248
null
5
algebra
We first draw an equilateral triangle, then draw the circumcircle of this triangle, then circumscribe a square to this circle. After drawing another circumcircle, we circumscribe a regular pentagon to this circle, and so on. We repeat this construction with new circles and new regular polygons (each with one side more ...
168
In the picture $A B C D$ is a rectangle with $A B=16, B C=12$. Let $E$ be such a point that $A C \perp C E, C E=15$. If $F$ is the point of intersection of segments $A E$ and $C D$, then the area of the triangle $A C F$ is equal to <image1>
[]
images/168.jpg
75
null
5
metric geometry - area
In the picture $A B C D$ is a rectangle with $A B=16, B C=12$. Let $E$ be such a point that $A C \perp C E, C E=15$. If $F$ is the point of intersection of segments $A E$ and $C D$, then the area of the triangle $A C F$ is equal to
173
A circle $K$ is inscribed in a quarter circle with radius 6 as shown in the figure. What is the radius of circle $K$? <image1>
[ "$\\frac{6-\\sqrt{2}}{2}$", "$\\frac{3 \\sqrt{2}}{2}$", "2.5", "3", "$6(\\sqrt{2}-1)$" ]
images/173.jpg
E
null
5
metric geometry - length
A circle $K$ is inscribed in a quarter circle with radius 6 as shown in the figure. What is the radius of circle $K$? Choices: (A) $\frac{6-\sqrt{2}}{2}$ (B) $\frac{3 \sqrt{2}}{2}$ (C) 2.5 (D) 3 (E) $6(\sqrt{2}-1)$
175
The figure shows graphs of functions $f$ and $g$ defined on real numbers. Each graph consists of two perpendicular halflines. Which equality is satisfied for every real number $x$? <image1>
[ "$f(x)=-g(x)+2$", "$f(x)=-g(x)-2$", "$f(x)=-g(x+2)$", "$f(x+2)=-g(x)$", "$f(x+1)=-g(x-1)$" ]
images/175.jpg
C
null
4
analytic geometry
The figure shows graphs of functions $f$ and $g$ defined on real numbers. Each graph consists of two perpendicular halflines. Which equality is satisfied for every real number $x$? Choices: (A) $f(x)=-g(x)+2$ (B) $f(x)=-g(x)-2$ (C) $f(x)=-g(x+2)$ (D) $f(x+2)=-g(x)$ (E) $f(x+1)=-g(x-1)$
176
How many triangles can be drawn with vertices in the 18 points shown in the figure? <image1>
[]
images/176.jpg
711
null
5
combinatorics
How many triangles can be drawn with vertices in the 18 points shown in the figure?
180
A $3 \times 3 \times 3$ cube weighs 810 grams. If we drill three holes through it as shown, each of which is a $1 \times 1 \times 3$ rectangular parallelepiped, the weight of the remaining solid is: <image1>
[ "$540 \\mathrm{~g}$", "$570 \\mathrm{~g}$", "$600 \\mathrm{~g}$", "$630 \\mathrm{~g}$", "$660 \\mathrm{~g}$" ]
images/180.jpg
C
null
3
solid geometry
A $3 \times 3 \times 3$ cube weighs 810 grams. If we drill three holes through it as shown, each of which is a $1 \times 1 \times 3$ rectangular parallelepiped, the weight of the remaining solid is: Choices: (A) $540 \mathrm{~g}$ (B) $570 \mathrm{~g}$ (C) $600 \mathrm{~g}$ (D) $630 \mathrm{~g}$ (E) $660 \mathrm{~g}$
181
We are given three semi-circles as shown. $A B E F$ is a rectangle and the radius of each of the semi-circles is $2 \mathrm{~cm}$. $E$ and $F$ are the centers of the bottom semi-circles. The area of the shaded region (in $\mathrm{cm}^{2}$) is: <image1>
[]
images/181.jpg
8
null
5
metric geometry - area
We are given three semi-circles as shown. $A B E F$ is a rectangle and the radius of each of the semi-circles is $2 \mathrm{~cm}$. $E$ and $F$ are the centers of the bottom semi-circles. The area of the shaded region (in $\mathrm{cm}^{2}$) is:
183
In the quadrilateral $A B C D$ the diagonal $B D$ is the bisector of $\angle A B C$ and $A C=B C$. Given $\angle B D C=80^{\circ}$ and $\angle A C B=20^{\circ}, \angle B A D$ is equal to: <image1>
[ "$90^{\\circ}$", "$100^{\\circ}$", "$110^{\\circ}$", "$120^{\\circ}$", "$135^{\\circ}$" ]
images/183.jpg
D
null
4
metric geometry - angle
In the quadrilateral $A B C D$ the diagonal $B D$ is the bisector of $\angle A B C$ and $A C=B C$. Given $\angle B D C=80^{\circ}$ and $\angle A C B=20^{\circ}, \angle B A D$ is equal to: Choices: (A) $90^{\circ}$ (B) $100^{\circ}$ (C) $110^{\circ}$ (D) $120^{\circ}$ (E) $135^{\circ}$
187
In the diagram, $A B$ has length $1 ; \angle A B C=\angle A C D=90^{\circ}$; $\angle C A B=\angle D A C=\theta$. What is the length of $A D$? <image1>
[ "$\\cos \\beta+\\tg \\beta$", "$\\frac{1}{\\cos (2 \\beta)}$", "$\\cos ^{2} \\beta$", "$\\cos (2 \\beta)$", "$\\frac{1}{\\cos ^{2} \\beta}$" ]
images/187.jpg
E
null
5
metric geometry - length
In the diagram, $A B$ has length $1 ; \angle A B C=\angle A C D=90^{\circ}$; $\angle C A B=\angle D A C=\theta$. What is the length of $A D$? Choices: (A) $\cos \beta+\tg \beta$ (B) $\frac{1}{\cos (2 \beta)}$ (C) $\cos ^{2} \beta$ (D) $\cos (2 \beta)$ (E) $\frac{1}{\cos ^{2} \beta}$
190
The cells of a $4 \times 4$ table are coloured black and white as shown in the left figure. One move allows us to exchange any two cells positioned in the same row or in the same column. What is the least number of moves necessary to obtain in the right figure? <image1>
[]
images/190.jpg
4
null
5
graph theory
The cells of a $4 \times 4$ table are coloured black and white as shown in the left figure. One move allows us to exchange any two cells positioned in the same row or in the same column. What is the least number of moves necessary to obtain in the right figure?
193
Points $M$ and $N$ are given on the sides $A B$ and $B C$ of a rectangle $A B C D$. Then the rectangle is divided into several parts as shown in the picture. The areas of 3 parts are also given in the picture. Find the area of the quadrilateral marked with "?". <image1>
[]
images/193.jpg
25
null
5
metric geometry - area
Points $M$ and $N$ are given on the sides $A B$ and $B C$ of a rectangle $A B C D$. Then the rectangle is divided into several parts as shown in the picture. The areas of 3 parts are also given in the picture. Find the area of the quadrilateral marked with "?".
195
A die is in the position shown in the picture. It can be rolled along the path of 12 squares as shown. How many times must the die go around the path in order for it to return to its initial position with all faces in the initial positions? <image1>
[]
images/195.jpg
3
null
3
solid geometry
A die is in the position shown in the picture. It can be rolled along the path of 12 squares as shown. How many times must the die go around the path in order for it to return to its initial position with all faces in the initial positions?
201
Two semicircles are drawn as shown in the figure. The chord $C D$, of length 4 , is parallel to the diameter $A B$ of the greater semicircle and touches the smaller semicircle. Then the area of the shaded region equals <image1>
[ "$\\pi$", "$1.5 \\pi$", "$2 \\pi$", "$3 \\pi$", "Not enough data" ]
images/201.jpg
C
null
5
metric geometry - area
Two semicircles are drawn as shown in the figure. The chord $C D$, of length 4 , is parallel to the diameter $A B$ of the greater semicircle and touches the smaller semicircle. Then the area of the shaded region equals Choices: (A) $\pi$ (B) $1.5 \pi$ (C) $2 \pi$ (D) $3 \pi$ (E) Not enough data
203
We see in the diagram at the right a piece of the graphic of the function $$ f(x)=a x^{3}+b x^{2}+c x+d. $$ What is the value of $b$? <image1>
[]
images/203.jpg
-2
null
4
analytic geometry
We see in the diagram at the right a piece of the graphic of the function $$ f(x)=a x^{3}+b x^{2}+c x+d. $$ What is the value of $b$?
206
A river starts at point $A$. As it flows the river splits into two. The first branch takes $\frac{2}{3}$ of the water and the second takes the rest. Later the first branch splits into three, one taking $\frac{1}{8}$ of the branch's water, the second $\frac{5}{8}$ and the third one the rest. Further down this last branc...
[ "$\\frac{1}{3}$", "$\\frac{5}{4}$", "$\\frac{2}{9}$", "$\\frac{1}{2}$", "$\\frac{1}{4}$" ]
images/206.jpg
D
null
5
graph theory
A river starts at point $A$. As it flows the river splits into two. The first branch takes $\frac{2}{3}$ of the water and the second takes the rest. Later the first branch splits into three, one taking $\frac{1}{8}$ of the branch's water, the second $\frac{5}{8}$ and the third one the rest. Further down this last branc...
210
We take three points from the grid so that they were collinear. How many possibilities do we have? <image1>
[]
images/210.jpg
20
null
5
combinatorics
We take three points from the grid so that they were collinear. How many possibilities do we have?
211
In the figure each asterisk stands for one digit. The sum of the digits of the product is equal to <image1>
[]
images/211.jpg
16
null
5
algebra
In the figure each asterisk stands for one digit. The sum of the digits of the product is equal to
213
The square $A B C D$ has a side of length 1 and $M$ is the midpoint of $A B$. The area of the shaded region is <image1>
[ "$\\frac{1}{24}$", "$\\frac{1}{16}$", "$\\frac{1}{8}$", "$\\frac{1}{12}$", "$\\frac{2}{13}$" ]
images/213.jpg
D
null
5
metric geometry - area
The square $A B C D$ has a side of length 1 and $M$ is the midpoint of $A B$. The area of the shaded region is Choices: (A) $\frac{1}{24}$ (B) $\frac{1}{16}$ (C) $\frac{1}{8}$ (D) $\frac{1}{12}$ (E) $\frac{2}{13}$
214
We used metal rods to build this nice ensemble. We know there are 61 octagons. How many rods are there? <image1>
[]
images/214.jpg
446
null
5
algebra
We used metal rods to build this nice ensemble. We know there are 61 octagons. How many rods are there?
215
The suare in the diagram has side length 1. The radius of the small circle would then be of the length <image1>
[ "$\\sqrt{2}-1$", "$\\frac{1}{4}$", "$\\frac{\\sqrt{2}}{4}$", "$1-\\frac{\\sqrt{2}}{2}$", "$(\\sqrt{2}-1)^{2}$" ]
images/215.jpg
E
null
5
metric geometry - length
The suare in the diagram has side length 1. The radius of the small circle would then be of the length Choices: (A) $\sqrt{2}-1$ (B) $\frac{1}{4}$ (C) $\frac{\sqrt{2}}{4}$ (D) $1-\frac{\sqrt{2}}{2}$ (E) $(\sqrt{2}-1)^{2}$
216
Each side of a triangle $A B C$ is being extended to the points $\mathrm{P}, \mathrm{Q}, \mathrm{R}, \mathrm{S}, \mathrm{T}$ and $\mathrm{U}$, so that $\mathrm{PA}=\mathrm{AB}=\mathrm{BS}, \mathrm{TC}=\mathrm{CA}$ $=\mathrm{AQ}$ and $\mathrm{UC}=\mathrm{CB}=\mathrm{BR}$. The area of $\mathrm{ABC}$ is 1. How big is the ...
[]
images/216.jpg
13
null
5
metric geometry - area
Each side of a triangle $A B C$ is being extended to the points $\mathrm{P}, \mathrm{Q}, \mathrm{R}, \mathrm{S}, \mathrm{T}$ and $\mathrm{U}$, so that $\mathrm{PA}=\mathrm{AB}=\mathrm{BS}, \mathrm{TC}=\mathrm{CA}$ $=\mathrm{AQ}$ and $\mathrm{UC}=\mathrm{CB}=\mathrm{BR}$. The area of $\mathrm{ABC}$ is 1. How big is the ...
217
In the diagram on the right we want to colour the fields with the colours A, B, C and D so that adjacent fields are always in different colours. (Even fields that share only one corner, count as adjacent.) Some fields have already been coloured in. In which colour can the grey field be coloured in? <image1>
[ "either A or B", "only C", "only D", "either C or D", "A, B, C or D" ]
images/217.jpg
D
null
5
graph theory
In the diagram on the right we want to colour the fields with the colours A, B, C and D so that adjacent fields are always in different colours. (Even fields that share only one corner, count as adjacent.) Some fields have already been coloured in. In which colour can the grey field be coloured in? Choices: (A) either ...
218
A (very small) ball is kicked off from point A on a square billiard table with side length $2 \mathrm{~m}$. After moving along the shown path and touching the sides three times as indicated, the path ends in point $B$. How long is the path that the bal travels from A to B? (As indicated on the right: incident angle = e...
[ "7", "$2 \\sqrt{13}$", "8", "$4 \\sqrt{3}$", "$2 \\cdot(\\sqrt{2}+\\sqrt{3})$" ]
images/218.jpg
B
null
5
metric geometry - length
A (very small) ball is kicked off from point A on a square billiard table with side length $2 \mathrm{~m}$. After moving along the shown path and touching the sides three times as indicated, the path ends in point $B$. How long is the path that the bal travels from A to B? (As indicated on the right: incident angle = e...
219
In the diagram to the right a $2 \times 2 \times 2$ cube is made up of four transparent $1 \times 1 \times 1$ cubes and four non-transparent black $1 \times 1 \times 1$ cubes. They are placed in a way so that the entire big cube is nontransparent; i.e. looking at it from the front to the back, the right to the left, th...
[]
images/219.jpg
9
null
3
solid geometry
In the diagram to the right a $2 \times 2 \times 2$ cube is made up of four transparent $1 \times 1 \times 1$ cubes and four non-transparent black $1 \times 1 \times 1$ cubes. They are placed in a way so that the entire big cube is nontransparent; i.e. looking at it from the front to the back, the right to the left, th...
223
The sum of the number in each line, column and diagonal in the Ămagic squareñon the right is always constant. Only two numbers are visible. Which number is missing in field $a$? <image1>
[ "16", "51", "54", "55", "110" ]
images/223.jpg
D
null
1
logic
The sum of the number in each line, column and diagonal in the Ămagic squareñon the right is always constant. Only two numbers are visible. Which number is missing in field $a$? Choices: (A) 16 (B) 51 (C) 54 (D) 55 (E) 110
224
In a rectangle JKLM the angle bisector in $\mathrm{J}$ intersects the diagonal KM in $\mathrm{N}$. The distance of $\mathrm{N}$ to $\mathrm{LM}$ is 1 and the distance of $\mathrm{N}$ to $\mathrm{KL}$ is 8. How long is LM? <image1>
[ "$8+2 \\sqrt{2}$", "$11-\\sqrt{2}$", "10", "$8+3 \\sqrt{2}$", "$11+\\frac{\\sqrt{2}}{2}$" ]
images/224.jpg
A
null
5
metric geometry - length
In a rectangle JKLM the angle bisector in $\mathrm{J}$ intersects the diagonal KM in $\mathrm{N}$. The distance of $\mathrm{N}$ to $\mathrm{LM}$ is 1 and the distance of $\mathrm{N}$ to $\mathrm{KL}$ is 8. How long is LM? Choices: (A) $8+2 \sqrt{2}$ (B) $11-\sqrt{2}$ (C) 10 (D) $8+3 \sqrt{2}$ (E) $11+\frac{\sqrt{2}}{2}...
230
Which of the following graphs represents the solution set of $(x-|x|)^{2}+(y-|y|)^{2}=4$? <image1>
[ "A", "B", "C", "D", "E" ]
images/230.jpg
A
null
4
analytic geometry
Which of the following graphs represents the solution set of $(x-|x|)^{2}+(y-|y|)^{2}=4$? Choices: (A) (B) (C) (D) (E)
231
A strip of paper is folded three times as shown. Determine $\beta$ if $\alpha=70^{\circ}$. <image1>
[ "$140^{\\circ}$", "$130^{\\circ}$", "$120^{\\circ}$", "$110^{\\circ}$", "$100^{\\circ}$" ]
images/231.jpg
C
null
5
transformation geometry
A strip of paper is folded three times as shown. Determine $\beta$ if $\alpha=70^{\circ}$. Choices: (A) $140^{\circ}$ (B) $130^{\circ}$ (C) $120^{\circ}$ (D) $110^{\circ}$ (E) $100^{\circ}$
233
The picture on the right shows a tile pattern. The side length of the bigger tiles is a and of the smaller ones b. The dotted lines (horizontal and tilted) include an angle of $30^{\circ}$. How big is the ratio a:b? <image1>
[ "$(2 \\cdot \\sqrt{3}): 1$", "$(2+\\sqrt{3}): 1$", "$(3+\\sqrt{2}): 1$", "$(3 \\cdot \\sqrt{2}): 1$", "2:1" ]
images/233.jpg
B
null
4
metric geometry - angle
The picture on the right shows a tile pattern. The side length of the bigger tiles is a and of the smaller ones b. The dotted lines (horizontal and tilted) include an angle of $30^{\circ}$. How big is the ratio a:b? Choices: (A) $(2 \cdot \sqrt{3}): 1$ (B) $(2+\sqrt{3}): 1$ (C) $(3+\sqrt{2}): 1$ (D) $(3 \cdot \sqrt{2})...
234
In the picture on the right a number should be written next to each point. The sum of the numbers on the corners of each side of the hexagon should be equal. Two numbers have already been inserted. Which number should be in the place marked '$x$'? <image1>
[]
images/234.jpg
1
null
5
algebra
In the picture on the right a number should be written next to each point. The sum of the numbers on the corners of each side of the hexagon should be equal. Two numbers have already been inserted. Which number should be in the place marked '$x$'?
242
In the (x,y)-plane the co-ordinate axes are positioned as usual. Point $A(1,-10)$ which is on the parabola $y=a x^{2}+b x+c$ was marked. Afterwards the co-ordinate axis and the majority of the parabola were deleted. Which of the following statements could be false? <image1>
[ "$a>0$", "$b<0$", "$a+b+c<0$", "$b^{2}>4 a c$", "$c<0$" ]
images/242.jpg
E
null
4
analytic geometry
In the (x,y)-plane the co-ordinate axes are positioned as usual. Point $A(1,-10)$ which is on the parabola $y=a x^{2}+b x+c$ was marked. Afterwards the co-ordinate axis and the majority of the parabola were deleted. Which of the following statements could be false? Choices: (A) $a>0$ (B) $b<0$ (C) $a+b+c<0$ (D) $b^{2}>...
246
In a list of five numbers the first number is 2 and the last one is 12. The product of the first three numbers is 30 , of the middle three 90 and of the last three 360. What is the middle number in that list? <image1>
[]
images/246.jpg
5
null
5
algebra
In a list of five numbers the first number is 2 and the last one is 12. The product of the first three numbers is 30 , of the middle three 90 and of the last three 360. What is the middle number in that list?
250
A right-angled triangle with side lengths $a=8, b=15$ and $c=17$ is given. How big is the radius $r$ of the inscribed semicircle shown? <image1>
[]
images/250.jpg
4.8
null
5
metric geometry - length
A right-angled triangle with side lengths $a=8, b=15$ and $c=17$ is given. How big is the radius $r$ of the inscribed semicircle shown?
253
Let $a>b$. If the ellipse shown rotates about the $x$-axis an ellipsoid $E_{x}$ with volume $\operatorname{Vol}\left(E_{x}\right)$ is obtained. If it rotates about the $y$-axis an ellipsoid $E_{y}$ with volume $\operatorname{Vol}\left(E_{y}\right)$ is obtained. Which of the following statements is true? <image1>
[ "$\\mathrm{E}_{\\mathrm{x}}=\\mathrm{E}_{\\mathrm{y}}$ and $\\operatorname{Vol}\\left(\\mathrm{E}_{\\mathrm{x}}\\right)=\\operatorname{Vol}\\left(\\mathrm{E}_{\\mathrm{y}}\\right)$", "$\\mathrm{E}_{\\mathrm{x}}=\\mathrm{E}_{\\mathrm{y}}$ but $\\operatorname{Vol}\\left(\\mathrm{E}_{\\mathrm{x}}\\right) \\neq \\ope...
images/253.jpg
C
null
3
solid geometry
Let $a>b$. If the ellipse shown rotates about the $x$-axis an ellipsoid $E_{x}$ with volume $\operatorname{Vol}\left(E_{x}\right)$ is obtained. If it rotates about the $y$-axis an ellipsoid $E_{y}$ with volume $\operatorname{Vol}\left(E_{y}\right)$ is obtained. Which of the following statements is true? Choices: (A) $\...
254
An equilateral triangle is being rolled around a unit square as shown. How long is the path that the point shown covers, if the point and the triangle are both back at the start for the first time? <image1>
[ "$4 \\pi$", "$\\frac{28}{3} \\pi$", "$8 \\pi$", "$\\frac{14}{3} \\pi$", "$\\frac{21}{2} \\pi$" ]
images/254.jpg
B
null
5
transformation geometry
An equilateral triangle is being rolled around a unit square as shown. How long is the path that the point shown covers, if the point and the triangle are both back at the start for the first time? Choices: (A) $4 \pi$ (B) $\frac{28}{3} \pi$ (C) $8 \pi$ (D) $\frac{14}{3} \pi$ (E) $\frac{21}{2} \pi$
255
The regular eight-sided shape on the right has sides of length 10. A circle touches all inscribed diagonals of this eight-sided shape. What is the radius of this circle? <image1>
[]
images/255.jpg
5
null
5
metric geometry - length
The regular eight-sided shape on the right has sides of length 10. A circle touches all inscribed diagonals of this eight-sided shape. What is the radius of this circle?
259
Amongst the graphs shown below there is the graph of the function $f(x)=(a-x)(b-x)^{2}$ with $a<b$. Which is it? <image1>
[ "A", "B", "C", "D", "E" ]
images/259.jpg
A
null
4
analytic geometry
Amongst the graphs shown below there is the graph of the function $f(x)=(a-x)(b-x)^{2}$ with $a<b$. Which is it? Choices: (A) (B) (C) (D) (E)
261
In a triangle $A B C$ the points $M$ and $N$ are placed on side $A B$ so that $A N=A C$ and $B M=$ $B C$. Determine $\angle A C B$ if $\angle M C N=43^{\circ}$ <image1>
[ "$86^{\\circ}$", "$89^{\\circ}$", "$90^{\\circ}$", "$92^{\\circ}$", "$94^{\\circ}$" ]
images/261.jpg
E
null
4
metric geometry - angle
In a triangle $A B C$ the points $M$ and $N$ are placed on side $A B$ so that $A N=A C$ and $B M=$ $B C$. Determine $\angle A C B$ if $\angle M C N=43^{\circ}$ Choices: (A) $86^{\circ}$ (B) $89^{\circ}$ (C) $90^{\circ}$ (D) $92^{\circ}$ (E) $94^{\circ}$
263
If one removes some $1 \times 1 \times 1$ cubes from a $5 \times 5 \times 5$ cube, you obtain the solid shown. It consists of several equally high pillars that are built upon a common base. How many little cubes have been removed? <image1>
[]
images/263.jpg
64
null
3
solid geometry
If one removes some $1 \times 1 \times 1$ cubes from a $5 \times 5 \times 5$ cube, you obtain the solid shown. It consists of several equally high pillars that are built upon a common base. How many little cubes have been removed?
269
In the diagram on the right the following can be seen: a straight line, which is the common tangent of two touching circles with radius 1, and a square with one edge on the straight line and the other vertices one on each of the two circles. How big is the side length of the square? <image1>
[ "$\\frac{2}{5}$", "$\\frac{1}{4}$", "$\\frac{1}{\\sqrt{2}}$", "$\\frac{1}{\\sqrt{5}}$", "$\\frac{1}{2}$" ]
images/269.jpg
A
null
5
metric geometry - length
In the diagram on the right the following can be seen: a straight line, which is the common tangent of two touching circles with radius 1, and a square with one edge on the straight line and the other vertices one on each of the two circles. How big is the side length of the square? Choices: (A) $\frac{2}{5}$ (B) $\fra...
270
In the diagram a closed polygon can be seen whose vertices are the midpoints of the edges of the die. The interior angles are as usual defined as the angle that two sides of the polygon describe in a common vertex. How big is the sum of all interior angles of the polygon? <image1>
[ "$720^{\\circ}$", "$1080^{\\circ}$", "$1200^{\\circ}$", "$1440^{\\circ}$", "$1800^{\\circ}$" ]
images/270.jpg
B
null
3
solid geometry
In the diagram a closed polygon can be seen whose vertices are the midpoints of the edges of the die. The interior angles are as usual defined as the angle that two sides of the polygon describe in a common vertex. How big is the sum of all interior angles of the polygon? Choices: (A) $720^{\circ}$ (B) $1080^{\circ}$ (...
272
How many of the following shapes can be drawn using one continuous line (i.e. without lifting the pencil) and without going over a line twice? <image1>
[]
images/272.jpg
3
null
5
graph theory
How many of the following shapes can be drawn using one continuous line (i.e. without lifting the pencil) and without going over a line twice?
277
The diagram shows three concentric circles and two perpendicular, common diameters of the three circles. The three grey sections are of equal area, the small circle has radius 1. What is the product of the radii of the three circles? <image1>
[ "$\\sqrt{6}$", "3", "$\\frac{3 \\sqrt{3}}{2}$", "$2 \\sqrt{2}$", "6" ]
images/277.jpg
A
null
5
metric geometry - length
The diagram shows three concentric circles and two perpendicular, common diameters of the three circles. The three grey sections are of equal area, the small circle has radius 1. What is the product of the radii of the three circles? Choices: (A) $\sqrt{6}$ (B) 3 (C) $\frac{3 \sqrt{3}}{2}$ (D) $2 \sqrt{2}$ (E) 6
279
The curve in the diagram is defined by the equation $$ \left(x^{2}+y^{2}-2 x\right)^{2}=2\left(x^{2}+y^{2}\right) $$ Which of the lines $a, b, c, d$ is the $y$-axis? <image1>
[ "$a$", "$b$", "$c$", "$d$", "none of them" ]
images/279.jpg
A
null
4
analytic geometry
The curve in the diagram is defined by the equation $$ \left(x^{2}+y^{2}-2 x\right)^{2}=2\left(x^{2}+y^{2}\right) $$ Which of the lines $a, b, c, d$ is the $y$-axis? Choices: (A) $a$ (B) $b$ (C) $c$ (D) $d$ (E) none of them
284
Diana wants to write whole numbers into each circle in the diagram, so that for all eight small triangles the sum of the three numbers in the corners is always the same. What is the maximum amount of different numbers she can use? <image1>
[]
images/284.jpg
3
null
5
combinatorics
Diana wants to write whole numbers into each circle in the diagram, so that for all eight small triangles the sum of the three numbers in the corners is always the same. What is the maximum amount of different numbers she can use?
285
The rectangles $S_{1}$ and $S_{2}$ shown in the picture have the same area. Determine the ratio $x: y$. <image1>
[ "$1: 1$", "$3: 2$", "$4: 3$", "$7: 4$", "$8: 5$" ]
images/285.jpg
E
null
4
analytic geometry
The rectangles $S_{1}$ and $S_{2}$ shown in the picture have the same area. Determine the ratio $x: y$. Choices: (A) $1: 1$ (B) $3: 2$ (C) $4: 3$ (D) $7: 4$ (E) $8: 5$
286
The diagram shows a circle with centre $O$ as well as a tangent that touches the circle in point $P$. The arc $A P$ has length 20, the arc $B P$ has length 16. What is the size of the angle $\angle A X P$? <image1>
[ "$30^{\\circ}$", "$24^{\\circ}$", "$18^{\\circ}$", "$15^{\\circ}$", "$10^{\\circ}$" ]
images/286.jpg
E
null
4
metric geometry - angle
The diagram shows a circle with centre $O$ as well as a tangent that touches the circle in point $P$. The arc $A P$ has length 20, the arc $B P$ has length 16. What is the size of the angle $\angle A X P$? Choices: (A) $30^{\circ}$ (B) $24^{\circ}$ (C) $18^{\circ}$ (D) $15^{\circ}$ (E) $10^{\circ}$
290
Bettina chooses five points $A, B, C, D$ and $E$ on a circle and draws the tangent to the circle at point $A$. She realizes that the five angles marked $x$ are all equally big. (Note that the diagram is not drawn to scale!) How big is the angle $\angle A B D$? <image1>
[ "$66^{\\circ}$", "$70.5^{\\circ}$", "$72^{\\circ}$", "$75^{\\circ}$", "$77.5^{\\circ}$" ]
images/290.jpg
C
null
4
metric geometry - angle
Bettina chooses five points $A, B, C, D$ and $E$ on a circle and draws the tangent to the circle at point $A$. She realizes that the five angles marked $x$ are all equally big. (Note that the diagram is not drawn to scale!) How big is the angle $\angle A B D$? Choices: (A) $66^{\circ}$ (B) $70.5^{\circ}$ (C) $72^{\circ...
291
How many quadratic functions $y=a x^{2}+b x+c$ (with $a \neq 0$ ) have graphs that go through at least 3 of the marked points? <image1>
[]
images/291.jpg
22
null
4
analytic geometry
How many quadratic functions $y=a x^{2}+b x+c$ (with $a \neq 0$ ) have graphs that go through at least 3 of the marked points?
293
We consider a $5 \times 5$ square that is split up into 25 fields. Initially all fields are white. In each move it is allowed to change the colour of three fields that are adjacent in a horizontal or vertical line (i.e. white fields turn black and black ones turn white). What is the smallest number of moves needed to o...
[ "less than 10", "10", "12", "more than 12", "This colouring cannot be obtained." ]
images/293.jpg
A
null
5
graph theory
We consider a $5 \times 5$ square that is split up into 25 fields. Initially all fields are white. In each move it is allowed to change the colour of three fields that are adjacent in a horizontal or vertical line (i.e. white fields turn black and black ones turn white). What is the smallest number of moves needed to o...
End of preview. Expand in Data Studio

MathVision (testmini) – single-image version

This dataset is derived from MathLLMs/MathVision (testmini split only). Please cite and follow the license of the original dataset.

Modifications

  1. Removed multi-image samples: any sample whose question/options reference more than one image (<image1>, <image2>, ...) was deleted. 58 samples were removed, 246 remain.
  2. Added a prompt column, built from the question column:
    • The image tags (<image1>, ...) are removed from the question text.
    • If the sample has choices, they are appended as: QUESTION Choices: (A) option (B) option ...
    • If the choices are only letters (the values are inside the image), the format is: QUESTION Choices: (A) (B) (C) (D) (E)
    • If there are no choices, the prompt is just the cleaned question.

Example

field value
prompt How many different digits can you find in this picture?

Columns

id, question, options, image, decoded_image, answer, solution, level, subject, prompt

Usage

from datasets import load_dataset
ds = load_dataset("Misraj/MathVision_testmini", split="testmini")
print(ds[0]["prompt"])

Scoring

Two files in this repo score model outputs locally (no LLM judge):

File Purpose
mm_scoring.py extract_answer(response, row) pulls the final answer out of a model response (reads \boxed{}, "answer is ...", option letters or option text); is_correct(pred, row) compares it with the gold answer
mathvision_adapt.py prepare_mathvision(row) adds the fields the scorer needs, which this dataset does not store; final_prompt(row) appends an answer-format instruction

prepare_mathvision derives: question_type (multi_choice if options is non-empty, else free_form), answer_type (integer / float / text, from the gold answer), choices, answer_is_letter and precision. When the options are only letters (A-E), the option values are inside the image, so choices are blank and the answer is matched by letter.

Example

from datasets import load_dataset
from huggingface_hub import hf_hub_download
import sys

for f in ["mm_scoring.py", "mathvision_adapt.py"]:
    hf_hub_download("Misraj/MathVision_testmini", f, repo_type="dataset", local_dir=".")
sys.path.insert(0, ".")
from mm_scoring import extract_answer, is_correct
from mathvision_adapt import prepare_mathvision, final_prompt

ds = load_dataset("Misraj/MathVision_testmini", split="testmini")
row = ds[0]
ex = {**row, **prepare_mathvision(row)}

model_input = final_prompt(ex)                 # text prompt to send together with row["image"]
response = "... so the answer is \\boxed{A}"   # your model's output
print(is_correct(extract_answer(response, ex), ex))

Notes

  • Use the same final_prompt for every model you compare; without an explicit format instruction, extraction is less reliable.
  • Multiple choice is scored by letter, integers exactly, floats rounded to the gold precision. Other free-form answers (fractions, expressions, text) are compared as normalized strings, so equivalent forms (0.5 vs 1/2) can count as wrong.
  • Responses cut off at the generation limit have no real final answer. Report how many were cut off next to accuracy.
Downloads last month
-