Download, model, analyze, and visualize street networks and other geospatial features from OpenStreetMap.
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 48 finding(s).
Are imports declared and package/API names verified? 95 finding(s).
Are wrappers, guards, and repeated structures necessary? 20 finding(s).
Which changes need focused human review? 143 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | osmnx/_overpass.py | 3 | CODE | |
| LOW | osmnx/_api_v1.py | 10 | CODE | |
| LOW | osmnx/_api_v1.py | 11 | CODE | |
| LOW | osmnx/_api_v1.py | 12 | CODE | |
| LOW | osmnx/_api_v1.py | 13 | CODE | |
| LOW | osmnx/_api_v1.py | 14 | CODE | |
| LOW | osmnx/_api_v1.py | 15 | CODE | |
| LOW | osmnx/_api_v1.py | 16 | CODE | |
| LOW | osmnx/_api_v1.py | 17 | CODE | |
| LOW | osmnx/_api_v1.py | 18 | CODE | |
| LOW | osmnx/_api_v1.py | 19 | CODE | |
| LOW | osmnx/_api_v1.py | 20 | CODE | |
| LOW | osmnx/_api_v1.py | 21 | CODE | |
| LOW | osmnx/_api_v1.py | 22 | CODE | |
| LOW | osmnx/_api_v1.py | 23 | CODE | |
| LOW | osmnx/_api_v1.py | 24 | CODE | |
| LOW | osmnx/_api_v1.py | 25 | CODE | |
| LOW | osmnx/_api_v1.py | 26 | CODE | |
| LOW | osmnx/_api_v1.py | 27 | CODE | |
| LOW | osmnx/_api_v1.py | 28 | CODE | |
| LOW | osmnx/_api_v1.py | 29 | CODE | |
| LOW | osmnx/_api_v1.py | 30 | CODE | |
| LOW | osmnx/_api_v1.py | 31 | CODE | |
| LOW | osmnx/_api_v1.py | 32 | CODE | |
| LOW | osmnx/_api_v1.py | 33 | CODE | |
| LOW | osmnx/_api_v1.py | 34 | CODE | |
| LOW | osmnx/_api_v1.py | 35 | CODE | |
| LOW | osmnx/_api_v1.py | 36 | CODE | |
| LOW | osmnx/_api_v1.py | 37 | CODE | |
| LOW | osmnx/_api_v1.py | 38 | CODE | |
| LOW | osmnx/_api_v1.py | 39 | CODE | |
| LOW | osmnx/_api_v1.py | 40 | CODE | |
| LOW | osmnx/_api_v1.py | 41 | CODE | |
| LOW | osmnx/_api_v1.py | 42 | CODE | |
| LOW | osmnx/_api_v1.py | 43 | CODE | |
| LOW | osmnx/_api_v1.py | 44 | CODE | |
| LOW | osmnx/_api_v1.py | 45 | CODE | |
| LOW | osmnx/_api_v1.py | 46 | CODE | |
| LOW | osmnx/_api_v1.py | 47 | CODE | |
| LOW | osmnx/_api_v1.py | 48 | CODE | |
| LOW | osmnx/_api_v1.py | 49 | CODE | |
| LOW | osmnx/_api_v1.py | 50 | CODE | |
| LOW | osmnx/_api_v1.py | 51 | CODE | |
| LOW | osmnx/_api_v1.py | 52 | CODE | |
| LOW | osmnx/_api_v1.py | 53 | CODE | |
| LOW | osmnx/truncate.py | 3 | CODE | |
| LOW | osmnx/plot.py | 3 | CODE | |
| LOW | osmnx/bearing.py | 3 | CODE | |
| LOW | osmnx/_osm_xml.py | 7 | CODE | |
| LOW | osmnx/_http.py | 3 | CODE | |
| LOW | osmnx/convert.py | 3 | CODE | |
| LOW | osmnx/graph.py | 7 | CODE | |
| LOW | osmnx/io.py | 3 | CODE | |
| LOW | osmnx/elevation.py | 3 | CODE | |
| LOW | osmnx/__init__.py | 17 | CODE | |
| LOW | osmnx/__init__.py | 18 | CODE | |
| LOW | osmnx/__init__.py | 19 | CODE | |
| LOW | osmnx/__init__.py | 20 | CODE | |
| LOW | osmnx/__init__.py | 21 | CODE | |
| LOW | osmnx/__init__.py | 22 | CODE | |
| 26 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | osmnx/plot.py | 711 | If not None, weight the edges' bearings by this (non-null) edge | STRING |
| HIGH | osmnx/bearing.py | 167 | bearings by this (non-null) edge attribute. For example, if "length" | STRING |
| HIGH | osmnx/bearing.py | 209 | bearings by this (non-null) edge attribute. For example, if "length" | STRING |
| HIGH | osmnx/bearing.py | 275 | bearings by this (non-null) edge attribute. For example, if "length" | STRING |
| HIGH | osmnx/routing.py | 695 | If `value` was a string or null, it is just returned directly. | STRING |
| HIGH | osmnx/routing.py | 711 | # return that single aggregated value if it's non-null, otherwise None | COMMENT |
| HIGH | tests/test_osmnx.py | 451 | # add node elevations from a single raster file (some nodes will be null) | COMMENT |
| HIGH | tests/test_osmnx.py | 456 | # add node elevations from multiple raster files (no nodes should be null) | COMMENT |
| HIGH | tests/test_osmnx.py | 946 | assert result.equals(wkt.loads(geom_wkt)) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | osmnx/_overpass.py | 250 | def _make_overpass_polygon_coord_strs(polygon: Polygon | MultiPolygon) -> list[str]: | CODE |
| LOW | osmnx/_overpass.py | 286 | def _create_overpass_features_query( # noqa: PLR0912 | CODE |
| LOW | osmnx/_overpass.py | 357 | def _download_overpass_network( | CODE |
| LOW | osmnx/_overpass.py | 405 | def _download_overpass_features( | CODE |
| LOW | osmnx/io.py | 290 | def _convert_graph_attr_types(G: nx.MultiDiGraph, dtypes: dict[str, Any]) -> nx.MultiDiGraph: | CODE |
| LOW | osmnx/io.py | 426 | def _stringify_nonnumeric_cols(gdf: gpd.GeoDataFrame) -> gpd.GeoDataFrame: | CODE |
| LOW | osmnx/elevation.py | 144 | def add_node_elevations_raster( | CODE |
| LOW | osmnx/elevation.py | 208 | def add_node_elevations_google( | CODE |
| LOW | osmnx/routing.py | 675 | def _collapse_multiple_maxspeed_values( | CODE |
| LOW | osmnx/stats.py | 97 | def streets_per_node_proportions(G: nx.MultiDiGraph) -> dict[int, float]: | CODE |
| LOW | osmnx/_validate.py | 17 | def _verify_numeric_edge_attribute(G: nx.MultiDiGraph, attr: str, *, strict: bool = True) -> None: | CODE |
| LOW | osmnx/utils_geo.py | 125 | def _consolidate_subdivide_geometry(geom: Polygon | MultiPolygon) -> MultiPolygon: | CODE |
| LOW | osmnx/utils_geo.py | 226 | def _intersect_index_quadrats( | CODE |
| LOW | osmnx/simplification.py | 485 | def consolidate_intersections( | CODE |
| LOW | osmnx/simplification.py | 650 | def _consolidate_intersections_rebuild_graph( # noqa: C901,PLR0912,PLR0915 | CODE |
| LOW | osmnx/_nominatim.py | 18 | def _download_nominatim_element( | CODE |
| LOW | tests/test_osmnx.py | 254 | def test_consolidate_intersections() -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | osmnx/_overpass.py | 286 | CODE | |
| LOW | osmnx/plot.py | 469 | CODE | |
| LOW | osmnx/_osm_xml.py | 78 | CODE | |
| LOW | osmnx/convert.py | 377 | CODE | |
| LOW | osmnx/io.py | 316 | CODE | |
| LOW | osmnx/io.py | 347 | CODE | |
| LOW | osmnx/features.py | 430 | CODE | |
| LOW | osmnx/features.py | 566 | CODE | |
| LOW | osmnx/features.py | 676 | CODE | |
| LOW | osmnx/utils.py | 60 | CODE | |
| LOW | osmnx/utils.py | 94 | CODE | |
| LOW | osmnx/_validate.py | 94 | CODE | |
| LOW | osmnx/simplification.py | 148 | CODE | |
| LOW | osmnx/simplification.py | 307 | CODE | |
| LOW | osmnx/simplification.py | 650 | CODE | |
| LOW | osmnx/projection.py | 81 | CODE | |
| LOW | osmnx/_nominatim.py | 18 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | osmnx/_overpass.py | 343 | # if bool (ie, True) just pass the key, no value | COMMENT |
| LOW | osmnx/_osm_xml.py | 345 | # topologically, otherwise just add node "u" then "v" from index. | COMMENT |
| LOW | osmnx/_osm_xml.py | 356 | # for a tag, just use the value from first edge in way. | COMMENT |
| LOW | osmnx/_http.py | 223 | # just return the hostname itself | COMMENT |
| LOW | osmnx/features.py | 605 | # just return a null geometry to be removed at final filtering | COMMENT |
| LOW | osmnx/routing.py | 340 | # if neither orig nor dest is iterable, just return the shortest path | COMMENT |
| LOW | osmnx/routing.py | 699 | # if this isn't a list, just return it right back to the caller | COMMENT |
| LOW | osmnx/simplification.py | 589 | # cannot rebuild a graph with no nodes or no edges, just return it | COMMENT |
| LOW | osmnx/simplification.py | 603 | # if graph has no nodes, just return empty GeoSeries | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | osmnx/plot.py | 171 | CODE | |
| LOW | osmnx/plot.py | 581 | CODE | |
| LOW | osmnx/plot.py | 670 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | osmnx/graph.py | 761 | # rule 1 | COMMENT |
| LOW | osmnx/simplification.py | 101 | # if the node appears in its list of neighbors, it self-loops: this is | COMMENT |