From 852f9da7030d76d26f4cb351949df2bb8caf057d Mon Sep 17 00:00:00 2001 From: flemming-it Date: Thu, 18 Jun 2026 13:18:30 +0200 Subject: [PATCH 1/2] =?UTF-8?q?fix(ui):=20sort=20evaluations=20by=20SKM=20?= =?UTF-8?q?=E2=82=AC/year=20descending?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Repository.list() now hands the UI a list sorted by the harm proxy (Studie §6 SKM-€/Jahr). Most-harmful first, deterministic across launches and across mock-vs-hub repositories. Removes the perceived non-determinism in the Norms list and gives the heatmap chip-wrap a politically meaningful first row. Signed-off-by: flemming-it --- app/lib/data/repository.dart | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/lib/data/repository.dart b/app/lib/data/repository.dart index 1ef272b..9dabf48 100644 --- a/app/lib/data/repository.dart +++ b/app/lib/data/repository.dart @@ -19,8 +19,17 @@ abstract class EvaluationRepository { class MockRepository implements EvaluationRepository { const MockRepository(); + /// Sorted copy of [Fixtures.evaluations], most-harmful first + /// (Studie §6 SKM-€/Jahr as harm proxy). The sort is in + /// repository.list() rather than the fixture declaration so + /// future Hub-fed lists stay consistent without re-tuning the + /// UI. @override - Future> list() async => Fixtures.evaluations; + Future> list() async { + final sorted = [...Fixtures.evaluations]; + sorted.sort((a, b) => b.skmEurPerYear.compareTo(a.skmEurPerYear)); + return sorted; + } @override Future byEli(String eli) async { From 90b7500aafd260cbb45168644d7b50a1145cac9d Mon Sep 17 00:00:00 2001 From: flemming-it Date: Thu, 18 Jun 2026 13:18:30 +0200 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20drop=20'vormals=20F=E2=88=86I-Platt?= =?UTF-8?q?form'=20legacy=20clarification?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Ch∆In rename is months old and the AG audience never knew the previous name. Calling out 'vormals …' in three places — the study header, the glossary, and the About page — added noise without informing anyone. Ch∆In stands on its own. Signed-off-by: flemming-it --- MACHBARKEITSSTUDIE.md | 4 ++-- app/lib/pages/about_page.dart | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/MACHBARKEITSSTUDIE.md b/MACHBARKEITSSTUDIE.md index b63528d..c1603d0 100644 --- a/MACHBARKEITSSTUDIE.md +++ b/MACHBARKEITSSTUDIE.md @@ -4,7 +4,7 @@ > Auftraggeber-Kontext: MIT AG Digitalisierung & KI-Strategien (Vorsitz Dr. S. Flemming), > Zielabnehmer der Vorschläge: MIT AG Entbürokratisierung > Frontend-Ziel: Integration in cdu-copilot (Flutter, ggf. via Ch∆In Studio), eigenständige Web-Sicht zusätzlich -> Plattformbasis: **Ch∆In** (vormals „F∆I-Plattform" / `fai_platform`) — Hub/Module/Flow, WASM-Sandbox, tamper-evidentes Audit-Log; Vendor weiterhin **F∆I = Flemming.AI** +> Plattformbasis: **Ch∆In** — Hub/Module/Flow, WASM-Sandbox, tamper-evidentes Audit-Log. Vendor: **F∆I = Flemming.AI** > Status: Entwurf v0.3 — Diskussionsgrundlage AG-intern, noch nicht öffentlich (Plattform-Rename eingearbeitet 2026-06-17) --- @@ -890,7 +890,7 @@ liegt dann woanders. - **ELI**: European Legislation Identifier (eli.dlri.de / EUR-Lex) - **CELEX**: EU-Dokumenten-ID-System - **REFIT**: EU-Programm zur Regulatorischen Eignungsprüfung -- **Ch∆In** (CLI: `chain`, vormals F∆I-Plattform): Orchestrierungs-Plattform unter `fai_lawheatmap`. Vendor: **F∆I = Flemming.AI**. +- **Ch∆In** (CLI: `chain`): Orchestrierungs-Plattform unter `fai_lawheatmap`. Vendor: **F∆I = Flemming.AI**. - **Hub / Module / Flow**: Ch∆In-Server (`chain serve`), WASM-Komponente (ABI `chain:platform`), YAML-Workflow - **RAG**: Retrieval Augmented Generation — LLM mit verpflichteter Quelleneinbindung - **Hochrisiko-KI (EU AI Act)**: KI-System, das Rechtsfolgen für Personen diff --git a/app/lib/pages/about_page.dart b/app/lib/pages/about_page.dart index c217db6..e7434f7 100644 --- a/app/lib/pages/about_page.dart +++ b/app/lib/pages/about_page.dart @@ -88,10 +88,10 @@ class AboutPage extends StatelessWidget { Text('Plattform', style: t.headlineSmall), const SizedBox(height: LawHeatmapSpace.sm), Text( - 'Ch∆In v0.16.0 (vormals F∆I-Plattform) — Vendor: ' - 'F∆I = Flemming.AI. Hub. Module. Flow. Deterministisch, ' - 'WASM-sandboxed, tamper-evident Audit-Log ' - '(CHAIN-EVENT-V3), Apache 2.0, CRA-ready.', + 'Ch∆In v0.16.0 — Vendor: F∆I = Flemming.AI. ' + 'Hub. Module. Flow. Deterministisch, WASM-sandboxed, ' + 'tamper-evident Audit-Log (CHAIN-EVENT-V3), ' + 'Apache 2.0, CRA-ready.', style: t.bodyLarge?.copyWith(height: 1.6), ), ],