Learn
Product

Anomaly Detection

How SubOps' deterministic rule engine finds settlement variances — no AI guessing, every finding backed by evidence.

Last updated

import { Cards, Card } from "fumadocs-ui/components/card";

Anomaly Detection

SubOps finds settlement variances using a deterministic rule engine — not probabilistic AI. 25+ rules cross-reference your settlement data against contractual rates, known patterns, and your own historical baselines. Every finding links back to specific source document rows.

How the rules engine works

ComponentWhat it does
Rule library25+ rules organized in families: stop-level, fuel/SCA, adjustment/clawback, and contractual-rate
Evidence graphEach rule execution is a directed edge connecting a source document location → a calculation → a finding
Severity modelEvery finding is classified as Critical, High, Medium, or Low based on dollar impact and confidence
Review workflowFindings flow through a review queue — confirm, dismiss, or escalate each one

Why deterministic matters

Key point: SubOps' rule engine is deterministic, not AI. An LLM never calculates a dollar value that goes into a finding. Standard settlement PDFs parse through structured deterministic validation first; AI is used only for unknown layouts, degraded scans, and other messy edges. The rule layer uses TypeScript math to verify data against contracts, baselines, and patterns. This separation means every dollar figure is reproducible — run the same rule on the same data, get the same result.

Severity model

SeverityTriggerExample
Critical$500+ variance with high confidenceMisapplied fuel surcharge across 15 routes
High$100–$499 variance, or pattern recurrenceDuplicate stop adjustment on 3 routes
Medium$25–$99 varianceSingle misclassified accessorial
LowLess than $25 variance, or insufficient dataPossible rounding discrepancy

Review workflow

  1. Findings appear in your queue with severity, dollar impact, and source-linked evidence
  2. You review each finding — the evidence pack shows the exact PDF row, the rule calculation, and the variance
  3. You decide — confirm the finding (adds it to your recovery ledger), dismiss it (with a reason), or escalate it (flags for deeper review)
  4. You export — confirmed findings become dispute-ready evidence packs for your BC

Note: The rules catalog is continuously refined as new FedEx settlement patterns emerge. Each rule has a unique identifier (R001–R025) and a documented scope, so you always know what's being checked.