feat: Clarify prime factorization example and answer format

This commit is contained in:
Andreas Koepf (aider) 2025-01-23 22:50:00 +01:00
parent c964eba5a4
commit d4dd3cf3e3

View file

@ -68,8 +68,8 @@ class PrimeFactorizationDataset:
answer = " × ".join(map(str, factors))
return {
"question": (f"Find the prime factorization of {number}. "
f"(Example: 12 = 2 × 2 × 3)"),
"question": (f"Find the prime factorization of {number}. Write the factors separated by × "
f"(Example: for 12 the answer would be: 2 × 2 × 3)"),
"answer": answer,
"metadata": {
"number": number,