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

Method get

experiments/tests/test_profile_bootstrap.py:795–799  ·  view source on GitHub ↗
(self, url, headers=None, timeout=None)

Source from the content-addressed store, hash-verified

793
794 class _FakeSession:
795 def get(self, url, headers=None, timeout=None):
796 captured["url"] = url
797 captured["headers"] = headers or {}
798 captured["timeout"] = timeout
799 return _FakeResponse(_sample_scholar_html())
800
801 monkeypatch.setattr(coldstart_agent.requests, "Session", lambda: _FakeSession())
802

Callers 15

seed_direction_phrasesFunction · 0.80
paper_textFunction · 0.80
paper_identityFunction · 0.80
label_keyFunction · 0.80
build_label_mapFunction · 0.80
load_rolesFunction · 0.80
load_user_metadataFunction · 0.80
build_query_profileFunction · 0.80
build_profile_mapFunction · 0.80
group_by_episodeFunction · 0.80
episode_sort_keyFunction · 0.80
bm25_scoreFunction · 0.80

Calls 3

_FakeResponseClass · 0.85
_sample_scholar_htmlFunction · 0.85
_build_scholar_htmlFunction · 0.85

Tested by

no test coverage detected