Benjamin Admin
fa45b5793c
feat: Control Library check via SQL (canonical_controls) instead of Qdrant
...
Complete rewrite of rag_document_checker.py:
- Queries canonical_controls table (294K controls, 10K data_protection)
- Filters by category + title keywords per document type
- Uses test_procedure field as actual check instructions
- Regex pre-check extracts key terms from procedure → fast match
- LLM fallback only for regex misses (saves tokens)
- /no_think prefix for direct JSON output
SQL approach advantages:
- Structured data with test_procedure, pass_criteria, fail_criteria
- Category filtering (data_protection, compliance, governance)
- No Qdrant API key issues
- Controls are actual check criteria, not general legal texts
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-05-06 20:26:56 +02:00
..
2026-02-11 23:47:28 +01:00
2026-05-02 19:52:04 +02:00
2026-04-07 19:47:29 +02:00
2026-03-07 19:00:33 +01:00
2026-03-21 11:49:43 +01:00
2026-03-23 17:15:45 +01:00
2026-04-07 13:18:29 +02:00
2026-04-07 18:39:40 +02:00
2026-04-07 18:39:40 +02:00
2026-04-07 13:18:29 +02:00
2026-04-07 18:52:31 +02:00
2026-05-02 19:52:04 +02:00
2026-05-02 19:52:04 +02:00
2026-03-24 08:48:58 +01:00
2026-04-07 19:53:55 +02:00
2026-03-21 11:49:43 +01:00
2026-04-07 19:47:29 +02:00
2026-03-17 09:00:37 +01:00
2026-03-24 07:06:38 +01:00
2026-04-10 11:23:43 +02:00
2026-03-23 17:15:45 +01:00
2026-03-23 17:15:45 +01:00
2026-05-02 20:06:57 +02:00
2026-03-28 17:24:19 +01:00
2026-05-04 23:22:30 +02:00
2026-05-04 23:22:30 +02:00
2026-04-28 16:05:35 +02:00
2026-04-10 11:23:43 +02:00
2026-04-10 11:23:43 +02:00
2026-05-06 10:08:40 +02:00
2026-04-10 11:23:43 +02:00
2026-05-02 19:52:04 +02:00
2026-04-08 22:39:19 +02:00
2026-04-08 22:39:19 +02:00
2026-04-08 21:59:03 +02:00
2026-04-07 13:18:29 +02:00
2026-03-23 12:11:55 +01:00
2026-04-09 08:35:57 +02:00
2026-04-09 08:35:57 +02:00
2026-04-10 11:23:43 +02:00
2026-04-10 11:23:43 +02:00
2026-04-10 11:23:43 +02:00
2026-04-10 11:23:43 +02:00
2026-05-04 23:22:30 +02:00
2026-04-09 08:47:56 +02:00
2026-04-09 20:04:16 +02:00
2026-03-12 19:55:06 +01:00
2026-03-25 23:25:14 +01:00
2026-05-04 23:22:30 +02:00
2026-03-23 17:15:45 +01:00
2026-04-10 11:23:43 +02:00
2026-04-10 11:23:43 +02:00
2026-03-21 11:49:43 +01:00
2026-03-17 09:00:37 +01:00
2026-02-11 23:47:28 +01:00
2026-03-17 09:00:37 +01:00
2026-03-21 11:49:43 +01:00
2026-05-06 20:26:56 +02:00
2026-04-10 11:23:43 +02:00
2026-04-07 13:18:29 +02:00
2026-04-07 13:18:29 +02:00
2026-03-21 11:49:43 +01:00
2026-04-07 20:03:16 +02:00
2026-03-07 19:00:33 +01:00
2026-05-04 23:34:00 +02:00
2026-03-12 19:55:06 +01:00
2026-04-27 23:28:21 +02:00
2026-04-07 19:58:02 +02:00
2026-04-07 19:42:17 +02:00
2026-03-26 11:13:37 +01:00
2026-05-02 19:52:04 +02:00
2026-04-10 11:23:43 +02:00
2026-04-10 11:23:43 +02:00
2026-04-10 11:23:43 +02:00
2026-04-07 19:50:40 +02:00
2026-05-05 18:21:37 +02:00