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

Function _clean_candidate

experiments/tests/test_nl_profile_baseline.py:60–73  ·  view source on GitHub ↗
(row)

Source from the content-addressed store, hash-verified

58
59
60def _clean_candidate(row):
61 return {
62 "date": row["date"],
63 "episode_id": row["episode_id"],
64 "user_id": row["user_id"],
65 "role_name": row["role_name"],
66 "paper_id": row["paper_id"],
67 "paper_identity": runner.paper_identity(row),
68 "title": row["title"],
69 "abstract": row["abstract"],
70 "authors": row["authors"],
71 "source": row["source"],
72 "url": row["url"],
73 }
74
75
76def _label(row, *, selected=False, oracle_label="irrelevant", oracle_score=0.0):

Calls

no outgoing calls

Tested by

no test coverage detected