Fate Framed is an interactive, museum-inspired risk assessment experience that transforms user behaviors into personalized “risk portraits.”
Instead of presenting risk as a static number, Fate Framed guides users through immersive exhibits (Auto, Home, and Life), where their choices shape a final visual representation of their overall risk profile.
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡤⣤⣀⡀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡀⠄⠀⡀⢀⣠⠴⠒⠚⠛⠒⠛⠛⠻⠥⢤⣦⣄⡈⠓⢤⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⡞⣡⠤⢤⡤⠎⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢃⠙⠀⠈⣇⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣧⢸⠉⣴⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠲⡿⢀⡄⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣇⠃⣰⠗⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣡⠜⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⢲⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣯⠀⠀⢀⣀⡤⠠⠒⠂⠒⢰⣷⠄⠀⠀⠀⠀⠀⠀⠀⣾⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⡀⠀⢻⠏⠰⢶⠆⠀⠀⠀⢹⡄⠀⠀⠀⠀⠀⠀⢠⠃⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢇⠀⠘⣆⠀⠈⣄⠀⠀⠀⡼⠃⠀⠀⠀⠀⠀⣴⠃⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠑⢦⣬⣷⣶⣷⣤⡤⠮⠤⠔⣶⣤⣤⠶⢻⡁⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣿⣿⣩⣵⢟⡿⢛⢲⠒⠒⠏⠉⠀⠀⠀⢳⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡾⣵⠏⠈⢨⠞⡼⠁⠸⡄⢇⠀⠀⠀⠀⠀⠀⠀⢧⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡼⠋⣼⠃⠀⢀⣎⢠⠃⠀⠀⢣⠘⣆⠀⠀⠀⠀⠀⠀⠈⡄⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⠾⠉⠀⣸⠉⠀⠀⠈⣹⠋⠀⠀⠀⠈⠉⠉⢲⠀⠀⠀⠀⠀⠀⠘⡆⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⡴⠋⠀⢀⡜⠁⠀⠀⠀⡐⠁⠀⠀⠀⠀⠀⠀⠀⠸⣄⠀⠀⠀⠀⠀⠀⠙⡄⠀
⠀⠀⠀⠀⠀⠀⠀⢸⡄⠀⠀⠸⠀⠀⠀⠀⢸⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⢧⠀⠀⠀⠀⠀⠀⠀⢸⠀
⠀⠀⠀⠀⠀⠀⠀⠘⣦⣤⠔⢻⡀⠀⠀⠀⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⡆⠀⠀⠀⠀⠀⠀⢸⡇
⠀⢀⡤⠤⠤⠔⠒⠋⠁⠀⠀⠀⠑⣆⠀⠀⡇⠀⠀⠀⣀⣄⠐⠒⠒⢢⢤⡠⢻⡄⠀⠀⠀⠀⠀⡜⠀
⢀⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⣤⣁⡤⠖⠉⠀⠀⠀⠀⠀⠀⠀⠁⠀⢙⡦⠤⠴⠒⠋⠁⠀
⢸⡀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣠⡤⠜⠚⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⠞⠁⠀⠀⠀⠀⠀⠀
⠀⠹⡀⠀⠀⠀⠀⠀⠀⣰⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠞⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠣⠤⣤⣀⣠⠤⠴⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡔⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⠞⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⢳⣀⠀⠀⠀⠀⣠⠤⠖⠈⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⠒⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
-
Museum Experience
- Guided journey through themed exhibits
- Narrative-driven interaction with a virtual guide (Félix)
-
Personalized Risk Scoring
- Category-based quizzes (Auto, Home, Life)
- Dynamic scoring system (API + local fallback)
-
Visual Risk Portraits
- Each exhibit generates a framed “portrait”
- Final triptych combines all results into one cohesive visualization
-
AI-Powered Insights
- Key risk drivers explained
- Tailored recommendations for improvement
-
Text-to-Speech Narration
- Backend-powered audio narration for immersive storytelling
-
Local Storage Gallery
- Saves previous results to simulate a persistent gallery
- HTML, CSS, JavaScript
- Dynamic DOM manipulation
- Custom animations and UI transitions
- Python (Flask)
- REST API endpoints for:
- Risk scoring (
/api/risk/auto,/home,/life) - Overall analysis (
/api/risk/overall) - Text-to-speech (
/api/audio/narrate)
- Risk scoring (
- LLM-generated:
- Risk explanations
- Recommendations
- Narrative feedback
- User enters the experience and is guided through exhibits
- Each exhibit presents a short quiz
- Answers are:
- Processed locally OR
- Sent to backend APIs for scoring
- A visual “portrait” is generated per category
- AI generates:
- Overall narrative
- Key drivers
- Improvement suggestions
- Normalized scoring across all categories (0–100)
- Higher scores = higher risk
- Includes:
- Backend scoring via API
- Local fallback scoring (
computeLocalScore) for reliability
git clone https://github.com/your-repo/fate-framed.git
cd fate-framedpip install -r requirements.txt
python app.py