From 5b911adc3f8c9aa65d855f2935f877f14c8d162f Mon Sep 17 00:00:00 2001 From: Mika Date: Sat, 7 Feb 2026 11:55:56 +0000 Subject: [PATCH] Add policy_eval/tests/data/sample_drift_report.json --- .../tests/data/sample_drift_report.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 policy_eval/tests/data/sample_drift_report.json diff --git a/policy_eval/tests/data/sample_drift_report.json b/policy_eval/tests/data/sample_drift_report.json new file mode 100644 index 0000000..66cb3f1 --- /dev/null +++ b/policy_eval/tests/data/sample_drift_report.json @@ -0,0 +1,41 @@ +{ + "report_id": "sample_001", + "summary": { + "total_policies": 3, + "timestamp": "2024-05-20T14:00:00Z" + }, + "policies": [ + { + "name": "policy_alpha", + "status": "warn", + "details": { + "drift_cause": "threshold drift", + "manual_override": false + } + }, + { + "name": "policy_beta", + "status": "fail", + "details": { + "drift_cause": "invalid ruleset", + "manual_override": true + } + }, + { + "name": "policy_gamma", + "status": "unknown", + "details": { + "drift_cause": null, + "manual_override": false + } + } + ], + "metadata": { + "source": "simulation", + "version": 1.0, + "notes": [ + "Testfall für fehlende Felder und unbekannte Status", + "Validierung von fail/warn/unknown/override-Zählung" + ] + } +} \ No newline at end of file