This repository has been archived on 2026-02-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Benjamin Admin 21a844cb8a fix: Restore all files lost during destructive rebase
A previous `git pull --rebase origin main` dropped 177 local commits,
losing 3400+ files across admin-v2, backend, studio-v2, website,
klausur-service, and many other services. The partial restore attempt
(660295e2) only recovered some files.

This commit restores all missing files from pre-rebase ref 98933f5e
while preserving post-rebase additions (night-scheduler, night-mode UI,
NightModeWidget dashboard integration).

Restored features include:
- AI Module Sidebar (FAB), OCR Labeling, OCR Compare
- GPU Dashboard, RAG Pipeline, Magic Help
- Klausur-Korrektur (8 files), Abitur-Archiv (5+ files)
- Companion, Zeugnisse-Crawler, Screen Flow
- Full backend, studio-v2, website, klausur-service
- All compliance SDKs, agent-core, voice-service
- CI/CD configs, documentation, scripts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 09:51:32 +01:00

92 lines
2.0 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, 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",
]