feat(iace): ISO 12100 Anhang B mapping — split noise/vibration + section identifier

Phase 16 of the Klaerungen / risk-assessment polish. Sources from
EN ISO 12100 Anhang B Tabelle B.1 are now first-class:

A) HazardPattern.ISO12100Section identifier (string), persisted only as
   the section number (e.g. "6.3.5.5") — not the norm text. Keeps the
   library urheberrechtlich neutral (DIN/Beuth license). 57 patterns
   labeled today; rest will follow on touch.

B) Category split per ISO 12100 Nr. 4 vs Nr. 5:
   - 16 patterns reclassified noise_vibration -> noise_hazard
   - 7  patterns reclassified noise_vibration -> vibration_hazard
   - 1  pattern (HP228 UV-/Laermexposition) kept multi-cat
   acceptableMeasureCategories now accepts both new aliases plus the
   legacy noise_vibration. Coverage test recognises both as valid.

C) 5 new ISO-12100-Annex-B gap patterns (HP1900-HP1904):
   - HP1900 Vakuum-Verletzung (6.3.5.5)
   - HP1901 Federenergie / elastische Elemente (6.2.10)
   - HP1902 Rutschen/Stolpern auf rauer Oberflaeche (6.3.5.6)
   - HP1903 Hochdruckinjektion (6.3.5.4) — includes clarifying
            "no hand-locating of leaks" question
   - HP1904 Ersticken durch Brustkorbquetschung (6.3.5.2)

The library now mirrors the ISO 12100 Annex B structure for the gaps
the Bremse benchmark surfaced.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-05-17 01:59:16 +02:00
parent b090662524
commit 71d31c914b
23 changed files with 200 additions and 23 deletions
@@ -8,7 +8,7 @@ func builtinEnvironmentPatterns() []HazardPattern {
ID: "HP023", NameDE: "Laermgefahr", NameEN: "Noise hazard",
RequiredComponentTags: []string{"noise_source"},
RequiredEnergyTags: []string{"acoustic"},
GeneratedHazardCats: []string{"noise_vibration"},
GeneratedHazardCats: []string{"noise_hazard"},
SuggestedMeasureIDs: []string{"M091", "M131"},
SuggestedEvidenceIDs: []string{"E01", "E12"},
Priority: 70,
@@ -17,13 +17,14 @@ func builtinEnvironmentPatterns() []HazardPattern {
HarmDE: "Laermschwerhoerigkeit (BK 2301), Tinnitus, Konzentrationsstoerung.",
AffectedDE: "Bedienpersonal, Personen im Umfeld",
ZoneDE: "Gesamter Arbeitsbereich um die Maschine, insbesondere Auslassseite",
ISO12100Section: "6.3.3.2.1",
DefaultSeverity: 3, DefaultExposure: 4,
},
{
ID: "HP024", NameDE: "Vibrationsgefahr", NameEN: "Vibration hazard",
RequiredComponentTags: []string{"vibration_source"},
RequiredEnergyTags: []string{"vibration"},
GeneratedHazardCats: []string{"noise_vibration"},
GeneratedHazardCats: []string{"vibration_hazard"},
SuggestedMeasureIDs: []string{"M092", "M131"},
SuggestedEvidenceIDs: []string{"E01", "E13"},
Priority: 65,
@@ -32,13 +33,14 @@ func builtinEnvironmentPatterns() []HazardPattern {
HarmDE: "Hand-Arm-Vibrationssyndrom (BK 2104), Durchblutungsstoerung, Gelenkschaeden.",
AffectedDE: "Bedienpersonal, Maschinenfuehrer",
ZoneDE: "Griffe, Bedienelemente, Standfussbereich, Fahrersitz",
ISO12100Section: "6.3.3.2.1",
DefaultSeverity: 3, DefaultExposure: 4,
},
{
ID: "HP025", NameDE: "Laerm durch rotierende Hochgeschwindigkeitsteile", NameEN: "Noise from high-speed rotating parts",
RequiredComponentTags: []string{"rotating_part", "high_speed"},
RequiredEnergyTags: []string{},
GeneratedHazardCats: []string{"noise_vibration"},
GeneratedHazardCats: []string{"noise_hazard"},
SuggestedMeasureIDs: []string{"M091", "M092", "M131"},
SuggestedEvidenceIDs: []string{"E01", "E12", "E13"},
Priority: 70,
@@ -47,6 +49,7 @@ func builtinEnvironmentPatterns() []HazardPattern {
HarmDE: "Gehoerschaedigung, Tinnitus, erhoehtes Unfallrisiko durch Konzentrationsverlust.",
AffectedDE: "Bedienpersonal, Personen im Hallenbereich",
ZoneDE: "Umgebung der Spindel/Schleifscheibe, Maschinengehaeuse, offene Bearbeitungszone",
ISO12100Section: "6.3.3.2.1",
DefaultSeverity: 3, DefaultExposure: 4,
},
// Ergonomic