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

Function fake_openreview_fetch_by_date

experiments/tests/test_paper_stack.py:1228–1239  ·  view source on GitHub ↗
(*, start_date, end_date, conferences, limit)

Source from the content-addressed store, hash-verified

1226 monkeypatch.setenv("PAPERFLOW_ALLOW_STALE_DAILY_FALLBACK", "1")
1227
1228 def fake_openreview_fetch_by_date(*, start_date, end_date, conferences, limit):
1229 openreview_calls.append(
1230 {
1231 "start_date": start_date,
1232 "end_date": end_date,
1233 "conferences": conferences,
1234 "limit": limit,
1235 }
1236 )
1237 if len(openreview_calls) == 1:
1238 return []
1239 return [{"title": "Fallback ICLR paper"}]
1240
1241 monkeypatch.setattr(daily_push_agent, "arxiv_fetch_by_date", lambda **kwargs: [])
1242 monkeypatch.setattr(daily_push_agent, "arxiv_fetch_recent_list_page", lambda **kwargs: [])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected