[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M735XCV8GQAGMQBFS2MZ0BP6":3,"skill-same:01M735XCV8GQAGMQBFS2MZ0BP6":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M735XCV8GQAGMQBFS2MZ0BP6","automotive-sotif-hazard-scenario",null,"Automotive Sotif Hazard Scenario expertise. Covers 1 topics: Sotif Hazard Scenario.","pangzhenying2025\u002Fhermes-automotive-skills","pangzhenying2025","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F213717646?v=4","01M735F4ESJ0SM29HHRG810PS8","01M735F4FX3N7R55KGY8AYBRZ0",11,"MIT","https:\u002F\u002Fgithub.com\u002Fpangzhenying2025\u002Fhermes-automotive-skills\u002Fblob\u002Fmain\u002Fskills\u002Fautomotive-sotif-hazard-scenario\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: automotive-sotif-hazard-scenario\ndescription: >\n  Automotive Sotif Hazard Scenario expertise. Covers 1 topics: Sotif Hazard Scenario.\ntags: [automotive, automotive-sotif-hazard-scenario]\n---\n\n# Automotive Sotif Hazard Scenario\n\n## Sotif Hazard Scenario\n\n# SOTIF Hazard Scenario Construction — Systematic Identification and Analysis\n\n## Overview\n\nDeep methodology for SOTIF (Safety Of The Intended Functionality, ISO 21448) hazard scenario identification, construction, and analysis. This skill goes beyond basic SOTIF overview to provide actionable frameworks for identifying triggering conditions, constructing hazardous scenarios, and systematically reducing the unknown unsafe area.\n\n## The Four-Quadrant Framework (Deep Dive)\n\n```\nISO 21448 Four-Quadrant Model\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n              Known                Unknown\n         ┌─────────────────┬─────────────────┐\n         │   Area 1        │   Area 3        │\n  Safe   │   Known Safe    │   Unknown Safe  │\n         │   已知安全        │   未知安全       │\n         │                 │                 │\n         │ ✓ Normal ops    │ ? Safe but      │\n         │ ✓ Validated     │   undiscovered  │\n         ├─────────────────┼─────────────────┤\n         │   Area 2        │   Area 4        │\n Unsafe  │   Known Unsafe  │   Unknown       │\n         │   已知不安全      │   Unsafe        │\n         │                 │   未知不安全      │\n         │ ⚠ Identified    │ ✗ Greatest risk │\n         │ ⚠ Mitigated     │ ✗ Must minimize │\n         └─────────────────┴─────────────────┘\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nSOTIF Goal: Minimize Area 4 (unknown unsafe)\n            by moving scenarios to Area 2 (known unsafe → mitigated)\n            or Area 1 (known safe → validated)\n```\n\n## Triggering Condition Taxonomy\n\n### Systematic Identification Method\n\n```python\n# Triggering Condition Identification Framework\ntriggering_conditions = {\n    \"sensing_limitations\": {\n        \"camera\": {\n            \"illumination\": [\n                \"Direct sunlight \u002F sun glare (太阳眩光)\",\n                \"Low sun angle (5°-15° elevation)\",\n                \"Tunnel entry\u002Fexit (dark-bright transition)\",\n                \"Night without street lights\",\n                \"LED traffic light flicker (PWM)\",\n                \"Headlight reflection on wet road\",\n            ],\n            \"weather\": [\n                \"Heavy rain (>25mm\u002Fh)\",\n                \"Fog (visibility \u003C200m)\",\n                \"Snow (lens covered \u002F white-out)\",\n                \"Haze\u002Fsmog (PM2.5 >200 in China)\",\n                \"Sandstorm (Northern China specific)\",\n            ],\n            \"occlusion\": [\n                \"Lens contamination (mud, insects, water drops)\",\n                \"Partial blockage by adjacent objects\",\n                \"Wiper interference during rain\",\n                \"Ice\u002Ffrost on lens\",\n            ],\n            \"perception_failures\": [\n                \"White vehicle against white sky\",\n                \"Black vehicle in shadow\",\n                \"Motorcycle\u002Fbicycle thin profile\",\n                \"Unusual vehicle shapes (overloaded truck)\",\n                \"Road debris vs. road texture confusion\",\n                \"Lane marking worn\u002Ffaded\u002Fabsent\",\n                \"Temporary vs. permanent lane markings\",\n            ],\n        },\n        \"radar\": {\n            \"interference\": [\n                \"Multi-path reflection (guardrails, tunnels)\",\n                \"Adjacent vehicle radar interference\",\n                \"Metallic bridge overhead reflection\",\n                \"Rain clutter (heavy precipitation)\",\n            ],\n            \"missed_detection\": [\n                \"Stationary objects (bridge pillars, barriers)\",\n                \"Low-RCS targets (motorcycle, pedestrian)\",\n                \"Crossing targets at extreme angles\",\n                \"Speed-ambiguity (relative speed near zero)\",\n            ],\n            \"false_detection\": [\n                \"Manhole covers (strong radar return)\",\n                \"Metal debris on road\",\n                \"Overhead signs\u002Fstructures (elevated targets)\",\n                \"Guardrail reflections as ghost targets\",\n            ],\n        },\n        \"lidar\": {\n            \"limitations\": [\n                \"Black\u002Fdark surfaces (low reflectivity)\",\n                \"Transparent objects (glass barriers)\",\n                \"Rain\u002Ffog scattering\",\n                \"Direct sunlight saturation\",\n                \"Dust\u002Fdirt on sensor window\",\n            ],\n        },\n        \"gnss_localization\": {\n            \"degradation\": [\n                \"Urban canyon (tall buildings)\",\n                \"Tunnel (no GNSS signal)\",\n                \"Dense tree canopy\",\n                \"Multi-path interference (bridges)\",\n                \"Jamming\u002Fspoofing\",\n            ],\n        },\n    },\n    \"algorithm_limitations\": {\n        \"perception\": [\n            \"Out-of-distribution objects (rare objects)\",\n            \"Adversarial patterns (adversarial patches)\",\n            \"Domain shift (training vs. deployment environment)\",\n            \"Class confusion (truck rear vs. wall)\",\n            \"Tracking ID switch (occluded targets)\",\n        ],\n        \"prediction\": [\n            \"Unpredictable human behavior (jaywalker)\",\n            \"Unusual vehicle maneuvers (illegal U-turn)\",\n            \"Group behavior (crowd crossing)\",\n            \"Intention ambiguity (vehicle drifting in lane)\",\n        ],\n        \"planning\": [\n            \"Conflicting objectives (comfort vs. safety)\",\n            \"Rare road geometry (unusual intersection)\",\n            \"Construction zone navigation\",\n            \"Emergency vehicle response\",\n        ],\n    },\n    \"human_factors\": {\n        \"misuse\": [\n            \"Overreliance on automation (complacency)\",\n            \"Distracted driving during L2\",\n            \"Intentional abuse (hands-off driving)\",\n            \"Misunderstanding of ODD boundaries\",\n        ],\n        \"takeover_failures\": [\n            \"Slow response after long automation use\",\n            \"Mode confusion (manual vs. automated)\",\n            \"Incorrect takeover action (wrong pedal)\",\n            \"Physical impairment (drowsy, intoxicated)\",\n        ],\n    },\n    \"infrastructure\": [\n        \"Missing\u002Fcontradictory road signs\",\n        \"Temporary construction zone\",\n        \"Road surface irregularities (potholes)\",\n        \"Non-standard intersection layout\",\n        \"Toll station \u002F service area transitions\",\n    ],\n}\n```\n\n### Triggering Condition → Hazard → Scenario Mapping\n\n```\nTriggering Condition → Functional Insufficiency → Hazardous Behavior → Scenario\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nExample Chain 1:\n  TC: Sun glare at low angle (5° elevation)\n  → FI: Camera saturation, lane marking invisible\n  → HB: LCC fails to detect lane → vehicle drifts out of lane\n  → Scenario: Highway driving at 100km\u002Fh, sun glare from front-left,\n              vehicle drifts into adjacent lane occupied by truck\n\nExample Chain 2:\n  TC: Preceding vehicle cut-out reveals stationary vehicle\n  → FI: Radar filters stationary objects, camera detection delayed\n  → HB: ACC does not brake for stationary vehicle ahead\n  → Scenario: Highway at 120km\u002Fh, lead vehicle changes lane,\n              exposing stopped vehicle 80m ahead, TTC \u003C 2.4s\n\nExample Chain 3:\n  TC: E-bike enters from blind spot (China-specific)\n  → FI: Thin profile below detection threshold\n  → HB: No braking or avoidance initiated\n  → Scenario: Urban expressway at 60km\u002Fh, e-bike merges from\n              non-motorized lane without signal, lateral distance \u003C 0.5m\n```\n\n## Scenario Construction Methodology\n\n### 6-Layer Scenario Model\n\n```\n场景六层模型 (ISO 34502 \u002F OpenSCENARIO aligned)\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nLayer 1: Road Network (道路网络)\n  ├── Road type, geometry, topology\n  ├── Lane configuration, marking types\n  ├── Junctions, ramps, merge areas\n  └── Surface condition, slope, curvature\n\nLayer 2: Traffic Infrastructure (交通设施)\n  ├── Traffic signs, signals\n  ├── Road markings, barriers\n  ├── Construction zones\n  └── Toll stations, service areas\n\nLayer 3: Temporary Modifications (临时变更)\n  ├── Construction work zones\n  ├── Accident scenes\n  ├── Temporary speed limits\n  └── Detour routes\n\nLayer 4: Dynamic Objects (动态对象)\n  ├── Vehicles (cars, trucks, motorcycles, e-bikes)\n  ├── Pedestrians (adults, children, wheelchair users)\n  ├── Animals\n  └── Object behaviors (trajectories, intentions)\n\nLayer 5: Environment (环境条件)\n  ├── Weather (rain, fog, snow, sandstorm)\n  ├── Illumination (day, night, dawn\u002Fdusk, tunnel)\n  ├── Visibility range\n  └── Road surface (dry, wet, icy, flooded)\n\nLayer 6: Digital Information (数字信息)\n  ├── HD map accuracy\u002Ffreshness\n  ├── V2X communication status\n  ├── GNSS signal quality\n  └── Cloud connectivity\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n```\n\n### Scenario Parameterization\n\n```python\n# Scenario Parameter Space Definition\nfrom dataclasses import dataclass\nfrom typing import List, Tuple\n\n@dataclass\nclass SOTIFScenario:\n    \"\"\"SOTIF hazard scenario definition\"\"\"\n    id: str\n    name: str\n    description: str\n\n    # Layer 1: Road\n    road_type: str              # highway, urban_expressway, urban\n    lane_count: int\n    curvature_radius: float     # meters, 0 for straight\n    slope: float                # percent\n\n    # Layer 4: Dynamic objects\n    ego_speed: float            # km\u002Fh\n    target_type: str            # car, truck, motorcycle, e-bike, pedestrian\n    target_speed: float         # km\u002Fh\n    target_behavior: str        # cut_in, cut_out, stationary, crossing\n    relative_position: str      # ahead, adjacent, crossing\n    initial_distance: float     # meters\n\n    # Layer 5: Environment\n    weather: str                # clear, rain, fog, snow, haze\n    illumination: str           # day, night, dawn, dusk, tunnel\n    visibility: float           # meters\n\n    # SOTIF-specific\n    triggering_condition: str\n    functional_insufficiency: str\n    hazardous_behavior: str\n    severity: str               # S0-S3\n    exposure: str               # E0-E4\n    controllability: str        # C0-C3\n\n    # Validation\n    test_method: str            # simulation, track, public_road\n    pass_criteria: str\n\n# Example scenario instantiation\nscenario_acc_stationary = SOTIFScenario(\n    id=\"SOTIF-HW-001\",\n    name=\"ACC前方静止车辆未制动\",\n    description=\"Lead vehicle cut-out exposing stationary vehicle on highway\",\n    road_type=\"highway\",\n    lane_count=3,\n    curvature_radius=0,      # straight road\n    slope=0,\n    ego_speed=120,\n    target_type=\"car\",\n    target_speed=0,           # stationary\n    target_behavior=\"stationary\",\n    relative_position=\"ahead\",\n    initial_distance=80,\n    weather=\"clear\",\n    illumination=\"day\",\n    visibility=1000,\n    triggering_condition=\"Lead vehicle cut-out revealing stationary target\",\n    functional_insufficiency=\"Radar filters stationary clutter; camera late detection\",\n    hazardous_behavior=\"No deceleration or late deceleration\",\n    severity=\"S3\",\n    exposure=\"E3\",\n    controllability=\"C2\",\n    test_method=\"simulation + track\",\n    pass_criteria=\"System brakes or warns driver with TTC > 2.0s\",\n)\n```\n\n## Scenario Coverage Analysis\n\n### Coverage Metric Framework\n\n```\n场景覆盖度评估框架\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nDimension 1: Functional coverage\n  └── % of system functions with identified scenarios\n\nDimension 2: Triggering condition coverage\n  └── % of known triggering conditions with test scenarios\n\nDimension 3: Parameter space coverage\n  └── Coverage of parameter combinations (corner cases)\n\nDimension 4: Scenario type coverage\n  └── Normal \u002F edge case \u002F corner case \u002F abuse case\n\nDimension 5: ODD boundary coverage\n  └── All ODD boundaries tested (entry, exit, edge)\n\nCoverage Metric:\n  C_total = w1*C_func + w2*C_trigger + w3*C_param + w4*C_type + w5*C_odd\n  Target: C_total > 95% for known unsafe area\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n```\n\n## Deliverables\n\nWhen invoked, this skill provides:\n1. **Triggering Condition Catalog**: Systematic list per sensor\u002Falgorithm\u002Fhuman\n2. **Hazard Scenario Database**: Parameterized scenario definitions\n3. **Scenario Chain Analysis**: TC → FI → HB → Scenario mapping\n4. **Coverage Analysis**: Scenario coverage assessment\n5. **Mitigation Recommendations**: Per-scenario risk reduction strategies\n6. **Test Plan**: Simulation + track + public road test design\n\n## Related Skills\n\n- `automotive-sotif-audit` — SOTIF process audit and maturity assessment\n- `automotive-sotif-highway-testing` — Highway-specific SOTIF testing\n- `automotive-scenario-driven-testing` — Scenario-based V&V methodology\n- `automotive-china-l2-adas-compliance` — China L2 SOTIF requirements\n","# Automotive Sotif Hazard Scenario\n\n## Sotif Hazard Scenario\n\n# SOTIF Hazard Scenario Construction — Systematic Identification and Analysis\n\n## Overview\n\nDeep methodology for SOTIF (Safety Of The Intended Functionality, ISO 21448) hazard scenario identification, construction, and analysis. This skill goes beyond basic SOTIF overview to provide actionable frameworks for identifying triggering conditions, constructing hazardous scenarios, and systematically reducing the unknown unsafe area.\n\n## The Four-Quadrant Framework (Deep Dive)\n\n```\nISO 21448 Four-Quadrant Model\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n              Known                Unknown\n         ┌─────────────────┬─────────────────┐\n         │   Area 1        │   Area 3        │\n  Safe   │   Known Safe    │   Unknown Safe  │\n         │   已知安全        │   未知安全       │\n         │                 │                 │\n         │ ✓ Normal ops    │ ? Safe but      │\n         │ ✓ Validated     │   undiscovered  │\n         ├─────────────────┼─────────────────┤\n         │   Area 2        │   Area 4        │\n Unsafe  │   Known Unsafe  │   Unknown       │\n         │   已知不安全      │   Unsafe        │\n         │                 │   未知不安全      │\n         │ ⚠ Identified    │ ✗ Greatest risk │\n         │ ⚠ Mitigated     │ ✗ Must minimize │\n         └─────────────────┴─────────────────┘\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nSOTIF Goal: Minimize Area 4 (unknown unsafe)\n            by moving scenarios to Area 2 (known unsafe → mitigated)\n            or Area 1 (known safe → validated)\n```\n\n## Triggering Condition Taxonomy\n\n### Systematic Identification Method\n\n```python\n# Triggering Condition Identification Framework\ntriggering_conditions = {\n    \"sensing_limitations\": {\n        \"camera\": {\n            \"illumination\": [\n                \"Direct sunlight \u002F sun glare (太阳眩光)\",\n                \"Low sun angle (5°-15° elevation)\",\n                \"Tunnel entry\u002Fexit (dark-bright transition)\",\n                \"Night without street lights\",\n                \"LED traffic light flicker (PWM)\",\n                \"Headlight reflection on wet road\",\n            ],\n            \"weather\": [\n                \"Heavy rain (>25mm\u002Fh)\",\n                \"Fog (visibility \u003C200m)\",\n                \"Snow (lens covered \u002F white-out)\",\n                \"Haze\u002Fsmog (PM2.5 >200 in China)\",\n                \"Sandstorm (Northern China specific)\",\n            ],\n            \"occlusion\": [\n                \"Lens contamination (mud, insects, water drops)\",\n                \"Partial blockage by adjacent objects\",\n                \"Wiper interference during rain\",\n                \"Ice\u002Ffrost on lens\",\n            ],\n            \"perception_failures\": [\n                \"White vehicle against white sky\",\n                \"Black vehicle in shadow\",\n                \"Motorcycle\u002Fbicycle thin profile\",\n                \"Unusual vehicle shapes (overloaded truck)\",\n                \"Road debris vs. road texture confusion\",\n                \"Lane marking worn\u002Ffaded\u002Fabsent\",\n                \"Temporary vs. permanent lane markings\",\n            ],\n        },\n        \"radar\": {\n            \"interference\": [\n                \"Multi-path reflection (guardrails, tunnels)\",\n                \"Adjacent vehicle radar interference\",\n                \"Metallic bridge overhead reflection\",\n                \"Rain clutter (heavy precipitation)\",\n            ],\n            \"missed_detection\": [\n                \"Stationary objects (bridge pillars, barriers)\",\n                \"Low-RCS targets (motorcycle, pedestrian)\",\n                \"Crossing targets at extreme angles\",\n                \"Speed-ambiguity (relative speed near zero)\",\n            ],\n            \"false_detection\": [\n                \"Manhole covers (strong radar return)\",\n                \"Metal debris on road\",\n                \"Overhead signs\u002Fstructures (elevated targets)\",\n                \"Guardrail reflections as ghost targets\",\n            ],\n        },\n        \"lidar\": {\n            \"limitations\": [\n                \"Black\u002Fdark surfaces (low reflectivity)\",\n                \"Transparent objects (glass barriers)\",\n                \"Rain\u002Ffog scattering\",\n                \"Direct sunlight saturation\",\n                \"Dust\u002Fdirt on sensor window\",\n            ],\n        },\n        \"gnss_localization\": {\n            \"degradation\": [\n                \"Urban canyon (tall buildings)\",\n                \"Tunnel (no GNSS signal)\",\n                \"Dense tree canopy\",\n                \"Multi-path interference (bridges)\",\n                \"Jamming\u002Fspoofing\",\n            ],\n        },\n    },\n    \"algorithm_limitations\": {\n        \"perception\": [\n            \"Out-of-distribution objects (rare objects)\",\n            \"Adversarial patterns (adversarial patches)\",\n            \"Domain shift (training vs. deployment environment)\",\n            \"Class confusion (truck rear vs. wall)\",\n            \"Tracking ID switch (occluded targets)\",\n        ],\n        \"prediction\": [\n            \"Unpredictable human behavior (jaywalker)\",\n            \"Unusual vehicle maneuvers (illegal U-turn)\",\n            \"Group behavior (crowd crossing)\",\n            \"Intention ambiguity (vehicle drifting in lane)\",\n        ],\n        \"planning\": [\n            \"Conflicting objectives (comfort vs. safety)\",\n            \"Rare road geometry (unusual intersection)\",\n            \"Construction zone navigation\",\n            \"Emergency vehicle response\",\n        ],\n    },\n    \"human_factors\": {\n        \"misuse\": [\n            \"Overreliance on automation (complacency)\",\n            \"Distracted driving during L2\",\n            \"Intentional abuse (hands-off driving)\",\n            \"Misunderstanding of ODD boundaries\",\n        ],\n        \"takeover_failures\": [\n            \"Slow response after long automation use\",\n            \"Mode confusion (manual vs. automated)\",\n            \"Incorrect takeover action (wrong pedal)\",\n            \"Physical impairment (drowsy, intoxicated)\",\n        ],\n    },\n    \"infrastructure\": [\n        \"Missing\u002Fcontradictory road signs\",\n        \"Temporary construction zone\",\n        \"Road surface irregularities (potholes)\",\n        \"Non-standard intersection layout\",\n        \"Toll station \u002F service area transitions\",\n    ],\n}\n```\n\n### Triggering Condition → Hazard → Scenario Mapping\n\n```\nTriggering Condition → Functional Insufficiency → Hazardous Behavior → Scenario\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nExample Chain 1:\n  TC: Sun glare at low angle (5° elevation)\n  → FI: Camera saturation, lane marking invisible\n  → HB: LCC fails to detect lane → vehicle drifts out of lane\n  → Scenario: Highway driving at 100km\u002Fh, sun glare from front-left,\n              vehicle drifts into adjacent lane occupied by truck\n\nExample Chain 2:\n  TC: Preceding vehicle cut-out reveals stationary vehicle\n  → FI: Radar filters stationary objects, camera detection delayed\n  → HB: ACC does not brake for stationary vehicle ahead\n  → Scenario: Highway at 120km\u002Fh, lead vehicle changes lane,\n              exposing stopped vehicle 80m ahead, TTC \u003C 2.4s\n\nExample Chain 3:\n  TC: E-bike enters from blind spot (China-specific)\n  → FI: Thin profile below detection threshold\n  → HB: No braking or avoidance initiated\n  → Scenario: Urban expressway at 60km\u002Fh, e-bike merges from\n              non-motorized lane without signal, lateral distance \u003C 0.5m\n```\n\n## Scenario Construction Methodology\n\n### 6-Layer Scenario Model\n\n```\n场景六层模型 (ISO 34502 \u002F OpenSCENARIO aligned)\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nLayer 1: Road Network (道路网络)\n  ├── Road type, geometry, topology\n  ├── Lane configuration, marking types\n  ├── Junctions, ramps, merge areas\n  └── Surface condition, slope, curvature\n\nLayer 2: Traffic Infrastructure (交通设施)\n  ├── Traffic signs, signals\n  ├── Road markings, barriers\n  ├── Construction zones\n  └── Toll stations, service areas\n\nLayer 3: Temporary Modifications (临时变更)\n  ├── Construction work zones\n  ├── Accident scenes\n  ├── Temporary speed limits\n  └── Detour routes\n\nLayer 4: Dynamic Objects (动态对象)\n  ├── Vehicles (cars, trucks, motorcycles, e-bikes)\n  ├── Pedestrians (adults, children, wheelchair users)\n  ├── Animals\n  └── Object behaviors (trajectories, intentions)\n\nLayer 5: Environment (环境条件)\n  ├── Weather (rain, fog, snow, sandstorm)\n  ├── Illumination (day, night, dawn\u002Fdusk, tunnel)\n  ├── Visibility range\n  └── Road surface (dry, wet, icy, flooded)\n\nLayer 6: Digital Information (数字信息)\n  ├── HD map accuracy\u002Ffreshness\n  ├── V2X communication status\n  ├── GNSS signal quality\n  └── Cloud connectivity\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n```\n\n### Scenario Parameterization\n\n```python\n# Scenario Parameter Space Definition\nfrom dataclasses import dataclass\nfrom typing import List, Tuple\n\n@dataclass\nclass SOTIFScenario:\n    \"\"\"SOTIF hazard scenario definition\"\"\"\n    id: str\n    name: str\n    description: str\n\n    # Layer 1: Road\n    road_type: str              # highway, urban_expressway, urban\n    lane_count: int\n    curvature_radius: float     # meters, 0 for straight\n    slope: float                # percent\n\n    # Layer 4: Dynamic objects\n    ego_speed: float            # km\u002Fh\n    target_type: str            # car, truck, motorcycle, e-bike, pedestrian\n    target_speed: float         # km\u002Fh\n    target_behavior: str        # cut_in, cut_out, stationary, crossing\n    relative_position: str      # ahead, adjacent, crossing\n    initial_distance: float     # meters\n\n    # Layer 5: Environment\n    weather: str                # clear, rain, fog, snow, haze\n    illumination: str           # day, night, dawn, dusk, tunnel\n    visibility: float           # meters\n\n    # SOTIF-specific\n    triggering_condition: str\n    functional_insufficiency: str\n    hazardous_behavior: str\n    severity: str               # S0-S3\n    exposure: str               # E0-E4\n    controllability: str        # C0-C3\n\n    # Validation\n    test_method: str            # simulation, track, public_road\n    pass_criteria: str\n\n# Example scenario instantiation\nscenario_acc_stationary = SOTIFScenario(\n    id=\"SOTIF-HW-001\",\n    name=\"ACC前方静止车辆未制动\",\n    description=\"Lead vehicle cut-out exposing stationary vehicle on highway\",\n    road_type=\"highway\",\n    lane_count=3,\n    curvature_radius=0,      # straight road\n    slope=0,\n    ego_speed=120,\n    target_type=\"car\",\n    target_speed=0,           # stationary\n    target_behavior=\"stationary\",\n    relative_position=\"ahead\",\n    initial_distance=80,\n    weather=\"clear\",\n    illumination=\"day\",\n    visibility=1000,\n    triggering_condition=\"Lead vehicle cut-out revealing stationary target\",\n    functional_insufficiency=\"Radar filters stationary clutter; camera late detection\",\n    hazardous_behavior=\"No deceleration or late deceleration\",\n    severity=\"S3\",\n    exposure=\"E3\",\n    controllability=\"C2\",\n    test_method=\"simulation + track\",\n    pass_criteria=\"System brakes or warns driver with TTC > 2.0s\",\n)\n```\n\n## Scenario Coverage Analysis\n\n### Coverage Metric Framework\n\n```\n场景覆盖度评估框架\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nDimension 1: Functional coverage\n  └── % of system functions with identified scenarios\n\nDimension 2: Triggering condition coverage\n  └── % of known triggering conditions with test scenarios\n\nDimension 3: Parameter space coverage\n  └── Coverage of parameter combinations (corner cases)\n\nDimension 4: Scenario type coverage\n  └── Normal \u002F edge case \u002F corner case \u002F abuse case\n\nDimension 5: ODD boundary coverage\n  └── All ODD boundaries tested (entry, exit, edge)\n\nCoverage Metric:\n  C_total = w1*C_func + w2*C_trigger + w3*C_param + w4*C_type + w5*C_odd\n  Target: C_total > 95% for known unsafe area\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n```\n\n## Deliverables\n\nWhen invoked, this skill provides:\n1. **Triggering Condition Catalog**: Systematic list per sensor\u002Falgorithm\u002Fhuman\n2. **Hazard Scenario Database**: Parameterized scenario definitions\n3. **Scenario Chain Analysis**: TC → FI → HB → Scenario mapping\n4. **Coverage Analysis**: Scenario coverage assessment\n5. **Mitigation Recommendations**: Per-scenario risk reduction strategies\n6. **Test Plan**: Simulation + track + public road test design\n\n## Related Skills\n\n- `automotive-sotif-audit` — SOTIF process audit and maturity assessment\n- `automotive-sotif-highway-testing` — Highway-specific SOTIF testing\n- `automotive-scenario-driven-testing` — Scenario-based V&V methodology\n- `automotive-china-l2-adas-compliance` — China L2 SOTIF requirements\n",{"name":5,"tags":23,"description":25},[24,5],"automotive","Automotive Sotif Hazard Scenario expertise. Covers 1 topics: Sotif Hazard Scenario.\n","main","764e05645935fe0d4c219ab3786883289700a063","skills\u002Fautomotive-sotif-hazard-scenario",3,"https:\u002F\u002Fgithub.com\u002Fpangzhenying2025\u002Fhermes-automotive-skills","https:\u002F\u002Fgithub.com\u002Fpangzhenying2025","2026-05-19 20:41:59",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add pangzhenying2025\u002Fhermes-automotive-skills --skill automotive-sotif-hazard-scenario",{"tool":39,"command":40},"bunx","bunx skills add pangzhenying2025\u002Fhermes-automotive-skills --skill automotive-sotif-hazard-scenario",{"tool":42,"command":43},"pnpm","pnpm dlx skills add pangzhenying2025\u002Fhermes-automotive-skills --skill automotive-sotif-hazard-scenario","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpangzhenying2025\u002Fhermes-automotive-skills\u002Fblob\u002Fmain\u002Fskills\u002Fautomotive-sotif-hazard-scenario\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":18},"01M7360ZT6X73B7WX8G9T42MRX","china-sotif","China standard: Sotif. # 中国 SOTIF 标准集 — GB\u002FT 43267 + CSAE 316.1\u002F316.2 + CSAE 336","https:\u002F\u002Fgithub.com\u002Fpangzhenying2025\u002Fhermes-automotive-skills\u002Fblob\u002Fmain\u002Fskills\u002Fchina-sotif\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7360VT7N20KBKD59QG6BEVQ","china-scenario-safety","China standard: Scenario Safety. # 场景安全评估框架 — ISO 34501\u002F34502 + ISO 34503\u002F34504\u002F34505","https:\u002F\u002Fgithub.com\u002Fpangzhenying2025\u002Fhermes-automotive-skills\u002Fblob\u002Fmain\u002Fskills\u002Fchina-scenario-safety\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M7360SM9DD8BAECKC7C03ST1","china-odd","China standard: Odd. # 自动驾驶系统设计运行条件（ODD）标准","https:\u002F\u002Fgithub.com\u002Fpangzhenying2025\u002Fhermes-automotive-skills\u002Fblob\u002Fmain\u002Fskills\u002Fchina-odd\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M7360QDGZAFVAJ2M2BQY5AAS","china-multi-pillar","China standard: Multi Pillar. # \"多支柱\"标准综合应用指南","https:\u002F\u002Fgithub.com\u002Fpangzhenying2025\u002Fhermes-automotive-skills\u002Fblob\u002Fmain\u002Fskills\u002Fchina-multi-pillar\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7360N6FMFHK17MH5MB96R9Z","china-l3-fusa-sotif","China standard: L3 Fusa Sotif. # L3 有条件自动驾驶系统 功能安全和预期功能安全技术要求","https:\u002F\u002Fgithub.com\u002Fpangzhenying2025\u002Fhermes-automotive-skills\u002Fblob\u002Fmain\u002Fskills\u002Fchina-l3-fusa-sotif\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M7360J517TM1JC1YS6M2YX38","china-l2-adas-safety","China standard: L2 Adas Safety. # L2 组合驾驶辅助系统安全要求（强制性国标草案）","https:\u002F\u002Fgithub.com\u002Fpangzhenying2025\u002Fhermes-automotive-skills\u002Fblob\u002Fmain\u002Fskills\u002Fchina-l2-adas-safety\u002FSKILL.md",[],[]]