From e98a1aefabc997496f2a0b4c5291313283ad7210 Mon Sep 17 00:00:00 2001 From: Mika Date: Sat, 31 Jan 2026 13:07:39 +0000 Subject: [PATCH] Add drift_report_parser/tests/data/sample_drift_report.json --- .../tests/data/sample_drift_report.json | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 drift_report_parser/tests/data/sample_drift_report.json diff --git a/drift_report_parser/tests/data/sample_drift_report.json b/drift_report_parser/tests/data/sample_drift_report.json new file mode 100644 index 0000000..d95c0f5 --- /dev/null +++ b/drift_report_parser/tests/data/sample_drift_report.json @@ -0,0 +1,32 @@ +[ + { + "timestamp": "2024-05-10T14:23:11Z", + "pinned": true, + "unpinned": false, + "decision": "PASS", + "rolling_warn_rate": 0.05, + "counts": "warn:1,fail:0,unknown:0", + "label": "run_001", + "comment": "Baseline run with low drift" + }, + { + "timestamp": "2024-05-12T10:05:32Z", + "pinned": false, + "unpinned": true, + "decision": "WARN", + "rolling_warn_rate": 0.15, + "counts": "warn:3,fail:0,unknown:1", + "label": "run_002", + "comment": "Slight increase in drift metrics" + }, + { + "timestamp": "2024-05-14T08:42:09Z", + "pinned": false, + "unpinned": true, + "decision": "FAIL", + "rolling_warn_rate": 0.35, + "counts": "warn:4,fail:2,unknown:0", + "label": "run_003", + "comment": "Drift threshold exceeded" + } +] \ No newline at end of file