id
stringlengths
64
64
language
stringclasses
1 value
task
stringclasses
1 value
messages_json
stringlengths
246
2.01k
tools_json
stringclasses
1 value
provenance_json
stringlengths
552
841
audit_json
stringlengths
402
405
target_message_index
int32
1
1
native_tokens
int64
83
809
68631f79e7879d32b9b9564be0771b01f58eb1c1b3e1c2286612f69aa6a3ab94
cy
synthetic-math-code
[{"content": "Mae gen i'n bresenol drafn am gynllunio taith. Os bydd cost y diwrnod cyfan yn £13 a fydd nifer o ddiwrnodau yn 5, ac rwyf eisiau ychwanegu £1 ar gyfer y cost o fewn y bws, beth yw'r cyfanswm? Cyfrifwch 13 wrth 5, yna ychwanegwch 1. Cyflwynwch yr ateb yn uniongyngol heb unrannau. \n\nBeth yw'r cyfanswm? \...
[]
{"audience": "student", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 66, "expression": "13 * 5 + 1", "parameters": {"a": 13, "b": 5, "c": 1}, "requirement...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 0, ...
1
152
afa4557dce6df702d7dd91750207a6c1ca22b58855cf9ca78b661a8ff7bb1cee
cy
synthetic-math-code
[{"content": "Mae gen i restr o rifau integer ac rwy'n eisiau ysgrifennu ffwyndl Python sy'n cyfrifo cyfanswm o'r rhifau sydd yn rhannol ar gyfer 5. Mae angen i'r ffwyndl dderbyn rhestr fel argymraud ac adreturnu cyfanswm y rhifau hynny, gan gynnwys amlifau negatif. Os yw'r rhestr yn wag, rhaid adreturnu 0. Dim ond yr ...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum(x for x in values if x % 5 == 0)", "parameters": {"divisor": 5}, "r...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 1, ...
1
608
6991dacb6af054a67f9aa69f7444f53ba45a258ca8d24339beda4066813ffa9a
cy
synthetic-math-code
[{"content": "Helo! Rydym yn dysgu ein plant sut i ddefnyddio Python i helpu gyda'r ardd. Gallwn ddefnyddio rhestr o rifau i drosglwyddo nifer y hadau sydd wedi tyfu dros benawd. Os oes gennyf다면 rhestr o rifau (integers), gallaf ddefnyddio ffwythiant i ddod o hyd i'r rhai sydd uwch na $-5$ yn unig, gan sicrhau nad oes ...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sorted({x for x in values if x > -5})", "parameters": {"threshold": -5}, "re...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 3, ...
1
430
be476f87296d489a2a33ed871eacfe718eaf27297bb5658c4f8fed7a96105302
cy
synthetic-math-code
[{"content": "Mae rectangwl yn hir am 18 cm ac yn ehang am 2 cm. Sut i ddod o hyd i ei ardal mewn santimetr vuông? Os gwelwch yn dda, rhowch y nifer yn uniongyrchol heb unedau. \\boxed{36}", "role": "user"}, {"content": "I ddod o hyd i ardal rectangwl, rhaid lluio ei hyd gan ei ehangwydd. Yn y rhyngol hon, rydym yn llu...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": true, "reference": {"answer": 36, "expression": "18 * 2", "parameters": {"length": 18, "width": 2}, "requirem...
{"attempt": 4, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 6, ...
1
139
d4d2cc638c2e4f8b5be7c1e51f7abfd8393976b66e49803f3d6982e2ed466dd6
cy
synthetic-math-code
[{"content": "Helo! Dw i eisiau help gyda chyfrifiad syml ar gyfer y gwaith. Mae angen i mi ychwanegu'r ffracsiynau hyn: \\(\\frac{24}{2} + \\frac{6}{7}\\). Gallwch eich helpu i ddeall sut i wneud hynny? Os gwelwch yn dda, rhowch yr ateb yn ffracsiwn union. \n\nMae gen i'r niferoedd hyn: \\(\\frac{24}{2} + \\frac{6}{7}...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": true, "reference": {"answer": "90/7", "expression": "24 / 2 + 6 / 7", "parameters": {"denominator_1": 2, "denomi...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 10,...
1
517
92703c63c3f740af054f76fc84a42faf0a9a8dd14b26967f4aefd5d91cc08f2f
cy
synthetic-math-code
[{"content": "Mae cronfa o ffeuniau yn dechrau gyda 232 cyfrifwr. Os byddwn yn tynnu 4 ohonyn nhw ac yna ychwanegu 19 arall, faint fydd nifer y cyfrifwyr sy'n ôl yn y cronfa? Cyflwynwch yr ateb digidol uniongyrchol yn unig heb unrhyw unedau. \\boxed{247}", "role": "user"}, {"content": "\\boxed{247}", "role": "assistant...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 247, "expression": "232 - 4 + 19", "parameters": {"added": 19, "initial": 232, "...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 16,...
1
119
d622c4dd0ba28796eab3db1b5ff2c3f5e8b778d8cc277722b85073cc607e1c76
cy
synthetic-math-code
[{"content": "Helo! Gallwn i gael help gyda chyfrifiad syml am gêm raglwm? Hoffwn i wybod beth yw cyfradd gymediol (cyfartaledd ariwsmathol) i'r tri nifregyd hyn: 6, 17, a 28. A allech chi ddweud wrthyf y canlynol? \n\n\\boxed{?}", "role": "user"}, {"content": "\\boxed{17}", "role": "assistant"}]
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 17, "expression": "(6 + 17 + 28) / 3", "parameters": {"values": [6, 17, 28]}, "re...
{"attempt": 3, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 20,...
1
108
e6a256399a7fef9255733e438c0b84629a18ee3e12a479b7f652ee0f4865489d
cy
synthetic-math-code
[{"content": "Mae angen i mi gyfrifo nifer y gramau sydd ar gael ar gyfer rhesymu ffordd o goginio proffesiynol. Os oes gennyf 11 uned o fflôr ac mae pob uned yn cynnwys 11 gram, ac os yw angen i mi ychwanegu 14 gram ar ben hynny, beth yw'r cyfanswm? Cyfrifwch 11 wrth 11, yna adio 14. Darllenwch yr ateb yn uniongyngol ...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 135, "expression": "11 * 11 + 14", "parameters": {"a": 11, "b": 11, "c": 14}, "r...
{"attempt": 3, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 24,...
1
158
ea91fb0125389459c653acc174c2570c11ce8a15ba5ca9c03b46dac776838450
cy
synthetic-math-code
[{"content": "Mae gen i restr o nifer Integreol sy'n cynrychioli nifer y sêr yn fy ngron garddio. Hoffwn i ddefnyddio fformiwla affin: $f(x) = 5x - 8$ i gyfrifo nifer y lliwiau sydd ei angen ar gyfer pob sêr. Os oes gen i restr wag, rhaid i mi gael restr wag yn ôl. Os gwelwch yn dda, ysgrifennwch ffwynten Python `solve...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x * 5 + (-8) for x in values]", "parameters": {"factor": 5, "offset": -8}, ...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 25,...
1
444
d6935555cce1e2f2d17396db3100bb7e22a595c7ee7060403a6289c0d3a4dd87
cy
synthetic-math-code
[{"content": "Mae gen i restr o niferiadau sgôr mewn gweithgareddau chwaraeon. Hoffwn i ddefnyddio Python i gyfyngu ar y niferiadau hyn fel bod unrhyw werth sydd y tu hwnt i $3$ yn dod yn $3$, ac unrhyw werth sydd y tu hwnt i $-10$ yn dod yn $-10$. Creu ffwyndl Python `solve(values)` sy'n cael trin rhestr o gyfanlyfrau...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [min(3, max(-10, x)) for x in values]", "parameters": {"lower": -10, "u...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 29,...
1
407
a830a1dd190212d5fd0bde5003b10808bd3b4380f31e47ee17aabc15b8e9c2ad
cy
synthetic-math-code
[{"content": "Helo! Dw i eisiau help gyda chyfrifiad syml ar fy nffôn. Mae gen i lun o sgwâr (neu rectangwl) sy'n 8 cm o hyd ac 8 cm o law𝑑. Sut mae rhaid i mi ddod o hyd i gyfanswm awrglwydd (area) y sgwâr hwn mewn santimetr vuông? Os gwelwch yn dda, rhowch y canlyniaeth i mi. \\boxed{64}", "role": "user"}, {"content...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": true, "reference": {"answer": 64, "expression": "8 * 8", "parameters": {"length": 8, "width": 8}, "requirement":...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 30,...
1
220
ea52223add59e4c1d8ec215dab43be45e9514445bb466ab2de2c70e59137c16a
cy
synthetic-math-code
[{"content": "Mae angen i mi grynu arfog ar gyfer cynllunio budget ar gyfer prosiect adeiladu llong fach. Mae un o'r elfenau geometrig sydd ei angen yn ffurf ar fasciad tewn. Os oes gan y tewn fasis o 22 cm a thymchawd perpedicwlar o 3 cm, beth yw ei ardal mewn santimetr vuông? Os gwelwch yn dda, rhowch yr ateb yn unio...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 33, "expression": "22 * 3 / 2", "parameters": {"base": 22, "height": 3}, "requir...
{"attempt": 3, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 32,...
1
137
ed03868ae1d1b6a3bca6bfa7836fa2f4d942eb528a867d0552156f30a9807342
cy
synthetic-math-code
[{"content": "Mae gen i grefftod o rifau mewn rhestr. Hoffwn i ysgrifennu ffwyndl Python sy'n cael canlyniad o wahaniaethau absolwt rhwng rhifau cyfros yn y rhestr honno. Os oes rhestr wag neu dim ond un rhif, dylai'r ffwyndl ddychwelyd rhestr wag. Dim ond differgau rhwng yr elfennau sydd ar y gorffen. Os oes $n$ elfen...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [abs(values[i] - values[i - 1]) for i in range(1, len(values))]", "p...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 33,...
1
525
ac466279625acf4406b4c29bdfe8cefed04d2fe4969b0488efff4a88af6937df
cy
synthetic-math-code
[{"content": "Mae gen i fal budget personal. Rydw i eisiau cyfartio dau fraeid o fy nwyddau. Os oes gen i \\frac{18}{5} o ddyddiau ar gyfer coleshoedd ac \\frac{7}{10} o ddyddiau ar gyfer teulu, beth yw'r cyfanswm fraeid o ddyddiau? Cyflwynna i fraid feiddiol neu integer os yw'r rhiflon yn un. Defnyddiwch y fformat hwn...
[]
{"audience": "student", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": true, "reference": {"answer": "43/10", "expression": "18 / 5 + 7 / 10", "parameters": {"denominator_1": 5, "denomina...
{"attempt": 2, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 34,...
1
374
cd3217f359fca0f2b5ac94359e63474daa4cf5f39c9da7e3ce5c16b0f055398f
cy
synthetic-math-code
[{"content": "Gallwch eich helpu i ddatrys yr eqwyacion hon ar gyfer y report proffesiynol? Mae angen i mi wyddo gwerth x yn y cyform canlynol:\n\n4 * x + 11 = 31\n\nA foch chi roi'r ateb yn uniongyrchol heb unrhyw unedau? \n\n\\boxed{x}", "role": "user"}, {"content": "\\boxed{5}", "role": "assistant"}]
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 5, "expression": "(31 - 11) / 4", "parameters": {"coefficient": 4, "offset": 11,...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 36,...
1
102
8fa0b55393d2b639fa85b0cf17c6ef97015a5e14b73a6ee75ad61eafd644f1aa
cy
synthetic-math-code
[{"content": "Mae angen i mi cyfrifo canlyniad y cyfres ganlynol: cynnyrchwch 7 wrth 8, ac yna ychwanegwch 16 wrth y canlyniad hwnnw. Cyflwynwch yr ateb digidol uniongywreithiol heb unrannau. \\boxed{?}", "role": "user"}, {"content": "\\boxed{72}", "role": "assistant"}]
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 72, "expression": "7 * 8 + 16", "parameters": {"a": 7, "b": 8, "c": 16}, "requir...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 48,...
1
95
8482cc2fc2b17cb16a3fba7c59b515d5ca0e73e3310f6a9f726017d9b6beb4a7
cy
synthetic-math-code
[{"content": "Mae gen i restr o niferau sy'n cynrychioli newidiadau mewn nifer y pasagerau ar y bws bob diwrnod. Hoffwn i wybod cyfanswm y nifer o bob diwrnod heb ail gyfrifo'r holl niferau pob tro. Os oes gen i restr fel `[3, -5, 0, 4]`, sut byddai i mi gael y cyfanswmymau cyfan? Creu ffwyndl Python `solve(values)` sy...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [sum(values[:i + 1]) for i in range(len(values))]", "parameters": {}, "...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 51,...
1
505
b39435d100d3420bb2bcd57fb31686fa2eaa994fa87558a76c62cb7890ba7e8b
cy
synthetic-math-code
[{"content": "Mae triglwt yn cael ei ddarlunio gyda thasg gweithredu proffesiynol. Mae'r sylfaen yn 44 cm ac mae ei hyd perpedicwlaidd yn 2 cm. Dewiswch y ffordd gywir o allu'r triglwt mewn santimetr vuông. Cyflwynwch yr ateb yn fainnod union heb unrhyw unedau. \n\nGallwch ddefnyddio'r fformiwl a:\n\\boxed{44}", "role"...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 44, "expression": "44 * 2 / 2", "parameters": {"base": 44, "height": 2}, "requir...
{"attempt": 4, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 56,...
1
132
1681363ecf533d82c7c616e04f2a1b2bb3e73fe0ff5a4fe076aa02286fa4f73c
cy
synthetic-math-code
[{"content": "Helu! Dw i eisiau creu rhestr o'r holl niferi fy nhrafiaethau, ond dw i ddim eisiau bod â chymrywiadau (duplicates). Os oes gennyf다면 rhestr fel [3, -1, 3, 0, -1], dw i eisiau cael [3, -1, 0] yn ôl. Sut y gallaf wneud hyn mewn Python heb effeithio ar y rhestr gwreiddiol ac heb symud y trefn? Os yw'r rhestr...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x for i, x in enumerate(values) if x not in values[:i]]", "parameters"...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 59,...
1
556
a03442c655f5e0dc749f72ad8b6e650e4167d8b61abca307376f44bda1ab4abb
cy
synthetic-math-code
[{"content": "Mae gen i restr o niferau sy'n cynrychioli talwg (height) mewn smotyn garden (cm). Hoffwn i gael ffwyndleth Python sy'n ddatblygu'r rheolau hyn: prendre rhan o'r rhestr o niferau sy'n uwch na 4, trefnu'r rhain yn cynyddol, ac sicrhau nad oes unrhyw nifer wedi'i ailadrodd. Os yw'r rhestr yn wag, rhowch [] ...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sorted({x for x in values if x > 4})", "parameters": {"threshold": 4...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 63,...
1
595
6793ad649af78bdc64eb6a4a29a79d34770fecc148c546f68d6ca9d3fcf014f1
cy
synthetic-math-code
[{"content": "Mae casgliad o 162 cyfrifiadur yn dechrau. Os byddwn yn tynnu 8 ohonynhwnt ac yna yn ychwanegu 14 arall, faint fydd nifer y cyfrifiadur sydd ôl? Disgwylwch yr ateb digwyddol heb unrhyw unedau. \\boxed{168}", "role": "user"}, {"content": "\\boxed{168}", "role": "assistant"}]
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 168, "expression": "162 - 8 + 14", "parameters": {"added": 14, "initial": 162, "...
{"attempt": 5, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 64,...
1
105
778eeabf690b45824b83ddace83c70f95fe4c36e91683b6c370300ef9208be3a
cy
synthetic-math-code
[{"content": "Gallwch helpu i ddeall sut i ddod o hyd i gyfradd gymediol (mean) ar gyfer y tri niferi hyn: 5, 7, a 9? Tafoch am yr ateb yn uniongywreidiol heb unrannau. \\boxed{?}", "role": "user"}, {"content": "\\boxed{7}", "role": "assistant"}]
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 7, "expression": "(5 + 7 + 9) / 3", "parameters": {"values": [5, 7, 9]}, "require...
{"attempt": 4, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 68,...
1
83
a164b084a0f533385bb0ed499ec34db53f7a8de498c90f91ffefe596989d12be
cy
synthetic-math-code
[{"content": "Mae anwes yn costio 2200 credid cyn hawliau 60% o ddisgwnt. Beth yw ei bris ar ôl y disgynt, heb unrhyw elseill costau? Cyflwynna i'r unigolyn yr ateb digwyddol heb unrhyw unedau. \\boxed{880}\\}", "role": "user"}, {"content": "\\boxed{880}", "role": "assistant"}]
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 880, "expression": "2200 * (100 - 60) / 100", "parameters": {"percent": 60, "pri...
{"attempt": 2, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 76,...
1
99
e4e8ae00f249763c8c45c9067cc17ec06418a519c9806451e80f9224c38bbe15
cy
synthetic-math-code
[{"content": "Mae angen i mi grynu budget ar gyfer prosiect adeiladu llong gartref. Fel rhan o'r cynllun, mae angen i mi gyfrifo ardal y ddrwg (sail) sydd ei angen ar gyfer y llong. Mae'r drwg yn cael ei fesuru fel 40 cm, ac mae'r hyd perpedicwlaidd yn 9 cm. Sut byddwn i ddod o hyd i'r ardal gyfan mewn santimetr vuông?...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 180, "expression": "40 * 9 / 2", "parameters": {"base": 40, "height": 9}, "requi...
{"attempt": 4, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 80,...
1
176
07ff68c5971575e5e335b83ef25a79f6ffe995a0a5cb37a04967b150544f0293
cy
synthetic-math-code
[{"content": "Mae gen i gwestiwn mathemateg am yr amgylchedd. Os yw nifer y coed mewn parc wedi'i ddefnyddio i'r formula $2x + 19 = 21$, lle mae $x$ yn cynrychioli nifer y coed newydd a phlannwyd, sut byddai i mi ddillio'r equation hwnnw i ganfod gwerth $x$? Dim ond y rhif yn uniongyngol. \\boxed{x}\\}", "role": "user"...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 1, "expression": "(21 - 19) / 2", "parameters": {"coefficient": 2, "offset": 19, ...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 84,...
1
129
bad85aa0a834257c2e7f679cadcbff0203f93b319e4bf53a1fa0f8fe2c58de2c
cy
synthetic-math-code
[{"content": "Mae gen i restr o nifer integer sy'n cynrychioli nifer y safonau mewn trefn drefn. Hoffwn i ysgrifennu ffwynten Python sy'n defnyddio fformiwl affine $f(x) = 5x + 0$ ar bob gwerth yn y rhestr. Os yw'r rhestr yn wag, rhaid i mi ddychwelyd rhestr wag. Peidiwch â hadylu'r rhestr wreiddiol. Sut y byddai ffwyn...
[]
{"audience": "student", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x * 5 + (0) for x in values]", "parameters": {"factor": 5, "offset": 0}, "...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 85,...
1
492
41aef0dab40c998a6feabdd85fccd769f42e633b05eea7234ae943106bc8a6b0
cy
synthetic-math-code
[{"content": "Mae gen i restr o fainteg (integers). Gallwch ysgrifennu ffwyndl Python `solve(values)` sy'n cyfrif faint o rifau sydd yn llawer na 0? Nid yw 0 yn nodedog negatif, ac rhaid cyfrif pob un even fel un unigol. Os yw'r rhestr yn wag, rhaid dychwelyd 0. Peidiwch â hadyllo'r rhestr wreiddiol. Arholiad: ar gyfer...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum(1 for x in values if x < 0)", "parameters": {}, "requirement": "...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 87,...
1
431
52ef2f50c31cc15bee93d8cac448187481ecdf25e7d5bca988f3275216a83eb8
cy
synthetic-math-code
[{"content": "Mae casgliad o 52 nodau ar y bwrdd yn dechrau. Os byddwn yn tynnu 7 nod o'r casgliad ac yna yn ychwanegu 9 nod newydd, faint nodiau fydd yn ôl yn weddill? Disgwylaf yr ateb yn unig heb unrhyw unedau. \\boxed{54}", "role": "user"}, {"content": "\\boxed{54}", "role": "assistant"}]
[]
{"audience": "student", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 54, "expression": "52 - 7 + 9", "parameters": {"added": 9, "initial": 52, "removed": ...
{"attempt": 2, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 88,...
1
105
08d9b0a2f89bfa874f4934e8cb5e204773029b528c4ad7c74f67845872c92059
cy
synthetic-math-code
[{"content": "Mae angen i mi gyfrifo cyfanswm munediadau ar gyfer cyfnod hanesyddol. Os oes 19 awr a 14 munud yn y cyfnod hwnnw, sut byddai'n gywir ei droesi i gyfanswm nifer o funediadau? Defnyddiwch 60 munud yr awr. Rhannwch eich rhesymeg a gofynnwch am y canlynol: \\boxed{19 * 60 + 14}", "role": "user"}, {"content":...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": true, "reference": {"answer": 1154, "expression": "19 * 60 + 14", "parameters": {"hours": 19, "minutes": 14}, "...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 90,...
1
221
7a10148bfede5aba32a147d6f98a996b620d1b89e8aae344073ba9a242b9f23a
cy
synthetic-math-code
[{"content": "Gallwn i gael help gyda phrogramu Python? Hoffwn i ysgrifennu ffwyndiad sy'n cyfrifo sumau cyminwirol (cumulative sums) o flaenawd rhestr o rifau integer. Os yw'r rhestr yn wag, dylai'n dychwelyd rhestr wag. Dim ond y sumau o'r dechrau hyd i'r index presennol y mae angen eu hychwanegu. Efrogwch fod y ffwy...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [sum(values[:i + 1]) for i in range(len(values))]", "parameters": {}...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 91,...
1
486
e2de5653eb3735b8010125b43fa91b87ff39fd1dec61b1c2988d8275390b253f
cy
synthetic-math-code
[{"content": "Annwyl arbenigwr, gallwch helpu i ddeall y math hwn? Hoffwn i wybod pa gyfanwng (arithmetic mean) sydd gan y tri rhif: 9, 13, a 17. A fyddech cystal â rhoi'r ateb yn uniongyngrafol heb unrannau? \\boxed{?}", "role": "user"}, {"content": "\\boxed{13}", "role": "assistant"}]
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 13, "expression": "(9 + 13 + 17) / 3", "parameters": {"values": [9, 13, 17]}, "re...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 92,...
1
101
854580d0f652fdfb817fbedc36b353a05f3447d0cf3c44cab6693b3d2f3fc631
cy
synthetic-math-code
[{"content": "Mae gen i restr o nifer integrol sy'n cynrychioli costau cludiant mewn trefn. Hoffwn i ysgrifennu ffwynten Python sy'n cyfrifo sum pwysiedig lle mae pob gwerth yn cael ei strwythuro gan ei leoliad (un-based position). Os yw'r rhestr yn wag, rhaid i'r ffwynten ddychwelyd 0. Peidiwch â hadylu'r rhestr wreid...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum((i + 1) * x for i, x in enumerate(values))", "parameters": {}, "...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 95,...
1
429
2aeea835e852f62f2c2cf9e3aac051b5bc2246feed9be21c1f60975bc0e97ded
cy
synthetic-math-code
[{"content": "Mae gen i restr o rifau sy'n cynrychioli nifer y llysiau mewn llistr garden. Hoffwn i gael rhestr newydd sydd heb unrhyw rifau doubled, ond rwy'n eisiau cadw'r trefn y cyntaf i'w weld. Os yw'r rhestr yn wag, rhowch [] yn ôl. Os oes gennych chi ffwynten Python, os gwelwch yn dda, defnyddiwch `solve(values)...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x for i, x in enumerate(values) if x not in values[:i]]", "parameters"...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 99,...
1
389
57e3f160cb19ab1a1479aed4f391a209e24dd826e38aebcc6d871d61bf236414
cy
synthetic-math-code
[{"content": "Mae angen i mi ysgrifennu ffwyndleiddiol Python ar gyfer trafodiaeth am amgylchedd. Crewch ffwyndleiddiol `solve(values)` sy'n derbyn rhestr o gyfanlyfrau (integers). Dylai'r ffwyndleiddiol ddychwelyd cyfanswm pob rhif yn y rhestr sy'n rhifau lledrith gan 7, gan gynnwys amlifau negatif. Os yw'r rhestr yn ...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum(x for x in values if x % 7 == 0)", "parameters": {"divisor": 7}, "...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 101...
1
447
59716538199fae26dff7b918a32121290ec420dbf91362f6dcc0b5b2967bd0d8
cy
synthetic-math-code
[{"content": "Mae gen i ffigur o driwangen sydd â thasg na gellir ei ddeall yn hawdd. Mae'r sylfa enwog yn 18 cm ac mae ei thal height (ucheldeb perpedicwlar) yn 10 cm. Sut i mi grynu cymysgedd y prisiau neu geisio canfod yr ardal yn sgwâr centimetr? Os byddwn yn cael y canlynol, beth yw'r ateb cywir? \\boxed{90}", "ro...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 90, "expression": "18 * 10 / 2", "parameters": {"base": 18, "height": 10}, "requi...
{"attempt": 2, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 104...
1
132
4d0b1807840ef27f2e4d7ae1aefbbe3224dd790946d33aa20de019a845876172
cy
synthetic-math-code
[{"content": "Mae gen i grefft (list) o nifer Integreol ac rwy'n angen ffwyndle Python i gyfrifo faint o niferau sydd yn llawer na''r un (strictly negative). Nid yw digrifenn (0) yn nifedig, ac rhaid cyfrif pob munud yn unig heb effeithio ar y rhestr gwreiddiol. Os yw'r rhestr yn wag, rhaid ateb 0. Cyflwyniwch ffwyndle...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum(1 for x in values if x < 0)", "parameters": {}, "requirement": "Wr...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 107...
1
474
4f507c9b675066245811cc29e10e991469656494ed19ad543ee1bcb9e515a1a4
cy
synthetic-math-code
[{"content": "Mae gen i gynhau llinell o ddyfais llawr (craft) lle mae'r cyfanswm yn dibynnu ar nifer y sgriniau (x). Os yw'r formula yn $4x + 7 = 3$, a fyddech yn gallu helpu i ddatrys yr haen hon ar gyfer $x$? Dim ond y rhif yn uniongyfreithiol, os gwelwch yn dda. \\boxed{?}", "role": "user"}, {"content": "\\boxed{-1...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": -1, "expression": "(3 - 7) / 4", "parameters": {"coefficient": 4, "offset": 7,...
{"attempt": 3, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 108...
1
120
fc1865a23000799cb247a8439cdc96d4c37dddeec05b4d013724fb453092a682
cy
synthetic-math-code
[{"content": "Mae gen i grefynnau o nifer Integreol sy'n cynrychioli sgôr chwaraeon. Hoffwn i chi ysgrifennu ffwyndda Python `solve(values)` sy'n llysio (clamp) pob gwerth i mewn y cyfnod cynnwysol [-1, 3]. Rhaid cadw'r trefn ac unrhyw ddeilen ddiddim, ac os yw'r rhestr yn wag, rhowch [] yn ôl. Peidiwch â hadylio'r rhe...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [min(3, max(-1, x)) for x in values]", "parameters": {"lower": -1, "upp...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 109...
1
553
5ebe30053f769d95bd1275ce7e163d461197ab082076426e3d49b0d9b4adcda3
cy
synthetic-math-code
[{"content": "Mae casgliad o 70 cyfrifiadur yn dechrau. Os byddwn yn tynnu 4 o hynny, ac yna yn ychwanegu 11 arall, faint fydd nifer y cyfrifiadur sydd ôl? Disgwylaf yr ateb yn unig heb unrhyw unedau. \\boxed{77}\\}", "role": "user"}, {"content": "\\boxed{77}", "role": "assistant"}]
[]
{"audience": "student", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 77, "expression": "70 - 4 + 11", "parameters": {"added": 11, "initial": 70, "removed"...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 112...
1
101
efff5471c89a681c319ea8b392cf7f853216549be771111033eea3e82bf0e818
cy
synthetic-math-code
[{"content": "Eich help i ddadolodi data gwyddonol yw angenofod. Dewiswch y cyfradd gymediol (arithmetic mean) o'r tri niferi hyn: 10, 14, a 18. Cyflwynwch yr ateb yn uniongywreidiol heb unrhyw unedau. \n\nGallwch roi eich rhesymoliau fer, ond rhowch yr ateb terfynol mewn ffram: \\boxed{number}", "role": "user"}, {"con...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 14, "expression": "(10 + 14 + 18) / 3", "parameters": {"values": [10, 14, 18]}, ...
{"attempt": 2, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 116...
1
128
655e12d56063468c4f28357c1f1a73ccfe6f0af34669e3d2c7451b94c98b629b
cy
synthetic-math-code
[{"content": "Mae gen i restr o niferau integer sy'n cynrychioli amserau cyrffod mewn taflen deithio. Hoffwn i gael ffwyntiau Python sy'n ttreulio'r rhestr hwils i nodi'r amserau unigryw yn unig, gan gadw'r trefn y cyntaf y gwelwyd pob nifer. Nid wyf am orfod trefnu'r rhestr neu effeithio ar y rhestr gwreiddiol. Os yw'...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x for i, x in enumerate(values) if x not in values[:i]]", "parameters": {},...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 119...
1
588
9eb4fba3bb35b3e21530601a723f17084777be15cbbd78b8ed2909345d030cd2
cy
synthetic-math-code
[{"content": "Mae gen i 16 o gegau ac rwy'n eisiau cyfuno nhw â 12 o gegau arall, yna ychwanegu 14 o gegau arall i lenwi'r bwrdd yn llawn. Sut i mi gyfrifo'r cyfanswm o gegau? Dim ond y rhif yn unig, os gwelwch yn dda. \\boxed{?}", "role": "user"}, {"content": "\\boxed{206}", "role": "assistant"}]
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 206, "expression": "16 * 12 + 14", "parameters": {"a": 16, "b": 12, "c": 14}, "require...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 120...
1
111
f199cde900402e4951424e31b57248c050b6384024224dcc4a1f13c0c5014087
cy
synthetic-math-code
[{"content": "Mae gen i grefft o rifau integer: `[-2, 0, 2, 4, 1]`. Gallwch ysgrifennu ffwyndl Python `solve(values)` sy'n cyfrifo cyfanswm pob rhif yn y rhestr sy'n rhannolwyable gan 2? Mae angen i chi gynnwys amlifau negatif ac os yw'r rhestr yn wag, rhowch ddau 0. Peidiwch â had료 y rhestr mewnol. Ar gyfer y test uni...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum(x for x in values if x % 2 == 0)", "parameters": {"divisor": 2}, "...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 121...
1
454
2ea3bee39d737f46dc0e6ebff23e304da8b49b02e978dddd33d0c3a55f8b5a6b
cy
synthetic-math-code
[{"content": "Mae anwes yn costio 1200 credychau cyn hawl i gael disgwnt o 10%. Beth yw pris yr anwes ar ôl y disgwnt, heb unrhyw eraill costau? Nodwch yr ateb digidol union heb unrhyw unedau. \\boxed{1200}", "role": "user"}, {"content": "\\boxed{1080}", "role": "assistant"}]
[]
{"audience": "student", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reasoning": false, "reference": {"answer": 1080, "expression": "1200 * (100 - 10) / 100", "parameters": {"percent": 10, "price":...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 124...
1
94
d173f5de8573f6cc34eaef9d610d60fa4b0cc63294513dbc0de66b64afbd7db1
cy
synthetic-math-code
[{"content": "Mae gen i restr o nifer integer sy'n cynrychioli costau teithio mewn lloeg. Hoffwn i ddefnyddio fformiwla affine i gyfrifo costau newydd. Gallwch chi ysgrifennu ffwynten Python `solve(values)` sy'n cymryd rhestr o niferau ac yn aplico'r fformiwla $x * 4 + 5$ i bob un? Mae angen i chi gadw'r trefn ac unrhy...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x * 4 + (5) for x in values]", "parameters": {"factor": 4, "offset": 5...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000000/attempts.jsonl", "journal_sha256": "5869a23e1b10f947534b0332c86a4ceac0e3b8c5dde21ee3e9cca632a7135d40", "kind": "synthetic", "receipt_sha256": "e1c30285ec929d59a6cd097f8463e129549e07b685aca77d1ee6bab4220b2710", "slot": 125...
1
366
e34678e14fbc0613756783e15ea62a2a7922d5ee12552646ce55127677d01afb
cy
synthetic-math-code
[{"content": "Mae gen i grefennel budgeting sydd angen llyfyru. Creaswch ffwyndlen Python `solve(values)` sy'n derbyn rhestr o gyfanlychau (integers). Mae angen i chi ddefnyddio method 'clamp' ar bob nifer i sicrhau bod pob gwerth yn y cyfnod cynnwysol [-1, 6]. Os yw gwerth yn is na -1, defnyddiwch -1; os yw'n uwch na ...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [min(6, max(-1, x)) for x in values]", "parameters": {"lower": -1, "up...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 129...
1
532
6970deb96c0db18705e9fdf4eeb8d82f8c5487282f36b53665afad555005e1dd
cy
synthetic-math-code
[{"content": "Mae gen i restr o rifau integ sy'n cynrychioli sgôr chwaraeon, ond mae rhifau wedi eu doubling. Gallwch eich helpu i ysgrifennu ffwyndl Python sy'n tynnu'r rhifau unigryw yn unig? Mae angen cadw'r trefn y cyntaf i'w gweld, nid trefn wedi'i throi. Os yw'r rhestr yn wag, rhowch [] yn ôl. Peidiwch â newid y ...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x for i, x in enumerate(values) if x not in values[:i]]", "paramete...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 139...
1
539
38af7d54bced41a574ae0b7a7efada99ab69bc853762d01021ddf42419600a0b
cy
synthetic-math-code
[{"content": "Mae gen i restr o fainteg (integers). Hoffwn i ysgrifennu ffwyty Python sy'n cyfrifo cyfanswm pob rhif yn y rhestr sy'n rhifau hydrefn (divisible) gan 2. Mae angen i hyn gynnwys niferau negatif ac os yw'r rhestr wag, dylai'r canlynkan fod 0. Peidiwch â newid y rhestr wreiddiol. Defnyddiwch y ffordd hon: `...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum(x for x in values if x % 2 == 0)", "parameters": {"divisor": 2}, "r...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 141...
1
411
a76579bd8ff15b41ee15114d49745be7530d89c07e96ee56b4a87483bce0b037
cy
synthetic-math-code
[{"content": "Mae gen i restr o nifer integer sy'n cynrychioli nifer y lliwiau sydd ei angen ar gyfer prosiect llawfeddygaidd. Hoffwn i greu ffwyndleiddiol Python sy'n trin pob nifer yn y rhestr drwy gymhwyso'r nifer gyda 3 ac yna tynnu un. Mae angen i'r ffwyndleiddiol ddilyn y formula $f(x) = 3x + (-1)$. Os yw'r rhest...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x * 3 + (-1) for x in values]", "parameters": {"factor": 3, "offset": -1}, ...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 145...
1
545
44ad082e7e1de547eac0f37d33022f149d1266415448e7aa4c823af82b9c1a7f
cy
synthetic-math-code
[{"content": "Mae gen i greflennau o rifau integ sy'n cynrydrio disgyngeddau planhigion mewn gardd. Hoffwn i ysgrifennu ffwynten Python sy'n cyfrifo'r gwahaniaethau absolwt rhwng y rhifau cyfros. Os oes $n$ rhif yn y rhestr, rhaid i ni gael un ardal o wahaniaethau (max($n - 1$, 0)). Os yw'r rhestr yn wag neu dim ond un...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [abs(values[i] - values[i - 1]) for i in range(1, len(values))]", "par...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 153...
1
550
50a449951cff3136445b02a2907a63b41434c7c32d4f185d643125c7103ae569
cy
synthetic-math-code
[{"content": "Mae gen i restr o faintegion ac rwy'n eisiau creu function Python sy'n ddatblygu'r rhain. Hefyd, rwy'n eisiau cael dim ond y gwerthau unigryw sy'n uwch na -1, ac rwy'n eisiau eu trefnu mewn trefn cynyddol. Os yw'r rhestr yn wag, rhowch [] yn ôl. Dim ond y function `solve(values)` sydd angen i mi ei chael ...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sorted({x for x in values if x > -1})", "parameters": {"threshold": -1}...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 163...
1
321
9e86311baafb4165b88a1e8c843a33ef8bdefddcffa024ca242a372afd152ddf
cy
synthetic-math-code
[{"content": "Mae gen i restr o rifau integ sy'n cynrydrig i ddiogelwch y llinellau hanesyddol yn ein ardal. Hoffwn i ddefnyddio Python i gyfrifo gwerth newydd ar gyfer pob rhif gan amnewid y ffigurau gan ei werth lluosogi gyda 3 ac yna ychwanegu 7. Os yw'r rhestr yn wag, rhaid i'r ffwynten ddychwelyd rhestr wag. Pechy...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x * 3 + (7) for x in values]", "parameters": {"factor": 3, "offset": 7...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 165...
1
349
edc07591fe3c90620e69043c2c71b9c0c0f6fab07f09742cba4aed2f7cb9c0a6
cy
synthetic-math-code
[{"content": "Ysgrifennwch ffwyndl Python `solve(values)` sy'n derbyn rhestr o gyfanlythrennau (integers). Mae'r ffwyndl yn dychwelyd cyfanswm o bob elfenn wedi'i lluidro gan ei strwythur neu'w safle 1-berthod yn y rhestr gwreiddiol. Os yw'r rhestr yn wag, dychwelych 0. Peidiwch â hadyllo'r rhestr mewnosodiad. Arholiad...
[]
{"audience": "student", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum((i + 1) * x for i, x in enumerate(values))", "parameters": {}, "require...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 175...
1
418
fbfcfc137099fe84de3b41a35988bb7673c2de3dab4275480cbbfd8e65bafec5
cy
synthetic-math-code
[{"content": "Ysgrifennwch ffwyndl Python o'r enw `solve(values)` sy'n derbyn rhestr o gyfanrifau (integers). Mae'r ffwyndl yn dylai dychwelyt yr elfalu unigryw sy'n llawer mwy na 0, wedi'u trefnu mewn trefn cynyddol. Os yw'r rhestr yn wag, dychwelych rhestr wag `[]`. Peidiwch â hadylu'r rhestr mewgol. Rhowch y ateb me...
[]
{"audience": "student", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sorted({x for x in values if x > 0})", "parameters": {"threshold": 0}, "req...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 183...
1
360
c14227e5dda4bc9b5da6f17cc3f2f05aa8887588413db874247cb96d5eb579a4
cy
synthetic-math-code
[{"content": "Mae gen i restr o nifer integer sy'n cynrychioli costau cludiant mewn tystysgrifau trawsnewid cyfleus. Hoffwn i ysgrifennu ffwynten Python sy'n cyfrifo sum dros y rhestr, lle mae pob gwerth yn cael ei strwythuro trwy ei strwythuro gan ei safle (un-based position). Os yw'r rhestr yn wag, rhaid i'r ffwynten...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum((i + 1) * x for i, x in enumerate(values))", "parameters": {}, "req...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 195...
1
543
c50ec072bb99c3d67865434344e715c88d700cb49f98a9ad985e44782be17265
cy
synthetic-math-code
[{"content": "Mae gen i restr o rifau integer sydd wedi'u storio mewn rhestr Python. Hoffwn i wybod faint o rifau sydd yn llanast (negatif) yn y rhestr hon. Os yw'r rhestr yn wag, dylai'r ateb fod yn 0, ac nid yw 0 yn llanast. Dim ond rhifau llanast yn strict yn cael eu cyfrif. Gallwch chi ysgrifennu ffwyndl Python `so...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum(1 for x in values if x < 0)", "parameters": {}, "requirement": "Write a ...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 207...
1
378
c5f5c177b4c31ab8e25576bdaba5203ebb2badb3a59a35aed89ba47303057d4b
cy
synthetic-math-code
[{"content": "Mae gen i restr o niferau integer sy'n cynrychioli tymbrwl o gyferbynbwch o hyd i ddyfais o goginio (e.e., nifer gramau mewn rhan o gystir). Hoffwn i ysgrifennu ffwyndl Python sy'n cael y gwahanbwch absolwt rhwng pob rhif sydd yn gyderbyn yn y rhestr. Os oes rhestr wag neu dim ond un rhif, dylai'r ffwyndl...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [abs(values[i] - values[i - 1]) for i in range(1, len(values))]", "para...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 213...
1
542
197b7dfe34f943869f6930c08d73749b46ee801434a7fc9eace581d2668661f2
cy
synthetic-math-code
[{"content": "Mae gen i restr o rifau integer sy'n cynrychioli nifer o ddigwyddiadau haniaol mewn ardal leol. Hoffwn i ysgrifennu ffwynten Python sy'n cyfrifo sum lle mae pob gwerth yn cael ei strwythuro gan ei leoliad (un-based position). Os yw'r rhestr yn wag, rhaid i'r ffwynten ddychwelyd 0. Peidiwch â hadyllo'r rhe...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum((i + 1) * x for i, x in enumerate(values))", "parameters": {}, "requirem...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 215...
1
565
b0cfbc8293024ffa14583d547a17cbd435a23092d83f15829df17be16564a7d2
cy
synthetic-math-code
[{"content": "Helo! Dw i eisiau medru rheoli'r holl rifau sydd ar fy nhrif tîl bach am wybod pa rifau mae gen i ar gyfer y ffordd. Os byddwn i'n rhoi rhestr o rifau i chi, a allech chi ddangos i mi'r rhain sydd yn uwch na 3? Dw i eisiau nad yw unrhyw rif yn ymddangos mwy na un gwaith, ac rhaid iddynt fod wedi'u trefnu ...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sorted({x for x in values if x > 3})", "parameters": {"threshold": 3}, ...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 223...
1
456
cbe67550255bfe0b5bb6090efd5b5cf0154d2d50231effbf82e1fea9181ba837
cy
synthetic-math-code
[{"content": "Mae gen i restr o niferau sy'n cynrychioli costau cludiant llinell ffrog yn ddiordodach (yn negatif) ac enfayadau (yn floreddus). Hoffwn i wybod y cyfanswm cost cumulatif ar gyfer pob pwynt amser. Os oes gennyf restr fel hwn: [3, -5, 0, 4], sut y byddai'r cyfanswm ar gyfer pob elfenn yn edrych? Hefyd, rho...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [sum(values[:i + 1]) for i in range(len(values))]", "parameters": {}, "requi...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 231...
1
404
0eff51d622dcb3f9d1bbdebb75907885f2d86bd5306acdfd93e967eb3a6efa5a
cy
synthetic-math-code
[{"content": "Mae gen i restr o nifer integer sy'n cynrychioli costau budgeting sydd wedi eu doublu trwy gamgymeriad. Hoffwn i gael ffwythiant Python sy'n tynnu'r rhifau unigryw o'r rhestr heb newid y trefn y cyntaf i'w gweld. Os yw'r rhestr yn wag, rhaid i mi gael [] yn ôl. Os oes gen i $[3, -1, 3, 0, -1]$, dylai'r ca...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x for i, x in enumerate(values) if x not in values[:i]]", "parameters": {},...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 239...
1
422
2294a7c1c0d00cb65631e50209fcb2a90883018324b3414dabc3f7db7a7c54e5
cy
synthetic-math-code
[{"content": "Gallwch ysgrifennu ffwyndawl Python `solve(values)` ar gyfer rhestr o faincyrnodau? Mae angen i'r ffwyndawl ddychwelyd cyfanswm pob rhif sydd yn rhifau llawer o 8 (gan gynnwys amlifau negatif). Os yw'r rhestr yn wag, dychwelywch 0. Peidiwch â hadyllo'r rhestr wreiddiol. Rhowch enghraifft lle mae'r rhestr ...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum(x for x in values if x % 8 == 0)", "parameters": {"divisor": 8},...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 241...
1
477
30e0b67c72023c3a926dbeaec7b70144fb8712b87fcb2554a1f357d378c13645
cy
synthetic-math-code
[{"content": "Ysgrifennwch ffwyndl Python sy'n defnyddio map affin (affine map) ar draws rhestr o faincyrau. Mae'r formula i'w defnyddio yn un: $f(x) = x * 4 + (-3)$. Mae angen i'r ffwyndl `solve(values)` dderbyn rhestr o faincyrau ac adreturn rhestr newydd gyda'r canlyniadau wedi'u trin, gan gadw'r trefn ac unrhyw dde...
[]
{"audience": "student", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x * 4 + (-3) for x in values]", "parameters": {"factor": 4, "offset": -3},...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 245...
1
483
2a195d4989508d14db8430881543dfa97d7d1e89dbe188cfd04d5333859ca6a6
cy
synthetic-math-code
[{"content": "Mae gen i restr o rifau sy'n cynrychioli nifer y safonau lliwgar ar liflifiau cludiant cyhoeddus (e.e., rhifau negatif yn awgrymu diffyg lliw). Sut y gallaf ysgrifennu ffwyndiad Python sy'n cyfrif faint o rifau sy'n llawer o'r can <-0? Mae angen i'r ffwyndiad `solve(values)` ddychwelyd nifer y rhifau nega...
[]
{"audience": "student", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum(1 for x in values if x < 0)", "parameters": {}, "requirement": "Write a...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000128/attempts.jsonl", "journal_sha256": "c3a5c7dcfa784e46d6a9c9562eb03469fead4e7e160ffdbfcca0bcd0aa6731bd", "kind": "synthetic", "receipt_sha256": "6f3fe158faf6feb74b3678ab125de5d9989f55907c44c4bf49e304a2de044bb3", "slot": 247...
1
488
9c627fd9e18622ae5af9962b28460130e4245958b69f5a17719ee5fc1076c16e
cy
synthetic-math-code
[{"content": "Mae gen i restr o faintegau sy'n cynrychioli nifer y pasagerau ar ystod o ddiwrnodau gwahanol. Hoffwn i gael ffwynten Python sy'n tynnu'r rhifau unigryw o'r rhestr heb newid y trefn y cyrhaeddant am gyntaf. Os yw'r rhestr yn wag, rhaid i mi gael rhestr wag yn ôl. Sut y gallem wneud hyn? Ar ystod y gwertho...
[]
{"audience": "student", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x for i, x in enumerate(values) if x not in values[:i]]", "parameters": {}...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 259...
1
483
834bb46517d9c795943ade26ba75950384cabe5f92d8aac1fbbf455c28ba4b21
cy
synthetic-math-code
[{"content": "Mae gen i grefynnau o rifau integer mewn rhestr. Hoffwn i chi ysgrifennu ffwyndiau Python sy'n ddatblygu ffwyndiannaeth unigryw sy'n uwch na -1, gan eu trefnu mewn trefn cynyddol. Os yw'r rhestr yn wag, rhowch [] yn ôl. Peidiwch â hadylio'r rhestr wreiddiol. Ar gyfer y testun hwn, defnyddiwch y ffordd hon...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sorted({x for x in values if x > -1})", "parameters": {"threshold": -1}...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 263...
1
345
f6ef539bebea89a083f6860ab0c6700dc44063c3681de829da538e5ceb5b6bd7
cy
synthetic-math-code
[{"content": "Mae gen i restr o niferau integer sy'n cynrychioli newidiadau mewn tymherau (degri Celsius). Hoffwn i ddefnyddio Python i gyfyngu pob gwerth ar gyfer y cyfnod rhwng -5 ac 10, gan sicrhau nad yw unrhyw nifer yn ymledol y tu hwnt i'r ffiniau hyn. Os yw nifer yn is na -5, rhaid ei wneud yn -5; os yw'n uwch n...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [min(10, max(-5, x)) for x in values]", "parameters": {"lower": -5, "upper":...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 269...
1
518
6e30a9439739d7f05093b7e95f17013fc5d8c20b261456293ce7babb76ac226e
cy
synthetic-math-code
[{"content": "Mae gen i grefyn o niferau integer: `[-2, 0, -3, -1, 0]`. Hoffwn i ysgrifennu ffwyndl Python sy'n dychwelyd dim ond y rhifau unigryw sy'n llawer uwch na $-2$, wedi'u trefnu mewn tref awr. Sicrhewch nad yw'r rhestr wreiddiol yn cael ei hathlepsi. Defnyddiwch Python `solve(values)` i ddatrys hyn: `solve([-2...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sorted({x for x in values if x > -2})", "parameters": {"threshold": ...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 283...
1
341
09c94926e5caea61ffbffa45b9dc7a2514656a8ab444bb257d2b29db0cdcc287
cy
synthetic-math-code
[{"content": "Mae gen i restr o rifau mewn rhaglenni meddalwedd ac rwyf am wybod faint o rifau sydd yn llawer is na zero (rhifau negyddol). Os oes y rhestr wag, dylai'r ateb fod yn 0. Os oes rhifau unigol fel -2 neu 0, dylai -2 gynnwys ond 0 beidio. Sut y gallaf ysgrifennu ffwyndl Python i wneud hyn heb effeithio ar y ...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum(1 for x in values if x < 0)", "parameters": {}, "requirement": "Wri...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 287...
1
347
d039f0db13c54614af040d3d793d8db4e09106cda3b45dc78387941950ac39b2
cy
synthetic-math-code
[{"content": "Ysgrifennwch ffwyndl Python `solve(values)` sy'n derbyn rhestr o gyfanlychau (integers). Mae angen i chi ddefnyddio techneg 'clamp' i gyfyngu ar bob nifer i'r cyfnod cynnwysol [-8, 5]. Rhaid cadw'r trefn ac unrhyw ddeり返 (duplicates), a dychwelyd rhestr newydd. Os yw'r rhestr yn wag, dychwelywch [] ac peid...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [min(5, max(-8, x)) for x in values]", "parameters": {"lower": -8, "...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 289...
1
416
c42b32e33609e75b0b2ef46cfb3b6323159dc5e5bdfcb8ba0cfa5d90988224fa
cy
synthetic-math-code
[{"content": "Mae gen i grefennel o niferolol (integers) sydd yn cynrychioli costau budgeting. Hoffwn i ysgrifennu ffwyndl Python sy'n tynnu'r rhai sy'n unigryw o'r rhestr heb newid y trefn gwreiddiol ac heb effeithio ar y rhestr enwog. Os yw'r rhestr yn wag, dylai hi ddychwelyd rhestr wag. Os oes lliwiau neu niferau s...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x for i, x in enumerate(values) if x not in values[:i]]", "parameters...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 299...
1
630
cfe16ab65e974904fe9309ab2059bf1453f9013a985f4da57b3e9412cd7e67db
cy
synthetic-math-code
[{"content": "Mae angen i mi ysgrifennu swyddogaeth Python sy'n cael trin rhestr o gyfanrifeyr (integers). Mae'r swyddogaeth yn unigol, `solve(values)`, yn dderbyn rhestr fel argymhelliad. Mae angen i ni ddychwelyd yr elfennau unigol sy'n llawer uwch na 0, wedi'u trefnu mewn trefn cynyddol. Os yw'r rhestr yn wag, rhaid...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sorted({x for x in values if x > 0})", "parameters": {"threshold": 0},...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 303...
1
539
c315fe9bb431b366700c138fcef8459783a0534af728074f65d355e4e044b16b
cy
synthetic-math-code
[{"content": "Mae gen i restr o niferau integer sy'n cynrychioli sgôr lwtiau mewn gweithgaredd chwaraeon. Hoffwn i greu ffwythiant Python sy'n trin pob gwerth yn affine. Mae angen i chi ysgrifennu ffwythiant `solve(values)` sy'n defnyddio'r formula $x * 3 + 5$ ar bob rhif yn y rhestr. Sicrhwch fod y rhestr newydd yn ca...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x * 3 + (5) for x in values]", "parameters": {"factor": 3, "offset": 5}, "r...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 305...
1
445
33cf37ff8f6a828e310d9f53266f7a80b2acd0053664d4819ed74738f1a82112
cy
synthetic-math-code
[{"content": "Mae gen i restr o faintegau ac rwy'n eisiau cyfrifo sum lle mae pob nifer wedi ei strwythuro gan ei safle yn y rhestr (gan ddechrau ar 1). Os yw'r rhestr yn wag, rhaid ateb 0. Os gwelwch yn dda, ysgrifennwch ffwyndl Python `solve(values)` sy'n canolbwyntio ar hynny heb effeithio ar y rhestr gwreiddiol. Ma...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum((i + 1) * x for i, x in enumerate(values))", "parameters": {}, "requirem...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 315...
1
498
b83c993f9a56f5e80551dbd52209785f45ddc2090a8fe54ddf3bbf42ed8d7f5a
cy
synthetic-math-code
[{"content": "Mae gen i restr o rifau integer sydd wedi'u hychu, ond mae modd arnoch chi helpu i gael gwared ar y rhai sy'n ailadrodd? Mae angen i mi gadw'r trefn y cyntaf i gyflwyno'r rhai unigol yn unig. Os yw'r rhestr yn wag, rhowch [] yn ôl. Dim ond Python os gwelwch yn dda. Anfonwch Python solve(values) sy'n cania...
[]
{"audience": "student", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x for i, x in enumerate(values) if x not in values[:i]]", "parameters": {}...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 319...
1
457
c12b2d2c924560475b7d316b151164d7685411b85e9f8752d95055d87dbcdc14
cy
synthetic-math-code
[{"content": "Mae gen i restr o faintegion ac rwy'n eisiau creu ffwyndra Python sy'n treulio'r rheol affine: $f(x) = 3x - 2$. Os yw'r rhestr yn wag, dylai'r ffwyndra ddychwelyd rhestr wag. Dim ond y rhestr newydd y dylai ei chynnwys, heb effeithio ar y rhestr gwreiddiol. Os oes gen i $[ -1, 0, 2 ]$, dylai'r ateb fod $[...
[]
{"audience": "student", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x * 3 + (-2) for x in values]", "parameters": {"factor": 3, "offset": -2},...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 325...
1
330
3d1836364274e0b39541e1131c1d015d1585f4f1333a74e820491169b6307e42
cy
synthetic-math-code
[{"content": "Mae gen i restr o niferiadau hanesyddol sy'n cynrychioli nifer y trigolion mewn trefion lleol drwy amser. Hoffwn i greu strwythur Python sy'n gallu cyfrifo sumau cyminhwysol (cumulative sums) o'r rhestr hon er mwyn deall twmptas y boblogaeth yn gyfan gwbl. Os yw'r rhestr yn wag, rhaid i'r ffwyndl ddychwel...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [sum(values[:i + 1]) for i in range(len(values))]", "parameters": {}, "requi...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 331...
1
490
a70627bc75daa3986b654824a3eba837b527cc745c2a7c5ce0aa97515ce6a700
cy
synthetic-math-code
[{"content": "Ysgrifennwch ffwyndl Python o'r enw `solve(values)` sy'n derbyn rhestr o gyfanrifolion (integers). Mae'r ffwyndl yn dychwelyt gwahaniaethau absolwt rhwng y rhai sy'n dilyngar yn y rhestr. Os oes $n$ elfennau, rhaid cael mwysg(n - 1, 0) gwahaniaethau. Os yw'r rhestr yn wag neu dim ond un elfenn, rhaid dych...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [abs(values[i] - values[i - 1]) for i in range(1, len(values))]", "p...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 333...
1
531
2d58d8b9aa52609fea723ae02e544e1f27b8efac9a635ef75f66a259614cc844
cy
synthetic-math-code
[{"content": "Mae gen i grefftor o niferol o gyfannod (integers). Angen i mi ysgrifennu ffwyndl Python `solve(values)` sy'n dychwelyd yr elfennau unigryw sy'n llawer uwch na 2, wedi'u trefnu mewn trefn cynyddol. Os yw'r rhestr yn wag, rhowch [] yn ôl. Peidiwch â hadylu'r rhestr mewn ychydig. Arholwch y canlynol: `solve...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sorted({x for x in values if x > 2})", "parameters": {"threshold": 2},...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 343...
1
427
97481da0133c82c9598b22264c5fd146a82a611e2b5adacc9221cc5019375edc
cy
synthetic-math-code
[{"content": "Mae angen i mi ysgrifennu swyddogaeth Python sy'n cyfrannu niferau mewn rhestr. Mae'r swyddogaith yn ddolion `solve(values)` i gymryd rhestr o gyfanlythrennau (integers). Dylai'r canlyniad fod yn rhestr o niferau cyfogol (cumulative sums): mae index $i$ yn y canlyniad yn dod o grysum o index $0$ hyd at $i...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [sum(values[:i + 1]) for i in range(len(values))]", "parameters": {}, ...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 351...
1
387
f65b2a47cb9124e32509fd23a0f7df842f22f7994cb5841f8b5efb0478bcb9f0
cy
synthetic-math-code
[{"content": "Mae gen i restr o rifau sy'n cynrydrio nifer y sŵnan (decibels) mewn canu. Hoffwn i gael rhestr newydd sy'n tynnu i ffwrdd unrhyw rifau sy'n ailadrodd, ond mae angen i mi gadw'r trefn y cyntaf i'w hwynebu. Peidiwch â trefnu'r rhestr ar draws. Os yw'r rhestr yn wag, rhowch [] yn ôl. Creu ffwynten Python `s...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x for i, x in enumerate(values) if x not in values[:i]]", "paramete...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 359...
1
418
60b363a6630c10da3f71c7a1c6b57240c48d5e79257c4d95392ad1d20b68f231
cy
synthetic-math-code
[{"content": "Gallwn ddefnyddio Python i ddadalyddio data hanesol? Mae gen i restr o rifau sy'n cynrychioli nifer y llyfrau wedi'u harglwyddo mewn blynedd gwahanol. Hoffwn ysgrifennu ffwynten Python `solve(values)` sy'n cyfrif cyfanswm pob rhif yn y rhestr sy'n rhifau sy'n rhannolwyable gan 9 (gan gynnwys amlifau negat...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum(x for x in values if x % 9 == 0)", "parameters": {"divisor": 9},...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 361...
1
503
8d1cc6f319b7419769b72fcbb99c75fcb8809eea16160ec662d656fd8e237171
cy
synthetic-math-code
[{"content": "Ysgrifenwch ffwyndl Python `solve(values)` sy'n derbyn rhestr o gyfanrifolion. Dylai'r ffwyndl ddychwelyd cyfanswm lle mae pob rhif wedi'i strwythuro gan ei leoliad (ers 1) yn y rhestr gwreiddiol. Os yw'r rhestr yn wag, dychwelych $0$. Peidiwch â hadylu'r rhestr mewnosodiad. Rhowch enghraifft o sut mae hy...
[]
{"audience": "student", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum((i + 1) * x for i, x in enumerate(values))", "parameters": {}, "require...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 375...
1
417
a3599a25e57528d632daa9d54cc2bec28bf0eea562b1295b78cc83ab09aa8823
cy
synthetic-math-code
[{"content": "Mae gen i restr o faintegion ac rwy'n eisiau creu ffwyndleiddiol Python sy'n canfod y blad o fewn y rhestr (y gwerth uchaf minus y gwerth isaf). Os yw'r rhestr yn wag neu dim ond un nifer ynddi, dylai'r ffwyndleiddiol ddychwelyd 0. Dim ond cod Python sydd angen i chi ei ddarparu. Dyma'r gwerth canlyniad f...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return max(values) - min(values) if values else 0", "parameters": {}, "requ...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 377...
1
312
69fcb2f985e3f7f0508896f9eb14d741a8a9b83847f30fb227a514f87a44f8d4
cy
synthetic-math-code
[{"content": "Mae gen i restr o fainteg mewn gwasanaeth llyfrgell ac rwyf am ddileu'r rhai sy'n ailadrodd, ond rwyf am gadw'r trefn y cyntaf i'w gweld. Os oes y rhestr yn wag, rwyf am y rhestr wag yn ôl. Os gwelwch yn dda, rhowch ffwyndiaith Python `solve(values)` sy'n canlyffo at hynny heb effeithio ar y rhestr wreidd...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x for i, x in enumerate(values) if x not in values[:i]]", "paramete...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 379...
1
515
2f7cc27206211bf03bb725e6aa6b511288b6f5afc3b61c3c21bc17541c28f961
cy
synthetic-math-code
[{"content": "Mae gen i restr o rifau integer, ac rwyf eisiau creu ffwyndiaeth Python sy'n cyfrifo'r cyfanswm o'r rhifau sydd yn rhannol gaelol gan 2. Mae angen i ni gynnwys rhifau negatif hefyd, ond os yw'r rhestr yn wag, rhaid i ni ddychwelyd 0. Dim peidið â chwrio'r rhestr gwreiddiol. Sut y gallem wneud hyn? Gallwch...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum(x for x in values if x % 2 == 0)", "parameters": {"divisor": 2}, "requir...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000256/attempts.jsonl", "journal_sha256": "3febd7ae27ee10e30fde641e39dfb9f0a820f9ca7ae3a8049207a1378c61a654", "kind": "synthetic", "receipt_sha256": "851b9597698d6e3e51f1cedfdf40984b27444a08abffb117cadba6b76d7355b5", "slot": 381...
1
499
b00e3284858b0abaf11534acefcd2aad66b5e43446bb523f1528f40550a3e878
cy
synthetic-math-code
[{"content": "Mae gen i restr o nifer integer sy'n cynrychioli nifer y lliwau mewn gwaith llaw. Hoffwn i ysgrifennu ffwynten Python sy'n cyfrifo sum gan amlygu pob nifer gyda ei strwythur (ei safle 1-berth) yn y rhestr. Os yw'r rhestr yn wag, rhaid i mi gael 0 yn ôl. Peidiwch â hadyllo'r rhestr wreiddiol. Sut y byddai ...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum((i + 1) * x for i, x in enumerate(values))", "parameters": {}, "...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000384/attempts.jsonl", "journal_sha256": "1a2da5107355718d02a3f9f14a1ca8c70dff31aea3715f2f600e63f9f599f383", "kind": "synthetic", "receipt_sha256": "1898340cfaa8cd039e882a3686eb9c60da601fc71b788502e0d72951cc92b14b", "slot": 395...
1
376
2e531ca08725fec7b1058bca6654c56723fbb1f9d6729961885893506771771f
cy
synthetic-math-code
[{"content": "Mae gen i restr o niferau integer sy'n cynrychioli amserau cyrffod mewn taflen deithio. Hoffwn i gael ffwythiant Python sy'n tynnu'r rhai sy'n ailadrodd yn unig, ond rhaid cadw'r trefn y cyntaf y gwelwyd pob nifer. Peidiwch â chylchdroi'r rhestr neu effeithio ar y rhestr gwreiddiol. Os yw'r rhestr yn wag,...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x for i, x in enumerate(values) if x not in values[:i]]", "parameters": {},...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000384/attempts.jsonl", "journal_sha256": "1a2da5107355718d02a3f9f14a1ca8c70dff31aea3715f2f600e63f9f599f383", "kind": "synthetic", "receipt_sha256": "1898340cfaa8cd039e882a3686eb9c60da601fc71b788502e0d72951cc92b14b", "slot": 399...
1
594
04f289d813fd4052527616176eb04f7de6e084cad9ce727f013bd2a0ebc059f2
cy
synthetic-math-code
[{"content": "Mae gen i restr o niferiadau sy'n cynrychioli costau teithio (yn pounds), ac rwyf am wybod cyfanswm y costau sy'n rhannol gan 4. Os yw'r rhestr yn wag, rwyf am glywed bod yr ansawm yn 0. Gall y niferiadau fod yn negatif hefyd. Sut y gallaf ysgrifennu ffwyndiad Python i wneud hyn? Defnyddiwch y ffordd y ma...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum(x for x in values if x % 4 == 0)", "parameters": {"divisor": 4}, "requir...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000384/attempts.jsonl", "journal_sha256": "1a2da5107355718d02a3f9f14a1ca8c70dff31aea3715f2f600e63f9f599f383", "kind": "synthetic", "receipt_sha256": "1898340cfaa8cd039e882a3686eb9c60da601fc71b788502e0d72951cc92b14b", "slot": 401...
1
514
0e7bff2dda2d6e3cf819b8a356286585c7b1e0f2761dcb6badfc287ae9f6f418
cy
synthetic-math-code
[{"content": "Mae gen i restr o rifau integer sy'n dod o weithgaredd llawr gwaith llawr (crafting), ond mae rhai ohonynt yn rhy fawr neu rhy fach demais i'w defnyddio. Gallwch chi ysgrifennu ffwynten Python `solve(values)` sy'n llawr gwaith pob nifer i mewn i gyfnod o [-4, 4]? Mae angen i chi gadw'r trefn ac unrhyw ddi...
[]
{"audience": "student", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [min(4, max(-4, x)) for x in values]", "parameters": {"lower": -4, "upper":...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000384/attempts.jsonl", "journal_sha256": "1a2da5107355718d02a3f9f14a1ca8c70dff31aea3715f2f600e63f9f599f383", "kind": "synthetic", "receipt_sha256": "1898340cfaa8cd039e882a3686eb9c60da601fc71b788502e0d72951cc92b14b", "slot": 409...
1
457
f36b056c64439a2456d5d5e4a1e6750ca7958d8871a9f97b75cc5a393f94e58b
cy
synthetic-math-code
[{"content": "Ysgrifennwch ffwyndlen Python `solve(values)` sy'n derbyn rhestr o gyfanrifeyr (integers). Mae'r ffwyndlen yn mynd i'w cymryd pob gwerth `x` o'r rhestr a chymhwyso'r formula affine $x * 6 + 8$ arno. Rhaid dychwelyd rhestr newydd sy'n cadw'r trefn ac unrhyw adroddiadau (duplicates), ond peidiwch â hadylu'r...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x * 6 + (8) for x in values]", "parameters": {"factor": 6, "offset": ...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000384/attempts.jsonl", "journal_sha256": "1a2da5107355718d02a3f9f14a1ca8c70dff31aea3715f2f600e63f9f599f383", "kind": "synthetic", "receipt_sha256": "1898340cfaa8cd039e882a3686eb9c60da601fc71b788502e0d72951cc92b14b", "slot": 425...
1
434
62f88b91180a82969648a98269b5fd5aef85cc19ce8d56005eb6fde91c6620dd
cy
synthetic-math-code
[{"content": "Mae gen i restr o niferiadau (integers) sy'n cynrychioli nifer y sŵn mewn canu. Hoffwn i gael ffwynten Python sy'n cyfrifo sumau cyminol (cumulative sums). Mae angen i ddefnod `solve(values)` ddychwelyd rhestr lle mae pob elfenn yn y canlyniad yn dod o sum o'r dechrau hyd i'r index presennol. Os yw'r rhes...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [sum(values[:i + 1]) for i in range(len(values))]", "parameters": {}, "...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000384/attempts.jsonl", "journal_sha256": "1a2da5107355718d02a3f9f14a1ca8c70dff31aea3715f2f600e63f9f599f383", "kind": "synthetic", "receipt_sha256": "1898340cfaa8cd039e882a3686eb9c60da601fc71b788502e0d72951cc92b14b", "slot": 431...
1
546
6cf00e25f5f4095e2a4372f07c1d54f03e0811fc9c18e8207a6d0f290e01f3c8
cy
synthetic-math-code
[{"content": "Helo! Rydw i eisiau medru't gwasanaethau llyfrgell yn well drwy ddeall sut mae data yn cael ei storio. Os oes gennyf restr o rifau (integers), sut gallaf ddod o hyd i wahaniaethau absolwt rhwng y rhifau sydd yn unelli? Er enghraifft, os oes gennyf $[7, 2, 10]$, rwyf am weld y gwahaniaeth rhwng $7$ a $2$, ...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [abs(values[i] - values[i - 1]) for i in range(1, len(values))]", "para...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000384/attempts.jsonl", "journal_sha256": "1a2da5107355718d02a3f9f14a1ca8c70dff31aea3715f2f600e63f9f599f383", "kind": "synthetic", "receipt_sha256": "1898340cfaa8cd039e882a3686eb9c60da601fc71b788502e0d72951cc92b14b", "slot": 433...
1
436
8d5e5dcd16ab610ce2bab39579ad0102cefc41c7a140dbdca23bd8d8c7a60e75
cy
synthetic-math-code
[{"content": "Mae gen i greflennau o niferoedd integrol o'r gardd (e.e., niferoedd lliwiau neu nifer y planhigion) ac rwyf am gael rhestr unigryw o'r rhain. Mae angen trefn y cyntaf ymddangosi i gadw, nid trefn wedi'u trefnu ar gyfer nodiant. Os yw'r rhestr yn wag, rhowch [] yn ôl. Dim ond defnyddio Python, os gwelwch ...
[]
{"audience": "professional", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x for i, x in enumerate(values) if x not in values[:i]]", "parameters...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000384/attempts.jsonl", "journal_sha256": "1a2da5107355718d02a3f9f14a1ca8c70dff31aea3715f2f600e63f9f599f383", "kind": "synthetic", "receipt_sha256": "1898340cfaa8cd039e882a3686eb9c60da601fc71b788502e0d72951cc92b14b", "slot": 439...
1
574
a9637af47ee79e41458fd3a9c914c2eaab6544ed3063c547acc68820a2f52873
cy
synthetic-math-code
[{"content": "Helu! Rydym yn dysgu ein plant am hanes lleol drwy ddefnyddio data o'r arddastun lleol. Gallwn ddefnyddio rhestr o rifau i gadw nodiadau am nifer y croesoedd, ond rwyf am gael help gyda chraeddu rhywfodyn Python. Sut i ysgrifennu ffwycion `solve(values)` sy'n cyfrannu'r cyfanswm o rifau mewn rhestr sy'n r...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum(x for x in values if x % 2 == 0)", "parameters": {"divisor": 2}, "requir...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000384/attempts.jsonl", "journal_sha256": "1a2da5107355718d02a3f9f14a1ca8c70dff31aea3715f2f600e63f9f599f383", "kind": "synthetic", "receipt_sha256": "1898340cfaa8cd039e882a3686eb9c60da601fc71b788502e0d72951cc92b14b", "slot": 441...
1
398
45c800270163de11ee911da9e15b42de6bf843858ec783e38b1c1df490aedb49
cy
synthetic-math-code
[{"content": "Mae gen i restr o rifau integ sy'n cynrydrio nifer y sŵnan (decibels) mewn canmlist cerddoriaeth. Hoffwn i ysgrifennu ffwynten Python sy'n cyfrif faint o rifau sy'n llawer is na 0 (rhifau negatif yn llawen). Nid yw 0 yn negatif, ac os yw rhifau yr un fath yn ymddangos efo'i hun, rhaid eu cyfrif yn aliquwö...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum(1 for x in values if x < 0)", "parameters": {}, "requirement": "...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000384/attempts.jsonl", "journal_sha256": "1a2da5107355718d02a3f9f14a1ca8c70dff31aea3715f2f600e63f9f599f383", "kind": "synthetic", "receipt_sha256": "1898340cfaa8cd039e882a3686eb9c60da601fc71b788502e0d72951cc92b14b", "slot": 447...
1
580
2d7a2f6b49d836238acd2faa72f4908a8bff5ab633326d794c7ee953a3e15b8b
cy
synthetic-math-code
[{"content": "Ysgrifennwch ffwyndl Python `solve(values)` sy'n derbyn rhestr o gyfanlychau (integers). Mae angen i chi ddefnyddio 'clamping' ar bob rhif i sicrhau ei fod yn y cyfnod cynnwysol [-6, 7]. Rhaid cadw'r trefn ac unrhyw ddeり返 (duplicates), a dychwelyd rhestr newydd. Os yw'r rhestr yn wag, dychwelywch [] ac pe...
[]
{"audience": "adult beginner", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [min(7, max(-6, x)) for x in values]", "parameters": {"lower": -6, "...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000384/attempts.jsonl", "journal_sha256": "1a2da5107355718d02a3f9f14a1ca8c70dff31aea3715f2f600e63f9f599f383", "kind": "synthetic", "receipt_sha256": "1898340cfaa8cd039e882a3686eb9c60da601fc71b788502e0d72951cc92b14b", "slot": 449...
1
460
d135cbd21bbaf95a091efba1355ddc58e3a9548c5ccd561ebe6fb29fb35a9672
cy
synthetic-math-code
[{"content": "Mae gen i grefynnau o rifau (integers) ac rwyf am wybod sut i ddylunio ffwythlon Python sy'n cael y gwahaniaethau absolwt rhwng y rhifau cyfrosol. Os oes gen i mi restr fel [-3, 2, 2, -4], dylai'r ateb fod [5, 0, 6]. Os yw'r rhestr yn wag neu dim ond un rhif, dylai'r ffwythlon ddychwelyd rhestr wag. A fyd...
[]
{"audience": "older adult", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [abs(values[i] - values[i - 1]) for i in range(1, len(values))]", "para...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000384/attempts.jsonl", "journal_sha256": "1a2da5107355718d02a3f9f14a1ca8c70dff31aea3715f2f600e63f9f599f383", "kind": "synthetic", "receipt_sha256": "1898340cfaa8cd039e882a3686eb9c60da601fc71b788502e0d72951cc92b14b", "slot": 453...
1
644
fd0e04c9d65478adf9e1d292ec09d9b8a8d7ffd7bcf19b972105513241a9d576
cy
synthetic-math-code
[{"content": "Mae gen i grefennau budgeting ar gyfer fy nheulu. Hoffwn i ysgrifennu ffwyndl Python sy'n gallu cyfrifo gwerth cyflawn y rhestr gan beidio â chymysgu'r niferau gyda'u strwythur. Os oes gen i grefenn Fach o werthion fel [3, -2, 4], mae gen i eisiau cyfrifo (1 * 3) + (2 * -2) + (3 * 4). Os yw'r rhestr yn wa...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return sum((i + 1) * x for i, x in enumerate(values))", "parameters": {}, "requirem...
{"attempt": 0, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000384/attempts.jsonl", "journal_sha256": "1a2da5107355718d02a3f9f14a1ca8c70dff31aea3715f2f600e63f9f599f383", "kind": "synthetic", "receipt_sha256": "1898340cfaa8cd039e882a3686eb9c60da601fc71b788502e0d72951cc92b14b", "slot": 455...
1
445
e5cc212c66835a301213a734b9b7eaa6e5f62328155769eaf471dadaea2dca26
cy
synthetic-math-code
[{"content": "Mae gen i restr o niferoedd sy'n cynrychioli amserau llety ar y bws (e.e., [3, -1, 3, 0, -1]). Hoffwn i gael rhestr newydd sy'n tynnu i ffwrdd unrannau sy'n ailadrodd, ond rwy'n eisiau cadw'r trefn y cyntaf i'w gweld. Dim sortio, dim newid ar y rhestr wreiddiol. Os yw'r rhestr yn wag, rhowch [] yn ôl. Cre...
[]
{"audience": "parent", "cohort": "dfm14-production-v1", "contract_version": 4, "family": "math-code", "generation_contract": "non-tool-pairs-v4", "language": "Welsh", "language_code": "cy", "reference": {"code": "def solve(values):\n return [x for i, x in enumerate(values) if x not in values[:i]]", "parameters": {},...
{"attempt": 1, "decision": "accept", "journal": "data/dfm14/production-v1/jobs/cy-math-code-000384/attempts.jsonl", "journal_sha256": "1a2da5107355718d02a3f9f14a1ca8c70dff31aea3715f2f600e63f9f599f383", "kind": "synthetic", "receipt_sha256": "1898340cfaa8cd039e882a3686eb9c60da601fc71b788502e0d72951cc92b14b", "slot": 459...
1
490