Regulated Finance
Banking and asset-management problems seen through an engineering lens: KYC, AML, attribution, regulatory text.
2026
The Verhoeff algorithm: validating Aadhaar numbers at the ingestion edge
Every Aadhaar number carries its own tamper-evidence: the 12th digit is a Verhoeff check digit, computed from group theory rather than modular arithmetic. That makes it something a data engineer can exploit — a free, offline data-quality gate that catches typos, OCR misreads, and truncated numbers before they poison a customer dimension.
5 min read
Explaining the extra 2%: performance attribution as an Airflow pipeline
Fund managers live and die by whether they beat their benchmark — and by being able to say why. The math behind that answer is a clean three-factor decomposition, and it turns out to be a near-perfect fit for a pandas + Airflow pipeline with dynamic task mapping across dimensions.
7 min read