Autonomous, Self-Evolving
RTO & COD Fraud Defense
Self-evolving AI that discovers, verifies, and deploys Python AST fraud rules in under 2 minutes—stopping courier RTO losses and protecting razor-thin e-commerce margins without manual rule engineering.
₹22,734 validation rebound + ₹2,458 held-out test profit
2,588 of 2,641 orders auto-decided with zero online LLM lag
High fraud concentration for human analysts; zero cherry-picking
Exceeds 22.26% break-even hurdle on isolated Days 76–89 test split
Closed-Loop Autonomous Architecture (Fully Expanded Vertical Flow)
Scroll vertically to follow the full defense lifecycle. Pan horizontally to inspect full outer loops. Click any stage for a clear plain-language breakdown.
Data Protection & Leakage Safeguards
`orders_train` (Days 0–55), `orders_validation` (Days 56–75), and `orders_held_out_test` (Days 76–89) reside in physically isolated SQL tables to prevent data leakage during rule evolution.
All candidate rules execute in a restricted Python Abstract Syntax Tree (AST) evaluator without filesystem, network, `eval()`, or `exec()` access, guaranteeing zero arbitrary code execution.
The 2,641 held-out test orders (Days 76–89) are evaluated exactly once at Gate 2 verification. No training iteration, feedback reflector, or hyperparameter search ever accesses test data.
Random decoy columns (`device_model_name`, `app_theme_color`) with zero causal link are injected into training. Gate audits immediately reject any rule referencing decoys.
Every rule must exceed the mathematical break-even precision hurdle (₹250 logistics vs 15% customer insult cost = 22.26% minimum precision) to ensure positive merchant unit economics.
Residual mining clusters enforce a mandatory 3-round cooldown per feature combination to avoid cycling or over-mutating on transient single-day false-negative spikes.
How Aegis Evolved: Genesis to Production Proof
Click through the 4 phases below to trace how the engine adapted to concept drift and verified its performance.
Genesis Baseline
The Generator & Reflector agents analyzed early baseline fraud patterns (simple device reuse and low-value impulse orders) to create a verified 3-rule ensemble without seeing any future drift.
Core Subsystem Modules
Directly inspect and test individual components of the fraud defense engine.
Knowledge Graph Lineage
Interactive DAG of hypothesis rules across 5 rounds, Reflector mutation lineages, and Python AST code.
Residual Mining & Discovery
Scans 5-day mature orders for missed RTOs, clusters patterns (p < 0.05), and enforces cooldowns.
Scientific Ablation Matrix
3-way neutral comparison (Models A, C, B) with 2,000 paired bootstrap CIs and Section 4.8 GBDT baseline.
Interactive Playground
Simulate synthetic transactions across Easy, Medium, and Hard tiers with live rule execution rationales.
Real-Time Spike Monitor
Sliding-window binomial Z-scores and CUSUM change-points tracking live scoring events with zero label lag.
Analyst Review Queue
Triage queue for borderline risk orders (0.35–0.70 score), enriched with 47.17% RTO risk concentration.