Download backend/app/interactive/analytics/__init__.py from ruslanmv/HomePilot: direct link, hf CLI and curl.
- Browser
- Download file 574 Bytes
-
https://huggingface.co/spaces/ruslanmv/HomePilot/resolve/main/backend/app/interactive/analytics/__init__.py
- Command line
-
hf download hf://spaces/ruslanmv/HomePilot/backend/app/interactive/analytics/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/ruslanmv/HomePilot/resolve/main/backend/app/interactive/analytics/__init__.py
574 Bytes
| """ | |
| Analytics subsystem — read-side queries over session events. | |
| aggregator.py session_summary(session_id) → dict | |
| experience_summary(experience_id) → dict | |
| All functions are read-only SQL over ``ix_session_events`` + | |
| ``ix_session_turns`` + ``ix_session_progress``. No mutation, safe | |
| to call from public endpoints. | |
| """ | |
| from .aggregator import ( | |
| ExperienceSummary, | |
| SessionSummary, | |
| experience_summary, | |
| session_summary, | |
| ) | |
| __all__ = [ | |
| "ExperienceSummary", | |
| "SessionSummary", | |
| "experience_summary", | |
| "session_summary", | |
| ] | |