question stringlengths 4 859 | steps listlengths 1 12 | answer stringlengths 1 19 |
|---|---|---|
Out of 600 employees in a company, 30% got promoted while 10% received bonus. How many employees did not get either a promotion or a bonus? | [
"<<600*30/100=180>>",
"<<600*10/100=60>>",
"<<180+60=240>>",
"<<600-240=360>>"
] | 360 |
Rebecca sets aside 20% of her weekly salary to savings. If she manages to save $150 during a week, how much does she earn? | [
"<<150/0.2=750>>"
] | 750 |
There are 20 students in a class. Each student has 5 pencils. How many pencils are there in total? | [
"<<20*5=100>>"
] | 100 |
Stephanie is creating gift baskets. She needs 3 bottles of wine for each basket. If she is making 10 gift baskets, how many bottles of wine does she need? | [
"<<3*10=30>>"
] | 30 |
John begins his hike at 8:30 AM and finishes at 6:30 PM. He rests for 20 minutes at noon, 15 minutes in the afternoon and 30 minutes before finishing his hike. How many hours did he spend hiking? | [
"<<18.5-8.5=10>>",
"<<20+15+30=65>>",
"<<65/60=1.08333>>",
"<<10-1.08333=8.92>>"
] | 8.92 |
John's bike had a flat and he used $5 from his savings to repair it. Before the repair, he bought 2 spare tires. Each tire costs three times the price of the repair fee, and a helmet; which costs twice the price of a tire. After that, he had $340 savings left. How much money did John have saved before his bike had a fl... | [
"<<5*3=15>>",
"<<15*2=30>>",
"<<5+15*2+30=65>>",
"<<340+65=405>>"
] | 405 |
Sophie has saved some money. She visits a vegetarian cafe where the veggie burgers are sold for $3 each, and smoothies for $4 each. She buys 7 veggie burgers and 5 smoothies and ends up having $80 left. How much money did Sophie start with? | [
"<<7*3=21>>",
"<<4*5=20>>",
"<<21+20=41>>",
"<<41+80=121>>"
] | 121 |
Melanie received 30 candies from her grandmother and shared them with her brother and two friends. Each of her brother and friends got 8 candies. How many candies did Melanie have left? | [
"<<8*3=24>>",
"<<30-24=6>>"
] | 6 |
Edward's car runs at a speed of 50 miles per hour on the highway. He is planning to travel to a city 300 miles away. However, he needs to stop for gas every 100 miles which takes 10 minutes each time. How many hours will he spend on the road? | [
"<<300/50=6>>",
"<<300/100=3>>",
"<<3*10=30>>",
"<<30/60=0.5>>",
"<<6+0.5=6.5>>"
] | 6.5 |
A farmer raises 15 chickens. Each chicken is capable of laying 5 eggs in a week. How many eggs will the farmer collect at the end of 3 weeks? | [
"<<5*3=15>>",
"<<15*15=225>>"
] | 225 |
A school has 8 classrooms and each classroom houses 30 students. If the school decides to reduce the number of students per classroom by 2, how many additional classrooms would be needed to accommodate all the students? | [
"<<8*30=240>>",
"<<30-2=28>>",
"<<240/28=9>>"
] | 9 |
Emily plans on having a picnic and the grocery store suggests 1/4 kg of fruit per person. If she's inviting 8 friends and the fruit costs $5.00 a kg, how much will this cost her? | [
"<<8*.25=2>>",
"<<5*2=10>>"
] | 10 |
Alex has a piggy bank with $50. His mom gave him $15 on Monday, $25 on Tuesday and he found $10 under his bed. How much money does Alex have now? | [
"<<15+25+10=50>>",
"<<50+50=100>>"
] | 100 |
Lucy's pantry contains 5 cans of tuna and 4 cans of beans. After she used 3 of the cans for dinner, how many cans are left in Lucy's pantry? | [
"<<5+4=9>>",
"<<9-3=6>>"
] | 6 |
A movie theater has 20 rows with 15 seats in each row. During a movie screening, 60% of the seats were occupied. How many seats were occupied? | [
"<<20*15=300>>",
"<<60/100*300=180>>"
] | 180 |
Lucas has a piggy bank that contains only quarters and dimes. If there are 4 times as many quarters as there are dimes and the piggy bank contains a total of 25 coins. How many quarters does Lucas have? | [
"<<25/5=5>>",
"<<4*5=20>>"
] | 20 |
Mary is twice as old as her sister. Her sister is 5 years older than their cousin. Their cousin is 10 years old. How old is Mary? | [
"<<10+5=15>>",
"<<15*2=30>>"
] | 30 |
A clothing store had 200 jeans in stock. They received a new delivery, adding an extra 50 jeans to their stock. They then sold 45% of their total stock during a sale. How many jeans does the clothing store have left? | [
"<<200+50=250>>",
"<<45/100*250=112.5>>",
"<<250-113=137>>"
] | 137 |
Sarah needs to distribute 84 cookies to 6 children. If each child needs to get an equal amount, how many cookies does each child get? | [
"<<84/6=14>>"
] | 14 |
George finished a book with 450 pages in 15 days. He read the same number of pages every day. How many pages did George read per day? | [
"<<450/15=30>>"
] | 30 |
Mike traveled 54 miles on his bike on Saturday, 62 miles on Sunday, and 35 miles on Monday. What is the average distance he traveled per day? | [
"<<54+62+35=151>>",
"<<151/3=50.33>>"
] | 50.33 |
A nursery planted 6 apple trees in each row. If there are 10 rows, how many apple trees are there in total? | [
"<<6*10=60>>"
] | 60 |
A group of 8 friends want to split the cost of a $40 pizza. How much does each friend need to contribute? | [
"<<40/8=5>>"
] | 5 |
Bella bought 18 packs of chocolates each containing 12 chocolates. If Bella gives away 6 packs, how many dozens of chocolates will she have left? | [
"<<18*12=216>>",
"<<216-6*12=144>>",
"<<144/12=12>>"
] | 12 |
A book has 280 pages. If Sarah reads 4 pages every day, how many days will it take her to finish reading the book? | [
"<<280/4=70>>"
] | 70 |
Pete, Mia and Noah picked flowers from a field. Pete collected 15, Mia 25. In total they initially had 65 flowers and Noah decided to give half of his to a friend, how many flowers do they have in the end? | [
"<<15+25=40>>",
"<<65-40=25>>",
"<<25*(1/2)=12.5>>",
"<<65-12=53>>"
] | 53 |
In a sports team of 18 boys and 12 girls, only 2/3 of the boys and 3/4 of the girls showed up for practice. How many team members did not show up for practice? | [
"<<18*2/3=12>>",
"<<18-12=6>>",
"<<12*3/4=9>>",
"<<12-9=3>>",
"<<6+3=9>>"
] | 9 |
If it takes 8 bricks to build one layer of a wall, and each brick costs $2, how much will it cost to build a 5 layer wall? | [
"<<8*5=40>>",
"<<40*2=80>>"
] | 80 |
A pound of peaches costs $3.00. How many pounds can Chris buy with $21? | [
"<<21/3.00=7>>"
] | 7 |
Mike has 6 pieces of different stickers. He gives 1 sticker each to his 3 friends. How many stickers does Mike have left? | [
"<<6-3=3>>"
] | 3 |
A baker made 200 loaves of bread in an hour. If he used 14 packets of flour, each containing 2 kilos, how many kilos of flour did he use for each loaf of bread? | [
"<<14*2=28>>",
"<<28/200=0.14>>"
] | 0.14 |
Leo is 6 inches taller than Mike. Mike is 4 inches shorter than Nancy. If Jules' height is 66 inches and he is 10 inches taller than Leo, find the height of Nancy. | [
"<<66-10=56>>",
"<<56-6=50>>",
"<<50+4=54>>"
] | 54 |
In the game, Maria collected 120 coins. Each day 15% of all the coins would disappear. How many coins does she have left after 4 days? | [
"<<120*15*.01=18>>",
"<<120-18=102>>",
"<<102*15*.01=15.3>>",
"<<102-15.3=86.7>>",
"<<86.7*15*.01=13.005>>",
"<<86.7-13.005=73.695>>",
"<<73.695*15*.01=11.05425>>",
"<<73.695-11.05425=62.64075>>"
] | 62.64075 |
Four Grade 5 sections started collecting used textbooks. Each section collected 500 books in the first month. By the end of the second month, they found out they needed 750 books more to reach their goal. How many textbooks is their target? | [
"<<500*2=1000>>",
"<<1000*4=4000>>",
"<<4000+750=4750>>"
] | 4750 |
Danny works as a freelance developer and is paid $50 per hour. If he works for 5 hours a day and takes weekends off, how much does he earn in 4 weeks? | [
"<<50*5=250>>",
"<<250*5=1250>>",
"<<1250*4=5000>>"
] | 5000 |
Sarah has 8 apples and she eats 2 apples a day for the next 2 days. After that, she buys 5 apples from a store. How many apples does Sarah have left? | [
"<<2*2=4>>",
"<<8-4=4>>",
"<<4+5=9>>"
] | 9 |
A school has 100 students. If 60% of the students are boys, how many girls are there in the school? | [
"<<100-60=40>>",
"<<40/100*100=40>>"
] | 40 |
Michael runs a coffee shop. He buys the coffee beans at $5 per pound. If he uses 2 pounds for each pot of coffee and sells each pot for $10, how much profit does he make for every pot he sells? | [
"<<5*2=10>>",
"<<10-10=0>>"
] | 0 |
Michael donates 5 jumpers to charity. He donates twice as many shirts as jumpers. And he also donates as many trousers as he donates shirts. How many items does Michael donate altogether? | [
"<<5*2=10>>",
"<<5+10+10=25>>"
] | 25 |
There were $70 in the piggy bank. Lisa spent $20 from the piggy bank. George spent twice as much as Lisa. How much money, in dollars, was left in the piggy bank? | [
"<<20*2=40>>",
"<<20+40=60>>",
"<<70-60=10>>"
] | 10 |
A garden has 6 rows of vegetables. Each row has 10 vegetables. How many vegetables are there in total? | [
"<<6*10=60>>"
] | 60 |
Steve is practicing his marathon running. He ran 25 miles the first week, increased by 5 miles each week for the next 5 weeks and wanted to calculate his total distance run in these 6 weeks. How many miles did Steve ran altogether? | [
"<<5*5=25>>",
"<<25+25=50>>"
] | 50 |
A movie theater has 15 rows with 20 seats in each row. If each ticket costs $8 and all seats are sold, how much money will the theater make? | [
"<<15*20=300>>",
"<<300*8=2400>>"
] | 2400 |
Gemma jogs 5 miles a day and her doctor suggested that she should jog 8 miles a day. How many miles short of recommended jog does Gemma have in a week? | [
"<<8-5=3>>",
"<<3*7=21>>"
] | 21 |
Tom has twice as many books as Jerry. Tom then buys 6 more books. If Jerry has 9 books, how many books does Tom have in total? | [
"<<9*2=18>>",
"<<18+6=24>>"
] | 24 |
Monica can paint 200 square feet in 5 hours. If she works 8 hours per day, how many square feet can Monica paint in one working day? | [
"<<200/5=40>>",
"<<40*8=320>>"
] | 320 |
Mike has $300. He spent 4/5 of his money on clothes and 1/6 on food. How much money did Mike have left? | [
"<<4/5*300=240>>",
"<<1/6*300=50>>",
"<<240+50=290>>",
"<<300-290=10>>"
] | 10 |
Jerry decides to buy a new pair of shoes. He spends $45 for the shoes and $20 for socks. If he has $15 left to spend on a belt, what was his initial budget? | [
"<<45+20=65>>",
"<<65+15=80>>"
] | 80 |
A movie theater has 500 seats. For a sold-out show, the theater sold tickets for $10 each. How much money did the theater make from ticket sales for the sold-out show? | [
"<<500*10=5000>>"
] | 5000 |
A farm has 15 ducks and each duck lays 6 eggs a day. How many eggs will the farm have after a week? | [
"<<15*6=90>>",
"<<90*7=630>>"
] | 630 |
Ella wants to buy a dress for her graduation. The dress costs $45. She also needs a pair of heels costing $30 and a purse for $15. She invites her friend for ice cream and pays $10. If Ella has $100, how much money does she have left? | [
"<<45+30+15+10=100>>",
"<<100-100=0>>"
] | 0 |
Lisa bakes 8 cookies for each of her friends on Sunday. She baked 64 cookies last Sunday. This upcoming Sunday, 4 of Lisa's friends will not be attending her get-together. How many cookies will Lisa bake for her friends this Sunday? | [
"<<64/8=8>>",
"<<8-4=4>>",
"<<8*4=32>>"
] | 32 |
Leo reads 4 books every month. How many books will he read in a year? | [
"<<4*12=48>>"
] | 48 |
Alex can run 5 miles more this year, which is twice as much as he could run last year. How many miles can Alex run in total now? | [
"<<5/2=2.5>>",
"<<5+2.5=7.5>>"
] | 7.5 |
A car travels with a speed of 80 miles per hour. If it has already travelled for 6 hours, how long more does it have to travel if the total distance is 1000 miles? | [
"<<80*6=480>>",
"<<1000-480=520>>",
"<<520/80=6.5>>"
] | 6.5 |
Alice, Bob and Charlie collect rocks for their collection. Alice collected 5 rocks. Bob collected 2 more rocks than Alice. Charlie collected 2 rocks less than Bob. If each rock weighs 3 pounds, how many pounds did the total weight of the rocks they collect? | [
"<<5+2=7>>",
"<<7-2=5>>",
"<<5+7+5=17>>",
"<<17*3=51>>"
] | 51 |
Annie is making a blanket. The blanket is made of 20 rows and each row has 20 squares. Annie has already finished 20% of the blanket. How many squares does she have left to do? | [
"<<20*20=400>>",
"<<400*20/100=80>>",
"<<400-80=320>>"
] | 320 |
Daisy bought a table that costs $85 and a chair that costs $35. She received a 15% discount because she is a loyalty member. How much did Daisy pay after the discount? | [
"<<85+35=120>>",
"<<120*15/100=18>>",
"<<120-18=102>>"
] | 102 |
Mary completes 50 assignments a day which each pay $2. If she works 4 days a week, how much does she make a week? | [
"<<50*2=100>>",
"<<100*4=400>>"
] | 400 |
Juliet has a calico cat that just gave birth to 15 kittens. She plans to give each of her 5 best friends 2 kittens each. How many kittens will she have left? | [
"<<2*5=10>>",
"<<15-10=5>>"
] | 5 |
Martin is baking a cake and the recipe calls for 300 grams of sugar. He realizes that's 5 times the amount of sugar he has available. How many grams of sugar does he have? | [
"<<300/5=60>>"
] | 60 |
In a library, the number of Romance novels is thrice the number of Mystery novels. If there are currently 200 Mystery novels, how many overall books are there in the library? | [
"<<3*200=600>>",
"<<200+600=800>>"
] | 800 |
Samantha earns $15 per hour at her part-time job. For the first week, she earned $300, and for the second week, she earned $30 more than the first week. How many hours did she work in total for two weeks? | [
"<<300+30=330>>",
"<<300+330=630>>",
"<<630/15=42>>"
] | 42 |
Eddie is making bracelets out of colored beads. Each bracelet needs 50 blue beads, 75 red beads, and twice as many yellow beads as blue beads. How many beads does he need to make 5 bracelets? | [
"<<100+50+75=225>>",
"<<225*5=1125>>"
] | 1125 |
Susan purchases water bottles for her gym. She gives each member 2 water bottles. She has 5 classes a day and each class has 10 members. If a pack of 4 water bottles cost $2 how much did she spend on them all? | [
"<<10*5=50>>",
"<<50*2=100>>",
"<<100/4=25>>",
"<<25*2=50>>"
] | 50 |
A bakery shop sells twenty cupcakes on Monday. On Tuesday, it sells 20 more cupcakes than it did on Monday. On Wednesday, it sells one-third the quantity of cupcakes it sold on Tuesday. How many cupcakes were sold in the three days? | [
"<<40=40>>",
"<<40/3=13.33>>",
"<<20+40+13.33=73.33>>"
] | 73.33 |
Jenna catches an eel that's 1/3 as long as Bill's. If the combined length of their eels is 64 inches, how long is Jenna's eel? | [
"<<64/(3+1)=16>>"
] | 16 |
A box contains 30 chocolate bars. Jake takes out 3 chocolate bars and then puts back 2. How many chocolate bars are now in the box? | [
"<<30-3=27>>",
"<<27+2=29>>"
] | 29 |
Tom's pool can contain 30,000 litres of water. Every hour, the pump can push out 1200 litres of water. How long will it take to drain the pool completely? | [
"<<30000/1200=25>>"
] | 25 |
Sophia buys 20 roses at the flower shop. Each rose costs $3. If Sophia gives one third of the roses to her sister, how much total money did she spend on the roses she kept? | [
"<<20*1/3=6.666666666666667>>",
"<<20-7=13>>",
"<<13*3=39>>"
] | 39 |
A mechanic needs to fill a car's gas tank, and he knows that for every liter of gas the car needs 0.1 liters of additive. The car contains 30 liters of gas. The additive must be added in 3 equal amounts. How many liters will each part of the additive be? | [
"<<30*0.1=3>>",
"<<3/3=1>>"
] | 1 |
Tom and Jim are cutting a piece of wood that's 20 feet long. Tom cuts off 5 feet, and Jim cuts off twice the amount that Tom did. How much wood is left? | [
"<<5*2=10>>",
"<<20-5-10=5>>"
] | 5 |
There are fifteen more baby lions than baby zebras. If a zoo starts with 50 lions and 75 zebras, and the female zebras, whose number is 2/3 of the total number of zebras, give birth to 3 new baby zebras each, find the number of animals in the zoo altogether? | [
"<<2/3*75=50>>",
"<<3*50=150>>",
"<<150+75=225>>",
"<<165+50=215>>",
"<<215+225=440>>"
] | 440 |
A school has decided to plant trees in the playground. If there are 8 rows and each row can accommodate 9 trees, how many trees will they plant? | [
"<<8*9=72>>"
] | 72 |
Jack wants to hike a trail that is 15 miles long. His pace is 3 miles per hour. He takes a break for lunch which lasts 1 hour. How long will the hike take in total? | [
"<<15/3=5>>",
"<<5+1=6>>"
] | 6 |
Maria has 4 children. Maria is 8 years older than her oldest child, 12 years older than her second child, 16 years older than her third child, and 22 years older than her youngest child. If the sum of the ages of Maria and her children is 100, how old is Maria? | [
"<<118/5+8=31.6>>"
] | 31.6 |
Nancy baked 12 biscuits for her tea party. She and her 4 friends each ate 2 biscuits. How many biscuits are left? | [
"<<2*5=10>>",
"<<12-10=2>>"
] | 2 |
One slice of pizza at Sal's Pizzeria is 2 inches. If Jamie orders a whole pizza, that is made up of 14 slices. How long is the whole pizza in inches? | [
"<<14*2=28>>"
] | 28 |
A sheep and a cow were sold for $90 each. The sheep gains weight twice as fast as the cow. In a month, the cow gained 10 kg. How many kg did the two animals gain in total? | [
"<<2*10=20>>",
"<<20+10=30>>"
] | 30 |
A school library charges a fine of $0.50 for each day a book is overdue. If Sarah returned a book 10 days late, how much is her fine? | [
"<<0.50*10=5>>"
] | 5 |
Jake had 78 oranges. He sold 30 at the farmers' market and his kids ate 12. He noticed a bag full of oranges in the corner of his storeroom. The bag contained twice as many oranges as Jake initially had. How many oranges does Jake have now? | [
"<<78-30-12=36>>",
"<<2*78=156>>",
"<<36+156=192>>"
] | 192 |
Jack saves $35 every week for 3 years to buy a new car. He spent $500 from his savings last month to buy a new gadget. How many dollars are left in his savings? | [
"<<52*3=156>>",
"<<35*156=5460>>",
"<<5460-500=4960>>"
] | 4960 |
There are 3 oranges in a basket. A farmer adds 4 oranges for each of the next 5 days. How many oranges are in the basket after 5 days? | [
"<<4*5=20>>",
"<<3+20=23>>"
] | 23 |
A cyclist travels 15 kilometers per hour. If he cycles for 4 hours a day, how far can he travel in 6 days? | [
"<<15*4=60>>",
"<<6*60=360>>"
] | 360 |
Felix and Olivia were picking cherries. Felix picked 32 cherries and Olivia picked twice as many as Felix. How many cherries did both Felix and Olivia pick? | [
"<<32*2=64>>",
"<<32+64=96>>"
] | 96 |
For the family reunion, Peter is buying 16 pounds of bone-in chicken and half that amount in hamburgers. He's going to buy 2 more pounds of hot dogs than hamburgers. He's also going to buy several sides that will weigh half the amount of hot dogs. How many pounds of food will he buy? | [
"<<16/2=8>>",
"<<2+8=10>>",
"<<10/2=5>>",
"<<16+8+10+5=39>>"
] | 39 |
Nick is buying jewelry for his girlfriend's birthday. He plans to buy 2 necklaces, 3 bracelets and 1 pair of earrings. If a necklace costs $50, a bracelet costs $30 and a pair of earrings costs $70, how much will Nick spend in total? | [
"<<2*50=100>>",
"<<3*30=90>>",
"<<100+90+70=260>>"
] | 260 |
Kate spent $200 on books. Each book costs $25. If she later bought another book at 50% off, how much money did she spend in total? | [
"<<200/25=8>>",
"<<50/100*25=12.5>>",
"<<25-12.5=12.5>>",
"<<200+12.5=212.5>>"
] | 212.5 |
An office supplies store sells 3000 pens a month. The pens are packaged in boxes, each box containing 25 pens. How many boxes does the store sell each month? | [
"<<3000/25=120>>"
] | 120 |
In a recent soccer match, ninety people attended the first half, while 30 fewer people attended the second half than the first half. Then in the post-match celebrations, 20 more people attended than the second half. If last week's total attendees were 150, how many more people attended this week than last week? | [
"<<90-30=60>>",
"<<60+20=80>>",
"<<90+60+80=230>>",
"<<230-150=80>>"
] | 80 |
A class of 18 students is divided into 3 groups for a project. One of the groups has two more students than the other two. How many students are in the larger group? | [
"<<18/3=6>>",
"<<6+2=8>>"
] | 8 |
Linda has 8 dogs. Each dog has 5 puppies, but half the total dogs are given to her cousins. How many dogs does she have now? | [
"<<8*5=40>>",
"<<40+8=48>>",
"<<48/2=24>>"
] | 24 |
Jessica bought a cup of coffee for $5 each day for 14 days. On the fifteenth day, she had to use half of her savings to fix her laptop. The following day, her mom gave her some extra money. If the total money she had then was $50, how much money did her mom give her? | [
"<<5*14=70>>",
"<<70/2=35>>",
"<<50-35=15>>"
] | 15 |
Lucy buys 4 notebooks for a price of $2.5 each. If Lucy has a coupon that gives her a 30% discount, how much will Lucy pay? | [
"<<2.5*4=10>>",
"<<10*.3=3>>",
"<<10-3=7>>"
] | 7 |
Mike went to a charity event where he bought 4 balloons for five dollars each and 3 water bottles for seven dollars each. What did Mike spend? | [
"<<4*5=20>>",
"<<3*7=21>>",
"<<20+21=41>>"
] | 41 |
For a school project, David and his friends decide to bake 200 cookies. Each batch of cookies makes 8 cookies. How many batches do they have to make? | [
"<<200/8=25>>"
] | 25 |
A class has 25 students. The teacher brings 100 candies. Each student gets 3 candies and the rest of the candies are left in the candy jar. How many candies are left in the jar? | [
"<<25*3=75>>",
"<<100-75=25>>"
] | 25 |
If a solver flips a coin 211 times and gets a head on 65 of the flips, how many more tails than heads did he get? | [
"<<211-65=146>>",
"<<146-65=81>>"
] | 81 |
In the park, there are four bungalows of different heights. The highest bungalow is 200 feet high. The other bungalow is 3/4 the height of the highest bungalow. The next bungalow is half the size of the other bungalow. How tall is the next bungalow? | [
"<<200=200>>",
"<<150/2=75>>"
] | 75 |
Emily goes to the gym 5 times a week. Each visit to the gym costs her $10. How much does she spend on the gym in a month? | [
"<<5*10=50>>",
"<<50*4=200>>"
] | 200 |
Clean GSM8K-Aug
Overview
The Clean GSM8K-Aug family is a revised version of
whynlp/gsm8k-aug and
whynlp/gsm8k-aug-nl.
It retains the original question, steps, and answer schema while removing
or repairing examples with incomplete or inconsistent calculation traces.
Four representations of the same aligned questions and answers are available:
| Dataset | Step representation |
|---|---|
cs-giung/clean-gsm8k-aug |
Infix arithmetic expressions |
cs-giung/clean-gsm8k-aug-prefix |
Comma-delimited prefix notation |
cs-giung/clean-gsm8k-aug-postfix |
Comma-delimited postfix notation |
cs-giung/clean-gsm8k-aug-nl |
Natural-language reasoning |
All four datasets have identical split sizes, schemas, question ordering, and
answers. Only steps differs between variants. The prefix and postfix variants
are guaranteed to encode the same mathematical reasoning steps as the infix
variant. The natural-language variant is aligned at the question-and-answer
level, but it is not guaranteed to contain the same reasoning steps.
Dataset structure
Each example has the following schema:
{
"question": str,
"steps": list[str],
"answer": str,
}
| Split | Examples |
|---|---|
| Train | 376,828 |
| Validation | 500 |
| Test | 1,319 |
| Total | 378,647 |
Step representations
The following examples show the same calculation in each representation.
Infix
{
"steps": [
"<<600*30/100=180>>",
"<<600*10/100=60>>",
"<<180+60=240>>",
"<<600-240=360>>"
],
"answer": "360"
}
Prefix
Operators and operands are serialized in comma-delimited prefix order. The outer equality operator appears first.
{
"steps": [
"<<=,/,*,600,30,100,180>>",
"<<=,/,*,600,10,100,60>>",
"<<=,+,180,60,240>>",
"<<=,-,600,240,360>>"
],
"answer": "360"
}
Postfix
Operators and operands are serialized in comma-delimited postfix order. The outer equality operator appears last.
{
"steps": [
"<<600,30,*,100,/,180,=>>",
"<<600,10,*,100,/,60,=>>",
"<<180,60,+,240,=>>",
"<<600,240,-,360,=>>"
],
"answer": "360"
}
Natural language
{
"steps": [
"600 x 30/100 = 180 employees were promoted.",
"600 x 10/100 = 60 employees received a bonus.",
"So a total of 180+60=240 employees received a promotion or a bonus.",
"Therefore, 600 - 240 = 360 employees did not get either a promotion or a bonus."
],
"answer": "360"
}
Natural-language traces are not necessarily a one-to-one textual rendering of the symbolic steps and can have a different number of steps. Questions and answers nevertheless remain aligned across all four variants.
Differences from whynlp/gsm8k-aug
The comparison below uses upstream revision
62440e946e84a628b900b1777447cb06e31cad94.
Split sizes
| Split | Upstream | Clean | Difference |
|---|---|---|---|
| Train | 385,620 | 376,828 | -8,792 (-2.28%) |
| Validation | 500 | 500 | 0 |
| Test | 1,319 | 1,319 | 0 |
The clean train questions form an ordered, filtered subsequence of the upstream train questions after accounting for two whitespace-only question corrections.
Retained-row changes
For the 376,828 retained train rows:
| Change | Rows |
|---|---|
| Completely unchanged | 363,722 |
| Steps changed only | 13,033 |
| Answer changed only | 69 |
| Steps and answer changed | 2 |
| Question whitespace corrected | 2 |
Of the 13,035 train rows with changed steps:
- 12,972 change only the final step, commonly aligning rounded values with the answer;
- 2 append one missing step;
- 61 receive more extensive repairs.
All 71 changed train answers remove thousands separators, for example
"1,200" becomes "1200".
Validation contains 456 unchanged rows, 38 rows with step-only changes, 4 rows
with answer-only changes, and 2 rows with both steps and answers changed. Two
substantive validation-answer corrections are 1920 -> 19200 and 66 -> 64.
Test contains 1,159 unchanged rows, 146 rows with step-only changes, and 14 rows with answer-only changes. The 14 answer changes remove thousands separators.
Calculation-trace consistency
For the symbolic clean dataset, the final result in steps[-1] exactly equals
answer for every example. The corresponding rates in the upstream dataset
were:
| Split | Upstream | Clean |
|---|---|---|
| Train | 95.04% | 100% |
| Validation | 91.20% | 100% |
| Test | 87.87% | 100% |
The upstream dataset contains 89 train, 6 validation, and 18 test examples with empty steps. The clean datasets contain no empty steps.
The train split removes 8,792 upstream rows. Of these, 6,034 had a final step that did not match the answer, while 2,758 already had a matching final result. This indicates that filtering was not based solely on final-answer agreement. The original cleaning script is not included in the dataset repositories, so additional filtering criteria should not be inferred from this summary.
Loading
from datasets import load_dataset
infix = load_dataset("cs-giung/clean-gsm8k-aug")
prefix = load_dataset("cs-giung/clean-gsm8k-aug-prefix")
postfix = load_dataset("cs-giung/clean-gsm8k-aug-postfix")
natural_language = load_dataset("cs-giung/clean-gsm8k-aug-nl")
Example:
example = infix["train"][0]
print(example["question"])
print(example["steps"])
print(example["answer"])
Storage
All repositories use one Parquet file per split under data/. The migration
from serialized Arrow directories to Parquet was validated row-by-row against
the prior revisions; split order, features, and content were unchanged.
| Dataset | Parquet migration commit |
|---|---|
cs-giung/clean-gsm8k-aug |
9929cb4a250f596aa45e222cc0d5fce3e6b4d487 |
cs-giung/clean-gsm8k-aug-nl |
b28ebb854a41cbb5db28367f4ff7bdcd7ee85994 |
cs-giung/clean-gsm8k-aug-prefix |
4980caae362091fa091bef17f0074c962e8434d1 |
cs-giung/clean-gsm8k-aug-postfix |
a129b2c1b838460102f918a01e9b0e27143d2484 |
Limitations
- Cleaning checks structural consistency rather than complete question-level correctness. There is no guarantee that the steps and answer are fully appropriate for every question across the dataset; users should independently validate examples for their intended application.
- Natural-language steps may use intermediate rounding that differs from the normalized symbolic answer.
- Prefix and postfix representations are intended as alternate serializations of symbolic calculations; users should verify parser assumptions for their application.
- Consult the upstream dataset and its terms before redistribution or use.
- Downloads last month
- 3,959