(row: Dict[str, Any])
| 163 | |
| 164 | |
| 165 | def paper_text(row: Dict[str, Any]) -> str: |
| 166 | # Scholar Inbox encodes papers from title and abstract. Keep metadata out of |
| 167 | # the representation so this baseline remains content-based, not source- or |
| 168 | # entity-prior driven. |
| 169 | parts = [row.get("title"), row.get("abstract")] |
| 170 | return " ".join(str(part or "") for part in parts if part) |
| 171 | |
| 172 | |
| 173 | def paper_identity(row: Dict[str, Any]) -> str: |
no test coverage detected