Format current must-read configuration for push cards.
(profile: Dict)
| 847 | authors = ", ".join(must_read.get("authors", [])) or "(空)" |
| 848 | institutions = ", ".join(must_read.get("institutions", [])) or "(空)" |
| 849 | keywords = ", ".join(must_read.get("keywords", [])) or "(空)" |
| 850 | return f"当前配置:作者 {authors} | 机构 {institutions} | 关键词 {keywords}" |
| 851 | |
| 852 | |
| 853 | def format_must_read_reason(paper: Dict, profile: Dict) -> str: |
| 854 | """Explain why a paper matched the must-read list.""" |
| 855 | matches = get_must_read_matches(paper, profile or {}) |
| 856 | parts = [] |
| 857 | if matches.get("authors"): |
| 858 | parts.append(f"作者:{', '.join(matches['authors'])}") |