Who are you, really? Not your name. Not your age. Your behavior.
DBIP builds a dynamic digital identity for every user β not from boring surveys, but from how they actually behave. Every click, every preference, every micro-decision shapes who they are in the system. Companies can then use these identities to simulate real user responses before launching a product.
| Feature | Description |
|---|---|
| π Auth | Register & login with JWT-secured sessions |
| π±οΈ Interactions | Submit micro-interactions (category, price, brand, decision speed) |
| 𧬠Identity Engine | Rule-based engine computes your behavioral profile in real-time |
| π Dashboard | Visualize your identity with radar charts and category bars |
| π’ Simulation | Companies input a product and see predicted Like / Neutral / Dislike across all users |
No ML. No black box. Pure logic β transparent and explainable.
Price Sensitivity β majority of price range choices (low = high sensitivity)
Brand Preference β majority of branded vs generic choices
Decision Style β avg decision time < 10s = Fast, > 20s = Slow
Category Interests β top 3 most interacted categories
Every new interaction instantly updates the profile. Watch your identity evolve in real-time.
Backend (Flask, no database needed β runs fully in memory)
cd backend
pip install -r requirements.txt
python app.py
# API live at http://localhost:8000Frontend (React + Vite)
cd frontend
npm install
npm run dev
# App live at http://localhost:5173Four pre-loaded users with randomized interaction histories β ready to explore on first launch.
| Password | |
|---|---|
| alice@demo.com | password123 |
| bob@demo.com | password123 |
| carol@demo.com | password123 |
| dave@demo.com | password123 |
digital-behavioral-identity/
βββ backend/
β βββ app.py # Flask entry point
β βββ store.py # In-memory data store + demo seed
β βββ config.py # JWT config
β βββ engine/
β β βββ identity_engine.py # Rule-based identity + simulation logic
β βββ routes/
β βββ auth.py # Register / Login / Me
β βββ interactions.py # Record interactions
β βββ identity.py # Fetch identity profile
β βββ simulation.py # Product simulation across users
βββ frontend/
βββ src/
βββ components/
β βββ Auth/ # Login & Register UI
β βββ Dashboard/ # Identity profile + charts
β βββ Interactions/ # Micro-interaction form
β βββ Simulation/ # Company simulation panel
βββ api/client.js # Axios instance with JWT interceptor
- Frontend β React 18, React Router, Recharts, Axios
- Backend β Python 3, Flask, PyJWT, bcrypt
- Storage β In-memory (prototype) β no database required
Final year project demonstrating the concept of behavioral identity profiling β a privacy-conscious alternative to traditional user surveys, where identity emerges naturally from interaction patterns.
Made with curiosity π§