debug: trace M420 in Priority-1 loop

This commit is contained in:
Benjamin Admin
2026-05-15 14:56:05 +02:00
parent 7a27dbc01b
commit c93cf2719a
@@ -295,8 +295,12 @@ func (h *IACEHandler) InitializeProject(c *gin.Context) {
} }
entry, ok := measureByID[mid] entry, ok := measureByID[mid]
if !ok { if !ok {
fmt.Printf("DEBUG: MID %s NOT FOUND in measureByID for hazard %s\n", mid, hazID)
continue continue
} }
if mid == "M420" {
fmt.Printf("DEBUG: Creating M420 for hazard %s (cat=%s)\n", hazID, hazCat)
}
rt := iace.ReductionType(entry.ReductionType) rt := iace.ReductionType(entry.ReductionType)
if rt == "" { if rt == "" {
rt = iace.ReductionTypeInformation rt = iace.ReductionTypeInformation