Christian Nennemann
439424bd04
Fix security, data integrity, and accuracy issues from 4-perspective review
Security fixes:
- Fix SQL injection in db.py:update_generation_run (column name whitelist)
- Flask SECRET_KEY from env var instead of hardcoded
- Add LLM rating bounds validation (_clamp_rating, 1-10)
- Fix JSON extraction trailing whitespace handling
Data integrity:
- Normalize 21 legacy category names to 11 canonical short forms
- Add false_positive column, flag 73 non-AI drafts (361 relevant remain)
- Document verified counts: 434 total/361 relevant drafts, 557 authors, 419 ideas, 11 gaps
Code quality:
- Fix version string 0.1.0 → 0.2.0
- Add close()/context manager to Embedder class
- Dynamic matrix size instead of hardcoded "260x260"
Blog accuracy:
- Fix EU AI Act timeline (enforcement Aug 2026, not "18 months")
- Distinguish OAuth consent from GDPR Einwilligung
- Add EU AI Act Annex III context to hospital scenario
- Add FIPA, eIDAS 2.0 references where relevant
Methodology:
- Add methodology.md documenting pipeline, limitations, rating rubric
- Add LLM-as-judge caveats to analyzer.py
- Document clustering threshold rationale
Reviews from: legal (German/EU law), statistics, development, science perspectives.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 10:52:33 +01:00
..
2026-03-08 10:52:33 +01:00
2026-03-04 02:20:39 +01:00
2026-03-08 10:52:33 +01:00
2026-03-04 00:48:57 +01:00
2026-03-04 00:48:57 +01:00
2026-03-04 00:48:57 +01:00
2026-03-04 00:48:57 +01:00
2026-03-08 10:52:33 +01:00
2026-02-28 00:36:45 +01:00
2026-03-04 00:48:57 +01:00
2026-02-28 00:36:45 +01:00
2026-03-04 00:48:57 +01:00
2026-03-04 00:48:57 +01:00
2026-03-04 00:48:57 +01:00
2026-03-04 00:48:57 +01:00
2026-03-06 22:17:57 +01:00
2026-03-04 00:48:57 +01:00
2026-03-08 10:52:33 +01:00
2026-02-28 00:36:45 +01:00
2026-02-28 13:37:55 +01:00
2026-03-04 00:48:57 +01:00
2026-03-07 20:52:56 +01:00
2026-03-04 00:48:57 +01:00
2026-03-04 00:48:57 +01:00
2026-03-04 00:48:57 +01:00
2026-03-04 00:48:57 +01:00
2026-03-04 00:48:57 +01:00
2026-03-04 00:48:57 +01:00
2026-03-04 00:48:57 +01:00