RedFlag Rehearsal
A Python rehearsal engine for evaluating candidate regex rules with AST import/attribute gates, Unicode text normalization, subprocess timeouts, precision/recall scoring and rollback state.
- Period
- October 2026
- Release
- Public source project
- Work type
- Independent open-source project
- Development
- AI-assisted, with verification
What I built
A Python rehearsal engine for evaluating candidate regex rules with AST import/attribute gates, Unicode text normalization, subprocess timeouts, precision/recall scoring and rollback state.
Developed with AI coding assistance. Source code, reproduction instructions and tests are available in the linked repository.
What was checked
27 automated pytest checks passed locally on 2 November 2026.
Verification date: 2 November 2026. Tests cover the included fixtures and do not establish production performance.
What this demonstrates
AST checks and subprocess timeouts provide a local rehearsal gate for reviewed rules; they do not form an OS-level security sandbox for untrusted code.
All projects