From 3349776c87e843df26bff1931d53ffe9b031629b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D0=B8=D0=BD=D0=B0=D1=80=20=D0=9C=D0=B8=D1=80=D0=B7?= =?UTF-8?q?=D0=B0=D0=B3=D0=B8=D1=82=D0=BE=D0=B2?= Date: Tue, 16 Jun 2026 08:54:59 +0000 Subject: [PATCH] Solution ready for review: update repo/main.py --- repo/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo/main.py b/repo/main.py index 4473248..dd11c6e 100644 --- a/repo/main.py +++ b/repo/main.py @@ -43,7 +43,7 @@ Score the draft on the following criteria (0–10): - Type hints usage - Edge case handling - Naming conventions -Return a JSON object with keys: pep8, type_hints, edge_cases, naming. Also provide the weakest criterion and verdict ("ok" if all scores >=7 else "needs_revision").''' +Return a JSON object with keys: pep8, type_hints, edge_cases, naming, weakest_criterion, verdict. The verdict should be "ok" if all scores are >=7, otherwise "needs_revision".''' response = await llm.invoke(prompt) import json try: