Files
breakpilot-lehrer/backend-lehrer/classroom_engine/__init__.py
Benjamin Admin bd4b956e3c [split-required] Split final 43 files (500-668 LOC) to complete refactoring
klausur-service (11 files):
- cv_gutter_repair, ocr_pipeline_regression, upload_api
- ocr_pipeline_sessions, smart_spell, nru_worksheet_generator
- ocr_pipeline_overlays, mail/aggregator, zeugnis_api
- cv_syllable_detect, self_rag

backend-lehrer (17 files):
- classroom_engine/suggestions, generators/quiz_generator
- worksheets_api, llm_gateway/comparison, state_engine_api
- classroom/models (→ 4 submodules), services/file_processor
- alerts_agent/api/wizard+digests+routes, content_generators/pdf
- classroom/routes/sessions, llm_gateway/inference
- classroom_engine/analytics, auth/keycloak_auth
- alerts_agent/processing/rule_engine, ai_processor/print_versions

agent-core (5 files):
- brain/memory_store, brain/knowledge_graph, brain/context_manager
- orchestrator/supervisor, sessions/session_manager

admin-lehrer (5 components):
- GridOverlay, StepGridReview, DevOpsPipelineSidebar
- DataFlowDiagram, sbom/wizard/page

website (2 files):
- DependencyMap, lehrer/abitur-archiv

Other: nibis_ingestion, grid_detection_service, export-doclayout-onnx

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-25 09:41:42 +02:00

93 lines
2.1 KiB
Python

"""
Classroom Engine - State Machine fuer Unterrichtsphasen
Dieses Package implementiert eine Finite State Machine fuer die
Steuerung von Unterrichtsstunden mit 5 Phasen:
1. Einstieg (8 Min) - Motivation, Problemstellung
2. Erarbeitung (20 Min) - Hauptarbeitsphase
3. Sicherung (10 Min) - Ergebnisse festhalten
4. Transfer (7 Min) - Anwendung
5. Reflexion (5 Min) - Rueckblick, Hausaufgaben
Features:
- Phasen-Timer mit Countdown und Warnungen
- Phasenspezifische Content-Vorschlaege
- Session-History fuer Analytics
"""
from .models import (
LessonPhase,
PhaseConfig,
LessonSession,
LessonTemplate,
PhaseSuggestion,
Homework,
HomeworkStatus,
PhaseMaterial,
MaterialType,
LESSON_PHASES,
SYSTEM_TEMPLATES,
get_default_durations,
)
from .fsm import LessonStateMachine
from .timer import PhaseTimer
from .suggestions import SuggestionEngine
from .suggestion_data import PHASE_SUGGESTIONS, SUBJECT_SUGGESTIONS
from .context_models import (
MacroPhaseEnum,
EventTypeEnum,
EventStatusEnum,
RoutineTypeEnum,
RecurrencePatternEnum,
TeacherContextDB,
SchoolyearEventDB,
RecurringRoutineDB,
FEDERAL_STATES,
SCHOOL_TYPES,
)
from .antizipation import (
SignalCollector,
RuleEngine,
SuggestionGenerator,
Signals,
Suggestion,
SuggestionTone,
ActiveContext,
ContextType,
)
from .analytics import LessonReflection
__all__ = [
"LessonPhase",
"PhaseConfig",
"LessonSession",
"LessonTemplate",
"PhaseSuggestion",
"Homework",
"HomeworkStatus",
"PhaseMaterial",
"MaterialType",
"LESSON_PHASES",
"SYSTEM_TEMPLATES",
"get_default_durations",
"LessonStateMachine",
"PhaseTimer",
"SuggestionEngine",
"PHASE_SUGGESTIONS",
"SUBJECT_SUGGESTIONS",
# Phase 8: Schuljahres-Kontext
"MacroPhaseEnum",
"EventTypeEnum",
"EventStatusEnum",
"RoutineTypeEnum",
"RecurrencePatternEnum",
"TeacherContextDB",
"SchoolyearEventDB",
"RecurringRoutineDB",
"FEDERAL_STATES",
"SCHOOL_TYPES",
# Analytics
"LessonReflection",
]