How sereniric/memory-assistant works
ManaSetu is a Flask cognitive-wellness app. Patients enter memory games, recall or reproduce what they saw, and receive scored results; game history is kept in the session. The app also supports patient profiles and medication/condition records, caregiver workflows, and spoken reminders. The graph includes the documented game-selection flow and the sampled speech features. Evidence is limited to the README, source index, and excerpts; unsampled caregiver and results behavior is represented conservatively.
Main entry points: __init__.py App setup · sequence_recall.py Sequence Recall flow · shopping_memory.py Shopping Memory flow · picture_recall.py Picture Recall flow
Components 20
Web application
- App setup
app/__init__.py - Home and login
app/routes/__init__.py - Game screens
app/templates/games - Care screens
app/templates/patient
Cognitive games
- Shopping Memory flow
app/routes/shopping_memory.py - Shopping Memory rules
app/games/shopping_memory.py - Picture Recall flow
app/routes/picture_recall.py - Picture Recall rules
app/games/picture_recall.py - Sequence Recall flow
app/routes/sequence_recall.py - Sequence rules
app/games/sequence_recall.py - Sequence play
app/games/play_sequence.py - Session results
app/games/result_tracking.py - Results view
app/routes/results.py
Patient care
- User and care records
app/models.py - SQLite database
app/extensions.py - Patient profile
app/routes/patient.py - Caregiver workflows
app/routes/caregiver.py
Speech services
- Speech recognition
app/services/speech_to_text.py - Reminder speech
app/services/text_to_speech.py
Other components
- Patient
Connections 25
- Patient → App setup: uses
README.md - App setup → Home and login: registers
app/__init__.py - App setup → Shopping Memory flow: registers
app/__init__.py - App setup → Picture Recall flow: registers
app/__init__.py - App setup → Sequence Recall flow: registers
app/__init__.py - App setup → Results view: registers
app/__init__.py - App setup → Caregiver workflows: registers
app/__init__.py - App setup → Patient profile: registers
app/__init__.py - User and care records → SQLite database: uses
app/models.py - Patient profile → User and care records: reads and updates
app/routes/patient.py - Patient profile → Reminder speech: requests audio
app/routes/patient.py - Patient profile → Care screens: renders
app/routes/patient.py - Shopping Memory flow → Shopping Memory rules: calls game rules
app/routes/shopping_memory.py - Shopping Memory flow → Session results: records result
app/routes/shopping_memory.py - Shopping Memory flow → Game screens: renders
app/routes/shopping_memory.py - Picture Recall flow → Picture Recall rules: calls game rules
app/routes/picture_recall.py - Picture Recall flow → Session results: records result
app/routes/picture_recall.py - Picture Recall flow → Game screens: renders
app/routes/picture_recall.py - Sequence Recall flow → Sequence rules: calls game rules
app/routes/sequence_recall.py - Sequence Recall flow → Session results: records result
app/routes/sequence_recall.py - Sequence Recall flow → Speech recognition: transcribes answer
app/routes/sequence_recall.py - Sequence Recall flow → Game screens: renders
app/routes/sequence_recall.py - Results view → Session results: reads results
app/routes/results.py - Caregiver workflows → User and care records: uses records
app/routes/caregiver.py - Sequence play → Sequence rules: uses sequence rules
app/games/play_sequence.py