Backward-compatible coarse categorization.
(score: float, paper: Dict, profile: Dict, weights: Dict)
| 1531 | ): |
| 1532 | paper_with_score.category = "maybe_interested" |
| 1533 | filtered.append(paper_with_score) |
| 1534 | continue |
| 1535 | |
| 1536 | if paper_with_score.score >= threshold_edge: |
| 1537 | paper_with_score.category = "edge_relevant" |
| 1538 | filtered.append(paper_with_score) |
| 1539 | continue |
| 1540 | |
| 1541 | print( |
| 1542 | f" Filtered out (score={paper_with_score.score:.2f}): " |
| 1543 | f"{str(paper_with_score.paper.get('title', '') or '').strip()}" |
| 1544 | ) |
| 1545 | |
| 1546 | return filtered |
| 1547 | |
| 1548 |
no test coverage detected