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

Function fake_score_pool

experiments/tests/test_anchor_behavior_reactions.py:364–368  ·  view source on GitHub ↗
(ranking_papers, profile, weights)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected