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

Function format_must_read_reason

deployments/feishu/daily-push-agent/main.py:858–868  ·  view source on GitHub ↗

Explain why a paper matched the must-read list.

(paper: Dict, profile: Dict)

Source from the content-addressed store, hash-verified

856 parts = []
857 if matches.get("authors"):
858 parts.append(f"作者:{', '.join(matches['authors'])}")
859 if matches.get("institutions"):
860 parts.append(f"机构:{', '.join(matches['institutions'])}")
861 if matches.get("keywords"):
862 parts.append(f"关键词:{', '.join(matches['keywords'])}")
863 return ";".join(parts)
864
865
866def expand_direction_terms(canonical_directions: List[str]) -> Dict[str, Dict]:
867 """Return canonical directions plus their aliases / paper terms for reuse."""
868 return expand_direction_terms_from_registry(canonical_directions)
869
870
871def prepare_paper_features(papers: List[Dict]) -> List[Dict]:

Callers 1

format_push_cardFunction · 0.85

Calls 2

get_must_read_matchesFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected