Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
id
stringlengths
13
16
question
stringlengths
68
332
chain
stringlengths
18
171
result
stringlengths
1
10
result_float
float64
1
22.1M
equation
stringlengths
3
31
problem_type
stringclasses
5 values
svamp__chal-1
Each pack of dvds costs 76 dollars. If there is a discount of 25 dollars on each pack, how much do you have to pay to buy each pack?
<gadget id="calculator">76 - 25</gadget> <output>51</output> <result>51</result>
51
51
( 76.0 - 25.0 )
Subtraction
svamp__chal-2
Dan had $ 3 left with him after he bought a candy bar. If he had $ 4 at the start, how much did the candy bar cost?
<gadget id="calculator">4 - 3</gadget> <output>1</output> <result>1</result>
1
1
( 4.0 - 3.0 )
Subtraction
svamp__chal-3
Paco had 26 salty cookies and 17 sweet cookies. He ate 14 sweet cookies and 9 salty cookies. How many salty cookies did Paco have left?
<gadget id="calculator">26 - 9</gadget> <output>17</output> <result>17</result>
17
17
( 26.0 - 9.0 )
Subtraction
svamp__chal-4
43 children were riding on the bus. At the bus stop some children got off the bus. Then there were 21 children left on the bus. How many children got off the bus at the bus stop?
<gadget id="calculator">43 - 21</gadget> <output>22</output> <result>22</result>
22
22
( 43.0 - 21.0 )
Subtraction
svamp__chal-5
28 children were riding on the bus. At the bus stop 82 children got on the bus while some got off the bus. Then there were 30 children altogether on the bus. How many more children got on the bus than those that got off?
<gadget id="calculator">30 - 28</gadget> <output>2</output> <result>2</result>
2
2
( 30.0 - 28.0 )
Subtraction
svamp__chal-6
There were 3 dollars in Olivia's wallet. She collected 49 more dollars from an atm. After she visited a supermarket there were 49 dollars left. How much more money did she collect at the atm than she spent at the supermarket?
<gadget id="calculator">49 - 3</gadget> <output>46</output> <result>46</result>
46
46
( 49.0 - 3.0 )
Subtraction
svamp__chal-7
Jerry had some action figures on a shelf in his room. Later he added 7 more action figures to the shelf. If there are a total of 10 action figures on his shelf now, how many action figures did he have initially on the shelf?
<gadget id="calculator">10 - 7</gadget> <output>3</output> <result>3</result>
3
3
( 10.0 - 7.0 )
Subtraction
svamp__chal-8
Paco had 41 cookies. He gave 9 cookies to his friend and ate 18 cookies. How many more cookies did he eat than those he gave to his friend?
<gadget id="calculator">18 - 9</gadget> <output>9</output> <result>9</result>
9
9
( 18.0 - 9.0 )
Subtraction
svamp__chal-9
Mary is baking a cake. The recipe calls for 3 cups of sugar 10 cups of flour and 15 cups of salt. She already put in 6 cups of flour. How many more cups of flour does she need to add?
<gadget id="calculator">10 - 6</gadget> <output>4</output> <result>4</result>
4
4
( 10.0 - 6.0 )
Subtraction
svamp__chal-10
A waiter had some customers. After 9 customers left he still had 12 customers. How many customers did he have at the start?
<gadget id="calculator">9 + 12</gadget> <output>21</output> <result>21</result>
21
21
( 9.0 + 12.0 )
Addition
svamp__chal-11
3 birds were sitting on the fence. 6 more storks and 2 more birds came to join them. How many more storks than birds are sitting on the fence?
<gadget id="calculator">3 + 2</gadget> <output>5</output> <gadget id="calculator">6 - 5</gadget> <output>1</output> <result>1</result>
1
1
( 6.0 - ( 3.0 + 2.0 ) )
Subtraction
svamp__chal-12
They decided to hold the party in their backyard. If they have 11 sets of tables and each set has 13 chairs, how many chairs do they have in the backyard?
<gadget id="calculator">11 * 13</gadget> <output>143</output> <result>143</result>
143
143
( 11.0 * 13.0 )
Multiplication
svamp__chal-13
In a school there are 458 more girls than boys. If there are 692 girls, how many pupils are there in that school?
<gadget id="calculator">692 + 692</gadget> <output>1_384</output> <gadget id="calculator">1_384 - 458</gadget> <output>926</output> <result>926</result>
926
926
( ( 692.0 + 692.0 ) - 458.0 )
Subtraction
svamp__chal-14
After resting they decided to go for a swim. The depth of the water is 15 times Dean's height. Dean is 4 feet taller than Ron. If Ron stands at 13 feet, how deep was the water?
<gadget id="calculator">4 + 13</gadget> <output>17</output> <gadget id="calculator">17 * 15</gadget> <output>255</output> <result>255</result>
255
255
( ( 4.0 + 13.0 ) * 15.0 )
Multiplication
svamp__chal-15
6 birds were sitting on the fence. 4 more birds and 8 more storks came to join them. How many birds are sitting on the fence?
<gadget id="calculator">6 + 4</gadget> <output>10</output> <result>10</result>
10
10
( 6.0 + 4.0 )
Addition
svamp__chal-16
Marco and his dad went strawberry picking. Together they collected strawberries that weighed 36 pounds. On the way back Marco ' dad lost 8 pounds of strawberries. Marco's strawberries now weighed 12 pounds. How much did his dad's strawberries weigh now?
<gadget id="calculator">36 - 12</gadget> <output>24</output> <gadget id="calculator">24 - 8</gadget> <output>16</output> <result>16</result>
16
16
( ( 36.0 - 12.0 ) - 8.0 )
Subtraction
svamp__chal-17
In a school there are 697 girls and the rest are boys. If there are 228 more girls than boys, how many boys are there in that school?
<gadget id="calculator">697 - 228</gadget> <output>469</output> <result>469</result>
469
469
( 697.0 - 228.0 )
Subtraction
svamp__chal-18
In a school there are 732 girls and 761 boys. 682 more girls and 8 more boys joined the school. How many girls are there in the school now?
<gadget id="calculator">732 + 682</gadget> <output>1_414</output> <result>1414</result>
1_414
1,414
( 732.0 + 682.0 )
Addition
svamp__chal-19
Danny collects bottle caps and wrappers. He found 22 bottle caps and 30 wrappers at the park. Now he has 17 bottle caps and 57 wrappers in his collection. How many wrappers did danny have at first?
<gadget id="calculator">57 - 30</gadget> <output>27</output> <result>27</result>
27
27
( 57.0 - 30.0 )
Subtraction
svamp__chal-20
Paul got a box of 457 erasers and 617 crayons for his birthday. At the end of the school year he only had 523 crayons left while not having lost a single eraser. How many more crayons than erasers did he have left?
<gadget id="calculator">523 - 457</gadget> <output>66</output> <result>66</result>
66
66
( 523.0 - 457.0 )
Subtraction
svamp__chal-21
Baker made 121 cakes. He sold 105 of them and bought 170 new cakes. How many cakes does baker still have?
<gadget id="calculator">121 - 105</gadget> <output>16</output> <gadget id="calculator">16 + 170</gadget> <output>186</output> <result>186</result>
186
186
( ( 121.0 - 105.0 ) + 170.0 )
Addition
svamp__chal-22
An industrial machine worked for 5 minutes. It can make 4 shirts a minute. How many shirts did machine make?
<gadget id="calculator">4 * 5</gadget> <output>20</output> <result>20</result>
20
20
( 4.0 * 5.0 )
Multiplication
svamp__chal-23
The bananas in Philip's collection are organized into groups of size 18. If there are a total of 180 bananas in Philip's banana collection, how many groups are there?
<gadget id="calculator">180 / 18</gadget> <output>10</output> <result>10</result>
10
10
( 180.0 / 18.0 )
Common-Division
svamp__chal-24
There were some birds sitting on the fence. 4 more birds came to join them. If there are a total of 5 birds on the fence now, how many birds had been sitting on the fence at the start?
<gadget id="calculator">5 - 4</gadget> <output>1</output> <result>1</result>
1
1
( 5.0 - 4.0 )
Subtraction
svamp__chal-25
Jerry had 3 action figures on a shelf in his room. Later he added 4 more action figures to the shelf and removed some of the old ones. If there are 6 action figures on his shelf now, how many action figures did he remove from the shelf?
<gadget id="calculator">3 + 4</gadget> <output>7</output> <gadget id="calculator">7 - 6</gadget> <output>1</output> <result>1</result>
1
1
( ( 3.0 + 4.0 ) - 6.0 )
Subtraction
svamp__chal-26
Danny collects bottle caps and wrappers. He found 65 wrappers and 5 bottle caps at the park. Now he has 31 bottle caps and 9 wrappers in his collection. How many more wrappers than bottle caps did danny find at the park?
<gadget id="calculator">65 - 5</gadget> <output>60</output> <result>60</result>
60
60
( 65.0 - 5.0 )
Subtraction
svamp__chal-27
Because of the decision Sofia asked the students to suggest specific types of food from a total of 66 choices. If 450 students suggested adding mashed potatoes 38 suggested adding bacon to the menu and the rest did not participate, how many students participated in the suggestion of new food items?
<gadget id="calculator">450 + 38</gadget> <output>488</output> <result>488</result>
488
488
( 450.0 + 38.0 )
Addition
svamp__chal-28
Matthew gave equal numbers of crackers and cakes to his 28 friends. If he had 13 crackers and 15 cakes initially, how many crackers and cakes did each person eat?
<gadget id="calculator">13 + 15</gadget> <output>28</output> <gadget id="calculator">28 / 28</gadget> <output>1</output> <result>1</result>
1
1
( ( 13.0 + 15.0 ) / 28.0 )
Common-Division
svamp__chal-29
A grocery store had 49 bottles of regular soda, 40 bottles of diet soda and 6 bottles of lite soda. How many bottles of regular soda and diet soda did they have altogether?
<gadget id="calculator">40 + 49</gadget> <output>89</output> <result>89</result>
89
89
( 40.0 + 49.0 )
Addition
svamp__chal-30
Dan has $ 3. He bought 2 candy bar for $ 4, each one costing the same amount of money. How much did each candy bar cost?
<gadget id="calculator">4 / 2</gadget> <output>2</output> <result>2</result>
2
2
( 4.0 / 2.0 )
Common-Division
svamp__chal-31
Tiffany was collecting cans for recycling. On monday she had 7 bags of cans. The next day she found 12 more bags worth of cans. How many more bags did she find on the next day than she had on monday?
<gadget id="calculator">12 - 7</gadget> <output>5</output> <result>5</result>
5
5
( 12.0 - 7.0 )
Subtraction
svamp__chal-32
There were 15 roses and 62 orchids in the vase. Jessica cut some more roses and orchids from her flower garden. There are now 17 roses and 96 orchids in the vase. How many roses did she cut?
<gadget id="calculator">17 - 15</gadget> <output>2</output> <result>2</result>
2
2
( 17.0 - 15.0 )
Subtraction
svamp__chal-33
There are some baskets of peaches. Each basket has 4 red peaches and 3 green peaches. If there are a total of 7 peaches in all baskets, how many baskets of peaches are there?
<gadget id="calculator">4 + 3</gadget> <output>7</output> <gadget id="calculator">7 / 7</gadget> <output>1</output> <result>1</result>
1
1
( 7.0 / ( 4.0 + 3.0 ) )
Common-Division
svamp__chal-34
There were 78 dollars in Olivia's wallet. She spent 15 dollars at a supermarket. How much money does she have left?
<gadget id="calculator">78 - 15</gadget> <output>63</output> <result>63</result>
63
63
( 78.0 - 15.0 )
Subtraction
svamp__chal-35
Jack received 6 emails in the morning, 3 emails in the afternoon and some more in the evening. If he received a total of 10 emails in the day, how many emails did Jack receive in the afternoon?
<gadget id="calculator">6 + 3</gadget> <output>9</output> <gadget id="calculator">10 - 9</gadget> <output>1</output> <result>1</result>
1
1
( 10.0 - ( 6.0 + 3.0 ) )
Subtraction
svamp__chal-36
Dan has $ 4. He bought a candy bar for $ 8. Then his friend have him $ 5, how much money is left?
<gadget id="calculator">4 - 8</gadget> <output>-4</output> <gadget id="calculator">(-4) + 5</gadget> <output>1</output> <result>1</result>
1
1
( ( 4.0 - 8.0 ) + 5.0 )
Addition
svamp__chal-37
After eating a hearty meal they went to see the Buckingham palace. There, Rachel learned that 703 visitors came to the Buckingham palace on the previous day. If there were 246 visitors on that day, how many visited the Buckingham palace within 25 days?
<gadget id="calculator">246 + 703</gadget> <output>949</output> <result>949</result>
949
949
( 246.0 + 703.0 )
Addition
svamp__chal-38
For Gwen's birthday she received 5 dollars from her dad. Her mom gave her 7 more dollars. If she spent 4 dollars. How much more money did she receive from her mom than she did from her dad?
<gadget id="calculator">7 - 5</gadget> <output>2</output> <result>2</result>
2
2
( 7.0 - 5.0 )
Subtraction
svamp__chal-39
There are 142 bananas and 356 oranges in Philip's collection. If the bananas are organized into 47 groups and oranges are organized into 178 groups, how big is each group of oranges?
<gadget id="calculator">356 / 178</gadget> <output>2</output> <result>2</result>
2
2
( 356.0 / 178.0 )
Common-Division
svamp__chal-40
There are 8 different books and 5 different movies in the ' crazy silly school ' series. If you read 19 of the movies and watched 16 of the books, how many more movies than books have you read?
<gadget id="calculator">19 - 16</gadget> <output>3</output> <result>3</result>
3
3
( 19.0 - 16.0 )
Subtraction
svamp__chal-41
Mary is baking a cake. The recipe calls for 12 cups of flour and 5 cups of sugar. She already put in some cups of flour. If she still needs 2 more cups of flour, how many cups of flour did she put in?
<gadget id="calculator">12 - 2</gadget> <output>10</output> <result>10</result>
10
10
( 12.0 - 2.0 )
Subtraction
svamp__chal-42
Danny collects bottle caps and wrappers. He found 46 wrappers and 50 bottle caps at the park. Now he has 21 bottle caps and 52 wrappers in his collection. How many more bottle caps than wrappers did danny find at the park?
<gadget id="calculator">50 - 46</gadget> <output>4</output> <result>4</result>
4
4
( 50.0 - 46.0 )
Subtraction
svamp__chal-43
Luke played 177 rounds of a trivia game. If he gained 46 points in each round, how many points did he score in the game?
<gadget id="calculator">177 * 46</gadget> <output>8_142</output> <result>8142</result>
8_142
8,142
( 177.0 * 46.0 )
Multiplication
svamp__chal-44
3 birds and 4 storks were sitting on the fence. 2 more birds came to join them. How many more birds than storks are sitting on the fence?
<gadget id="calculator">3 + 2</gadget> <output>5</output> <gadget id="calculator">5 - 4</gadget> <output>1</output> <result>1</result>
1
1
( ( 3.0 + 2.0 ) - 4.0 )
Subtraction
svamp__chal-45
The grasshopper, the frog and the mouse had a jumping contest. The grasshopper jumped 9 inches. The mouse jumped 3 inches lesser than the frog who jumped 33 inches farther than the grasshopper. How far did the mouse jump?
<gadget id="calculator">9 + 33</gadget> <output>42</output> <gadget id="calculator">42 - 3</gadget> <output>39</output> <result>39</result>
39
39
( ( 9.0 + 33.0 ) - 3.0 )
Subtraction
svamp__chal-46
Zachary did 35 push-ups and 3 crunches in gym class today. David did 58 more push-ups but 87 less crunches than zachary. How many more push-ups than crunches did Zachary do?
<gadget id="calculator">35 - 3</gadget> <output>32</output> <result>32</result>
32
32
( 35.0 - 3.0 )
Subtraction
svamp__chal-47
Jack received 4 emails in the morning, 5 emails in the afternoon and 8 emails in the evening. How many emails did Jack receive in the afternoon and evening?
<gadget id="calculator">5 + 8</gadget> <output>13</output> <result>13</result>
13
13
( 5.0 + 8.0 )
Addition
svamp__chal-48
Jerry had 7 action figures on a shelf in his room. Later he added some more action figures to the shelf and removed 10 of the old ones. If there are 8 action figures on his shelf now, how many action figures did he add to the shelf?
<gadget id="calculator">8 + 10</gadget> <output>18</output> <gadget id="calculator">18 - 7</gadget> <output>11</output> <result>11</result>
11
11
( ( 8.0 + 10.0 ) - 7.0 )
Subtraction
svamp__chal-49
Julia played tag with 12 kids on monday. She played tag with 14 kids on tuesday. She spent a total of 34 hours to play tag on both days. How many kids did she play with altogether?
<gadget id="calculator">12 + 14</gadget> <output>26</output> <result>26</result>
26
26
( 12.0 + 14.0 )
Addition
svamp__chal-50
Nell collects cards. She had 309 baseball cards and 356 Ace cards. She gave some of her cards to Jeff and now has 415 baseball cards and Ace cards left. How many more baseball cards than Ace cards does Nell have?
<gadget id="calculator">415 - 149</gadget> <output>266</output> <result>266</result>
266
266
( 415.0 - 149.0 )
Subtraction
svamp__chal-51
At the zoo, a cage had 93 snakes and 97 alligators. If 40 alligators were hiding, how many alligators were not hiding?
<gadget id="calculator">97 - 40</gadget> <output>57</output> <result>57</result>
57
57
( 97.0 - 40.0 )
Subtraction
svamp__chal-52
You have read 8 books from the ' crazy silly school ' series. If there are a total of 14 different books in the ' crazy silly school ' series, how many more do you still have to read?
<gadget id="calculator">14 - 8</gadget> <output>6</output> <result>6</result>
6
6
( 14.0 - 8.0 )
Subtraction
svamp__chal-53
Emily is making bead necklaces for her 43 friends. She had 20 beads and she was able to make 5 necklaces. How many beads did each necklace need?
<gadget id="calculator">20 / 5</gadget> <output>4</output> <result>4</result>
4
4
( 20.0 / 5.0 )
Common-Division
svamp__chal-54
Frank put 11 pieces of candy in each bag. If he had 22 pieces of candy, how many bags would he have?
<gadget id="calculator">22 / 11</gadget> <output>2</output> <result>2</result>
2
2
( 22.0 / 11.0 )
Common-Division
svamp__chal-55
A waiter had 12 customers. After some left he still had 14 customers. Then he got 10 new customers, how many customers does he have now?
<gadget id="calculator">14 + 10</gadget> <output>24</output> <result>24</result>
24
24
( 14.0 + 10.0 )
Addition
svamp__chal-56
A farmer had 90 tomatoes in his garden. If he picked 154 of them yesterday and 50 today. How many tomatoes did he pick in all?
<gadget id="calculator">154 + 50</gadget> <output>204</output> <result>204</result>
204
204
( 154.0 + 50.0 )
Addition
svamp__chal-57
5 red peaches, 14 yellow peaches and 6 green peaches are in the basket. How many green and yellow peaches are in the basket?
<gadget id="calculator">6 + 14</gadget> <output>20</output> <result>20</result>
20
20
( 6.0 + 14.0 )
Addition
svamp__chal-58
Winter is almost here and most animals are migrating to warmer countries. There were 89 bird families living near the mountain. If 60 bird families flew away for winter, how many more bird families flew away for the winter than those that stayed behind?
<gadget id="calculator">89 - 60</gadget> <output>29</output> <gadget id="calculator">60 - 29</gadget> <output>31</output> <result>31</result>
31
31
( 60.0 - ( 89.0 - 60.0 ) )
Subtraction
svamp__chal-59
There were 9 roses and 6 orchids in the vase. Jessica cut some more roses and orchids from her flower garden. There are now 13 orchids and 3 roses in the vase. How many more orchids than roses are there in the vase now?
<gadget id="calculator">13 - 3</gadget> <output>10</output> <result>10</result>
10
10
( 13.0 - 3.0 )
Subtraction
svamp__chal-60
After eating a hearty meal they went to see the Buckingham palace. There were 39 paintings in the Buckingham palace. There, Rachel learned that 661 visitors came to the Buckingham palace that day. If there were 600 visitors the previous day, how many more visitors visited the Buckingham palace on that day than on the previous day?
<gadget id="calculator">661 - 600</gadget> <output>61</output> <result>61</result>
61
61
( 661.0 - 600.0 )
Subtraction
svamp__chal-61
A waiter had 12 customers. While 15 customers left he got 14 new customers. How many customers does he still have?
<gadget id="calculator">12 - 15</gadget> <output>-3</output> <gadget id="calculator">(-3) + 14</gadget> <output>11</output> <result>11</result>
11
11
( ( 12.0 - 15.0 ) + 14.0 )
Addition
svamp__chal-62
Emily is making bead necklaces for her 72 friends. She has 6 beads and each necklace takes 3 beads. How many necklaces can Emily make?
<gadget id="calculator">6 / 3</gadget> <output>2</output> <result>2</result>
2
2
( 6.0 / 3.0 )
Common-Division
svamp__chal-63
He also had 26 aquariums for saltwater animals. The aquarium had 52 saltwater animals in total and every aquarium had the same number of animals. How many saltwater animals does each aquarium have?
<gadget id="calculator">52 / 26</gadget> <output>2</output> <result>2</result>
2
2
( 52.0 / 26.0 )
Common-Division
svamp__chal-64
Mary is baking a cake. The recipe calls for 11 cups of flour and 7 cups of sugar. She already put in some cups of flour. If she still needs 2 more cups of flour than sugar, how many cups of flour did she put in?
<gadget id="calculator">11 - 7</gadget> <output>4</output> <gadget id="calculator">4 - 2</gadget> <output>2</output> <result>2</result>
2
2
( ( 11.0 - 7.0 ) - 2.0 )
Subtraction
svamp__chal-65
Baker made 149 cakes and 91 pastries. If he sold 10 cakes and 90 pastries, how many cakes would baker still have?
<gadget id="calculator">149 - 10</gadget> <output>139</output> <result>139</result>
139
139
( 149.0 - 10.0 )
Subtraction
svamp__chal-66
Dave had 24 files and 13 apps on his phone. After deleting some apps and files he had 17 apps and 21 files left. How many files did he delete?
<gadget id="calculator">24 - 21</gadget> <output>3</output> <result>3</result>
3
3
( 24.0 - 21.0 )
Subtraction
svamp__chal-67
An industrial machine made 9 shirts yesterday and 8 shirts today. It can make 2 shirts a minute. How many minutes did the machine work today?
<gadget id="calculator">8 / 2</gadget> <output>4</output> <result>4</result>
4
4
( 8.0 / 2.0 )
Common-Division
svamp__chal-68
Rebecca wants to split a collection of eggs into 3 groups. Rebecca has 4 marbles and 15 eggs. How many eggs will each group have?
<gadget id="calculator">15 / 3</gadget> <output>5</output> <result>5</result>
5
5
( 15.0 / 3.0 )
Common-Division
svamp__chal-69
Matthew had some crackers. If Matthew gave 2 crackers to each of his 11 friends, how many crackers did Matthew have?
<gadget id="calculator">11 * 2</gadget> <output>22</output> <result>22</result>
22
22
( 11.0 * 2.0 )
Multiplication
svamp__chal-70
Olivia spent 78 dollars at a supermarket. If she has 33 dollars left with her, how much money did she have initially?
<gadget id="calculator">78 + 33</gadget> <output>111</output> <result>111</result>
111
111
( 78.0 + 33.0 )
Addition
svamp__chal-71
If Lewis earns $ 1357 every week during the 223 weeks of a harvest season. How much money will he earn if he works for 73 harvest seasons?
<gadget id="calculator">1_357 * 223</gadget> <output>302_611</output> <gadget id="calculator">302_611 * 73</gadget> <output>22_090_603</output> <result>22090603</result>
22_090_603
22,090,603
( ( 1357.0 * 223.0 ) * 73.0 )
Multiplication
svamp__chal-72
Because of the decision Sofia asked 310 students to suggest specific types of food. 185 students suggested adding mashed potatoes while others suggested adding bacon to the menu. How many students suggested bacon?
<gadget id="calculator">310 - 185</gadget> <output>125</output> <result>125</result>
125
125
( 310.0 - 185.0 )
Subtraction
svamp__chal-73
Jack received 3 emails and 64 letters in the morning. He then received 5 emails and 54 letters in the afternoon. How many emails did jack receive in the day?
<gadget id="calculator">3 + 5</gadget> <output>8</output> <result>8</result>
8
8
( 3.0 + 5.0 )
Addition
svamp__chal-74
Paco had 40 cookies. He ate 2 of them. Then he bought 37 more cookies, how many cookies did Paco have left?
<gadget id="calculator">40 - 2</gadget> <output>38</output> <gadget id="calculator">38 + 37</gadget> <output>75</output> <result>75</result>
75
75
( ( 40.0 - 2.0 ) + 37.0 )
Addition
svamp__chal-75
Because of the decision Sofia asked the students to suggest specific types of food. If 218 students suggested adding mashed potatoes as well as bacon while 351 suggested adding only bacon to the menu, how many students suggested adding bacon?
<gadget id="calculator">218 + 351</gadget> <output>569</output> <result>569</result>
569
569
( 218.0 + 351.0 )
Addition
svamp__chal-76
If each bag has 41 cookies and you had 53 bags of cookies, how many cookies would you have?
<gadget id="calculator">53 * 41</gadget> <output>2_173</output> <result>2173</result>
2_173
2,173
( 53.0 * 41.0 )
Multiplication
svamp__chal-77
Rachel had to complete 2 pages of reading homework and 4 pages of math homework. How many more pages of math homework than reading homework did she have?
<gadget id="calculator">4 - 2</gadget> <output>2</output> <result>2</result>
2
2
( 4.0 - 2.0 )
Subtraction
svamp__chal-78
Allan brought 5 balloons and Jake brought 4 balloons to the park. Allan then bought 3 more balloons at the park. How many balloons did Allan bring to the park?
<gadget id="calculator">5 + 3</gadget> <output>8</output> <result>8</result>
8
8
( 5.0 + 3.0 )
Addition
svamp__chal-79
Julia played tag with 8 kids on monday, 11 kids on tuesday and 9 kids on wednesday. How many more kids did she play with on tuesday than on wednesday?
<gadget id="calculator">11 - 9</gadget> <output>2</output> <result>2</result>
2
2
( 11.0 - 9.0 )
Subtraction
svamp__chal-80
The Razorback shop makes $ 5 dollars off each jersey and $ 215 off each t-shirt. During the Arkansas and Texas tech game they sold 20 t-shirts and 64 jerseys. How much money did they make from selling the t-shirts?
<gadget id="calculator">215 * 20</gadget> <output>4_300</output> <result>4300</result>
4_300
4,300
( 215.0 * 20.0 )
Multiplication
svamp__chal-81
36 children were riding on the bus. At the bus stop 68 children got off the bus while some more got on the bus. Then there were 12 children altogether on the bus. How many more children got off the bus than those that got on?
<gadget id="calculator">36 - 12</gadget> <output>24</output> <result>24</result>
24
24
( 36.0 - 12.0 )
Subtraction
svamp__chal-82
Brenda's mother made 14 cookies for 2 guests. If each of them had the same number of cookies, how many did each of them have?
<gadget id="calculator">14 / 2</gadget> <output>7</output> <result>7</result>
7
7
( 14.0 / 2.0 )
Common-Division
svamp__chal-83
Tiffany was collecting cans for recycling. On monday she had 4 bags of cans. The next day she found some more bags worth of cans. If she had a total of 6 bags altogether, how many bags did she find on the next day?
<gadget id="calculator">6 - 4</gadget> <output>2</output> <result>2</result>
2
2
( 6.0 - 4.0 )
Subtraction
svamp__chal-84
In a school there are 632 girls and 410 boys. 465 more girls joined the school. How many more girls than boys does the school have?
<gadget id="calculator">632 + 465</gadget> <output>1_097</output> <gadget id="calculator">1_097 - 410</gadget> <output>687</output> <result>687</result>
687
687
( ( 632.0 + 465.0 ) - 410.0 )
Subtraction
svamp__chal-85
Emily is making bead necklaces for her friends where each necklace takes 5 beads. She made 4 necklaces. How many beads did Emily have?
<gadget id="calculator">4 * 5</gadget> <output>20</output> <result>20</result>
20
20
( 4.0 * 5.0 )
Multiplication
svamp__chal-86
Randy has 95 blocks. He uses 20 blocks to build a house and 50 blocks to build a tower. How many more blocks did he use to build the tower than he did to build the house?
<gadget id="calculator">50 - 20</gadget> <output>30</output> <result>30</result>
30
30
( 50.0 - 20.0 )
Subtraction
svamp__chal-87
2 birds and 6 storks were sitting on the fence. 3 more birds came to join them. How many more storks than birds are sitting on the fence?
<gadget id="calculator">2 + 3</gadget> <output>5</output> <gadget id="calculator">6 - 5</gadget> <output>1</output> <result>1</result>
1
1
( 6.0 - ( 2.0 + 3.0 ) )
Subtraction
svamp__chal-88
The Razorback t-shirt shop made $ 51 dollars from selling 3 t-shirt during the Arkansas and Texas tech game they. What is the cost of each t-shirt?
<gadget id="calculator">51 / 3</gadget> <output>17</output> <result>17</result>
17
17
( 51.0 / 3.0 )
Common-Division
svamp__chal-89
Paco had 12 cookies. He ate 16 cookies and gave 21 of them to his friend. How many more cookies did he give to his friend than those he ate?
<gadget id="calculator">21 - 16</gadget> <output>5</output> <result>5</result>
5
5
( 21.0 - 16.0 )
Subtraction
svamp__chal-90
After eating a hearty meal they went to see the Buckingham palace. There, Rachel learned that 317 visitors came to the Buckingham palace that day. If there were 295 visitors the previous day, how many more visitors visited the Buckingham palace on that day than on the previous day?
<gadget id="calculator">317 - 295</gadget> <output>22</output> <result>22</result>
22
22
( 317.0 - 295.0 )
Subtraction
svamp__chal-91
Josh had 3 marbles in his collection. He found 6 marbles while he lost 5 marbles. How many more marbles did he find than those he lost?
<gadget id="calculator">6 - 5</gadget> <output>1</output> <result>1</result>
1
1
( 6.0 - 5.0 )
Subtraction
svamp__chal-92
Because of the decision Sofia asked the students to suggest specific types of food. If 408 students suggested adding mashed potatoes while 42 suggested adding bacon to the menu, how many more students suggested mashed potatoes than those that suggested bacon?
<gadget id="calculator">408 - 42</gadget> <output>366</output> <result>366</result>
366
366
( 408.0 - 42.0 )
Subtraction
svamp__chal-93
Paco had 40 cookies. He ate 5 cookies and gave 13 of them to his friend. How many cookies did paco have left?
<gadget id="calculator">40 - 5</gadget> <output>35</output> <gadget id="calculator">35 - 13</gadget> <output>22</output> <result>22</result>
22
22
( ( 40.0 - 5.0 ) - 13.0 )
Subtraction
svamp__chal-94
Paco had 17 cookies. He ate 14 cookies and gave 13 of them to his friend. How many more cookies did he eat than those he gave to his friend?
<gadget id="calculator">14 - 13</gadget> <output>1</output> <result>1</result>
1
1
( 14.0 - 13.0 )
Subtraction
svamp__chal-95
Julia played tag with 19 kids on monday. She played tag with 18 kids on tuesday. She spent a total of 38 hours to play tag on both days. How many more kids did she play with on monday than on tuesday?
<gadget id="calculator">19 - 18</gadget> <output>1</output> <result>1</result>
1
1
( 19.0 - 18.0 )
Subtraction
svamp__chal-96
Dan has $ 5. He bought a candy bar for $ 2 and a chocolate for $ 3. How much money did he spend to buy chocolate than he did to buy candy bar?
<gadget id="calculator">3 - 2</gadget> <output>1</output> <result>1</result>
1
1
( 3.0 - 2.0 )
Subtraction
svamp__chal-97
Ed had 29 more marbles than Doug. Ed lost 17 of his marbles at the playground. How many more marbles did Ed have than Doug then?
<gadget id="calculator">29 - 17</gadget> <output>12</output> <result>12</result>
12
12
( 29.0 - 17.0 )
Subtraction
svamp__chal-98
The grasshopper, the frog and the mouse had a jumping contest. The grasshopper jumped 19 inches. The frog jumped 10 inches farther than the grasshopper and the mouse jumped 20 inches farther than the frog. How much farther did the mouse jump than the grasshopper?
<gadget id="calculator">10 + 20</gadget> <output>30</output> <result>30</result>
30
30
( 10.0 + 20.0 )
Addition
svamp__chal-99
Frank was reading through his favorite book. It took him 16 days to finish the book. If the book had 112 pages, how many pages did he read per day?
<gadget id="calculator">112 / 16</gadget> <output>7</output> <result>7</result>
7
7
( 112.0 / 16.0 )
Common-Division
svamp__chal-100
There are 20 different books in the ' crazy silly school ' series. If you are yet to read 5 of the books, how many books have you already read?
<gadget id="calculator">20 - 5</gadget> <output>15</output> <result>15</result>
15
15
( 20.0 - 5.0 )
Subtraction

Dataset Card for Calc-SVAMP

Summary

The dataset is a collection of simple math word problems focused on arithmetics. It is derived from https://github.com/arkilpatel/SVAMP/.

The main addition in this dataset variant is the chain column. It was created by converting the solution to a simple html-like language that can be easily parsed (e.g. by BeautifulSoup). The data contains 3 types of tags:

  • gadget: A tag whose content is intended to be evaluated by calling an external tool (sympy-based calculator in this case)
  • output: An output of the external tool
  • result: The final answer to the mathematical problem (a number)

Supported Tasks

This variant of the dataset is intended for training Chain-of-Thought reasoning models able to use external tools to enhance the factuality of their responses. This dataset presents in-context scenarios where models can outsource the computations in the reasoning chain to a calculator.

Construction process

We created the dataset by converting the equation attribute in the original dataset to a sequence (chain) of calculations, with final one being the result to the math problem. We also perform in-dataset and cross-dataset data-leak detection within the Calc-X collection. However, for SVAMP specifically, we detected no data leaks and filtered no data.

Content and data splits

The dataset contains the same data instances as the original dataset except for a correction of inconsistency between equation and answer in one data instance. To the best of our knowledge, the original dataset does not contain an official train-test split. We treat the whole dataset as a testing benchmark.

Attributes:

  • id: problem id from the original dataset
  • question: the question intended to answer
  • chain: series of simple operations (derived from equation) that leads to the solution
  • result: the result (number) as a string
  • result_float: result converted to a floating point
  • equation: a nested expression that evaluates to the correct result
  • problem_type: a category of the problem

Attributes id, question, chain, and result are present in all datasets in Calc-X collection.

Related work

This dataset was created as a part of a larger effort in training models capable of using a calculator during inference, which we call Calcformers.

Here are links to the original dataset:

Licence

MIT, consistent with the original source dataset linked above.

Cite

If you use this version of dataset in research, please cite the original SVAMP paper, and Calc-X collection as follows:

@inproceedings{kadlcik-etal-2023-soft,
    title = "Calc-X and Calcformers: Empowering Arithmetical Chain-of-Thought through Interaction with Symbolic Systems",
    author = "Marek Kadlčík and Michal Štefánik and Ondřej Sotolář and Vlastimil Martinek",
    booktitle = "Proceedings of the The 2023 Conference on Empirical Methods in Natural Language Processing: Main track",
    month = dec,
    year = "2023",
    address = "Singapore, Singapore",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/2305.15017",
}
Downloads last month
39,357
Edit dataset card

Collection including MU-NLPC/Calc-svamp