Files
breakpilot-compliance/ai-compliance-sdk/internal/iace/hazard_patterns.go
T
Benjamin Admin e7f2f98da3 feat: IACE CE-Compliance Module — Normen, Risikobewertung, Production Lines
Major features:
- 215 norms library with section references + Beuth URLs (A/B1/B2/C norms)
- 173 hazard patterns with detail fields (scenario, trigger, harm, zone)
- Deterministic pattern matching: Component × Lifecycle × Pattern cross-product
- SIL/PL auto-calculation from S×E×P risk graph
- Risk assessment table with editable S/E/P dropdowns
- Production Line Dashboard with animated station flow (Running Dots)
- IACE process flow + norms coverage on start page
- Non-blocking cookie banner, ProcessFlow SSR fix
- 104 Playwright E2E tests passing

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-07 10:53:26 +02:00

21 lines
829 B
Go

package iace
// HazardPattern is defined in hazard_pattern_types.go
// GetBuiltinHazardPatterns returns ~44 built-in hazard patterns organized
// by domain (mechanical, electrical, thermal, hydraulic/pneumatic,
// noise/vibration, ergonomic, software/control, cyber/network, AI-specific).
// Each domain is defined in its own file for maintainability.
func GetBuiltinHazardPatterns() []HazardPattern {
var all []HazardPattern
all = append(all, builtinMechanicalPatterns()...)
all = append(all, builtinElectricalPatterns()...)
all = append(all, builtinThermalPatterns()...)
all = append(all, builtinFluidPatterns()...)
all = append(all, builtinEnvironmentPatterns()...)
all = append(all, builtinSoftwarePatterns()...)
all = append(all, builtinCyberPatterns()...)
all = append(all, builtinAIPatterns()...)
return all
}