templates 14 files
Browse files- raw_tmpl/tp_tp4bd_1791583295_00033.jsonl +0 -0
- raw_tmpl/tp_tp4bd_1791583295_00034.jsonl +0 -0
- raw_tmpl/tp_tp4bd_1791583295_00035.jsonl +0 -0
- raw_tmpl/tp_tp4bd_1791583295_00036.jsonl +0 -0
- raw_tmpl/tp_tp4bd_1791583295_00037.jsonl +0 -0
- raw_tmpl/tp_tp4bd_1791583295_00038.jsonl +80 -0
- raw_tmpl/tp_tp4bd_1791583295_00039.jsonl +0 -0
- tmpl_code/tc_tp4bd_1791583295_00033.jsonl +0 -0
- tmpl_code/tc_tp4bd_1791583295_00034.jsonl +0 -0
- tmpl_code/tc_tp4bd_1791583295_00035.jsonl +0 -0
- tmpl_code/tc_tp4bd_1791583295_00036.jsonl +0 -0
- tmpl_code/tc_tp4bd_1791583295_00037.jsonl +0 -0
- tmpl_code/tc_tp4bd_1791583295_00038.jsonl +2 -0
- tmpl_code/tc_tp4bd_1791583295_00039.jsonl +0 -0
raw_tmpl/tp_tp4bd_1791583295_00033.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
raw_tmpl/tp_tp4bd_1791583295_00034.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
raw_tmpl/tp_tp4bd_1791583295_00035.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
raw_tmpl/tp_tp4bd_1791583295_00036.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
raw_tmpl/tp_tp4bd_1791583295_00037.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
raw_tmpl/tp_tp4bd_1791583295_00038.jsonl
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"prompt": "Question: A packaging company ships boxes containing 37 candy units per box. Each unit weighs 26 grams. The shipping cost is calculated as follows: the base cost is $8 per box, plus an additional $0.05 for every 10 grams of total weight per box. If a shipment consists of 28 boxes and the total weight limit for a single truck is 8666 kg, determine the total shipping cost for the 28 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 37 × 26 = 962 grams\nWeight increments per box: 962 / 10 = 96\nAdditional cost per box: 96 × 0.05 = 4.81\nTotal cost per box: 8 + 4.81 = 12.81\nTotal cost for 28 boxes: 28 × 12.81 = 358.68\nTotal shipment weight: 28 × 962 = 26936 grams = 27 kg\nTruck limit check: 27 kg < 8666 kg\n#### $358.68", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 2 |
+
{"prompt": "Question: A packaging company ships boxes containing 13 candy units per box. Each unit weighs 29 grams. The shipping cost is calculated as follows: the base cost is $11 per box, plus an additional $0.09 for every 10 grams of total weight per box. If a shipment consists of 31 boxes and the total weight limit for a single truck is 7181 kg, determine the total shipping cost for the 31 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 13 × 29 = 377 grams\nWeight increments per box: 377 / 10 = 38\nAdditional cost per box: 38 × 0.09 = 3.39\nTotal cost per box: 11 + 3.39 = 14.39\nTotal cost for 31 boxes: 31 × 14.39 = 446.18\nTotal shipment weight: 31 × 377 = 11687 grams = 12 kg\nTruck limit check: 12 kg < 7181 kg\n#### $446.18", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 3 |
+
{"prompt": "Question: A packaging company ships boxes containing 43 candy units per box. Each unit weighs 24 grams. The shipping cost is calculated as follows: the base cost is $18 per box, plus an additional $0.09 for every 10 grams of total weight per box. If a shipment consists of 38 boxes and the total weight limit for a single truck is 3135 kg, determine the total shipping cost for the 38 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 43 × 24 = 1032 grams\nWeight increments per box: 1032 / 10 = 103\nAdditional cost per box: 103 × 0.09 = 9.29\nTotal cost per box: 18 + 9.29 = 27.29\nTotal cost for 38 boxes: 38 × 27.29 = 1036.94\nTotal shipment weight: 38 × 1032 = 39216 grams = 39 kg\nTruck limit check: 39 kg < 3135 kg\n#### $1036.94", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 4 |
+
{"prompt": "Question: A packaging company ships boxes containing 41 candy units per box. Each unit weighs 22 grams. The shipping cost is calculated as follows: the base cost is $16 per box, plus an additional $0.04 for every 10 grams of total weight per box. If a shipment consists of 79 boxes and the total weight limit for a single truck is 8319 kg, determine the total shipping cost for the 79 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 41 × 22 = 902 grams\nWeight increments per box: 902 / 10 = 90\nAdditional cost per box: 90 × 0.04 = 3.61\nTotal cost per box: 16 + 3.61 = 19.61\nTotal cost for 79 boxes: 79 × 19.61 = 1549.03\nTotal shipment weight: 79 × 902 = 71258 grams = 71 kg\nTruck limit check: 71 kg < 8319 kg\n#### $1549.03", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 5 |
+
{"prompt": "Question: A packaging company ships boxes containing 36 candy units per box. Each unit weighs 8 grams. The shipping cost is calculated as follows: the base cost is $11 per box, plus an additional $0.08 for every 10 grams of total weight per box. If a shipment consists of 46 boxes and the total weight limit for a single truck is 6595 kg, determine the total shipping cost for the 46 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 36 × 8 = 288 grams\nWeight increments per box: 288 / 10 = 29\nAdditional cost per box: 29 × 0.08 = 2.30\nTotal cost per box: 11 + 2.30 = 13.30\nTotal cost for 46 boxes: 46 × 13.30 = 611.98\nTotal shipment weight: 46 × 288 = 13248 grams = 13 kg\nTruck limit check: 13 kg < 6595 kg\n#### $611.98", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 6 |
+
{"prompt": "Question: A packaging company ships boxes containing 40 candy units per box. Each unit weighs 30 grams. The shipping cost is calculated as follows: the base cost is $17 per box, plus an additional $0.06 for every 10 grams of total weight per box. If a shipment consists of 93 boxes and the total weight limit for a single truck is 5922 kg, determine the total shipping cost for the 93 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 40 × 30 = 1200 grams\nWeight increments per box: 1200 / 10 = 120\nAdditional cost per box: 120 × 0.06 = 7.20\nTotal cost per box: 17 + 7.20 = 24.20\nTotal cost for 93 boxes: 93 × 24.20 = 2250.60\nTotal shipment weight: 93 × 1200 = 111600 grams = 112 kg\nTruck limit check: 112 kg < 5922 kg\n#### $2250.60", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 7 |
+
{"prompt": "Question: A packaging company ships boxes containing 32 candy units per box. Each unit weighs 6 grams. The shipping cost is calculated as follows: the base cost is $12 per box, plus an additional $0.06 for every 10 grams of total weight per box. If a shipment consists of 46 boxes and the total weight limit for a single truck is 6284 kg, determine the total shipping cost for the 46 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 32 × 6 = 192 grams\nWeight increments per box: 192 / 10 = 19\nAdditional cost per box: 19 × 0.06 = 1.15\nTotal cost per box: 12 + 1.15 = 13.15\nTotal cost for 46 boxes: 46 × 13.15 = 604.99\nTotal shipment weight: 46 × 192 = 8832 grams = 9 kg\nTruck limit check: 9 kg < 6284 kg\n#### $604.99", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 8 |
+
{"prompt": "Question: A packaging company ships boxes containing 12 candy units per box. Each unit weighs 30 grams. The shipping cost is calculated as follows: the base cost is $10 per box, plus an additional $0.09 for every 10 grams of total weight per box. If a shipment consists of 42 boxes and the total weight limit for a single truck is 4682 kg, determine the total shipping cost for the 42 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 12 × 30 = 360 grams\nWeight increments per box: 360 / 10 = 36\nAdditional cost per box: 36 × 0.09 = 3.24\nTotal cost per box: 10 + 3.24 = 13.24\nTotal cost for 42 boxes: 42 × 13.24 = 556.08\nTotal shipment weight: 42 × 360 = 15120 grams = 15 kg\nTruck limit check: 15 kg < 4682 kg\n#### $556.08", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 9 |
+
{"prompt": "Question: A packaging company ships boxes containing 43 candy units per box. Each unit weighs 19 grams. The shipping cost is calculated as follows: the base cost is $15 per box, plus an additional $0.03 for every 10 grams of total weight per box. If a shipment consists of 33 boxes and the total weight limit for a single truck is 1824 kg, determine the total shipping cost for the 33 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 43 × 19 = 817 grams\nWeight increments per box: 817 / 10 = 82\nAdditional cost per box: 82 × 0.03 = 2.45\nTotal cost per box: 15 + 2.45 = 17.45\nTotal cost for 33 boxes: 33 × 17.45 = 575.88\nTotal shipment weight: 33 × 817 = 26961 grams = 27 kg\nTruck limit check: 27 kg < 1824 kg\n#### $575.88", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 10 |
+
{"prompt": "Question: A packaging company ships boxes containing 21 candy units per box. Each unit weighs 5 grams. The shipping cost is calculated as follows: the base cost is $20 per box, plus an additional $0.10 for every 10 grams of total weight per box. If a shipment consists of 86 boxes and the total weight limit for a single truck is 8839 kg, determine the total shipping cost for the 86 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 21 × 5 = 105 grams\nWeight increments per box: 105 / 10 = 10\nAdditional cost per box: 10 × 0.10 = 1.05\nTotal cost per box: 20 + 1.05 = 21.05\nTotal cost for 86 boxes: 86 × 21.05 = 1810.30\nTotal shipment weight: 86 × 105 = 9030 grams = 9 kg\nTruck limit check: 9 kg < 8839 kg\n#### $1810.30", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 11 |
+
{"prompt": "Question: A packaging company ships boxes containing 48 candy units per box. Each unit weighs 12 grams. The shipping cost is calculated as follows: the base cost is $7 per box, plus an additional $0.05 for every 10 grams of total weight per box. If a shipment consists of 72 boxes and the total weight limit for a single truck is 3692 kg, determine the total shipping cost for the 72 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 48 × 12 = 576 grams\nWeight increments per box: 576 / 10 = 58\nAdditional cost per box: 58 × 0.05 = 2.88\nTotal cost per box: 7 + 2.88 = 9.88\nTotal cost for 72 boxes: 72 × 9.88 = 711.36\nTotal shipment weight: 72 × 576 = 41472 grams = 41 kg\nTruck limit check: 41 kg < 3692 kg\n#### $711.36", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 12 |
+
{"prompt": "Question: A packaging company ships boxes containing 33 candy units per box. Each unit weighs 13 grams. The shipping cost is calculated as follows: the base cost is $5 per box, plus an additional $0.05 for every 10 grams of total weight per box. If a shipment consists of 76 boxes and the total weight limit for a single truck is 7530 kg, determine the total shipping cost for the 76 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 33 × 13 = 429 grams\nWeight increments per box: 429 / 10 = 43\nAdditional cost per box: 43 × 0.05 = 2.15\nTotal cost per box: 5 + 2.15 = 7.14\nTotal cost for 76 boxes: 76 × 7.14 = 543.02\nTotal shipment weight: 76 × 429 = 32604 grams = 33 kg\nTruck limit check: 33 kg < 7530 kg\n#### $543.02", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 13 |
+
{"prompt": "Question: A packaging company ships boxes containing 31 candy units per box. Each unit weighs 10 grams. The shipping cost is calculated as follows: the base cost is $9 per box, plus an additional $0.05 for every 10 grams of total weight per box. If a shipment consists of 97 boxes and the total weight limit for a single truck is 1487 kg, determine the total shipping cost for the 97 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 31 × 10 = 310 grams\nWeight increments per box: 310 / 10 = 31\nAdditional cost per box: 31 × 0.05 = 1.55\nTotal cost per box: 9 + 1.55 = 10.55\nTotal cost for 97 boxes: 97 × 10.55 = 1023.35\nTotal shipment weight: 97 × 310 = 30070 grams = 30 kg\nTruck limit check: 30 kg < 1487 kg\n#### $1023.35", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 14 |
+
{"prompt": "Question: A packaging company ships boxes containing 41 candy units per box. Each unit weighs 29 grams. The shipping cost is calculated as follows: the base cost is $13 per box, plus an additional $0.08 for every 10 grams of total weight per box. If a shipment consists of 43 boxes and the total weight limit for a single truck is 1444 kg, determine the total shipping cost for the 43 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 41 × 29 = 1189 grams\nWeight increments per box: 1189 / 10 = 119\nAdditional cost per box: 119 × 0.08 = 9.51\nTotal cost per box: 13 + 9.51 = 22.51\nTotal cost for 43 boxes: 43 × 22.51 = 968.02\nTotal shipment weight: 43 × 1189 = 51127 grams = 51 kg\nTruck limit check: 51 kg < 1444 kg\n#### $968.02", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 15 |
+
{"prompt": "Question: A packaging company ships boxes containing 42 candy units per box. Each unit weighs 5 grams. The shipping cost is calculated as follows: the base cost is $12 per box, plus an additional $0.04 for every 10 grams of total weight per box. If a shipment consists of 74 boxes and the total weight limit for a single truck is 8036 kg, determine the total shipping cost for the 74 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 42 × 5 = 210 grams\nWeight increments per box: 210 / 10 = 21\nAdditional cost per box: 21 × 0.04 = 0.84\nTotal cost per box: 12 + 0.84 = 12.84\nTotal cost for 74 boxes: 74 × 12.84 = 950.16\nTotal shipment weight: 74 × 210 = 15540 grams = 16 kg\nTruck limit check: 16 kg < 8036 kg\n#### $950.16", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 16 |
+
{"prompt": "Question: A packaging company ships boxes containing 16 candy units per box. Each unit weighs 29 grams. The shipping cost is calculated as follows: the base cost is $14 per box, plus an additional $0.09 for every 10 grams of total weight per box. If a shipment consists of 82 boxes and the total weight limit for a single truck is 9577 kg, determine the total shipping cost for the 82 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 16 × 29 = 464 grams\nWeight increments per box: 464 / 10 = 46\nAdditional cost per box: 46 × 0.09 = 4.18\nTotal cost per box: 14 + 4.18 = 18.18\nTotal cost for 82 boxes: 82 × 18.18 = 1490.43\nTotal shipment weight: 82 × 464 = 38048 grams = 38 kg\nTruck limit check: 38 kg < 9577 kg\n#### $1490.43", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 17 |
+
{"prompt": "Question: A packaging company ships boxes containing 33 candy units per box. Each unit weighs 28 grams. The shipping cost is calculated as follows: the base cost is $17 per box, plus an additional $0.06 for every 10 grams of total weight per box. If a shipment consists of 91 boxes and the total weight limit for a single truck is 3800 kg, determine the total shipping cost for the 91 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 33 × 28 = 924 grams\nWeight increments per box: 924 / 10 = 92\nAdditional cost per box: 92 × 0.06 = 5.54\nTotal cost per box: 17 + 5.54 = 22.54\nTotal cost for 91 boxes: 91 × 22.54 = 2051.50\nTotal shipment weight: 91 × 924 = 84084 grams = 84 kg\nTruck limit check: 84 kg < 3800 kg\n#### $2051.50", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 18 |
+
{"prompt": "Question: A packaging company ships boxes containing 40 candy units per box. Each unit weighs 25 grams. The shipping cost is calculated as follows: the base cost is $18 per box, plus an additional $0.04 for every 10 grams of total weight per box. If a shipment consists of 32 boxes and the total weight limit for a single truck is 6786 kg, determine the total shipping cost for the 32 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 40 × 25 = 1000 grams\nWeight increments per box: 1000 / 10 = 100\nAdditional cost per box: 100 × 0.04 = 4.00\nTotal cost per box: 18 + 4.00 = 22.00\nTotal cost for 32 boxes: 32 × 22.00 = 704.00\nTotal shipment weight: 32 × 1000 = 32000 grams = 32 kg\nTruck limit check: 32 kg < 6786 kg\n#### $704.00", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 19 |
+
{"prompt": "Question: A packaging company ships boxes containing 35 candy units per box. Each unit weighs 25 grams. The shipping cost is calculated as follows: the base cost is $17 per box, plus an additional $0.08 for every 10 grams of total weight per box. If a shipment consists of 48 boxes and the total weight limit for a single truck is 6192 kg, determine the total shipping cost for the 48 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 35 × 25 = 875 grams\nWeight increments per box: 875 / 10 = 88\nAdditional cost per box: 88 × 0.08 = 7.00\nTotal cost per box: 17 + 7.00 = 24.00\nTotal cost for 48 boxes: 48 × 24.00 = 1152.00\nTotal shipment weight: 48 × 875 = 42000 grams = 42 kg\nTruck limit check: 42 kg < 6192 kg\n#### $1152.00", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 20 |
+
{"prompt": "Question: A packaging company ships boxes containing 12 candy units per box. Each unit weighs 15 grams. The shipping cost is calculated as follows: the base cost is $11 per box, plus an additional $0.03 for every 10 grams of total weight per box. If a shipment consists of 50 boxes and the total weight limit for a single truck is 8316 kg, determine the total shipping cost for the 50 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 12 × 15 = 180 grams\nWeight increments per box: 180 / 10 = 18\nAdditional cost per box: 18 × 0.03 = 0.54\nTotal cost per box: 11 + 0.54 = 11.54\nTotal cost for 50 boxes: 50 × 11.54 = 577.00\nTotal shipment weight: 50 × 180 = 9000 grams = 9 kg\nTruck limit check: 9 kg < 8316 kg\n#### $577.00", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 21 |
+
{"prompt": "Question: A packaging company ships boxes containing 17 candy units per box. Each unit weighs 5 grams. The shipping cost is calculated as follows: the base cost is $19 per box, plus an additional $0.08 for every 10 grams of total weight per box. If a shipment consists of 94 boxes and the total weight limit for a single truck is 3943 kg, determine the total shipping cost for the 94 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 17 × 5 = 85 grams\nWeight increments per box: 85 / 10 = 8\nAdditional cost per box: 8 × 0.08 = 0.68\nTotal cost per box: 19 + 0.68 = 19.68\nTotal cost for 94 boxes: 94 × 19.68 = 1849.92\nTotal shipment weight: 94 × 85 = 7990 grams = 8 kg\nTruck limit check: 8 kg < 3943 kg\n#### $1849.92", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 22 |
+
{"prompt": "Question: A packaging company ships boxes containing 43 candy units per box. Each unit weighs 21 grams. The shipping cost is calculated as follows: the base cost is $10 per box, plus an additional $0.07 for every 10 grams of total weight per box. If a shipment consists of 52 boxes and the total weight limit for a single truck is 9760 kg, determine the total shipping cost for the 52 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 43 × 21 = 903 grams\nWeight increments per box: 903 / 10 = 90\nAdditional cost per box: 90 × 0.07 = 6.32\nTotal cost per box: 10 + 6.32 = 16.32\nTotal cost for 52 boxes: 52 × 16.32 = 848.69\nTotal shipment weight: 52 × 903 = 46956 grams = 47 kg\nTruck limit check: 47 kg < 9760 kg\n#### $848.69", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 23 |
+
{"prompt": "Question: A packaging company ships boxes containing 18 candy units per box. Each unit weighs 18 grams. The shipping cost is calculated as follows: the base cost is $16 per box, plus an additional $0.03 for every 10 grams of total weight per box. If a shipment consists of 70 boxes and the total weight limit for a single truck is 9917 kg, determine the total shipping cost for the 70 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 18 × 18 = 324 grams\nWeight increments per box: 324 / 10 = 32\nAdditional cost per box: 32 × 0.03 = 0.97\nTotal cost per box: 16 + 0.97 = 16.97\nTotal cost for 70 boxes: 70 × 16.97 = 1188.04\nTotal shipment weight: 70 × 324 = 22680 grams = 23 kg\nTruck limit check: 23 kg < 9917 kg\n#### $1188.04", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 24 |
+
{"prompt": "Question: A packaging company ships boxes containing 41 candy units per box. Each unit weighs 27 grams. The shipping cost is calculated as follows: the base cost is $19 per box, plus an additional $0.06 for every 10 grams of total weight per box. If a shipment consists of 36 boxes and the total weight limit for a single truck is 7914 kg, determine the total shipping cost for the 36 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 41 × 27 = 1107 grams\nWeight increments per box: 1107 / 10 = 111\nAdditional cost per box: 111 × 0.06 = 6.64\nTotal cost per box: 19 + 6.64 = 25.64\nTotal cost for 36 boxes: 36 × 25.64 = 923.11\nTotal shipment weight: 36 × 1107 = 39852 grams = 40 kg\nTruck limit check: 40 kg < 7914 kg\n#### $923.11", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 25 |
+
{"prompt": "Question: A packaging company ships boxes containing 11 candy units per box. Each unit weighs 20 grams. The shipping cost is calculated as follows: the base cost is $17 per box, plus an additional $0.05 for every 10 grams of total weight per box. If a shipment consists of 86 boxes and the total weight limit for a single truck is 2645 kg, determine the total shipping cost for the 86 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 11 × 20 = 220 grams\nWeight increments per box: 220 / 10 = 22\nAdditional cost per box: 22 × 0.05 = 1.10\nTotal cost per box: 17 + 1.10 = 18.10\nTotal cost for 86 boxes: 86 × 18.10 = 1556.60\nTotal shipment weight: 86 × 220 = 18920 grams = 19 kg\nTruck limit check: 19 kg < 2645 kg\n#### $1556.60", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 26 |
+
{"prompt": "Question: A packaging company ships boxes containing 23 candy units per box. Each unit weighs 6 grams. The shipping cost is calculated as follows: the base cost is $6 per box, plus an additional $0.04 for every 10 grams of total weight per box. If a shipment consists of 49 boxes and the total weight limit for a single truck is 5090 kg, determine the total shipping cost for the 49 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 23 × 6 = 138 grams\nWeight increments per box: 138 / 10 = 14\nAdditional cost per box: 14 × 0.04 = 0.55\nTotal cost per box: 6 + 0.55 = 6.55\nTotal cost for 49 boxes: 49 × 6.55 = 321.05\nTotal shipment weight: 49 × 138 = 6762 grams = 7 kg\nTruck limit check: 7 kg < 5090 kg\n#### $321.05", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 27 |
+
{"prompt": "Question: A packaging company ships boxes containing 11 candy units per box. Each unit weighs 20 grams. The shipping cost is calculated as follows: the base cost is $13 per box, plus an additional $0.05 for every 10 grams of total weight per box. If a shipment consists of 53 boxes and the total weight limit for a single truck is 4618 kg, determine the total shipping cost for the 53 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 11 × 20 = 220 grams\nWeight increments per box: 220 / 10 = 22\nAdditional cost per box: 22 × 0.05 = 1.10\nTotal cost per box: 13 + 1.10 = 14.10\nTotal cost for 53 boxes: 53 × 14.10 = 747.30\nTotal shipment weight: 53 × 220 = 11660 grams = 12 kg\nTruck limit check: 12 kg < 4618 kg\n#### $747.30", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 28 |
+
{"prompt": "Question: A packaging company ships boxes containing 11 candy units per box. Each unit weighs 8 grams. The shipping cost is calculated as follows: the base cost is $7 per box, plus an additional $0.06 for every 10 grams of total weight per box. If a shipment consists of 82 boxes and the total weight limit for a single truck is 4589 kg, determine the total shipping cost for the 82 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 11 × 8 = 88 grams\nWeight increments per box: 88 / 10 = 9\nAdditional cost per box: 9 × 0.06 = 0.53\nTotal cost per box: 7 + 0.53 = 7.53\nTotal cost for 82 boxes: 82 × 7.53 = 617.30\nTotal shipment weight: 82 × 88 = 7216 grams = 7 kg\nTruck limit check: 7 kg < 4589 kg\n#### $617.30", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 29 |
+
{"prompt": "Question: A packaging company ships boxes containing 39 candy units per box. Each unit weighs 24 grams. The shipping cost is calculated as follows: the base cost is $17 per box, plus an additional $0.09 for every 10 grams of total weight per box. If a shipment consists of 52 boxes and the total weight limit for a single truck is 4218 kg, determine the total shipping cost for the 52 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 39 × 24 = 936 grams\nWeight increments per box: 936 / 10 = 94\nAdditional cost per box: 94 × 0.09 = 8.42\nTotal cost per box: 17 + 8.42 = 25.42\nTotal cost for 52 boxes: 52 × 25.42 = 1322.05\nTotal shipment weight: 52 × 936 = 48672 grams = 49 kg\nTruck limit check: 49 kg < 4218 kg\n#### $1322.05", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 30 |
+
{"prompt": "Question: A packaging company ships boxes containing 48 candy units per box. Each unit weighs 14 grams. The shipping cost is calculated as follows: the base cost is $10 per box, plus an additional $0.08 for every 10 grams of total weight per box. If a shipment consists of 91 boxes and the total weight limit for a single truck is 9294 kg, determine the total shipping cost for the 91 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 48 × 14 = 672 grams\nWeight increments per box: 672 / 10 = 67\nAdditional cost per box: 67 × 0.08 = 5.38\nTotal cost per box: 10 + 5.38 = 15.38\nTotal cost for 91 boxes: 91 × 15.38 = 1399.22\nTotal shipment weight: 91 × 672 = 61152 grams = 61 kg\nTruck limit check: 61 kg < 9294 kg\n#### $1399.22", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 31 |
+
{"prompt": "Question: A packaging company ships boxes containing 13 candy units per box. Each unit weighs 18 grams. The shipping cost is calculated as follows: the base cost is $10 per box, plus an additional $0.07 for every 10 grams of total weight per box. If a shipment consists of 44 boxes and the total weight limit for a single truck is 8409 kg, determine the total shipping cost for the 44 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 13 × 18 = 234 grams\nWeight increments per box: 234 / 10 = 23\nAdditional cost per box: 23 × 0.07 = 1.64\nTotal cost per box: 10 + 1.64 = 11.64\nTotal cost for 44 boxes: 44 × 11.64 = 512.07\nTotal shipment weight: 44 × 234 = 10296 grams = 10 kg\nTruck limit check: 10 kg < 8409 kg\n#### $512.07", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 32 |
+
{"prompt": "Question: A packaging company ships boxes containing 46 candy units per box. Each unit weighs 22 grams. The shipping cost is calculated as follows: the base cost is $6 per box, plus an additional $0.10 for every 10 grams of total weight per box. If a shipment consists of 60 boxes and the total weight limit for a single truck is 6221 kg, determine the total shipping cost for the 60 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 46 × 22 = 1012 grams\nWeight increments per box: 1012 / 10 = 101\nAdditional cost per box: 101 × 0.10 = 10.12\nTotal cost per box: 6 + 10.12 = 16.12\nTotal cost for 60 boxes: 60 × 16.12 = 967.20\nTotal shipment weight: 60 × 1012 = 60720 grams = 61 kg\nTruck limit check: 61 kg < 6221 kg\n#### $967.20", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 33 |
+
{"prompt": "Question: A packaging company ships boxes containing 34 candy units per box. Each unit weighs 25 grams. The shipping cost is calculated as follows: the base cost is $18 per box, plus an additional $0.08 for every 10 grams of total weight per box. If a shipment consists of 63 boxes and the total weight limit for a single truck is 4495 kg, determine the total shipping cost for the 63 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 34 × 25 = 850 grams\nWeight increments per box: 850 / 10 = 85\nAdditional cost per box: 85 × 0.08 = 6.80\nTotal cost per box: 18 + 6.80 = 24.80\nTotal cost for 63 boxes: 63 × 24.80 = 1562.40\nTotal shipment weight: 63 × 850 = 53550 grams = 54 kg\nTruck limit check: 54 kg < 4495 kg\n#### $1562.40", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 34 |
+
{"prompt": "Question: A packaging company ships boxes containing 23 candy units per box. Each unit weighs 28 grams. The shipping cost is calculated as follows: the base cost is $13 per box, plus an additional $0.06 for every 10 grams of total weight per box. If a shipment consists of 28 boxes and the total weight limit for a single truck is 2249 kg, determine the total shipping cost for the 28 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 23 × 28 = 644 grams\nWeight increments per box: 644 / 10 = 64\nAdditional cost per box: 64 × 0.06 = 3.86\nTotal cost per box: 13 + 3.86 = 16.86\nTotal cost for 28 boxes: 28 × 16.86 = 472.19\nTotal shipment weight: 28 × 644 = 18032 grams = 18 kg\nTruck limit check: 18 kg < 2249 kg\n#### $472.19", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 35 |
+
{"prompt": "Question: A packaging company ships boxes containing 12 candy units per box. Each unit weighs 25 grams. The shipping cost is calculated as follows: the base cost is $7 per box, plus an additional $0.03 for every 10 grams of total weight per box. If a shipment consists of 69 boxes and the total weight limit for a single truck is 2236 kg, determine the total shipping cost for the 69 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 12 × 25 = 300 grams\nWeight increments per box: 300 / 10 = 30\nAdditional cost per box: 30 × 0.03 = 0.90\nTotal cost per box: 7 + 0.90 = 7.90\nTotal cost for 69 boxes: 69 × 7.90 = 545.10\nTotal shipment weight: 69 × 300 = 20700 grams = 21 kg\nTruck limit check: 21 kg < 2236 kg\n#### $545.10", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 36 |
+
{"prompt": "Question: A packaging company ships boxes containing 38 candy units per box. Each unit weighs 9 grams. The shipping cost is calculated as follows: the base cost is $13 per box, plus an additional $0.03 for every 10 grams of total weight per box. If a shipment consists of 26 boxes and the total weight limit for a single truck is 7212 kg, determine the total shipping cost for the 26 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 38 × 9 = 342 grams\nWeight increments per box: 342 / 10 = 34\nAdditional cost per box: 34 × 0.03 = 1.03\nTotal cost per box: 13 + 1.03 = 14.03\nTotal cost for 26 boxes: 26 × 14.03 = 364.68\nTotal shipment weight: 26 × 342 = 8892 grams = 9 kg\nTruck limit check: 9 kg < 7212 kg\n#### $364.68", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 37 |
+
{"prompt": "Question: A packaging company ships boxes containing 36 candy units per box. Each unit weighs 27 grams. The shipping cost is calculated as follows: the base cost is $7 per box, plus an additional $0.08 for every 10 grams of total weight per box. If a shipment consists of 24 boxes and the total weight limit for a single truck is 2223 kg, determine the total shipping cost for the 24 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 36 × 27 = 972 grams\nWeight increments per box: 972 / 10 = 97\nAdditional cost per box: 97 × 0.08 = 7.78\nTotal cost per box: 7 + 7.78 = 14.78\nTotal cost for 24 boxes: 24 × 14.78 = 354.62\nTotal shipment weight: 24 × 972 = 23328 grams = 23 kg\nTruck limit check: 23 kg < 2223 kg\n#### $354.62", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 38 |
+
{"prompt": "Question: A packaging company ships boxes containing 15 candy units per box. Each unit weighs 19 grams. The shipping cost is calculated as follows: the base cost is $20 per box, plus an additional $0.07 for every 10 grams of total weight per box. If a shipment consists of 25 boxes and the total weight limit for a single truck is 1302 kg, determine the total shipping cost for the 25 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 15 × 19 = 285 grams\nWeight increments per box: 285 / 10 = 28\nAdditional cost per box: 28 × 0.07 = 2.00\nTotal cost per box: 20 + 2.00 = 22.00\nTotal cost for 25 boxes: 25 × 22.00 = 549.88\nTotal shipment weight: 25 × 285 = 7125 grams = 7 kg\nTruck limit check: 7 kg < 1302 kg\n#### $549.88", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 39 |
+
{"prompt": "Question: A packaging company ships boxes containing 17 candy units per box. Each unit weighs 7 grams. The shipping cost is calculated as follows: the base cost is $13 per box, plus an additional $0.03 for every 10 grams of total weight per box. If a shipment consists of 67 boxes and the total weight limit for a single truck is 9020 kg, determine the total shipping cost for the 67 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 17 × 7 = 119 grams\nWeight increments per box: 119 / 10 = 12\nAdditional cost per box: 12 × 0.03 = 0.36\nTotal cost per box: 13 + 0.36 = 13.36\nTotal cost for 67 boxes: 67 × 13.36 = 894.92\nTotal shipment weight: 67 × 119 = 7973 grams = 8 kg\nTruck limit check: 8 kg < 9020 kg\n#### $894.92", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 40 |
+
{"prompt": "Question: A packaging company ships boxes containing 21 candy units per box. Each unit weighs 11 grams. The shipping cost is calculated as follows: the base cost is $8 per box, plus an additional $0.02 for every 10 grams of total weight per box. If a shipment consists of 71 boxes and the total weight limit for a single truck is 2751 kg, determine the total shipping cost for the 71 boxes, assuming the truck weight limit is not exceeded.\nAnswer:", "response": " Weight per box: 21 × 11 = 231 grams\nWeight increments per box: 231 / 10 = 23\nAdditional cost per box: 23 × 0.02 = 0.46\nTotal cost per box: 8 + 0.46 = 8.46\nTotal cost for 71 boxes: 71 × 8.46 = 600.80\nTotal shipment weight: 71 × 231 = 16401 grams = 16 kg\nTruck limit check: 16 kg < 2751 kg\n#### $600.80", "source": "tp_wordproblem", "tid": "9b35560456", "level": "general"}
|
| 41 |
+
{"prompt": "Question: During an event, tickets are sold for 12 chairs in a row. 4 guests arrive simultaneously and randomly select 4 distinct chairs out of the 12, with every set of 4 chairs being equally likely. What is the probability that no two of the guests are sitting in adjacent chairs? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 4 distinct chairs from 12 is C(12,4) = 495.\nThe number of ways to choose 4 non-adjacent chairs from 12 is C(12-4+1,4) = C(9,4) = 126.\nThe probability is 126/495.\nSimplifying the fraction gives 14/55.\n#### \\frac{14}{55}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 42 |
+
{"prompt": "Question: During an event, tickets are sold for 6 chairs in a row. 2 guests arrive simultaneously and randomly select 2 distinct chairs out of the 6, with every set of 2 chairs being equally likely. What is the probability that no two of the guests are sitting in adjacent chairs? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct chairs from 6 is C(6,2) = 15.\nThe number of ways to choose 2 non-adjacent chairs from 6 is C(6-2+1,2) = C(5,2) = 10.\nThe probability is 10/15.\nSimplifying the fraction gives 2/3.\n#### \\frac{2}{3}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 43 |
+
{"prompt": "Question: During an event, tickets are sold for 14 seats in a row. 4 students arrive simultaneously and randomly select 4 distinct seats out of the 14, with every set of 4 seats being equally likely. What is the probability that no two of the students are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 4 distinct seats from 14 is C(14,4) = 1001.\nThe number of ways to choose 4 non-adjacent seats from 14 is C(14-4+1,4) = C(11,4) = 330.\nThe probability is 330/1001.\nSimplifying the fraction gives 30/91.\n#### \\frac{30}{91}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 44 |
+
{"prompt": "Question: During an event, tickets are sold for 13 seats in a row. 4 students arrive simultaneously and randomly select 4 distinct seats out of the 13, with every set of 4 seats being equally likely. What is the probability that no two of the students are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 4 distinct seats from 13 is C(13,4) = 715.\nThe number of ways to choose 4 non-adjacent seats from 13 is C(13-4+1,4) = C(10,4) = 210.\nThe probability is 210/715.\nSimplifying the fraction gives 42/143.\n#### \\frac{42}{143}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 45 |
+
{"prompt": "Question: During an event, tickets are sold for 12 spots in a row. 2 students arrive simultaneously and randomly select 2 distinct spots out of the 12, with every set of 2 spots being equally likely. What is the probability that no two of the students are sitting in adjacent spots? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct spots from 12 is C(12,2) = 66.\nThe number of ways to choose 2 non-adjacent spots from 12 is C(12-2+1,2) = C(11,2) = 55.\nThe probability is 55/66.\nSimplifying the fraction gives 5/6.\n#### \\frac{5}{6}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 46 |
+
{"prompt": "Question: During an event, tickets are sold for 13 spots in a row. 3 guests arrive simultaneously and randomly select 3 distinct spots out of the 13, with every set of 3 spots being equally likely. What is the probability that no two of the guests are sitting in adjacent spots? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 3 distinct spots from 13 is C(13,3) = 286.\nThe number of ways to choose 3 non-adjacent spots from 13 is C(13-3+1,3) = C(11,3) = 165.\nThe probability is 165/286.\nSimplifying the fraction gives 15/26.\n#### \\frac{15}{26}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 47 |
+
{"prompt": "Question: During an event, tickets are sold for 11 chairs in a row. 2 guests arrive simultaneously and randomly select 2 distinct chairs out of the 11, with every set of 2 chairs being equally likely. What is the probability that no two of the guests are sitting in adjacent chairs? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct chairs from 11 is C(11,2) = 55.\nThe number of ways to choose 2 non-adjacent chairs from 11 is C(11-2+1,2) = C(10,2) = 45.\nThe probability is 45/55.\nSimplifying the fraction gives 9/11.\n#### \\frac{9}{11}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 48 |
+
{"prompt": "Question: During an event, tickets are sold for 6 seats in a row. 2 students arrive simultaneously and randomly select 2 distinct seats out of the 6, with every set of 2 seats being equally likely. What is the probability that no two of the students are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct seats from 6 is C(6,2) = 15.\nThe number of ways to choose 2 non-adjacent seats from 6 is C(6-2+1,2) = C(5,2) = 10.\nThe probability is 10/15.\nSimplifying the fraction gives 2/3.\n#### \\frac{2}{3}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 49 |
+
{"prompt": "Question: During an event, tickets are sold for 14 seats in a row. 3 fans arrive simultaneously and randomly select 3 distinct seats out of the 14, with every set of 3 seats being equally likely. What is the probability that no two of the fans are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 3 distinct seats from 14 is C(14,3) = 364.\nThe number of ways to choose 3 non-adjacent seats from 14 is C(14-3+1,3) = C(12,3) = 220.\nThe probability is 220/364.\nSimplifying the fraction gives 55/91.\n#### \\frac{55}{91}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 50 |
+
{"prompt": "Question: During an event, tickets are sold for 8 seats in a row. 2 fans arrive simultaneously and randomly select 2 distinct seats out of the 8, with every set of 2 seats being equally likely. What is the probability that no two of the fans are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct seats from 8 is C(8,2) = 28.\nThe number of ways to choose 2 non-adjacent seats from 8 is C(8-2+1,2) = C(7,2) = 21.\nThe probability is 21/28.\nSimplifying the fraction gives 3/4.\n#### \\frac{3}{4}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 51 |
+
{"prompt": "Question: During an event, tickets are sold for 15 spots in a row. 2 fans arrive simultaneously and randomly select 2 distinct spots out of the 15, with every set of 2 spots being equally likely. What is the probability that no two of the fans are sitting in adjacent spots? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct spots from 15 is C(15,2) = 105.\nThe number of ways to choose 2 non-adjacent spots from 15 is C(15-2+1,2) = C(14,2) = 91.\nThe probability is 91/105.\nSimplifying the fraction gives 13/15.\n#### \\frac{13}{15}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 52 |
+
{"prompt": "Question: During an event, tickets are sold for 11 chairs in a row. 3 guests arrive simultaneously and randomly select 3 distinct chairs out of the 11, with every set of 3 chairs being equally likely. What is the probability that no two of the guests are sitting in adjacent chairs? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 3 distinct chairs from 11 is C(11,3) = 165.\nThe number of ways to choose 3 non-adjacent chairs from 11 is C(11-3+1,3) = C(9,3) = 84.\nThe probability is 84/165.\nSimplifying the fraction gives 28/55.\n#### \\frac{28}{55}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 53 |
+
{"prompt": "Question: During an event, tickets are sold for 13 spots in a row. 3 students arrive simultaneously and randomly select 3 distinct spots out of the 13, with every set of 3 spots being equally likely. What is the probability that no two of the students are sitting in adjacent spots? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 3 distinct spots from 13 is C(13,3) = 286.\nThe number of ways to choose 3 non-adjacent spots from 13 is C(13-3+1,3) = C(11,3) = 165.\nThe probability is 165/286.\nSimplifying the fraction gives 15/26.\n#### \\frac{15}{26}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 54 |
+
{"prompt": "Question: During an event, tickets are sold for 14 chairs in a row. 2 attendees arrive simultaneously and randomly select 2 distinct chairs out of the 14, with every set of 2 chairs being equally likely. What is the probability that no two of the attendees are sitting in adjacent chairs? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct chairs from 14 is C(14,2) = 91.\nThe number of ways to choose 2 non-adjacent chairs from 14 is C(14-2+1,2) = C(13,2) = 78.\nThe probability is 78/91.\nSimplifying the fraction gives 6/7.\n#### \\frac{6}{7}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 55 |
+
{"prompt": "Question: During an event, tickets are sold for 7 seats in a row. 3 guests arrive simultaneously and randomly select 3 distinct seats out of the 7, with every set of 3 seats being equally likely. What is the probability that no two of the guests are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 3 distinct seats from 7 is C(7,3) = 35.\nThe number of ways to choose 3 non-adjacent seats from 7 is C(7-3+1,3) = C(5,3) = 10.\nThe probability is 10/35.\nSimplifying the fraction gives 2/7.\n#### \\frac{2}{7}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 56 |
+
{"prompt": "Question: During an event, tickets are sold for 11 seats in a row. 4 attendees arrive simultaneously and randomly select 4 distinct seats out of the 11, with every set of 4 seats being equally likely. What is the probability that no two of the attendees are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 4 distinct seats from 11 is C(11,4) = 330.\nThe number of ways to choose 4 non-adjacent seats from 11 is C(11-4+1,4) = C(8,4) = 70.\nThe probability is 70/330.\nSimplifying the fraction gives 7/33.\n#### \\frac{7}{33}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 57 |
+
{"prompt": "Question: During an event, tickets are sold for 12 seats in a row. 4 fans arrive simultaneously and randomly select 4 distinct seats out of the 12, with every set of 4 seats being equally likely. What is the probability that no two of the fans are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 4 distinct seats from 12 is C(12,4) = 495.\nThe number of ways to choose 4 non-adjacent seats from 12 is C(12-4+1,4) = C(9,4) = 126.\nThe probability is 126/495.\nSimplifying the fraction gives 14/55.\n#### \\frac{14}{55}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 58 |
+
{"prompt": "Question: During an event, tickets are sold for 6 chairs in a row. 3 fans arrive simultaneously and randomly select 3 distinct chairs out of the 6, with every set of 3 chairs being equally likely. What is the probability that no two of the fans are sitting in adjacent chairs? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 3 distinct chairs from 6 is C(6,3) = 20.\nThe number of ways to choose 3 non-adjacent chairs from 6 is C(6-3+1,3) = C(4,3) = 4.\nThe probability is 4/20.\nSimplifying the fraction gives 1/5.\n#### \\frac{1}{5}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 59 |
+
{"prompt": "Question: During an event, tickets are sold for 7 seats in a row. 2 guests arrive simultaneously and randomly select 2 distinct seats out of the 7, with every set of 2 seats being equally likely. What is the probability that no two of the guests are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct seats from 7 is C(7,2) = 21.\nThe number of ways to choose 2 non-adjacent seats from 7 is C(7-2+1,2) = C(6,2) = 15.\nThe probability is 15/21.\nSimplifying the fraction gives 5/7.\n#### \\frac{5}{7}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 60 |
+
{"prompt": "Question: During an event, tickets are sold for 14 chairs in a row. 4 students arrive simultaneously and randomly select 4 distinct chairs out of the 14, with every set of 4 chairs being equally likely. What is the probability that no two of the students are sitting in adjacent chairs? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 4 distinct chairs from 14 is C(14,4) = 1001.\nThe number of ways to choose 4 non-adjacent chairs from 14 is C(14-4+1,4) = C(11,4) = 330.\nThe probability is 330/1001.\nSimplifying the fraction gives 30/91.\n#### \\frac{30}{91}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 61 |
+
{"prompt": "Question: During an event, tickets are sold for 8 spots in a row. 3 attendees arrive simultaneously and randomly select 3 distinct spots out of the 8, with every set of 3 spots being equally likely. What is the probability that no two of the attendees are sitting in adjacent spots? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 3 distinct spots from 8 is C(8,3) = 56.\nThe number of ways to choose 3 non-adjacent spots from 8 is C(8-3+1,3) = C(6,3) = 20.\nThe probability is 20/56.\nSimplifying the fraction gives 5/14.\n#### \\frac{5}{14}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 62 |
+
{"prompt": "Question: During an event, tickets are sold for 13 seats in a row. 4 guests arrive simultaneously and randomly select 4 distinct seats out of the 13, with every set of 4 seats being equally likely. What is the probability that no two of the guests are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 4 distinct seats from 13 is C(13,4) = 715.\nThe number of ways to choose 4 non-adjacent seats from 13 is C(13-4+1,4) = C(10,4) = 210.\nThe probability is 210/715.\nSimplifying the fraction gives 42/143.\n#### \\frac{42}{143}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 63 |
+
{"prompt": "Question: During an event, tickets are sold for 6 seats in a row. 3 attendees arrive simultaneously and randomly select 3 distinct seats out of the 6, with every set of 3 seats being equally likely. What is the probability that no two of the attendees are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 3 distinct seats from 6 is C(6,3) = 20.\nThe number of ways to choose 3 non-adjacent seats from 6 is C(6-3+1,3) = C(4,3) = 4.\nThe probability is 4/20.\nSimplifying the fraction gives 1/5.\n#### \\frac{1}{5}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 64 |
+
{"prompt": "Question: During an event, tickets are sold for 9 chairs in a row. 2 students arrive simultaneously and randomly select 2 distinct chairs out of the 9, with every set of 2 chairs being equally likely. What is the probability that no two of the students are sitting in adjacent chairs? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct chairs from 9 is C(9,2) = 36.\nThe number of ways to choose 2 non-adjacent chairs from 9 is C(9-2+1,2) = C(8,2) = 28.\nThe probability is 28/36.\nSimplifying the fraction gives 7/9.\n#### \\frac{7}{9}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 65 |
+
{"prompt": "Question: During an event, tickets are sold for 6 seats in a row. 3 guests arrive simultaneously and randomly select 3 distinct seats out of the 6, with every set of 3 seats being equally likely. What is the probability that no two of the guests are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 3 distinct seats from 6 is C(6,3) = 20.\nThe number of ways to choose 3 non-adjacent seats from 6 is C(6-3+1,3) = C(4,3) = 4.\nThe probability is 4/20.\nSimplifying the fraction gives 1/5.\n#### \\frac{1}{5}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 66 |
+
{"prompt": "Question: During an event, tickets are sold for 13 seats in a row. 4 attendees arrive simultaneously and randomly select 4 distinct seats out of the 13, with every set of 4 seats being equally likely. What is the probability that no two of the attendees are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 4 distinct seats from 13 is C(13,4) = 715.\nThe number of ways to choose 4 non-adjacent seats from 13 is C(13-4+1,4) = C(10,4) = 210.\nThe probability is 210/715.\nSimplifying the fraction gives 42/143.\n#### \\frac{42}{143}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 67 |
+
{"prompt": "Question: During an event, tickets are sold for 15 spots in a row. 3 students arrive simultaneously and randomly select 3 distinct spots out of the 15, with every set of 3 spots being equally likely. What is the probability that no two of the students are sitting in adjacent spots? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 3 distinct spots from 15 is C(15,3) = 455.\nThe number of ways to choose 3 non-adjacent spots from 15 is C(15-3+1,3) = C(13,3) = 286.\nThe probability is 286/455.\nSimplifying the fraction gives 22/35.\n#### \\frac{22}{35}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 68 |
+
{"prompt": "Question: During an event, tickets are sold for 6 spots in a row. 3 students arrive simultaneously and randomly select 3 distinct spots out of the 6, with every set of 3 spots being equally likely. What is the probability that no two of the students are sitting in adjacent spots? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 3 distinct spots from 6 is C(6,3) = 20.\nThe number of ways to choose 3 non-adjacent spots from 6 is C(6-3+1,3) = C(4,3) = 4.\nThe probability is 4/20.\nSimplifying the fraction gives 1/5.\n#### \\frac{1}{5}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 69 |
+
{"prompt": "Question: During an event, tickets are sold for 15 chairs in a row. 4 fans arrive simultaneously and randomly select 4 distinct chairs out of the 15, with every set of 4 chairs being equally likely. What is the probability that no two of the fans are sitting in adjacent chairs? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 4 distinct chairs from 15 is C(15,4) = 1365.\nThe number of ways to choose 4 non-adjacent chairs from 15 is C(15-4+1,4) = C(12,4) = 495.\nThe probability is 495/1365.\nSimplifying the fraction gives 33/91.\n#### \\frac{33}{91}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 70 |
+
{"prompt": "Question: During an event, tickets are sold for 12 spots in a row. 4 guests arrive simultaneously and randomly select 4 distinct spots out of the 12, with every set of 4 spots being equally likely. What is the probability that no two of the guests are sitting in adjacent spots? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 4 distinct spots from 12 is C(12,4) = 495.\nThe number of ways to choose 4 non-adjacent spots from 12 is C(12-4+1,4) = C(9,4) = 126.\nThe probability is 126/495.\nSimplifying the fraction gives 14/55.\n#### \\frac{14}{55}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 71 |
+
{"prompt": "Question: During an event, tickets are sold for 9 seats in a row. 4 guests arrive simultaneously and randomly select 4 distinct seats out of the 9, with every set of 4 seats being equally likely. What is the probability that no two of the guests are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 4 distinct seats from 9 is C(9,4) = 126.\nThe number of ways to choose 4 non-adjacent seats from 9 is C(9-4+1,4) = C(6,4) = 15.\nThe probability is 15/126.\nSimplifying the fraction gives 5/42.\n#### \\frac{5}{42}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 72 |
+
{"prompt": "Question: During an event, tickets are sold for 6 chairs in a row. 2 fans arrive simultaneously and randomly select 2 distinct chairs out of the 6, with every set of 2 chairs being equally likely. What is the probability that no two of the fans are sitting in adjacent chairs? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct chairs from 6 is C(6,2) = 15.\nThe number of ways to choose 2 non-adjacent chairs from 6 is C(6-2+1,2) = C(5,2) = 10.\nThe probability is 10/15.\nSimplifying the fraction gives 2/3.\n#### \\frac{2}{3}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 73 |
+
{"prompt": "Question: During an event, tickets are sold for 13 seats in a row. 2 students arrive simultaneously and randomly select 2 distinct seats out of the 13, with every set of 2 seats being equally likely. What is the probability that no two of the students are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct seats from 13 is C(13,2) = 78.\nThe number of ways to choose 2 non-adjacent seats from 13 is C(13-2+1,2) = C(12,2) = 66.\nThe probability is 66/78.\nSimplifying the fraction gives 11/13.\n#### \\frac{11}{13}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 74 |
+
{"prompt": "Question: During an event, tickets are sold for 12 spots in a row. 4 fans arrive simultaneously and randomly select 4 distinct spots out of the 12, with every set of 4 spots being equally likely. What is the probability that no two of the fans are sitting in adjacent spots? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 4 distinct spots from 12 is C(12,4) = 495.\nThe number of ways to choose 4 non-adjacent spots from 12 is C(12-4+1,4) = C(9,4) = 126.\nThe probability is 126/495.\nSimplifying the fraction gives 14/55.\n#### \\frac{14}{55}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 75 |
+
{"prompt": "Question: During an event, tickets are sold for 7 spots in a row. 3 guests arrive simultaneously and randomly select 3 distinct spots out of the 7, with every set of 3 spots being equally likely. What is the probability that no two of the guests are sitting in adjacent spots? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 3 distinct spots from 7 is C(7,3) = 35.\nThe number of ways to choose 3 non-adjacent spots from 7 is C(7-3+1,3) = C(5,3) = 10.\nThe probability is 10/35.\nSimplifying the fraction gives 2/7.\n#### \\frac{2}{7}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 76 |
+
{"prompt": "Question: During an event, tickets are sold for 7 seats in a row. 2 students arrive simultaneously and randomly select 2 distinct seats out of the 7, with every set of 2 seats being equally likely. What is the probability that no two of the students are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct seats from 7 is C(7,2) = 21.\nThe number of ways to choose 2 non-adjacent seats from 7 is C(7-2+1,2) = C(6,2) = 15.\nThe probability is 15/21.\nSimplifying the fraction gives 5/7.\n#### \\frac{5}{7}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 77 |
+
{"prompt": "Question: During an event, tickets are sold for 8 spots in a row. 2 fans arrive simultaneously and randomly select 2 distinct spots out of the 8, with every set of 2 spots being equally likely. What is the probability that no two of the fans are sitting in adjacent spots? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct spots from 8 is C(8,2) = 28.\nThe number of ways to choose 2 non-adjacent spots from 8 is C(8-2+1,2) = C(7,2) = 21.\nThe probability is 21/28.\nSimplifying the fraction gives 3/4.\n#### \\frac{3}{4}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 78 |
+
{"prompt": "Question: During an event, tickets are sold for 10 spots in a row. 2 students arrive simultaneously and randomly select 2 distinct spots out of the 10, with every set of 2 spots being equally likely. What is the probability that no two of the students are sitting in adjacent spots? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct spots from 10 is C(10,2) = 45.\nThe number of ways to choose 2 non-adjacent spots from 10 is C(10-2+1,2) = C(9,2) = 36.\nThe probability is 36/45.\nSimplifying the fraction gives 4/5.\n#### \\frac{4}{5}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 79 |
+
{"prompt": "Question: During an event, tickets are sold for 13 seats in a row. 2 guests arrive simultaneously and randomly select 2 distinct seats out of the 13, with every set of 2 seats being equally likely. What is the probability that no two of the guests are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct seats from 13 is C(13,2) = 78.\nThe number of ways to choose 2 non-adjacent seats from 13 is C(13-2+1,2) = C(12,2) = 66.\nThe probability is 66/78.\nSimplifying the fraction gives 11/13.\n#### \\frac{11}{13}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
| 80 |
+
{"prompt": "Question: During an event, tickets are sold for 9 seats in a row. 2 fans arrive simultaneously and randomly select 2 distinct seats out of the 9, with every set of 2 seats being equally likely. What is the probability that no two of the fans are sitting in adjacent seats? Express your answer as a simplified fraction.\nAnswer:", "response": " Total number of ways to choose 2 distinct seats from 9 is C(9,2) = 36.\nThe number of ways to choose 2 non-adjacent seats from 9 is C(9-2+1,2) = C(8,2) = 28.\nThe probability is 28/36.\nSimplifying the fraction gives 7/9.\n#### \\frac{7}{9}", "source": "tp_probability", "tid": "b4bb6625df", "level": "general"}
|
raw_tmpl/tp_tp4bd_1791583295_00039.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tmpl_code/tc_tp4bd_1791583295_00033.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tmpl_code/tc_tp4bd_1791583295_00034.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tmpl_code/tc_tp4bd_1791583295_00035.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tmpl_code/tc_tp4bd_1791583295_00036.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tmpl_code/tc_tp4bd_1791583295_00037.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tmpl_code/tc_tp4bd_1791583295_00038.jsonl
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"tid": "9b35560456", "cat": "wordproblem", "code": "import random\n\ndef make(rng, original=False):\n if original:\n question = (\n \"A packaging company ships boxes containing 24 candy units per box. \"\n \"Each unit weighs 15 grams. The shipping cost is calculated as follows: \"\n \"the base cost is $10 per box, plus an additional $0.05 for every 10 grams \"\n \"of total weight per box. If a shipment consists of 50 boxes and the total \"\n \"weight limit for a single truck is 5,000 kg, determine the total shipping \"\n \"cost for the 50 boxes, assuming the truck weight limit is not exceeded.\"\n )\n lines = [\n \"Weight per box: 24 \u00d7 15 = 360 grams\",\n \"Weight increments per box: 360 / 10 = 36\",\n \"Additional cost per box: 36 \u00d7 0.05 = 1.80\",\n \"Total cost per box: 10 + 1.80 = 11.80\",\n \"Total cost for 50 boxes: 50 \u00d7 11.80 = 590\",\n \"Total shipment weight: 50 \u00d7 360 = 18,000 grams = 18 kg\",\n \"Truck limit check: 18 kg < 5,000 kg\",\n ]\n answer = \"$590\"\n return (question, lines, answer)\n\n # Generate random parameters\n units_per_box = rng.randint(10, 50)\n weight_per_unit = rng.randint(5, 30) # grams\n base_cost = rng.randint(5, 20) # dollars\n extra_cost_per_10g = round(rng.uniform(0.02, 0.10), 2) # dollars\n num_boxes = rng.randint(20, 100)\n truck_limit_kg = rng.randint(1000, 10000)\n\n # Calculate values\n weight_per_box = units_per_box * weight_per_unit\n weight_increments = weight_per_box / 10\n additional_cost = weight_increments * extra_cost_per_10g\n total_cost_per_box = base_cost + additional_cost\n total_cost = num_boxes * total_cost_per_box\n total_weight_g = num_boxes * weight_per_box\n total_weight_kg = total_weight_g / 1000\n\n # Check if truck limit is exceeded\n if total_weight_kg >= truck_limit_kg:\n return None\n\n # Round total cost to 2 decimal places\n total_cost_rounded = round(total_cost, 2)\n\n # Format answer\n answer = f\"${total_cost_rounded:.2f}\"\n\n # Build question\n question = (\n f\"A packaging company ships boxes containing {units_per_box} candy units per box. \"\n f\"Each unit weighs {weight_per_unit} grams. The shipping cost is calculated as follows: \"\n f\"the base cost is ${base_cost} per box, plus an additional ${extra_cost_per_10g:.2f} for \"\n f\"every 10 grams of total weight per box. If a shipment consists of {num_boxes} boxes and \"\n f\"the total weight limit for a single truck is {truck_limit_kg} kg, determine the total \"\n f\"shipping cost for the {num_boxes} boxes, assuming the truck weight limit is not exceeded.\"\n )\n\n # Build solution lines\n lines = [\n f\"Weight per box: {units_per_box} \u00d7 {weight_per_unit} = {weight_per_box} grams\",\n f\"Weight increments per box: {weight_per_box} / 10 = {weight_increments:.0f}\",\n f\"Additional cost per box: {weight_increments:.0f} \u00d7 {extra_cost_per_10g:.2f} = {additional_cost:.2f}\",\n f\"Total cost per box: {base_cost} + {additional_cost:.2f} = {total_cost_per_box:.2f}\",\n f\"Total cost for {num_boxes} boxes: {num_boxes} \u00d7 {total_cost_per_box:.2f} = {total_cost_rounded:.2f}\",\n f\"Total shipment weight: {num_boxes} \u00d7 {weight_per_box} = {total_weight_g} grams = {total_weight_kg:.0f} kg\",\n f\"Truck limit check: {total_weight_kg:.0f} kg < {truck_limit_kg} kg\",\n ]\n\n return (question, lines, answer)\n"}
|
| 2 |
+
{"tid": "b4bb6625df", "cat": "probability", "code": "import random\nfrom math import comb\nfrom fractions import Fraction\n\ndef make(rng, original=False):\n if original:\n n, k = 10, 4\n total = comb(n, k)\n favorable = comb(n - k + 1, k)\n frac = Fraction(favorable, total)\n question = (\"During a screening, a ticket vendor sells tickets for seats in a row of 10 chairs. \"\n \"Four fans arrive simultaneously and randomly select 4 distinct seats out of the 10, \"\n \"with every set of 4 seats being equally likely. What is the probability that no two of \"\n \"the fans are sitting in adjacent seats? Express your answer as a simplified fraction.\")\n lines = [\n f\"Total number of ways to choose {k} distinct seats from {n} is C({n},{k}) = {total}.\",\n f\"The number of ways to choose {k} non-adjacent seats from {n} is C({n}-{k}+1,{k}) = C({n-k+1},{k}) = {favorable}.\",\n f\"The probability is {favorable}/{total}.\",\n f\"Simplifying the fraction gives {frac.numerator}/{frac.denominator}.\"\n ]\n answer = f\"\\\\frac{{{frac.numerator}}}{{{frac.denominator}}}\"\n return question, lines, answer\n\n # Generate new parameters\n n = rng.randint(6, 15)\n k = rng.randint(2, min(4, n // 2))\n \n # Ensure the problem is non-trivial (favorable > 0 and total > favorable)\n if n - k + 1 < k:\n return None\n if k < 2 or k > n - 1:\n return None\n\n total = comb(n, k)\n favorable = comb(n - k + 1, k)\n \n if favorable == 0 or favorable == total:\n return None\n\n frac = Fraction(favorable, total)\n \n # Vary wording slightly\n objects = [\"chairs\", \"seats\", \"spots\"]\n people = [\"fans\", \"students\", \"attendees\", \"guests\"]\n obj = rng.choice(objects)\n ppl = rng.choice(people)\n \n question = (f\"During an event, tickets are sold for {n} {obj} in a row. \"\n f\"{k} {ppl} arrive simultaneously and randomly select {k} distinct {obj} out of the {n}, \"\n f\"with every set of {k} {obj} being equally likely. What is the probability that no two of \"\n f\"the {ppl} are sitting in adjacent {obj}? Express your answer as a simplified fraction.\")\n \n lines = [\n f\"Total number of ways to choose {k} distinct {obj} from {n} is C({n},{k}) = {total}.\",\n f\"The number of ways to choose {k} non-adjacent {obj} from {n} is C({n}-{k}+1,{k}) = C({n-k+1},{k}) = {favorable}.\",\n f\"The probability is {favorable}/{total}.\",\n f\"Simplifying the fraction gives {frac.numerator}/{frac.denominator}.\"\n ]\n \n answer = f\"\\\\frac{{{frac.numerator}}}{{{frac.denominator}}}\"\n \n return question, lines, answer\n"}
|
tmpl_code/tc_tp4bd_1791583295_00039.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|