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>
This commit is contained in:
91
backend/classroom_engine/__init__.py
Normal file
91
backend/classroom_engine/__init__.py
Normal file
@@ -0,0 +1,91 @@
|
||||
"""
|
||||
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",
|
||||
]
|
||||
Reference in New Issue
Block a user