Step Generator Polish, untested

This commit is contained in:
2026-05-01 13:50:06 -04:00
parent a98042ca5b
commit d8632115b1
6 changed files with 81 additions and 53 deletions

View File

@@ -127,7 +127,7 @@ def generate_quadratic ():
solution = sstr(root1)
else:
solution = [sstr(root1), sstr(root2)]
return {
"type": "quadratic",
"problem": f"{sstr(expr)} = 0",
@@ -265,6 +265,6 @@ def generate_problem():
problem_type = random.choices(types, weights=weights)[0]
template = TEMPLATES[problem_type]
return generate_tricky()
return generate_quadratic()
#return template()