Solution ready for review: update repo/main.py

This commit is contained in:
2026-06-16 08:54:59 +00:00
parent 2a107613e2
commit 3349776c87
+1 -1
View File
@@ -43,7 +43,7 @@ Score the draft on the following criteria (010):
- 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: