Repository Analysis

vinta/awesome-python

The definitive list that answers "I want to do X in Python, which tool should I use?"

11.7 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of vinta/awesome-python, a Python project with 316,689 GitHub stars. SynthScan v2.0 examined 9,525 lines of code across 36 source files, recording 126 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 11.7 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

11.7
Adjusted Score
11.7
Raw Score
100%
Time Factor
2026-08-25
Last Push
316.7K
Stars
Python
Language
9.5K
Lines of Code
36
Files
126
Pattern Hits
2026-08-29
Scan Date
0.03
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 1MEDIUM 19LOW 106

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 126 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers91 hits · 60 pts
SeverityFileLineSnippetContext
LOWwebsite/build.py229def category_meta_description(name: str, entry_count: int, description: str, parent_name: str | None = None) -> str:CODE
LOWwebsite/build.py279def build_sponsorship_json_ld() -> dict:CODE
LOWwebsite/build.py384def link_llms_category_index_to_canonical_pages(markdown: str, categories: Sequence[ParsedSection]) -> str:CODE
LOWwebsite/build.py443def annotate_entries_with_stats(CODE
LOWwebsite/readme_parser.py133def _extract_description_children(nodes: list[SyntaxTreeNode]) -> list[SyntaxTreeNode]:CODE
LOWwebsite/readme_parser.py179def _extract_description_html(inline: SyntaxTreeNode, first_link: SyntaxTreeNode) -> str:CODE
LOWwebsite/tests/test_fetch_github_stars.py54 def test_multiple_repos_use_aliases(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py63 def test_skips_repos_with_quotes_in_name(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py67 def test_skips_only_bad_repos(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py72 def test_skips_graphql_injection_in_owner(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py76 def test_skips_graphql_injection_in_name(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py80 def test_skips_owner_starting_with_hyphen(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py84 def test_skips_owner_starting_with_dot(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py88 def test_skips_repo_starting_with_dot(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py92 def test_allows_repo_with_dots_and_underscores(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py96 def test_allows_hyphenated_owner(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py100 def test_skips_owner_with_underscore(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py106 def test_parses_star_count_and_owner(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py14 def test_extracts_owner_repo_from_github_url(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py36 def test_creates_directory_and_writes_json(self, tmp_path, monkeypatch):CODE
LOWwebsite/tests/test_fetch_github_stars.py124 def test_handles_missing_owner(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py141 def test_extracts_last_commit_at(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py153 def test_missing_default_branch_ref(self):CODE
LOWwebsite/tests/test_fetch_github_stars.py163 def test_skips_fetch_when_cache_is_fresh(self, tmp_path, monkeypatch, capsys):CODE
LOWwebsite/tests/test_fetch_github_stars.py203 def test_fetches_when_cache_is_stale(self, tmp_path, monkeypatch, capsys):CODE
LOWwebsite/tests/test_build.py136 def test_build_creates_homepage_and_category_pages(self, tmp_path):CODE
LOWwebsite/tests/test_build.py993 def test_returns_empty_when_missing(self, tmp_path):STRING
LOWwebsite/tests/test_build.py1004 def test_returns_empty_on_corrupt_json(self, tmp_path):STRING
LOWwebsite/tests/test_build.py1017 def test_only_entries_with_a_badge_are_returned(self):STRING
LOWwebsite/tests/test_build.py1046 def test_sorts_by_stars_descending(self):STRING
LOWwebsite/tests/test_build.py1055 def test_equal_stars_sorted_alphabetically(self):STRING
LOWwebsite/tests/test_build.py1063 def test_no_stars_go_to_bottom(self):STRING
LOWwebsite/tests/test_build.py1071 def test_no_stars_sorted_alphabetically(self):STRING
LOWwebsite/tests/test_build.py1079 def test_builtin_between_starred_and_unstarred(self):STRING
LOWwebsite/tests/test_build.py1095 def test_github_repo_returns_none(self):STRING
LOWwebsite/tests/test_build.py1110 def test_github_non_repo_returns_none(self):STRING
LOWwebsite/tests/test_build.py1227 def test_appends_star_count_to_bullet(self):STRING
LOWwebsite/tests/test_build.py1232 def test_appends_downloads_by_display_name(self):STRING
LOWwebsite/tests/test_build.py1236 def test_appends_downloads_and_stars_together(self):STRING
LOWwebsite/tests/test_build.py1241 def test_uses_first_github_link(self):STRING
LOWwebsite/tests/test_build.py1249 def test_skips_entries_without_data(self):STRING
LOWwebsite/tests/test_build.py1253 def test_skips_non_github_links_for_stars(self):STRING
LOWwebsite/tests/test_build.py1258 def test_skips_non_bullet_lines(self):STRING
LOWwebsite/tests/test_build.py1263 def test_handles_indented_bullets(self):STRING
LOWwebsite/tests/test_build.py1268 def test_preserves_lines_without_trailing_newline(self):STRING
LOWwebsite/tests/test_build.py1275 def test_parses_tsv_and_skips_not_found(self, tmp_path):STRING
LOWwebsite/tests/test_build.py1283 def test_missing_file_returns_empty(self, tmp_path):STRING
LOWwebsite/tests/test_build.py178 def test_build_creates_root_discovery_files(self, tmp_path):STRING
LOWwebsite/tests/test_build.py231 def test_build_creates_category_pages_with_metadata_and_links(self, tmp_path):STRING
LOWwebsite/tests/test_build.py298 def test_build_creates_llms_text_alternate_without_sponsors(self, tmp_path):STRING
LOWwebsite/tests/test_build.py371 def test_build_cleans_stale_output(self, tmp_path):STRING
LOWwebsite/tests/test_build.py395 def test_build_with_stars_sorts_by_stars(self, tmp_path):STRING
LOWwebsite/tests/test_build.py439 def test_build_with_downloads_renders_column(self, tmp_path):STRING
LOWwebsite/tests/test_build.py480 def test_build_fails_when_group_and_category_slug_collide(self, tmp_path):STRING
LOWwebsite/tests/test_build.py500 def test_index_contains_aligned_homepage_metadata(self, tmp_path):STRING
LOWwebsite/tests/test_build.py537 def test_index_contains_homepage_json_ld(self, tmp_path):STRING
LOWwebsite/tests/test_build.py586 def test_category_page_contains_json_ld(self, tmp_path):STRING
LOWwebsite/tests/test_build.py647 def test_group_page_falls_back_to_default_description_in_json_ld(self, tmp_path):STRING
LOWwebsite/tests/test_build.py680 def test_build_creates_subcategory_pages(self, tmp_path):STRING
LOWwebsite/tests/test_build.py715 def test_subcategory_page_shows_breadcrumb(self, tmp_path):STRING
31 more matches not shown…
Decorative Section Separators16 hits · 29 pts
SeverityFileLineSnippetContext
MEDIUMwebsite/tests/test_build.py62# ---------------------------------------------------------------------------COMMENT
MEDIUMwebsite/tests/test_build.py64# ---------------------------------------------------------------------------COMMENT
MEDIUMwebsite/tests/test_build.py86# ---------------------------------------------------------------------------COMMENT
MEDIUMwebsite/tests/test_build.py88# ---------------------------------------------------------------------------COMMENT
MEDIUMwebsite/tests/test_build.py987# ---------------------------------------------------------------------------STRING
MEDIUMwebsite/tests/test_build.py989# ---------------------------------------------------------------------------STRING
MEDIUMwebsite/tests/test_build.py1011# ---------------------------------------------------------------------------STRING
MEDIUMwebsite/tests/test_build.py1013# ---------------------------------------------------------------------------STRING
MEDIUMwebsite/tests/test_build.py1089# ---------------------------------------------------------------------------STRING
MEDIUMwebsite/tests/test_build.py1091# ---------------------------------------------------------------------------STRING
MEDIUMwebsite/tests/test_build.py1114# ---------------------------------------------------------------------------STRING
MEDIUMwebsite/tests/test_build.py1116# ---------------------------------------------------------------------------STRING
MEDIUMwebsite/tests/test_build.py1221# ---------------------------------------------------------------------------STRING
MEDIUMwebsite/tests/test_build.py1223# ---------------------------------------------------------------------------STRING
MEDIUMwebsite/tests/test_build.py959# ---------------------------------------------------------------------------STRING
MEDIUMwebsite/tests/test_build.py961# ---------------------------------------------------------------------------STRING
Deep Nesting11 hits · 11 pts
SeverityFileLineSnippetContext
LOWwebsite/build.py443CODE
LOWwebsite/build.py507CODE
LOWwebsite/build.py564CODE
LOWwebsite/fetch_pypi_downloads_via_clickpy.py74CODE
LOWwebsite/readme_parser.py195CODE
LOWwebsite/readme_parser.py317CODE
LOWwebsite/readme_parser.py445CODE
LOWwebsite/fetch_github_stars.py101CODE
LOWwebsite/tests/test_build.py39CODE
LOWwebsite/tests/test_readme_parser.py464CODE
LOWwebsite/tests/test_readme_parser.py494CODE
Excessive Try-Catch Wrapping3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMwebsite/fetch_pypi_downloads_via_pepy.py41 print("Error: PEPY_TECH_API_KEY not set (environment or repo-root .env).", file=sys.stderr)CODE
MEDIUMwebsite/fetch_github_stars.py105 print("Error: GITHUB_TOKEN environment variable is required.", file=sys.stderr)CODE
MEDIUMwebsite/fetch_github_stars.py160 print("Error: Invalid GITHUB_TOKEN.", file=sys.stderr)CODE
Cross-Language Confusion1 hit · 2 pts
SeverityFileLineSnippetContext
HIGHwebsite/fetch_pypi_downloads_via_clickpy.py59 Each file entry is {"package": str | null, "reason": str | null} plus anSTRING
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWwebsite/tests/test_fetch_github_stars.py195 monkeypatch.setenv("GITHUB_TOKEN", "fake-token")CODE
LOWwebsite/tests/test_fetch_github_stars.py236 monkeypatch.setenv("GITHUB_TOKEN", "fake-token")CODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWwebsite/readme_parser.py12CODE
Redundant / Tautological Comments1 hit · 0 pts
SeverityFileLineSnippetContext
LOWwebsite/tests/test_readme_parser.py533 # Check if inline text starts with '[' but has no link nodeSTRING