mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-28 17:29:39 +00:00
8 lines
No EOL
3.3 KiB
JSON
8 lines
No EOL
3.3 KiB
JSON
{
|
|
"question": "James hires a horse-drawn carriage from 5 PM to 9 PM. He gets 1 hour free. The first paid hour is $15 and each hour after that is twice the cost. How much did he pay?",
|
|
"answer": "He got it for 9-5=<<9-5=4>>4 hours\nHe pays for 4-1=<<4-1=3>>3 hours\nThe first hour cost 1*15=$<<1*15=15>>15\nThe other 3-1=2 hours are more expensive\nThey cost 15*2=$<<15*2=30>>30 per hour\nSo those 2 hours cost 2*30=$<<2*30=60>>60\nSo he pays 60+15=$<<60+15=75>>75 per hours\n#### 75",
|
|
"id_orig": 652,
|
|
"id_shuffled": 89,
|
|
"question_annotated": "{name,James} hires a {vehicle,horse-drawn carriage} from {start_time,5} PM to {end_time,9} PM. He gets {free_hours,1} hours free. There is a fixed insurance cost of {cur,$}{extra,25} as well. The first paid hour is {cur,$}{first_hour_cost,15} and each hour after that is {multiplier,twice} the cost. How much did he pay?\n\n#init:\n- name = sample(names_male)\n- vehicle = sample([\"limousine\", \"party bus\", \"boat\", \"luxury car\"])\n- $start_time = range(1, 8)\n- $end_time = range(3, 12)\n- $free_hours = range(2, 4)\n- cur = sample(currencies_sym)\n- $first_hour_cost = range(10, 51)\n- $multiplier = sample(multiple_ice)\n- $extra = range(5,26,5)\n\n#conditions:\n- end_time - start_time > free_hours + 1\n- is_int((end_time - start_time - free_hours - 1) * first_hour_cost * multiplier)\n\n#answer: first_hour_cost + (end_time - start_time - free_hours - 1) * first_hour_cost * multiplier",
|
|
"answer_annotated": "He got it for {end_time}-{start_time}=<<{end_time}-{start_time}={end_time-start_time}>>{end_time-start_time} hours\nHe pays for {end_time-start_time}-{free_hours}=<<{end_time-start_time}-{free_hours}={end_time-start_time-free_hours}>>{end_time-start_time-free_hours} hours\nThe first hour cost 1*{first_hour_cost}={cur}<<1*{first_hour_cost}={first_hour_cost}>>{first_hour_cost}\nThe other {end_time-start_time-free_hours}-1={end_time-start_time-free_hours-1} hours are more expensive\nThey cost {first_hour_cost}*{multiplier}={cur}<<{first_hour_cost}*{multiplier}={first_hour_cost*multiplier}>>{first_hour_cost*multiplier} per hour\nSo those {end_time-start_time-free_hours-1} hours cost {end_time-start_time-free_hours-1}*{first_hour_cost*multiplier}={cur}<<{end_time-start_time-free_hours-1}*{first_hour_cost*multiplier}={(end_time-start_time-free_hours-1)*first_hour_cost*multiplier}>>{(end_time-start_time-free_hours-1)*first_hour_cost*multiplier}\nSo he pays {(end_time-start_time-free_hours-1)*first_hour_cost*multiplier}+{first_hour_cost}={cur}<<{(end_time-start_time-free_hours-1)*first_hour_cost*multiplier}+{first_hour_cost}={first_hour_cost + (end_time - start_time - free_hours - 1) * first_hour_cost * multiplier}>>{first_hour_cost + (end_time - start_time - free_hours - 1) * first_hour_cost * multiplier}. \nIn addition he pays {cur}{extra} for insurance. So overall he pays {cur}{first_hour_cost + (end_time - start_time - free_hours - 1) * first_hour_cost * multiplier} + {cur}{extra} = <<{first_hour_cost + (end_time - start_time - free_hours - 1) * first_hour_cost * multiplier} + {cur}{extra}= {(first_hour_cost + (end_time - start_time - free_hours - 1) * first_hour_cost * multiplier)+extra}>>{cur}{(first_hour_cost + (end_time - start_time - free_hours - 1) * first_hour_cost * multiplier) + extra}. \n#### {(first_hour_cost + (end_time - start_time - free_hours - 1) * first_hour_cost * multiplier)+extra}"
|
|
} |