Draw pretty maps from OpenStreetMap data! Built with osmnx +matplotlib + shapely
This report presents the forensic synthetic code analysis of marceloprates/prettymaps, a Python project with 12,308 GitHub stars. SynthScan v2.0 examined 5,032 lines of code across 35 source files, recording 66 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 18.8 places this repository in the Moderate 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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.
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.
The scanner identified 66 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | prettymaps/draw.py | 70 | # ============================================================================= | COMMENT |
| MEDIUM | prettymaps/draw.py | 72 | # ============================================================================= | COMMENT |
| MEDIUM | prettymaps/draw.py | 170 | # ============================================================================= | COMMENT |
| MEDIUM | prettymaps/draw.py | 172 | # ============================================================================= | COMMENT |
| MEDIUM | prettymaps/draw.py | 646 | # ============================================================================= | COMMENT |
| MEDIUM | prettymaps/draw.py | 648 | # ============================================================================= | COMMENT |
| MEDIUM | prettymaps/draw.py | 697 | # ============================================================================= | COMMENT |
| MEDIUM | prettymaps/draw.py | 699 | # ============================================================================= | COMMENT |
| MEDIUM | prettymaps/draw.py | 904 | # ============================================================================= | COMMENT |
| MEDIUM | prettymaps/draw.py | 906 | # ============================================================================= | COMMENT |
| MEDIUM | prettymaps/draw.py | 974 | # ============================================================================= | COMMENT |
| MEDIUM | prettymaps/draw.py | 976 | # ============================================================================= | COMMENT |
| MEDIUM | prettymaps/draw.py | 1101 | # ============================================================================= | COMMENT |
| MEDIUM | prettymaps/draw.py | 1103 | # ============================================================================= | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | prettymaps/fetch.py | 24 | CODE | |
| LOW | prettymaps/fetch.py | 24 | CODE | |
| LOW | prettymaps/fetch.py | 37 | CODE | |
| LOW | prettymaps/fetch.py | 39 | CODE | |
| LOW | prettymaps/fetch.py | 48 | CODE | |
| LOW | prettymaps/fetch.py | 50 | CODE | |
| LOW | prettymaps/fetch.py | 51 | CODE | |
| LOW | prettymaps/fetch.py | 52 | CODE | |
| LOW | prettymaps/fetch.py | 53 | CODE | |
| LOW | prettymaps/__init__.py | 1 | CODE | |
| LOW | prettymaps/__init__.py | 1 | CODE | |
| LOW | prettymaps/__init__.py | 1 | CODE | |
| LOW | prettymaps/__init__.py | 1 | CODE | |
| LOW | prettymaps/__init__.py | 1 | CODE | |
| LOW | prettymaps/__init__.py | 1 | CODE | |
| LOW | prettymaps/draw.py | 53 | CODE | |
| LOW | tests/test_gpx.py | 4 | CODE | |
| LOW | tests/test.py | 1 | CODE | |
| LOW | tests/test.py | 4 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_gpx.py | 61 | def test_read_track_missing_geometry(tmp_path): | STRING |
| LOW | tests/test_gpx.py | 67 | def test_read_track_multiple_files(tmp_path): | STRING |
| LOW | tests/test_gpx.py | 95 | def test_plot_gpx_query_autoframes_and_draws(monkeypatch, tmp_path): | STRING |
| LOW | tests/test_gpx.py | 116 | def test_plot_gpx_param_overlays_without_reframing(monkeypatch, tmp_path): | CODE |
| LOW | tests/test_gpx.py | 133 | def test_plot_gpx_custom_style(monkeypatch, tmp_path): | CODE |
| LOW | tests/test.py | 27 | def test_create_and_read_preset(tmp_path): | CODE |
| LOW | tests/test.py | 81 | def test_plot_custom_layers_style(monkeypatch): | CODE |
| LOW | tests/test.py | 154 | def test_plot_circle_radius_dilate(monkeypatch): | CODE |
| LOW | tests/test.py | 184 | def test_multiplot_custom_subplots(monkeypatch): | CODE |
| LOW | tests/test.py | 236 | def test_plot_transform_params(monkeypatch): | CODE |
| LOW | tests/test.py | 249 | def test_plot_show_true_false(monkeypatch): | CODE |
| LOW | tests/test.py | 290 | def test_plot_adjust_aspect_ratio(monkeypatch): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | prettymaps/fetch.py | 522 | CODE | |
| LOW | prettymaps/fetch.py | 572 | CODE | |
| LOW | prettymaps/fetch.py | 536 | CODE | |
| LOW | prettymaps/gpx.py | 30 | CODE | |
| LOW | prettymaps/gpx.py | 47 | CODE | |
| LOW | prettymaps/draw.py | 175 | CODE | |
| LOW | prettymaps/draw.py | 296 | CODE | |
| LOW | prettymaps/draw.py | 515 | CODE | |
| LOW | prettymaps/draw.py | 188 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | prettymaps/fetch.py | 469 | except Exception as e: | STRING |
| MEDIUM | prettymaps/fetch.py | 470 | # print(f"Error fetching {layer}: {e}") | STRING |
| LOW | prettymaps/fetch.py | 609 | except Exception as e: | CODE |
| LOW | prettymaps/fetch.py | 692 | except Exception as e: | CODE |
| MEDIUM | prettymaps/fetch.py | 693 | # print(f"Error fetching {layer}: {e}") | COMMENT |
| LOW | prettymaps/draw.py | 579 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app.py | 18 | # Set Streamlit to use the wide layout | COMMENT |
| LOW | prettymaps/fetch.py | 289 | # Check if the gdf is cached | STRING |
| LOW | prettymaps/fetch.py | 374 | # Check if the gdf is cached | COMMENT |
| LOW | tests/test_app_runs.py | 16 | # Check if the process is still running (should be) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | prettymaps/gpx.py | 22 | __all__ = ["read_track", "is_track_file", "track_center", "track_radius"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | prettymaps/draw.py | 1106 | CODE |