Project Details
Project Information
- Category: Finance, AI, Security (LGPD) & RPG Gamification
- Technologies: Python 3.11+, Streamlit, SQLAlchemy (SQLite Multi-Tenant), Scikit-Learn, SciPy, Plotly, Bcrypt, Cryptography (Zero-Knowledge), Rembg/Pillow, Pytest, Docker
- Status: In Production (Continuous Evolution) | Personal Product (250+ automated tests)
- Project Link: patrimonium.datadevmaia.com.br
- Source Code: Private / Proprietary (architectural walkthrough available on request for recruiters)
- Project Contact: Enable JavaScript to view
Patrimonium: The 20 Realms
Traditional personal finance apps suffer from high churn rates because repetitive manual tracking creates cognitive friction. Patrimonium: The 20 Realms was engineered to solve this end to end, combining analytical depth for personal and family wealth management with behavioral economics and an illustrated RPG journey across 20 progressive Realms in 4 thematic Acts — plus post-game surprises waiting to be discovered.
Under the hood, the platform follows Clean Architecture and Domain-Driven Design (DDD), decoupling pure domain logic, atomic persistence, and UI layers. It enforces physical Database-per-Tenant isolation aligned with LGPD, a Zero-Knowledge Vault, Hybrid 2FA (TOTP, backup codes, and email), 100% local Machine Learning models validated with K-Fold cross-validation and Paired T-Tests, and a dedicated Computer Vision pipeline for RPG sprite and visual-effect processing.
For technical evaluators and recruiters, the application provides a Zero-Account Demo Mode (PT/EN) running entirely in memory: explore interactive dashboards, AI classifiers, and the full Level 1 simulator (Stages 1–15) with no signup required and zero exposure of real account data.
Recruiters (architectural walkthrough), Beta access inquiries, and commercial partnership requests can reach out directly via the dedicated project email.
Main Features
RPG Gamification: The 20 Realms
Modern illustrated fantasy art with a GPU-animated turn-based combat arena, 4 party topologies (Solo or Couple, with or without a Squire), an interactive World Map with fog of war, Bestiary, shareable QR Social Card, and hidden rewards for advancing across the realms.
Local AI & Statistical Validation
NLP pipeline (TF-IDF) and multiple Scikit-Learn classifiers trained locally to
categorize expenses and validate transaction signals, backed by K-Fold cross-validation, Paired
T-Test (p < 0.05), and Confusion Matrix diagnostics.
Enterprise Security, LGPD & Multi-Tenancy
Physical Database-per-Tenant isolation (SQLite database, RPG state, AI models, and backups isolated per family), Zero-Knowledge Vault, Hybrid 2FA (TOTP + backup codes + email), Bcrypt with rate limiting, and HMAC-SHA256 signed sessions.
DDD Architecture, Tests & Safe Demo Mode
Decoupled domain built with Clean Architecture and Facade, Repository, FSM, and Builder patterns, covered by 250+ automated tests, CI static security analysis (Bandit SAST), and a 100% in-memory Demo Sandbox.
Universal Ingestion & Interactive Dashboards
Automated parsing of .ofx bank statements, .xlsx spreadsheets (BACEN
institution mapping), and B3 data with LGPD PII masking, OWASP Formula Injection sanitization,
and interactive Plotly visualizations.
Computer Vision Asset Pipeline
Hybrid vision pipeline combining neural segmentation (Rembg U2-Net),
Alpha Unpremultiplication math, and Surgical Despill to cleanly extract
sprites and translucent magical effects into WebP.