import asyncio from orchestrator import orchestrator async def run_sanity(): print("--- 馃煝 SANITY CHECK ALGEBRA (SMADAR) ---") res_alg = await orchestrator.smart_solve( problem_text="住诪讚专 拽谞转讛 诪讞讘专讜转 讞砖讘讜谉 讘-4 砖拽诇讬诐 讜讞诇拽讜转 讘-5 砖拽诇讬诐. 讻诪讛 拽谞转讛?", data_anchor={"function_equations": ["4x + 5y = 120", "y = x + 6"]}, grade="讝'", category="ALGEBRA", image_data=None, ambiguity_warning=False ) print("ALGEBRA RESPONSE SUCCESS:") print("Final Answer:", res_alg.get("final_answer")) print("Logic Error:", res_alg.get("logic_error")) print("\n--- 馃煝 SANITY CHECK GEOMETRY (CIRCLE AREA) ---") res_geom = await orchestrator.smart_solve( problem_text="讞砖讘 讗转 砖讟讞 讛诪注讙诇 砖诪砖讜讜讗转讜 (x-3)**2 + (y-4)**2 = 25", data_anchor={"function_equations": ["(x-3)**2 + (y-4)**2 = 25"]}, grade="讬'", category="GEOMETRY", image_data=None, ambiguity_warning=False ) print("GEOMETRY RESPONSE SUCCESS:") print("Final Answer:", res_geom.get("final_answer")) print("Logic Error:", res_geom.get("logic_error")) if __name__ == "__main__": asyncio.run(run_sanity())