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

Function expand_direction_terms

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

Return canonical directions plus their aliases / paper terms for reuse.

(canonical_directions: List[str])

Source from the content-addressed store, hash-verified

869
870
871def prepare_paper_features(papers: List[Dict]) -> List[Dict]:
872 """Attach embeddings and normalized ranking features to fetched papers."""
873 if not papers:
874 return papers
875
876 embedding_texts = [build_paper_text(paper) for paper in papers]

Callers 1

prepare_paper_featuresFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected