EGPv4
EGPv4 implements the ADISR-style adversarial deliberation workflow for SafeHome:
Evidence Extractor: deterministic rule-based evidence compressionProsecutor: anomaly-seeking, recall-oriented argumentDefender: normal-explanation, precision-oriented rebuttalJudge: asymmetric burden-of-proof final decision
Unlike the earlier serial workflow, EGPv4 explicitly separates:
- anomaly construction
- anomaly rebuttal
- final adjudication
and keeps TP/FP/TN labels out of model-visible inputs.
Quick test
python EGPv4/run_egpv4.py --preview-only --max-episodes 1 --output-dir results/egpv4_preview