RedFlag Loop
Deterministic marketplace-scam rule-repair demo with preauthored patches, validation gates, rollback, and fixture-based evaluation.
What the source contains
The rule engine normalizes marketplace chat text and evaluates regex and proximity rules. The loop scores preauthored candidate changes on a validation split, rejects regressions, and exports evaluation reports.
Developed with AI coding assistance. The linked source files support the implementation summary.
Review the implementation
Source audit: 15 November 2026. Commit f2c662f514b6. Current CI results.
Evidence limits
The engine evaluates an included labelled chat fixture and applies fixed candidate patches. It does not generate novel repair programs or establish accuracy on real customer conversations.
All projects