diff --git a/backend-compliance/compliance/api/agent_doc_check_routes.py b/backend-compliance/compliance/api/agent_doc_check_routes.py index 2569628..c66a612 100644 --- a/backend-compliance/compliance/api/agent_doc_check_routes.py +++ b/backend-compliance/compliance/api/agent_doc_check_routes.py @@ -377,7 +377,7 @@ def _split_into_sections(text: str, parent_label: str, url: str) -> list[dict]: 5 < len(stripped) < 80 and not stripped.endswith(".") and not stripped.endswith(",") - and stripped[0].isupper() + and (stripped[0].isupper() or stripped[0].isdigit()) ) classified = _classify_section(stripped) if is_heading else None is_real_heading = is_heading and classified is not None