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

Function _clean_candidate

experiments/tests/test_scinup_strict_baseline.py:36–49  ·  view source on GitHub ↗
(row)

Source from the content-addressed store, hash-verified

34
35
36def _clean_candidate(row):
37 return {
38 "date": row["date"],
39 "episode_id": row["episode_id"],
40 "user_id": row["user_id"],
41 "role_name": row["role_name"],
42 "paper_id": row["paper_id"],
43 "paper_identity": runner.paper_identity(row),
44 "title": row["title"],
45 "abstract": row["abstract"],
46 "authors": row["authors"],
47 "source": row["source"],
48 "url": row["url"],
49 }
50
51
52def _label(row, *, selected=False, oracle_label="irrelevant", oracle_score=0.0):

Calls

no outgoing calls

Tested by

no test coverage detected