Simple, Pythonic, text processing--Sentiment analysis, part-of-speech tagging, noun phrase extraction, translation, and more.
This report summarizes scanner evidence for sloria/TextBlob, a Python project with 9,556 GitHub stars. SynthScan examined 41,263 lines of code across 58 source files, recording 136 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 3.7 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 84 finding(s).
Are imports declared and package/API names verified? 42 finding(s).
Are wrappers, guards, and repeated structures necessary? 78 finding(s).
Which changes need focused human review? 136 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 136 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_decorators.py | 15 | def test_decorator_raises_missing_corpus_exception(): | CODE |
| LOW | tests/test_tokenizers.py | 69 | def test_tokenize_with_multiple_punctuation(self): | CODE |
| LOW⚡ | tests/test_inflect.py | 13 | def s_singular_pluralize_test(self): | CODE |
| LOW⚡ | tests/test_inflect.py | 16 | def s_singular_singularize_test(self): | CODE |
| LOW⚡ | tests/test_inflect.py | 19 | def diagnoses_singularize_test(self): | CODE |
| LOW | tests/test_inflect.py | 37 | def test_pluralize_already_plural_jeans(self): | CODE |
| LOW | tests/test_inflect.py | 52 | def test_all_singular_irregular(self): | CODE |
| LOW | tests/test_np_extractor.py | 38 | def test_filter_insignificant(self): | STRING |
| LOW | tests/test_np_extractor.py | 53 | def test_cannot_instantiate_incomplete_extractor(): | CODE |
| LOW | tests/test_formats.py | 34 | def test_delimiter_defaults_to_comma(self): | CODE |
| LOW | tests/test_formats.py | 61 | def test_read_from_file_object(self): | CODE |
| LOW | tests/test_formats.py | 76 | def test_read_from_file_object(self): | CODE |
| LOW | tests/test_taggers.py | 65 | def test_cannot_instantiate_incomplete_tagger(): | CODE |
| LOW⚡ | tests/test_classifiers.py | 118 | def test_show_informative_features(self): | CODE |
| LOW⚡ | tests/test_classifiers.py | 121 | def test_informative_features(self): | CODE |
| LOW⚡ | tests/test_classifiers.py | 126 | def test_custom_feature_extractor(self): | CODE |
| LOW⚡ | tests/test_classifiers.py | 179 | def test_data_with_no_available_format(self): | CODE |
| LOW⚡ | tests/test_classifiers.py | 186 | def test_accuracy_on_a_csv_file(self): | CODE |
| LOW⚡ | tests/test_classifiers.py | 191 | def test_accuracy_on_json_file(self): | CODE |
| LOW⚡ | tests/test_classifiers.py | 343 | def test_basic_extractor_with_list(): | CODE |
| LOW⚡ | tests/test_classifiers.py | 351 | def test_contains_extractor_with_string(): | CODE |
| LOW⚡ | tests/test_classifiers.py | 360 | def test_contains_extractor_with_list(): | CODE |
| LOW | tests/test_classifiers.py | 59 | def test_raises_value_error_without_nltk_class(self): | CODE |
| LOW | tests/test_classifiers.py | 85 | def test_classify_a_list_of_words(self): | CODE |
| LOW | tests/test_classifiers.py | 89 | def test_train_from_lists_of_words(self): | CODE |
| LOW | tests/test_classifiers.py | 138 | def test_init_with_csv_file_without_format_specifier(self): | CODE |
| LOW | tests/test_classifiers.py | 152 | def test_init_with_json_file_without_format_specifier(self): | CODE |
| LOW | tests/test_classifiers.py | 159 | def test_init_with_custom_format(self): | CODE |
| LOW | tests/test_classifiers.py | 203 | def test_init_with_bad_format_specifier(self): | CODE |
| LOW | tests/test_classifiers.py | 233 | def test_custom_feature_extractor(self): | CODE |
| LOW | tests/test_classifiers.py | 378 | def test_get_words_from_dataset(): | CODE |
| LOW⚡ | tests/test_blob.py | 363 | def test_blob_with_no_sentences(self): | CODE |
| LOW⚡ | tests/test_blob.py | 455 | def test_pos_tags_includes_one_letter_articles(self): | CODE |
| LOW⚡ | tests/test_blob.py | 460 | def test_np_extractor_defaults_to_fast_tagger(self): | CODE |
| LOW⚡ | tests/test_blob.py | 465 | def test_np_extractor_is_shared_among_instances(self): | CODE |
| LOW⚡ | tests/test_blob.py | 471 | def test_can_use_different_np_extractors(self): | CODE |
| LOW⚡ | tests/test_blob.py | 478 | def test_can_use_different_sentanalyzer(self): | CODE |
| LOW⚡ | tests/test_blob.py | 487 | def test_can_get_subjectivity_and_polarity_with_different_analyzer(self): | CODE |
| LOW⚡ | tests/test_blob.py | 493 | def test_pos_tagger_defaults_to_pattern(self): | CODE |
| LOW⚡ | tests/test_blob.py | 497 | def test_pos_tagger_is_shared_among_instances(self): | CODE |
| LOW⚡ | tests/test_blob.py | 502 | def test_can_use_different_pos_tagger(self): | CODE |
| LOW⚡ | tests/test_blob.py | 508 | def test_can_pass_np_extractor_to_constructor(self): | CODE |
| LOW⚡ | tests/test_blob.py | 565 | def test_using_indices_for_slicing(self): | CODE |
| LOW⚡ | tests/test_blob.py | 571 | def test_indices_with_only_one_sentences(self): | CODE |
| LOW⚡ | tests/test_blob.py | 576 | def test_indices_with_multiple_puncutations(self): | CODE |
| LOW⚡ | tests/test_blob.py | 739 | def test_tokenizer_defaults_to_word_tokenizer(self): | CODE |
| LOW⚡ | tests/test_blob.py | 745 | def test_can_use_an_different_tokenizer(self): | CODE |
| LOW⚡ | tests/test_blob.py | 750 | def test_words_uses_custom_tokenizer(self): | CODE |
| LOW | tests/test_blob.py | 221 | def test_words_are_word_objects(self): | CODE |
| LOW | tests/test_blob.py | 340 | def test_senences_with_space_before_punctuation(self): | CODE |
| LOW | tests/test_blob.py | 345 | def test_sentiment_of_foreign_text(self): | CODE |
| LOW | tests/test_blob.py | 419 | def test_words_includes_apostrophes_in_contractions(self): | CODE |
| LOW | tests/test_blob.py | 666 | def test_sentences_after_concatenation(self): | CODE |
| LOW | tests/test_blob.py | 693 | def test_sentiment_of_emoticons(self): | CODE |
| LOW | tests/test_blob.py | 727 | def test_words_are_word_objects(self): | CODE |
| LOW | tests/test_blob.py | 765 | def test_tags_uses_custom_tokenizer(self): | CODE |
| LOW | tests/test_blob.py | 779 | def test_tags_with_custom_tokenizer_and_tagger(self): | CODE |
| LOW | tests/test_blob.py | 832 | def test_passing_bad_init_params(self): | CODE |
| LOW | tests/test_blob.py | 854 | def test_classify_without_classifier(self): | CODE |
| LOW | tests/test_blob.py | 859 | def test_word_string_type_after_pos_tags_is_str(self): | CODE |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/textblob/np_extractors.py | 11 | CODE | |
| LOW | src/textblob/np_extractors.py | 12 | CODE | |
| LOW | src/textblob/np_extractors.py | 12 | CODE | |
| LOW | src/textblob/__init__.py | 1 | CODE | |
| LOW | src/textblob/__init__.py | 1 | CODE | |
| LOW | src/textblob/__init__.py | 1 | CODE | |
| LOW | src/textblob/__init__.py | 1 | CODE | |
| LOW | src/textblob/__init__.py | 1 | CODE | |
| LOW | src/textblob/inflect.py | 11 | CODE | |
| LOW | src/textblob/inflect.py | 11 | CODE | |
| LOW | src/textblob/parsers.py | 10 | CODE | |
| LOW | src/textblob/parsers.py | 11 | CODE | |
| LOW | src/textblob/taggers.py | 11 | CODE | |
| LOW | src/textblob/taggers.py | 12 | CODE | |
| LOW | src/textblob/taggers.py | 12 | CODE | |
| LOW | src/textblob/utils.py | 1 | CODE | |
| LOW | src/textblob/formats.py | 24 | CODE | |
| LOW | src/textblob/sentiments.py | 11 | CODE | |
| LOW | src/textblob/sentiments.py | 12 | CODE | |
| LOW | src/textblob/sentiments.py | 12 | CODE | |
| LOW | src/textblob/sentiments.py | 12 | CODE | |
| LOW | src/textblob/sentiments.py | 12 | CODE | |
| LOW | src/textblob/base.py | 8 | CODE | |
| LOW | src/textblob/decorators.py | 3 | CODE | |
| LOW | src/textblob/en/inflect.py | 8 | CODE | |
| LOW | src/textblob/en/inflect.py | 14 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/test_classifiers.py | 105 | res1 = self.classifier.prob_classify("lorem ipsum") | CODE |
| LOW⚡ | tests/test_classifiers.py | 107 | self.classifier.update([("lorem ipsum", "positive")]) | CODE |
| LOW⚡ | tests/test_classifiers.py | 109 | res2 = self.classifier.prob_classify("lorem ipsum") | CODE |
| LOW | tests/test_classifiers.py | 229 | self.classifier.update([("lorem ipsum", "positive")]) | CODE |
| LOW⚡ | tests/test_blob.py | 373 | blob = tb.TextBlob("lorem ipsum") | CODE |
| LOW⚡ | tests/test_blob.py | 374 | assert len(blob) == len("lorem ipsum") | CODE |
| LOW⚡ | tests/test_blob.py | 377 | blob1 = tb.TextBlob("lorem ipsum") | CODE |
| LOW⚡ | tests/test_blob.py | 378 | assert repr(blob1) == 'TextBlob("{}")'.format("lorem ipsum") | CODE |
| LOW⚡ | tests/test_blob.py | 381 | blob1 = tb.TextBlob("lorem ipsum") | CODE |
| LOW⚡ | tests/test_blob.py | 382 | blob2 = tb.TextBlob("lorem ipsum") | CODE |
| LOW⚡ | tests/test_blob.py | 383 | blob3 = tb.TextBlob("dolor sit amet") | CODE |
| LOW⚡ | tests/test_blob.py | 514 | blob = tb.TextBlob("lorem ipsum") | CODE |
| LOW⚡ | tests/test_blob.py | 519 | blob = tb.TextBlob("lorem ipsum") | CODE |
| LOW⚡ | tests/test_blob.py | 521 | assert blob.upper() == tb.TextBlob("LOREM IPSUM") | CODE |
| LOW⚡ | tests/test_blob.py | 528 | blob = tb.TextBlob("Lorem Ipsum") | CODE |
| LOW⚡ | tests/test_blob.py | 530 | assert blob.lower() == tb.TextBlob("lorem ipsum") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/textblob/_text.py | 350 | CODE | |
| LOW | src/textblob/_text.py | 459 | CODE | |
| LOW | src/textblob/_text.py | 1178 | CODE | |
| LOW | src/textblob/_text.py | 1316 | CODE | |
| LOW | src/textblob/_text.py | 1360 | CODE | |
| LOW | src/textblob/_text.py | 783 | CODE | |
| LOW | src/textblob/_text.py | 970 | CODE | |
| LOW | src/textblob/_text.py | 1048 | CODE | |
| LOW | src/textblob/en/__init__.py | 51 | CODE | |
| LOW | src/textblob/en/inflect.py | 537 | CODE | |
| LOW | src/textblob/en/inflect.py | 852 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/textblob/_text.py | 42 | except: | CODE |
| HIGH | src/textblob/_text.py | 56 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/textblob/np_extractors.py | 14 | __all__ = [ | CODE |
| LOW | src/textblob/__init__.py | 3 | __all__ = [ | CODE |
| LOW | src/textblob/inflect.py | 13 | __all__ = [ | CODE |
| LOW | src/textblob/parsers.py | 13 | __all__ = [ | CODE |
| LOW | src/textblob/taggers.py | 14 | __all__ = [ | CODE |
| LOW | src/textblob/sentiments.py | 19 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/textblob/_text.py | 181 | # The default part-of-speech tagset used in Pattern is Penn Treebank II. | COMMENT |
| LOW | src/textblob/_text.py | 821 | COMMENT | |
| LOW | src/textblob/_text.py | 1381 | ch[-1] = "I-PNP" | COMMENT |
| LOW | src/textblob/_text.py | 1401 | # ------------------------------------------------------------------ | COMMENT |
| LOW | src/textblob/en/inflect.py | 601 | #### SINGULARIZE ################################################################################### | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/textblob/_text.py | 1401 | # ------------------------------------------------------------------ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/textblob/_text.py | 1178 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/textblob/classifiers.py | 98 | except Exception as error: | CODE |