← Về thư mục
scripts/test_text_similarity.py
- NormalizeTitleTest · class · L23-L43 — class NormalizeTitleTest(unittest.TestCase)
- test_lowercases · method · L27-L28 — def test_lowercases(self) -> None
- test_punctuation_becomes_whitespace_then_collapsed · method · L30-L31 — def test_punctuation_becomes_whitespace_then_collapsed(self) -> None
- test_acronym_dots_collapse · method · L33-L34 — def test_acronym_dots_collapse(self) -> None
- test_empty_string · method · L36-L37 — def test_empty_string(self) -> None
- test_whitespace_only · method · L39-L40 — def test_whitespace_only(self) -> None
- test_already_normalized_unchanged · method · L42-L43 — def test_already_normalized_unchanged(self) -> None
- SimilarityTest · class · L46-L67 — class SimilarityTest(unittest.TestCase)
- test_acronym_punctuation_clears_threshold · method · L49-L52 — def test_acronym_punctuation_clears_threshold(self) -> None
- test_punctuation_stripped_before_similarity · method · L54-L61 — def test_punctuation_stripped_before_similarity(self) -> None
- test_identical_strings_score_one · method · L63-L64 — def test_identical_strings_score_one(self) -> None
- test_completely_different_strings_score_low · method · L66-L67 — def test_completely_different_strings_score_low(self) -> None
- ConstantsTest · class · L70-L91 — class ConstantsTest(unittest.TestCase)
- test_title_similarity_threshold_is_protocol_value · method · L74-L77 — def test_title_similarity_threshold_is_protocol_value(self) -> None
- test_backoff_seconds · method · L79-L81 — def test_backoff_seconds(self) -> None
- test_max_retries · method · L83-L84 — def test_max_retries(self) -> None
- test_punct_translation_has_all_punctuation · method · L86-L91 — def test_punct_translation_has_all_punctuation(self) -> None