Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 27s
CI / test-go-edu-search (push) Successful in 40s
CI / test-python-klausur (push) Failing after 2m30s
CI / test-python-agent-core (push) Successful in 28s
CI / test-nodejs-website (push) Successful in 20s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
26 lines
791 B
Python
26 lines
791 B
Python
"""
|
|
Breakpilot Drive - Unit Analytics API — Barrel Re-export.
|
|
|
|
Erweiterte Analytics fuer Lernfortschritt:
|
|
- Pre/Post Gain Visualisierung
|
|
- Misconception-Tracking
|
|
- Stop-Level Analytics
|
|
- Aggregierte Klassen-Statistiken
|
|
- Export-Funktionen
|
|
|
|
Split into:
|
|
- unit_analytics_models.py: Pydantic models & enums
|
|
- unit_analytics_helpers.py: Database access & computation helpers
|
|
- unit_analytics_routes.py: Core analytics endpoint handlers
|
|
- unit_analytics_export.py: Export & dashboard endpoints
|
|
"""
|
|
|
|
from fastapi import APIRouter
|
|
|
|
from .analytics_routes import router as _routes_router
|
|
from .analytics_export import router as _export_router
|
|
|
|
router = APIRouter(prefix="/api/analytics", tags=["Unit Analytics"])
|
|
router.include_router(_routes_router)
|
|
router.include_router(_export_router)
|