refactor: change from standar backend api to python library

This commit is contained in:
AlanSilvaaa
2026-05-28 15:02:42 -04:00
parent 8d3a18ec39
commit da59c4e64d
23 changed files with 331 additions and 833 deletions

22
test-lib.py Normal file
View File

@@ -0,0 +1,22 @@
from math_problems_structure.grade_1 import join_pictures_with_quantity
def main() -> None:
problem = join_pictures_with_quantity(
container_count_per_side=2,
available_pictures=[
{
"id": f"picture-{index}",
"name": f"Picture {index}",
"image_path": f"/images/{index}.png",
}
for index in range(4)
],
seed=1,
)
print(problem)
if __name__ == "__main__":
main()