"""
Klausur-Service Enums

Status and type enumerations.
"""

from enum import Enum


class KlausurModus(str, Enum):
    """Klausur mode: Landes-Abitur or Vorabitur."""
    LANDES_ABITUR = "landes_abitur"
    VORABITUR = "vorabitur"


class StudentKlausurStatus(str, Enum):
    """Processing status of a student's work."""
    UPLOADED = "uploaded"
    OCR_PROCESSING = "ocr_processing"
    OCR_COMPLETE = "ocr_complete"
    ANALYZING = "analyzing"
    FIRST_EXAMINER = "first_examiner"
    SECOND_EXAMINER = "second_examiner"
    COMPLETED = "completed"
    ERROR = "error"


class EHStatus(str, Enum):
    """Status of an Erwartungshorizont."""
    PENDING_RIGHTS = "pending_rights"
    PROCESSING = "processing"
    INDEXED = "indexed"
    ERROR = "error"
