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

Function fake_get_recent_papers

experiments/tests/test_paper_stack.py:729–741  ·  view source on GitHub ↗
(days, conferences, limit_per_conference, years=None)

Source from the content-addressed store, hash-verified

727 calls = []
728
729 def fake_get_recent_papers(days, conferences, limit_per_conference, years=None):
730 calls.append(
731 {
732 "days": days,
733 "conferences": conferences,
734 "limit_per_conference": limit_per_conference,
735 "years": years,
736 }
737 )
738 return [
739 {"title": "2026 Paper", "publish_date": "2026-04-10T12:00:00", "venue": "ICLR"},
740 {"title": "2024 Paper", "publish_date": "2024-04-10T12:00:00", "venue": "ICLR"},
741 ]
742
743 monkeypatch.setattr(openreview_fetcher, "get_recent_papers", fake_get_recent_papers)
744

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected