← Về thư mục
scripts/verification_gate/init.py
- _is_valid_ref_slug · function · L67-L73 — def _is_valid_ref_slug(ref_slug: Any) -> bool
- _outcome · function · L76-L79 — def _outcome(status: str, queried_by: str | None, response_summary: str | None = None) -> dict[str, Any]
- _ran_outcome · function · L82-L84 — def _ran_outcome(unmatched: bool, queried_by: str | None) -> dict[str, Any]
- _run_doi_then_title · function · L87-L95 — def _run_doi_then_title(entry, client, unavailable_exc) -> dict[str, Any]
- _run_semantic_scholar · function · L98-L107 — def _run_semantic_scholar(entry, client) -> dict[str, Any]
- _run_arxiv · function · L110-L120 — def _run_arxiv(entry, client) -> dict[str, Any]
- _anchor_present · function · L123-L131 — def _anchor_present(anchor: Any) -> bool
- verify_citation · function · L134-L209 — def verify_citation( entry: Mapping[str, Any], clients: Mapping[str, Any], *, ref_slug: str, anchor: Mapping[str, Any] | None = None, cache=None, ) -> dict[str, Any]
- verify_passport · function · L212-L260 — def verify_passport( passport: Mapping[str, Any], clients: Mapping[str, Any], *, ref_slug_by_key: Mapping[str, str], anchors: Mapping[str, Mapping[str, Any]] | None = None, cache=None, ) -> list[dict[str, Any]]