Skip to content
← WORK
POC

ClaimCPU — Claims Rule Engine Platform

Client-facing claims decisioning platform with dataset ingestion, rule evaluation, tree-based scoring, RBAC, and tenant-isolated analytics.

ROLE
Product / Technical Architect + Full-stack Engineer
DOMAIN
Insurance claims
STATUS DURING MY WORK
POC
MY CONTRIBUTION
2025 — AUG 2026
STACK
React · Vite · TypeScript · Supabase · PostgreSQL · Edge Functions · Jotai · Recharts · SQL / RLS

My contributions to ClaimCPU ended when I left eData in August 2026. The implementation and roadmap described here reflect my period of involvement.

architecture: claimcpu-claims-rule-engine
DATASET UPLOADCOLUMN ALIGNRULE ENGINETREE SCORINGEXPLANATIONDASHBOARD

PROBLEM

Insurance teams need a structured way to upload claim datasets, define rule sets, evaluate claims against them, visualize how a score was reached, and expose controlled detection APIs to clients — all while keeping each company's data strictly isolated.

MY ROLE

I owned product thinking as well as engineering: milestone planning, the data model, the rule evaluation engine, the Supabase Edge Function layer, the React frontend, and the RBAC/multi-tenancy design. My work focused on converting an internal tool into a client-facing platform.

SOLUTION ARCHITECTURE

  • Claims tree parsing and evaluation engine — rules compose into trees, and every score traces to a path through them
  • Ruleset operations and risk classification
  • Dataset upload with column-alignment functions, so client CSVs map cleanly onto the engine's schema
  • Supabase Edge Functions for processing and metrics
  • Company-scoped data model enforced with PostgreSQL row-level security
  • Admin and client roles, with an OTP authentication plan
  • Detection API surface and a pipeline visualizer planned on the roadmap during my involvement
  • Audit-friendly logging throughout

TECHNICAL DECISIONS

RLS as the tenancy boundary. Tenant isolation is enforced in the database with row-level security, not in application code — a client can't query another company's claims even if the app layer has a bug.

Explainable scoring. Tree-based evaluation means every risk score has a visible path: which rules fired, in what order, with what weights. For a decisioning product in insurance, "the model said so" is not an acceptable answer.

Edge Functions over a separate backend. Keeping evaluation and metrics in Supabase Edge Functions kept the deployment surface small while the product took shape.

IMPACT

My work covered the transition from an internal tool toward a multi-tenant, client-facing product: architecture, security model, API design, and frontend. It demonstrates product and engineering ownership, with the detection API and pipeline visualizer documented as roadmap items rather than completed capabilities.

WHAT I LEARNED

Multi-tenancy is a design constraint you adopt on day one or retrofit painfully. Starting from company-scoped tables and RLS shaped every later decision — auth, APIs, even how dashboards aggregate.

Multi-tenant

Company-scoped data isolation via RLS

Tree-based

Claims scoring with visualized paths

Explainable

Rule paths behind claims scores