AI Slop Code Risk Monitor

gboeing/osmnx

SlopCodeMonitor badge for gboeing/osmnx Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Download, model, analyze, and visualize street networks and other geospatial features from OpenStreetMap.

12.6 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for gboeing/osmnx, a Python project with 5,900 GitHub stars. SynthScan examined 13,177 lines of code across 57 source files, recording 143 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 12.6 (Moderate 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.

12.6
Adjusted Signal
12.6
Raw Pattern Score
100%
Time Factor
2026-11-15
Last Push
5.9K
Stars
Python
Language
13.2K
Lines of Code
57
Files
143
Pattern Hits
2026-11-15
Scan Date
0.16
HC Hit Rate

Risk Review · Payload v1

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-11-15.

Cognitive Ownership Risk 18.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 48 finding(s).

Hallucinated Dependency & Supply Chain Risk 35.1/100 · MEDIUM

Are imports declared and package/API names verified? 95 finding(s).

Agent Over-Engineering Ratio 7.3/100 · LOW

Are wrappers, guards, and repeated structures necessary? 20 finding(s).

PR Review Velocity Impact 51.0/100 · HIGH

Which changes need focused human review? 143 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 0HIGH 9MEDIUM 0LOW 134

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 143 distinct pattern matches across 7 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.

Unused Imports86 hits · 74 pts
SeverityFileLineSnippetContext
LOWosmnx/_overpass.py3CODE
LOWosmnx/_api_v1.py10CODE
LOWosmnx/_api_v1.py11CODE
LOWosmnx/_api_v1.py12CODE
LOWosmnx/_api_v1.py13CODE
LOWosmnx/_api_v1.py14CODE
LOWosmnx/_api_v1.py15CODE
LOWosmnx/_api_v1.py16CODE
LOWosmnx/_api_v1.py17CODE
LOWosmnx/_api_v1.py18CODE
LOWosmnx/_api_v1.py19CODE
LOWosmnx/_api_v1.py20CODE
LOWosmnx/_api_v1.py21CODE
LOWosmnx/_api_v1.py22CODE
LOWosmnx/_api_v1.py23CODE
LOWosmnx/_api_v1.py24CODE
LOWosmnx/_api_v1.py25CODE
LOWosmnx/_api_v1.py26CODE
LOWosmnx/_api_v1.py27CODE
LOWosmnx/_api_v1.py28CODE
LOWosmnx/_api_v1.py29CODE
LOWosmnx/_api_v1.py30CODE
LOWosmnx/_api_v1.py31CODE
LOWosmnx/_api_v1.py32CODE
LOWosmnx/_api_v1.py33CODE
LOWosmnx/_api_v1.py34CODE
LOWosmnx/_api_v1.py35CODE
LOWosmnx/_api_v1.py36CODE
LOWosmnx/_api_v1.py37CODE
LOWosmnx/_api_v1.py38CODE
LOWosmnx/_api_v1.py39CODE
LOWosmnx/_api_v1.py40CODE
LOWosmnx/_api_v1.py41CODE
LOWosmnx/_api_v1.py42CODE
LOWosmnx/_api_v1.py43CODE
LOWosmnx/_api_v1.py44CODE
LOWosmnx/_api_v1.py45CODE
LOWosmnx/_api_v1.py46CODE
LOWosmnx/_api_v1.py47CODE
LOWosmnx/_api_v1.py48CODE
LOWosmnx/_api_v1.py49CODE
LOWosmnx/_api_v1.py50CODE
LOWosmnx/_api_v1.py51CODE
LOWosmnx/_api_v1.py52CODE
LOWosmnx/_api_v1.py53CODE
LOWosmnx/truncate.py3CODE
LOWosmnx/plot.py3CODE
LOWosmnx/bearing.py3CODE
LOWosmnx/_osm_xml.py7CODE
LOWosmnx/_http.py3CODE
LOWosmnx/convert.py3CODE
LOWosmnx/graph.py7CODE
LOWosmnx/io.py3CODE
LOWosmnx/elevation.py3CODE
LOWosmnx/__init__.py17CODE
LOWosmnx/__init__.py18CODE
LOWosmnx/__init__.py19CODE
LOWosmnx/__init__.py20CODE
LOWosmnx/__init__.py21CODE
LOWosmnx/__init__.py22CODE
26 more matches not shown…
Cross-Language Confusion9 hits · 40 pts
SeverityFileLineSnippetContext
HIGHosmnx/plot.py711 If not None, weight the edges' bearings by this (non-null) edgeSTRING
HIGHosmnx/bearing.py167 bearings by this (non-null) edge attribute. For example, if "length"STRING
HIGHosmnx/bearing.py209 bearings by this (non-null) edge attribute. For example, if "length"STRING
HIGHosmnx/bearing.py275 bearings by this (non-null) edge attribute. For example, if "length"STRING
HIGHosmnx/routing.py695 If `value` was a string or null, it is just returned directly.STRING
HIGHosmnx/routing.py711 # return that single aggregated value if it's non-null, otherwise NoneCOMMENT
HIGHtests/test_osmnx.py451 # add node elevations from a single raster file (some nodes will be null)COMMENT
HIGHtests/test_osmnx.py456 # add node elevations from multiple raster files (no nodes should be null)COMMENT
HIGHtests/test_osmnx.py946 assert result.equals(wkt.loads(geom_wkt))CODE
Hyper-Verbose Identifiers17 hits · 17 pts
SeverityFileLineSnippetContext
LOWosmnx/_overpass.py250def _make_overpass_polygon_coord_strs(polygon: Polygon | MultiPolygon) -> list[str]:CODE
LOWosmnx/_overpass.py286def _create_overpass_features_query( # noqa: PLR0912CODE
LOWosmnx/_overpass.py357def _download_overpass_network(CODE
LOWosmnx/_overpass.py405def _download_overpass_features(CODE
LOWosmnx/io.py290def _convert_graph_attr_types(G: nx.MultiDiGraph, dtypes: dict[str, Any]) -> nx.MultiDiGraph:CODE
LOWosmnx/io.py426def _stringify_nonnumeric_cols(gdf: gpd.GeoDataFrame) -> gpd.GeoDataFrame:CODE
LOWosmnx/elevation.py144def add_node_elevations_raster(CODE
LOWosmnx/elevation.py208def add_node_elevations_google(CODE
LOWosmnx/routing.py675def _collapse_multiple_maxspeed_values(CODE
LOWosmnx/stats.py97def streets_per_node_proportions(G: nx.MultiDiGraph) -> dict[int, float]:CODE
LOWosmnx/_validate.py17def _verify_numeric_edge_attribute(G: nx.MultiDiGraph, attr: str, *, strict: bool = True) -> None:CODE
LOWosmnx/utils_geo.py125def _consolidate_subdivide_geometry(geom: Polygon | MultiPolygon) -> MultiPolygon:CODE
LOWosmnx/utils_geo.py226def _intersect_index_quadrats(CODE
LOWosmnx/simplification.py485def consolidate_intersections(CODE
LOWosmnx/simplification.py650def _consolidate_intersections_rebuild_graph( # noqa: C901,PLR0912,PLR0915CODE
LOWosmnx/_nominatim.py18def _download_nominatim_element(CODE
LOWtests/test_osmnx.py254def test_consolidate_intersections() -> None:CODE
Deep Nesting17 hits · 17 pts
SeverityFileLineSnippetContext
LOWosmnx/_overpass.py286CODE
LOWosmnx/plot.py469CODE
LOWosmnx/_osm_xml.py78CODE
LOWosmnx/convert.py377CODE
LOWosmnx/io.py316CODE
LOWosmnx/io.py347CODE
LOWosmnx/features.py430CODE
LOWosmnx/features.py566CODE
LOWosmnx/features.py676CODE
LOWosmnx/utils.py60CODE
LOWosmnx/utils.py94CODE
LOWosmnx/_validate.py94CODE
LOWosmnx/simplification.py148CODE
LOWosmnx/simplification.py307CODE
LOWosmnx/simplification.py650CODE
LOWosmnx/projection.py81CODE
LOWosmnx/_nominatim.py18CODE
AI Slop Vocabulary9 hits · 14 pts
SeverityFileLineSnippetContext
LOWosmnx/_overpass.py343 # if bool (ie, True) just pass the key, no valueCOMMENT
LOWosmnx/_osm_xml.py345 # topologically, otherwise just add node "u" then "v" from index.COMMENT
LOWosmnx/_osm_xml.py356 # for a tag, just use the value from first edge in way.COMMENT
LOWosmnx/_http.py223 # just return the hostname itselfCOMMENT
LOWosmnx/features.py605 # just return a null geometry to be removed at final filteringCOMMENT
LOWosmnx/routing.py340 # if neither orig nor dest is iterable, just return the shortest pathCOMMENT
LOWosmnx/routing.py699 # if this isn't a list, just return it right back to the callerCOMMENT
LOWosmnx/simplification.py589 # cannot rebuild a graph with no nodes or no edges, just return itCOMMENT
LOWosmnx/simplification.py603 # if graph has no nodes, just return empty GeoSeriesCOMMENT
AI Structural Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
LOWosmnx/plot.py171CODE
LOWosmnx/plot.py581CODE
LOWosmnx/plot.py670CODE
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOWosmnx/graph.py761 # rule 1COMMENT
LOWosmnx/simplification.py101 # if the node appears in its list of neighbors, it self-loops: this isCOMMENT