MerisLabs
Loading...
ARCHITECT: ₦273B+ Litigation Audit System

Project Compass: Ecobank Litigation Audit

Led engineering for a N25M litigation audit system at Jackson, Etti & Edu. Built a Next.js dashboard and automated reporting engine that tracked ₦273B+ in financial exposure across 350+ cases. Solved critical data deduplication challenges preventing a ₦107B overestimation and implemented batch PDF processing (via Puppeteer/Playwright) to automatically generate 500+ page executive reports.

Key Metrics

₦273B+
Financial Exposure Tracked
353+
Litigation Cases
₦107B
Discrepancy Prevented
500+
Pages Auto-Generated
37
Law Firms Evaluated
8s
PDF Generation Time

The Challenge

A Tier-1 Nigerian bank needed to audit 350+ litigation matters across 6 states, tracking financial exposure across multiple currencies (NGN, USD, GBP, EUR). The existing data had 9 duplicate cases across 4 data sources, risking a ₦107B overestimation.

Solution

Built a comprehensive digital infrastructure with Next.js 15, featuring real-time filtering, dynamic financial calculations, cross-reference analysis for deduplication, and an automated PDF report generation engine using Puppeteer and Playwright with batch processing.

Systems Design Patterns

Data Deduplication Engine - Cross-reference analysis preventing financial discrepancies

Batch Processing Pipeline - 5-case batches for PDF generation optimization

Multi-Currency Architecture - Smart formatting with context-aware statistics

Type-Safe Data Layer - Centralized TypeScript types from 4 data sources

Business Impact

  • Prevented ₦107B double-counting error through cross-reference analysis
  • Reduced PDF generation time from hours to 8 seconds with batch processing
  • Standardized data for 37 external law firms with 100+ name variations
  • Enabled real-time filtering by risk level, currency, case status, and litigation theme
Next.js 15TypeScriptTailwind CSSPuppeteerPlaywrightVercel
Meris Labs - Web & Mobile Development