Still experimenting

This commit is contained in:
abdulhakeem 2025-01-30 23:44:12 -06:00
parent a3378bd95f
commit ff13dc6825
357 changed files with 2888 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{
"question": "Deandre caught 3 tunas last Monday, the first tuna he caught weighs 56 kilograms, the second tuna he caught weighs 46 kilograms, and the last tuna he caught weighs 26 kilograms. If a kilogram of tuna costs $0.50, how much will he earn after selling all the tunas to the market?",
"answer": "Deandre will earn 56 x $0.50 = $<<56*0.5=28>>28 from the first tuna.\nHe will earn 46 x $0.50 = $<<46*0.5=23>>23 for the second tuna.\nAnd he will earn 26 x $0.50 = $<<26*0.5=13>>13 from the third tuna.\nTherefore, the total amount he will earn for all the tunas is $28 + $23 + $13= $<<28+23+13=64>>64.\n#### 64",
"id_orig": 1207,
"id_shuffled": 76,
"question_annotated": "{name,Deandre} caught {n,3} {fish,tuna}s last {day,Monday}, the first {fish,tuna} he caught weighs {w1,56} {unit,kilogram}s, the second {fish,tuna} he caught weighs {w2,46} {unit,kilogram}s, and the last {fish,tuna} he caught weighs {w3,26} {unit,kilogram}s. If a {unit,kilogram} of {fish,tuna} costs {cur,$}{price,0.50}, how much will he earn after selling all the {fish,tuna}s to the market?\n\n#init:\n- name = sample(names_male)\n- fish = sample([\"salmon\", \"cod\", \"trout\", \"steelhead\"])\n- day = sample(weekdays)\n- unit = sample([\"kilogram\", \"pound\", \"kg\"])\n- cur = sample(currencies_sym)\n- $n = range(3, 8)\n- $w1 = range(40, 80)\n- $w2 = range(30, 60)\n- $w3 = range(20, 40)\n- $price = np.arange(0.25, 2.5, 0.25)\n\n#conditions:\n- n > 2\n- is_int((w1 + w2) * price + (n-2) * w3 * price)\n\n#answer: int((w1 + w2) * price + (n-2)*w3*price)",
"answer_annotated": "{name} will earn {w1} x {cur}{price} = {cur}<<{w1}*{price}={w1*price}>>{w1*price} from the first {fish}.\nHe will earn {w2} x {cur}{price} = {cur}<<{w2}*{price}={w2*price}>>{w2*price} for the second {fish}.\nThe rest of the {fish}s are {n}-2 = <<{n}-2={n-2}>>{n-2}. He will earn {w3} x {cur}{price} = {cur}<<{w3}*{price}={w3*price}>>{w3*price} per each of them. So he will earn {n-2} * {w3*price} = <<{n-2}*{w3*price}>>={((n-2)*w3*price)}\nTherefore, the total amount he will earn for all the {fish}s is {cur}{w1*price} + {cur}{w2*price} + {cur}{((n-2)*w3*price)}= {cur}<<{w1*price}+{w2*price}+{((n-2)*w3*price)}={int((w1 + w2) * price)+int((n-2)*w3*price)}>>{int((w1 + w2 + (n-2)*w3) * price)}.\n#### {int((w1 + w2 + (n-2)*w3) * price)}"
}