( Case study · AI system )
FraudGuard
Real-time fraud scoring where every flag comes with a reason.
- Role
- Design and build
- Type
- Fraud detection engine
- Stack
- Django, Celery, Channels, Postgres, Redis, scikit-learn, Next.js

( Overview )
A fraud alert is only useful if an analyst can trust it. FraudGuard scores every transaction in real time and shows exactly which signals fired and how much each one added.
( How it works )
- 01Explainable rules (velocity, impossible travel, spending against the account's own history) score each transaction alongside an Isolation Forest model.
- 02Alerts stream live to a Next.js analyst console over WebSockets.
- 03Analyst decisions become training labels. A challenger model is retrained and only promoted if it beats the current one.
- 04Every decision is written to an audit trail.
( Tested honestly )
On the public ULB credit-card dataset, amount-only features barely beat chance, while the same algorithm on the full behavioural features reaches a ROC-AUC of 0.94. That result shaped the design: per-account baselines and explainable rules carry the weight, and the model's score is a supporting signal.
| Features | ROC-AUC |
|---|---|
| Amount-only features | 0.53 |
| Full behavioural features | 0.94 |
Source: the project's published benchmark on the ULB credit-card dataset.
( Details )
- Deployed on free tiers: Render, Neon, Upstash and Vercel, with a weekly retrain on GitHub Actions.