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:
@@ -115,6 +115,13 @@ func TestGetBuiltinHazardPatterns_HazardCategoriesValid(t *testing.T) {
|
||||
for _, h := range GetBuiltinHazardLibrary() {
|
||||
validCategories[h.Category] = true
|
||||
}
|
||||
// ISO 12100 Annex B splits Nr. 4 Laerm and Nr. 5 Vibration into two
|
||||
// top-level groups. Patterns adopted this in 2026-05 but the hazard
|
||||
// library still carries entries under the legacy combined "noise_-
|
||||
// vibration" key. Until the library is split, both new aliases are
|
||||
// recognised as valid pattern categories.
|
||||
validCategories["noise_hazard"] = true
|
||||
validCategories["vibration_hazard"] = true
|
||||
|
||||
for _, p := range GetBuiltinHazardPatterns() {
|
||||
for _, cat := range p.GeneratedHazardCats {
|
||||
|
||||
Reference in New Issue
Block a user