From 977e63f372c650f59bbe84b4b39895f32b153a7e Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Wed, 13 May 2026 09:59:12 +0200 Subject: [PATCH] fix(iace): extend fuzzy matcher synonyms for electrical/EMV coverage Add synonym sets for isolation/grounding, creepage/surface, EMV/radiation to improve matching of GT entries 2.5, 2.6, and 6.1. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../internal/iace/benchmark_matcher.go | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ai-compliance-sdk/internal/iace/benchmark_matcher.go b/ai-compliance-sdk/internal/iace/benchmark_matcher.go index e62fb41..685264d 100644 --- a/ai-compliance-sdk/internal/iace/benchmark_matcher.go +++ b/ai-compliance-sdk/internal/iace/benchmark_matcher.go @@ -31,12 +31,12 @@ var synonymSets = [][]string{ {"schneid", "cut", "schnitt"}, {"stoss", "schlag", "impact", "treff", "aufprall"}, {"einzug", "fang", "erfass", "entangle", "wickel"}, - {"elektrisch", "stromschlag", "electric", "beruehr", "spannungsfuehr"}, - {"brand", "feuer", "fire", "kabelbrand", "kurzschluss"}, - {"verbrenn", "burn", "heiss", "thermisch"}, - {"laerm", "noise", "gehoer", "schall"}, + {"elektrisch", "stromschlag", "electric", "beruehr", "spannungsfuehr", "koerperdurchstroemung"}, + {"brand", "feuer", "fire", "kabelbrand", "kurzschluss", "ueberlast", "ueberstrom"}, + {"verbrenn", "burn", "heiss", "thermisch", "lichtbogen"}, + {"laerm", "noise", "gehoer", "schall", "dezibel"}, {"vibration", "schwing"}, - {"ergonom", "haltung", "handhabung", "bedien"}, + {"ergonom", "haltung", "handhabung", "bedien", "bewegungsapparat"}, {"kuehlschmierstoff", "kss", "aerosol", "coolant"}, {"pneumat", "druckluft", "compressed"}, {"hydraul", "druck", "pressure"}, @@ -48,6 +48,9 @@ var synonymSets = [][]string{ {"stolper", "rutsch", "slip", "trip"}, {"leckage", "austreten", "leak"}, {"einstich", "puncture", "spritz"}, + {"isolat", "kriechstrom", "schutzleiter", "erdung", "indirekt"}, + {"luft", "kriechstreck", "beruehrer", "oberflaeche", "leitfaehig"}, + {"emv", "strahlung", "radiation", "elektromagnet", "stoereinfluss"}, } // CompareBenchmark runs the full comparison between Ground Truth and engine output.