PROJECT STUDY

Claim Triage

Keep the evidence ahead of the decision.

A motor-claim review workspace that links documents and photos to policy, repair and fraud checks, so a human officer decides from evidence-linked recommendations.

Explore the build
Illustration of the claim review: a synthetic claim file with a vehicle photo and a marked example damage region, linked photo and repair details, and an officer review checklist with documents organised, policy details checked and a recommendation ready behind a Review evidence button.
Original interface illustration · Synthetic demo data.View larger

At a glance

Industry
Insurance
Capabilities
6
Technologies
12
Year
2026
163/163

Key fields read correctly by OCR and rules on a 50-case synthetic evaluation set

The challenge

A motor claim can arrive as a mixture of phone photos, scanned identity documents, a policy, a workshop estimate and a multi-page PDF.

An officer must check completeness, compare details across documents, assess repair costs and apply authority rules before making a decision.

The hard part is keeping the reasoning visible. A recommendation is only useful when the officer can see what supports it, what is missing and what needs another person's review.

What we built

Claim Triage brings intake, document processing and review into one workspace for policyholders, claims officers, supervisors, the fraud unit and surveyors.

Guided intake

Policyholders and officers upload documents against a checklist for the claim type, with photo guidance and instant quality checks. PDF, JPG, PNG and HEIC files are accepted, up to 50 per claim

Guided intake

Policyholders and officers upload documents against a checklist for the claim type, with photo guidance and instant quality checks. PDF, JPG, PNG and HEIC files are accepted, up to 50 per claim

Evidence the officer can inspect

OCR, page classification and PDF splitting organise the bundle. Extracted values keep their confidence, page and position, so the workbench can highlight the source

Cross-checks and repair estimates

Policy coverage, identity, vehicle details and invoice arithmetic are checked together. A damage segmentation adapter feeds parts, severity rules, the price list and labour rates into a repair cost range, and officers or surveyors can add or correct findings

Integrity and fraud signals

Photo metadata is compared with the incident, and reused photos and documents are found across all claims. A bank account or phone shared by unrelated claimants raises a red flag and appears in the fraud unit's link graph

Review and approval

Officers receive a recommendation with calibrated confidence, net payable and its top three reasons, each linked to the evidence, along with missing-information requests and proposed next steps. Supervisors, the fraud unit and surveyors have their own queues, with explicit authority limits and decision records

Rules operations can change

Versioned decision tables control coverage, deductibles, red flags and routing. Signed webhooks and a core-system adapter support integration

How it works

  1. Intake with quality checks

    Every image gets an instant check for blur, glare, darkness, cropping and resolution at upload, so a policyholder can retake it before submitting. A live checklist shows which documents are still missing.

  2. A durable eleven-step pipeline

    A job queue in the database runs each claim through eleven idempotent steps, from ingest, OCR and page classification through policy lookup, extraction, damage, integrity checks and assessment. Workers scale horizontally with one running job per claim, Temporal can orchestrate the same steps, and a claim whose retries run out goes to a manual queue.

  3. Facts in, decisions out

    Python turns the evidence into plain facts, and versioned GoRules ZEN decision tables turn those facts into checks, flags, a fraud score, net payable, a recommendation and its routing. Each recommendation keeps the facts snapshot and the rule and model versions it used.

  4. Officers decide, with sign-off

    The workbench shows the evidence before the recommendation, and every decision carries a reason code. A fraud signal can send a claim to investigation but cannot decline it, and declines or approvals above an officer's authority need a supervisor or the committee.

  5. Optional, privacy-gated language models

    Language-model features, such as extraction help and claim narratives, are optional, sit behind a privacy gate and fall back to rules or templates, so the review workflow stays useful without a language model.

Engineering insights

A FastAPI API and horizontally scalable workers share PostgreSQL with pgvector and an S3-compatible SeaweedFS object store, with SQLite and an encrypted local folder in development. Optional models such as SigLIP 2, RF-DETR-Seg, LightGBM and PaddleOCR-VL plug in through configuration, without code changes.

Stack by layer

Frontend
  • React
  • TypeScript
  • Vite
  • Tailwind CSS
  • React Router
  • TanStack Query
  • Lucide
  • d3-force
Backend
  • Python
  • FastAPI
  • Uvicorn
  • Pydantic
  • SQLAlchemy
  • Alembic
  • Psycopg
  • HTTPX
  • PyJWT
  • cryptography
  • GoRules ZEN
  • ExifTool
Data
  • PostgreSQL
  • pgvector
  • SQLite
  • SeaweedFS
AI
  • RapidOCR
  • ONNX Runtime
  • PaddleOCR-VL
  • OpenCV
  • PyMuPDF
  • ImageHash
  • RapidFuzz
  • SigLIP 2
  • RF-DETR
  • LightGBM
  • PyTorch
  • Google Gemini
  • Qwen3.5
  • vLLM
  • LiteLLM
Infrastructure
  • Docker
  • Docker Compose
  • nginx
  • Keycloak
  • Temporal
  • GitHub Actions
  1. The recommendation waits for the evidence

    By default, an officer sees the recommendation only after opening at least one page of evidence, counted from the audit events written when a short-lived signed image link bound to that user is used. A random 5 percent of final decisions also goes to a supervisor QA queue, a second guard against rubber-stamping

  2. Rule tables cannot publish a silent miss

    GoRules ZEN treats a malformed cell as no match, so every cell and expression is syntax-checked and every embedded test case must pass before a decision-table version is published, with exactly one live version per key. Each recommendation stores its facts snapshot with the rule and model versions it used, so its outcome can be traced and replayed

  3. A privacy gate that fails closed

    Every language-model step declares whether it sees personal data, and unknown steps count as personal. The free Gemini tier is refused for those steps unless the claim is synthetic or de-identified and the environment is not production. The de-identified narrative payload is scrubbed of ID numbers, phones, e-mails, account numbers and the claim's known names before it leaves, and in production the API refuses to start with an unsafe route, missing encryption keys or SQLite

  4. Fraud signals route claims, never decline them

    Flags combine into a noisy-OR score that can send a claim to the investigation unit but has no path to a decline, and a decline always waits for a different supervisor. Each decision records whether it agreed with the recommendation, which feeds isotonic confidence calibration once a recommendation type has 30 decisions

  5. Blind indexes link claimants without decrypting

    ID numbers, phones and bank accounts are encrypted per field with AES-256-GCM, and keyed HMAC blind indexes stored beside them let red-flag rules and the fraud unit's link graph find a shared account or phone through equality lookups. Files are envelope-encrypted with a data key per object that is bound to its storage key, so ciphertexts cannot be swapped between objects

Design system

Slate and indigo review workbench is a calm, dense, light interface for officers working through evidence, with a narrow mobile-first layout for policyholders. Neutral slate surfaces and a single indigo accent leave colour free to carry meaning, and the interface is bilingual, Bahasa Indonesia first with an English toggle.

Colour palette

  • Indigo accent#4338caPrimary buttons, brand mark, favicon and active tabs
  • Slate ink#0f172aBody text on slate pages and the tint of card shadows and dialog backdrops
  • Pass green#059669Passed checks, satisfied checklist items and fast-track approval
  • Warn amber#f59e0bFields needing review, photo retakes and SLAs under four hours
  • Fail red#b91c1cFailed checks, declines, investigation referrals and overdue SLAs
  • Info sky#0284c7Processing states and extracted-field boxes on page images
  • Colour

    One indigo accent marks primary buttons, the brand and active tabs, beside four semantic scales (pass, warn, fail and info) for checks, recommendations, SLA timers and flags. Damage polygons on photos have their own minor, moderate and severe tones

  • Typography

    System UI fonts with no web-font download, a system monospace for rule expressions, audit codes and IDs, and tabular numerals for money, confidence, SLA timers and fraud scores

  • Components

    Hand-built React components on Tailwind CSS v4 with no component library: status badges that pair every tone with a Lucide icon, native dialog modals that return focus to the opener, WAI-ARIA tabs with arrow keys, an SVG overlay for field boxes and damage polygons, and a d3-force link graph for the fraud unit

  • Accessibility

    Status colour always comes with an icon or text, and a skip link, visible focus rings, polite live toasts and reduced motion are built in

Where this fits

The same pattern applies to document-heavy decisions: organise the evidence, automate repeatable checks and keep human authority clear. Explore our AI solutions, computer vision and business systems, see our insurance work, or discuss your review workflow.

discuss your review workflow

Let’s connect the dots

Let's put these ideas to work.

Share a process, product, or problem you want to improve. We will work through the possibilities together.

Discuss your project