Case Study: Compliance Compass
A developer-focused intelligence tool that scores the legal risk of public data sources before collection begins.
The Problem: The Pre-Collection Blind Spot
Every data-driven project begins with a simple question: "Can I legally use this data?" Answering it involves hours of sifting through dense Terms of Service documents—a process that is slow, tedious, and outside the core competency of most developers.
This creates a dangerous blind spot. A missed clause can lead to costly consequences, from IP bans to potential lawsuits. I wanted to build a firewall for this problem: a tool that provides legal clarity before a single line of collection code is written.
The Solution: A Digital "Go / No-Go" Signal
The answer was Compliance Compass, a full-stack intelligence platform designed to give developers an instant, data-driven signal. The architecture was designed to be both powerful and performant, separating the heavy lifting from the user experience.
The Architecture & Tech Stack
The Engine (Python & FastAPI)
I built a robust backend using Python and FastAPI, chosen for its raw speed and ease of creating secure REST APIs. The core of the system is a data pipeline powered by Scrapy and Playwright, which intelligently crawls target sites to parse legal documents.
The AI Core (Scikit-learn)
The extracted text is fed into a lightweight Scikit-learn model that I trained to classify the document's risk level, providing the core compliance score. This demonstrates the power of classic ML for targeted, efficient problem-solving.
The Experience (React & Next.js)
A tool designed for developers needs to be fast and feel modern. I built the frontend using React and Next.js, styled with Tailwind CSS. The interface provides a clean, interactive dashboard where users can get the information they need without delay.
The Outcome: Clarity, Speed, and Confidence
The result is a seamless, deployed application live at compliancecompass.tech.
Compliance Compass successfully transforms a complex, high-risk problem into a simple, instant API call. It empowers developers to move faster and with greater confidence, drastically reducing legal exposure and saving invaluable engineering time. This project was a journey through every layer of the modern tech stack and stands as a testament to building the right tool for a specific, high-stakes problem.
Tech Stack
Python
FastAPI
React
Next.js
Scikit-learn
Playwright
Scrapy
Docker
Tailwind CSS