MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _paper_matches_any_topic

Function _paper_matches_any_topic

scripts/drift_engine.py:632–635  ·  view source on GitHub ↗
(paper: Dict[str, Any], topics: List[str])

Source from the content-addressed store, hash-verified

630
631def _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
637def advance_anchor_recovery(
638 profile: Dict[str, Any],

Callers 1

advance_anchor_recoveryFunction · 0.85

Calls 2

_keyword_hit_countFunction · 0.85
_direction_match_termsFunction · 0.70

Tested by

no test coverage detected