(ranking_papers, profile, weights)
| 362 | monkeypatch.setattr(sim, "_load_real_daily_push_weights", lambda: {"push_target_count": 1, "push_max_count": 1}) |
| 363 | |
| 364 | def fake_score_pool(ranking_papers, profile, weights): |
| 365 | return [ |
| 366 | sim.daily_push_agent.PaperWithScore(ranking_papers[0], 0.30, "edge_relevant", relevance_signal=0.2), |
| 367 | sim.daily_push_agent.PaperWithScore(ranking_papers[1], 0.88, "high_relevant", relevance_signal=0.8, drift_bonus=0.08), |
| 368 | ] |
| 369 | |
| 370 | def fake_sort_and_categorize(ranking_papers, profile, weights): |
| 371 | captured["called"] = True |
nothing calls this directly
no outgoing calls
no test coverage detected