diff --git a/backend/result_container_parser.py b/backend/result_container_parser.py index 638e050..594e152 100644 --- a/backend/result_container_parser.py +++ b/backend/result_container_parser.py @@ -158,7 +158,8 @@ def parse_decision_questions(section_text: str) -> Dict[str, str]: for pattern in patterns: matches = re.finditer(pattern, section_text, re.MULTILINE | re.IGNORECASE) for match in matches: - question_type = match.group(1).strip().lower() + # Preserve original case for question IDs (e.g., "qAnalyst" not "qanalyst") + question_type = match.group(1).strip() answer = match.group(2).strip() # Entferne Klammern und Whitespace