(paper: Dict[str, Any], topics: List[str])
| 630 | |
| 631 | def _paper_matches_any_topic(paper: Dict[str, Any], topics: List[str]) -> bool: |
| 632 | if not topics: |
| 633 | return False |
| 634 | return any(_keyword_hit_count([paper], _direction_match_terms(topic)) > 0 for topic in topics) |
| 635 | |
| 636 | |
| 637 | def advance_anchor_recovery( |
| 638 | profile: Dict[str, Any], |
no test coverage detected