(section: str)
| 3047 | |
| 3048 | def _format_pdf_section_label(section: str) -> str: |
| 3049 | normalized = _clean_text(section).replace("_", " ").replace("-", " ") |
| 3050 | if not normalized: |
| 3051 | return "PDF" |
| 3052 | return normalized.title() |
| 3053 | |
| 3054 | |
| 3055 | def _summarize_profile_for_embedding(user_profile: Dict[str, Any]) -> str: |
| 3056 | core_directions = user_profile.get("core_directions", {}) or {} |
no test coverage detected