Step Generator Polish, untested
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user