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

Function citation_count

experiments/baselines/citation_enhanced/runner.py:204–212  ·  view source on GitHub ↗
(row: Dict[str, Any])

Source from the content-addressed store, hash-verified

202
203
204def citation_count(row: Dict[str, Any]) -> Optional[float]:
205 for field_name in CITATION_COUNT_FIELDS:
206 value = row.get(field_name)
207 if value in (None, ""):
208 continue
209 count = safe_float(value, -1.0)
210 if count >= 0:
211 return count
212 return None
213
214
215def source_prior(row: Dict[str, Any]) -> float:

Callers 3

impact_scoreFunction · 0.70
score_rowFunction · 0.70

Calls 2

getMethod · 0.80
safe_floatFunction · 0.70

Tested by

no test coverage detected