Draw pretty maps from OpenStreetMap data! Built with osmnx +matplotlib + shapely
This report summarizes scanner evidence for marceloprates/prettymaps, a Python project with 14,294 GitHub stars. SynthScan examined 5,032 lines of code across 35 source files, recording 66 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 18.8 (Elevated 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.
Can maintainers explain intent, assumptions, and trade-offs? 26 finding(s).
Are imports declared and package/API names verified? 19 finding(s).
Are wrappers, guards, and repeated structures necessary? 34 finding(s).
Which changes need focused human review? 66 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 66 distinct pattern matches across 8 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 |
|---|---|---|---|---|
| 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 |