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

Class PaperWithScore

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

带分数的论文

Source from the content-addressed store, hash-verified

485 score: float
486 category: str # must_read, high_relevant, maybe_interested, edge_relevant
487 relevance_signal: float = 0.0
488 drift_bonus: float = 0.0
489 drift_topics: Optional[List[str]] = None
490 reading_signal_bonus: float = 0.0
491 reading_signal_topics: Optional[List[str]] = None
492
493
494def _hard_priority_tuple(paper_with_score: PaperWithScore) -> tuple:
495 """Sort must-read hits ahead of all other candidates, then by score."""
496 return (
497 1 if paper_with_score.category == "must_read" else 0,
498 float(paper_with_score.score),
499 float(paper_with_score.relevance_signal),

Callers 2

sort_and_categorizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected