MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / _candidate_doi

Function _candidate_doi

scripts/citation_links.py:257–258  ·  view source on GitHub ↗
(candidate: dict[str, Any], candidate_text: str)

Source from the content-addressed store, hash-verified

255
256
257def _candidate_doi(candidate: dict[str, Any], candidate_text: str) -> str:
258 return _normalize_doi(str(candidate.get("doi", "")) or candidate_text)
259
260
261def _candidate_arxiv_ids(candidate: dict[str, Any], candidate_text: str) -> set[str]:

Callers 1

resolve_reference_linksFunction · 0.85

Calls 1

_normalize_doiFunction · 0.85

Tested by

no test coverage detected