Files
povtornyy-ekzamen-2-graf-s-…/src/state.py
T

10 lines
280 B
Python

from typing import TypedDict, Dict, Any
class CodeReviewState(TypedDict):
code: str
draft_review: str | None
criteria_scores: Dict[str, int] | None
weakest_criterion: str | None
verdict: str | None # "ok" | "needs_revision"
round: int
max_rounds: int