← Về thư mục
scripts/test_431_exact_or_bust.py
- _json_resp · function · L34-L39 — def _json_resp(payload: dict) -> MagicMock
- _atom · function · L42-L57 — def _atom(*titles: str) -> bytes
- _atom_resp · function · L60-L65 — def _atom_resp(*titles: str) -> MagicMock
- CrossrefExactOrBustTest · class · L74-L118 — class CrossrefExactOrBustTest(unittest.TestCase)
- _search · method · L75-L80 — def _search(self, *cand_titles, year=None)
- test_non_exact_high_ratio_does_not_match · method · L82-L83 — def test_non_exact_high_ratio_does_not_match(self)
- test_exact_title_matches · method · L85-L88 — def test_exact_title_matches(self)
- test_acronym_variant_matches · method · L90-L100 — def test_acronym_variant_matches(self)
- test_f3_ordering_reaches_exact_second_candidate · method · L102-L107 — def test_f3_ordering_reaches_exact_second_candidate(self): # #1 is the high-ratio related work (non-exact), #2 is the exact work. # Pre-#431 returned #1 and dropped the real work to unresolvable.
- test_generic_exact_title_no_id_does_not_match · method · L109-L118 — def test_generic_exact_title_no_id_does_not_match(self): # §0.12.2: a bare generic title is never promoted on the title path # (no ID can corroborate here). Even an exact 'Editorial'/'Editorial' # returns no match.
- OpenAlexExactOrBustTest · class · L121-L142 — class OpenAlexExactOrBustTest(unittest.TestCase)
- _search · method · L122-L127 — def _search(self, *cand_titles, year=None)
- test_non_exact_high_ratio_does_not_match · method · L129-L130 — def test_non_exact_high_ratio_does_not_match(self)
- test_exact_title_matches · method · L132-L135 — def test_exact_title_matches(self)
- test_generic_exact_title_no_id_does_not_match · method · L137-L142 — def test_generic_exact_title_no_id_does_not_match(self)
- ArxivExactOrBustTest · class · L145-L164 — class ArxivExactOrBustTest(unittest.TestCase)
- _search · method · L146-L150 — def _search(self, *cand_titles, year=None)
- test_non_exact_high_ratio_does_not_match · method · L152-L153 — def test_non_exact_high_ratio_does_not_match(self)
- test_exact_title_matches · method · L155-L158 — def test_exact_title_matches(self)
- test_generic_exact_title_no_id_does_not_match · method · L160-L164 — def test_generic_exact_title_no_id_does_not_match(self)
- SemanticScholarExactOrBustTest · class · L167-L189 — class SemanticScholarExactOrBustTest(unittest.TestCase)
- _search · method · L168-L176 — def _search(self, *cand_titles, year=None)
- test_non_exact_high_ratio_does_not_match · method · L178-L179 — def test_non_exact_high_ratio_does_not_match(self)
- test_exact_title_matches · method · L181-L182 — def test_exact_title_matches(self)
- test_f3_ordering_reaches_exact_second_candidate · method · L184-L186 — def test_f3_ordering_reaches_exact_second_candidate(self)
- test_generic_exact_title_no_id_does_not_match · method · L188-L189 — def test_generic_exact_title_no_id_does_not_match(self)
- ExactNormalizedTitleHelperTest · class · L192-L223 — class ExactNormalizedTitleHelperTest(unittest.TestCase)
- test_base_equal_punctuation_variant_matches · method · L199-L208 — def test_base_equal_punctuation_variant_matches(self)
- test_acronym_only_equal_variant_matches · method · L210-L215 — def test_acronym_only_equal_variant_matches(self)
- test_distinct_initialisms_do_not_match · method · L217-L223 — def test_distinct_initialisms_do_not_match(self)
- ResolverVerdictNarrowingTest · class · L226-L249 — class ResolverVerdictNarrowingTest(unittest.TestCase)
- test_title_only_non_exact_reduces_to_unresolvable · method · L231-L249 — def test_title_only_non_exact_reduces_to_unresolvable(self)