← Về thư mục
scripts/contamination_signals.py
- _infer_venue_from_pointer · function · L74-L83 — def _infer_venue_from_pointer(source_pointer: str) -> str | None
- SemanticScholarUnavailable · class · L86-L91 — class SemanticScholarUnavailable(Exception)
- SemanticScholarClient · class · L94-L106 — class SemanticScholarClient(Protocol)
- lookup · method · L102-L106 — def lookup(self, entry: Mapping[str, Any]) -> Mapping[str, Any]
- reset_client_outage_latch · function · L109-L116 — def reset_client_outage_latch(client: SemanticScholarClient) -> None
- compute_preprint_signal · function · L119-L143 — def compute_preprint_signal(entry: Mapping[str, Any]) -> bool
- compute_ss_unmatched_signal · function · L146-L192 — def compute_ss_unmatched_signal( entry: Mapping[str, Any], client: SemanticScholarClient, *, cache=None, ) -> bool | None
- queried_by_for · function · L195-L201 — def queried_by_for(entry: Mapping[str, Any], *, id_field: str) -> str
- _query_form · function · L204-L213 — def _query_form(*, id_label: str, id_value: str | None, title: str) -> str
- _cached_verdict · function · L216-L265 — def _cached_verdict( *, cache, citation_key, resolver_name: str, query_form: str, compute, ) -> bool | None
- _resolve_doi_then_title · function · L268-L296 — def _resolve_doi_then_title( entry: Mapping[str, Any], client, ) -> tuple[bool, str | None, str]
- _resolve_by_doi_then_title · function · L299-L315 — def _resolve_by_doi_then_title( entry: Mapping[str, Any], client, *, resolver_name: str, cache=None, ) -> bool | None
- resolve_openalex_unmatched · function · L318-L344 — def resolve_openalex_unmatched( entry: Mapping[str, Any], client, *, cache=None, ) -> bool | None
- resolve_crossref_unmatched · function · L347-L366 — def resolve_crossref_unmatched( entry: Mapping[str, Any], client, *, cache=None, ) -> bool | None
- _resolve_arxiv_id_then_title · function · L369-L391 — def _resolve_arxiv_id_then_title( entry: Mapping[str, Any], client, ) -> tuple[bool, str | None, str]
- resolve_arxiv_unmatched · function · L394-L442 — def resolve_arxiv_unmatched( entry: Mapping[str, Any], client, *, cache=None, ) -> bool | None
- build_signals_object · function · L445-L480 — def build_signals_object( entry: Mapping[str, Any], client: SemanticScholarClient, arxiv_client=None, *, cache=None, ) -> dict[str, bool]