(value: Any)
| 79 | |
| 80 | def _normalize_author_key(value: Any) -> str: |
| 81 | lowered = str(value or "").strip().casefold() |
| 82 | return re.sub(r"[^0-9a-z\u4e00-\u9fff]+", "", lowered) |
| 83 | |
| 84 | |
| 85 | def _fetch_openalex_impact_signal(paper: Dict[str, Any]) -> Dict[str, Any]: |
| 86 | doi = _extract_doi(paper.get("doi") or paper.get("doi_url") or paper.get("url")) |
no outgoing calls
no test coverage detected