File size: 317 Bytes
2e8d6bf
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from typing import TypedDict


class StudyState(TypedDict):
    document_path: str
    chunks: list[str]
    questions_asked: int
    questions_correct: int
    current_question: str
    current_answer: str
    current_score: float
    weak_chunks: list[str]
    session_history: list[dict]
    mastery_reached: bool