Benjamin Admin
d339d1edc7
feat(iace): Sprint 4B — ISO 12100 Hazard/Situation/Harm Trennung
ISO 12100 trennt: Hazard (Quelle) → Hazardous Situation (Person exponiert) → Harm (Verletzung).
Bisher war alles in einem Hazard-Record vermischt.
Implementierung als abgeleitetes Feld (keine DB-Migration noetig):
- HazardType Feld auf Hazard Entity ("hazard"|"hazardous_situation"|"harm")
- DeriveHazardType() berechnet Typ aus Scenario/PossibleHarm/Category
- Explizites Override moeglich (HazardType direkt setzen)
- GeneratedHazardType auf HazardPattern fuer Pattern-gesteuerte Zuweisung
- Store: GetHazard/ListHazards setzen HazardType automatisch
- Init-Handler: Fuellt jetzt TriggerEvent, PossibleHarm, AffectedPerson, HazardousZone
aus Pattern-Match-Daten (vorher leer gelassen)
6 neue Tests: ScenarioAndHarm, HarmOnly, CategoryOnly, ExplicitOverride,
EmptyFallback, PatternMatchField
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-10 20:55:26 +02:00
..
2026-02-25 22:27:06 +01:00
2026-02-25 22:27:06 +01:00
2026-04-19 10:03:44 +02:00
2026-03-16 12:50:53 +01:00
2026-04-19 10:03:44 +02:00
2026-05-07 15:07:22 +02:00
2026-05-09 07:25:39 +02:00
2026-05-09 07:25:39 +02:00
2026-05-09 21:32:23 +02:00
2026-05-05 09:29:03 +02:00
2026-05-09 21:32:23 +02:00
2026-05-07 14:23:15 +02:00
2026-04-19 09:29:54 +02:00
2026-04-19 09:29:54 +02:00
2026-04-19 09:29:54 +02:00
2026-04-19 09:29:54 +02:00
2026-03-16 13:15:31 +01:00
2026-04-19 09:29:54 +02:00
2026-03-15 23:13:41 +01:00
2026-05-10 09:15:43 +02:00
2026-04-19 09:35:02 +02:00
2026-04-19 09:35:02 +02:00
2026-04-19 09:35:02 +02:00
2026-04-19 09:29:54 +02:00
2026-04-19 09:29:54 +02:00
2026-04-19 09:29:54 +02:00
2026-04-19 09:29:54 +02:00
2026-04-19 09:35:02 +02:00
2026-04-19 09:35:02 +02:00
2026-04-19 09:35:02 +02:00
2026-03-15 23:13:41 +01:00
2026-04-19 09:35:02 +02:00
2026-05-10 20:55:26 +02:00
2026-05-07 13:31:23 +02:00
2026-05-07 10:53:26 +02:00
2026-05-10 08:43:21 +02:00
2026-05-10 08:43:21 +02:00
2026-05-10 08:22:55 +02:00
2026-05-07 13:31:23 +02:00
2026-05-07 14:15:37 +02:00
2026-05-07 14:15:37 +02:00
2026-05-07 14:01:46 +02:00
2026-05-07 10:53:26 +02:00
2026-05-07 10:53:26 +02:00
2026-05-07 13:31:23 +02:00
2026-05-07 10:53:26 +02:00
2026-04-19 10:03:44 +02:00
2026-05-07 10:53:26 +02:00
2026-05-07 10:53:26 +02:00
2026-05-07 14:05:58 +02:00
2026-04-19 10:03:44 +02:00
2026-05-07 14:29:10 +02:00
2026-05-07 14:29:10 +02:00
2026-05-07 14:29:10 +02:00
2026-05-07 14:29:10 +02:00
2026-05-07 10:53:26 +02:00
2026-05-07 14:01:46 +02:00
2026-05-07 13:31:23 +02:00
2026-05-07 14:01:46 +02:00
2026-05-10 08:22:55 +02:00
2026-05-07 10:53:26 +02:00
2026-05-07 14:01:46 +02:00
2026-05-10 08:22:55 +02:00
2026-05-07 14:01:46 +02:00
2026-05-07 13:31:23 +02:00
2026-05-09 08:30:45 +02:00
2026-05-07 10:53:26 +02:00
2026-05-07 14:01:46 +02:00
2026-05-07 13:55:15 +02:00
2026-03-16 08:50:11 +01:00
2026-05-07 10:53:26 +02:00
2026-05-10 08:52:56 +02:00
2026-05-07 13:31:23 +02:00
2026-05-07 13:55:15 +02:00
2026-05-07 10:53:26 +02:00
2026-03-16 10:22:49 +01:00
2026-05-09 08:30:45 +02:00
2026-05-10 09:15:43 +02:00
2026-05-10 07:07:34 +02:00
2026-05-10 08:43:21 +02:00
2026-05-10 07:07:34 +02:00
2026-05-10 07:07:34 +02:00
2026-05-10 07:07:34 +02:00
2026-05-10 07:07:34 +02:00
2026-05-10 08:52:56 +02:00
2026-05-10 09:15:43 +02:00
2026-05-10 09:15:43 +02:00
2026-05-10 20:55:26 +02:00
2026-05-07 10:53:26 +02:00
2026-05-10 20:55:26 +02:00
2026-05-10 08:05:02 +02:00
2026-05-07 13:24:33 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-09 07:58:58 +02:00
2026-05-10 08:22:55 +02:00
2026-05-10 20:55:26 +02:00
2026-05-10 20:55:26 +02:00
2026-05-10 09:15:43 +02:00
2026-05-05 09:29:03 +02:00
2026-05-08 01:49:14 +02:00
2026-04-19 09:35:02 +02:00
2026-05-08 01:02:41 +02:00
2026-04-19 09:35:02 +02:00
2026-05-10 20:55:26 +02:00
2026-05-07 10:53:26 +02:00
2026-05-08 07:03:44 +02:00
2026-05-09 10:47:01 +02:00
2026-04-19 09:29:54 +02:00
2026-03-16 10:22:49 +01:00
2026-05-10 08:43:21 +02:00
2026-03-16 10:22:49 +01:00
2026-05-05 09:29:03 +02:00
2026-04-19 10:03:44 +02:00
2026-04-19 10:03:44 +02:00
2026-05-08 01:02:41 +02:00
2026-03-16 13:15:31 +01:00
2026-04-19 10:03:44 +02:00
2026-03-16 12:50:53 +01:00