AI Slop Code RIsk Monitor

geopy/geopy

Geocoding library for Python.

26.1 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for geopy/geopy, a Python project with 4,868 GitHub stars. SynthScan examined 18,032 lines of code across 101 source files, recording 341 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 26.1 (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.

26.1
Adjusted Signal
26.1
Raw Pattern Score
100%
Time Factor
2026-07-12
Last Push
4.9K
Stars
Python
Language
18.0K
Lines of Code
101
Files
341
Pattern Hits
2026-10-12
Scan Date
0.24
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 57.7/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 5.4/100 · LOW

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

Agent Over-Engineering Ratio 67.0/100 · HIGH

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

PR Review Velocity Impact 73.5/100 · HIGH

Which changes need focused human review? 341 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

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.

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 24MEDIUM 9LOW 308

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 341 distinct pattern matches across 13 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.

Hyper-Verbose Identifiers234 hits · 250 pts
SeverityFileLineSnippetContext
LOWtest/test_point.py75 def test_point_from_string_tolerates_irrelevant_surroundings(self):CODE
LOWtest/test_point.py82 def test_point_from_string_rejects_overlong_input(self):CODE
LOWtest/test_point.py94 def test_point_format_altitude(self):CODE
LOWtest/test_point.py114 def test_point_from_single_number(self):CODE
LOWtest/test_point.py129 def test_point_from_generator(self):CODE
LOWtest/test_point.py134 def test_point_degrees_are_normalized(self):CODE
LOWtest/test_point.py172 def test_point_degrees_normalization_does_not_lose_precision(self):CODE
LOWtest/test_point.py250 def test_point_setitem_normalization(self):CODE
LOWtest/test_point.py268 def test_point_assign_coordinates(self):CODE
LOWtest/test_point.py295 def test_point_comparison_does_not_raise_exceptions(self):CODE
LOWtest/test_point.py304 def test_point_comparison_with_empty_values(self):CODE
LOWtest/test_point.py322 def test_point_comparison_respects_lists(self):CODE
LOWtest/test_point.py336 def test_point_comparison_ignores_strings(self):CODE
LOW⚡test/conftest.py65def _is_internet_access_allowed(config):CODE
LOW⚡test/conftest.py70def is_internet_access_allowed(request):CODE
LOW⚡test/conftest.py75def skip_if_internet_access_is_not_allowed(is_internet_access_allowed):CODE
LOWtest/conftest.py161def print_requests_monitor_report(requests_monitor):CODE
LOW⚡test/test_distance.py31 def test_should_have_length_when_only_given_length(self):CODE
LOW⚡test/test_distance.py35 def test_should_have_zero_distance_for_coincident_points(self):CODE
LOW⚡test/test_distance.py38 def test_should_have_nonzero_distance_for_distinct_points(self):CODE
LOW⚡test/test_distance.py46 def test_should_compute_distance_for_trip_between_poles(self):CODE
LOW⚡test/test_distance.py51 def test_should_compute_destination_for_trip_between_poles(self):CODE
LOW⚡test/test_distance.py57 def test_destination_bearing_east(self):CODE
LOW⚡test/test_distance.py74 def test_should_compute_distance_across_antimeridian(self):CODE
LOW⚡test/test_distance.py80 def test_should_compute_destination_across_antimeridian(self):CODE
LOW⚡test/test_distance.py87 def test_should_not_tolerate_nans(self):CODE
LOW⚡test/test_distance.py96 def test_should_compute_distance_for_multiple_points_pairwise(self):CODE
LOW⚡test/test_distance.py105 def test_should_raise_when_using_single_numbers_as_points(self):CODE
LOW⚡test/test_distance.py115 def test_should_tolerate_tuples_with_textual_numbers(self):CODE
LOW⚡test/test_distance.py120 def test_should_warn_for_mixed_up_lat_lon(self):CODE
LOW⚡test/test_distance.py130 def test_should_get_consistent_results_for_distance_calculations(self):CODE
LOW⚡test/test_distance.py140 def test_should_be_able_to_add_distances(self):CODE
LOW⚡test/test_distance.py144 def test_should_not_allow_adding_with_objects_that_arent_distances(self):CODE
LOW⚡test/test_distance.py150 def test_should_be_able_to_negate_distances(self):CODE
LOW⚡test/test_distance.py155 def test_should_be_able_to_subtract_distances(self):CODE
LOW⚡test/test_distance.py159 def test_should_be_able_to_multiply_distances_by_floats(self):CODE
LOW⚡test/test_distance.py163 def test_should_not_be_able_to_multiply_distances_by_distances(self):CODE
LOW⚡test/test_distance.py167 def test_should_not_be_able_to_divide_floats_by_distances(self):CODE
LOW⚡test/test_distance.py173 def test_should_be_able_to_divide_distances_by_distances(self):CODE
LOW⚡test/test_distance.py178 def test_should_be_able_to_floor_divide_distances_by_distances(self):CODE
LOW⚡test/test_distance.py183 def test_should_be_able_to_divide_distances_by_floats(self):CODE
LOW⚡test/test_distance.py188 def test_should_be_able_to_floor_divide_distances(self):CODE
LOW⚡test/test_distance.py193 def test_should_be_able_to_take_absolute_value_of_distances(self):CODE
LOW⚡test/test_distance.py196 def test_should_be_true_in_boolean_context_when_nonzero_length(self):CODE
LOW⚡test/test_distance.py199 def test_should_be_false_in_boolean_context_when_zero_length(self):CODE
LOW⚡test/test_distance.py207 def test_should_convert_to_kilometers(self):CODE
LOW⚡test/test_distance.py210 def test_should_convert_to_kilometers_with_abbreviation(self):CODE
LOW⚡test/test_distance.py213 def test_should_convert_to_meters(self):CODE
LOW⚡test/test_distance.py216 def test_should_convert_to_meters_with_abbreviation(self):CODE
LOW⚡test/test_distance.py219 def test_should_convert_to_miles(self):CODE
LOW⚡test/test_distance.py222 def test_should_convert_to_miles_with_abbreviation(self):CODE
LOW⚡test/test_distance.py225 def test_should_convert_to_feet(self):CODE
LOW⚡test/test_distance.py228 def test_should_convert_to_feet_with_abbreviation(self):CODE
LOW⚡test/test_distance.py231 def test_should_convert_to_nautical_miles(self):CODE
LOW⚡test/test_distance.py234 def test_should_convert_to_nautical_miles_with_abbrevation(self):CODE
LOW⚡test/test_distance.py237 def test_should_convert_from_meters(self):CODE
LOW⚡test/test_distance.py240 def test_should_convert_from_feet(self):CODE
LOW⚡test/test_distance.py243 def test_should_convert_from_miles(self):CODE
LOW⚡test/test_distance.py246 def test_should_convert_from_nautical_miles(self):CODE
LOW⚡test/test_distance.py254 def test_should_support_comparison_with_distance(self):CODE
174 more matches not shown…
Cross-File Repetition21 hits · 105 pts
SeverityFileLineSnippetContext
HIGHgeopy/geocoders/banfrance.py0return an address by location point. :param query: the coordinates for which you wish to obtain the closest human-readabSTRING
HIGHgeopy/geocoders/mapquest.py0return an address by location point. :param query: the coordinates for which you wish to obtain the closest human-readabSTRING
HIGHgeopy/geocoders/geokeo.py0return an address by location point. :param query: the coordinates for which you wish to obtain the closest human-readabSTRING
HIGHgeopy/geocoders/mapbox.py0return an address by location point. :param query: the coordinates for which you wish to obtain the closest human-readabSTRING
HIGHgeopy/geocoders/pelias.py0return an address by location point. :param query: the coordinates for which you wish to obtain the closest human-readabSTRING
HIGHgeopy/geocoders/google.py0return an address by location point. :param query: the coordinates for which you wish to obtain the closest human-readabSTRING
HIGHgeopy/geocoders/maptiler.py0return an address by location point. :param query: the coordinates for which you wish to obtain the closest human-readabSTRING
HIGHgeopy/geocoders/opencage.py0return an address by location point. :param query: the coordinates for which you wish to obtain the closest human-readabSTRING
HIGHgeopy/geocoders/baidu.py0return an address by location point. :param query: the coordinates for which you wish to obtain the closest human-readabSTRING
HIGHgeopy/geocoders/photon.py0return an address by location point. :param query: the coordinates for which you wish to obtain the closest human-readabSTRING
HIGHgeopy/geocoders/geocodio.py0returns location, (latitude, longitude) from json feed.STRING
HIGHgeopy/geocoders/mapquest.py0returns location, (latitude, longitude) from json feed.STRING
HIGHgeopy/geocoders/opencage.py0returns location, (latitude, longitude) from json feed.STRING
HIGHgeopy/geocoders/mapbox.py0returns location, (latitude, longitude) from json feed.STRING
HIGHgeopy/geocoders/geolake.py0returns location, (latitude, longitude) from json feed.STRING
HIGHgeopy/geocoders/baidu.py0returns location, (latitude, longitude) from json feed.STRING
HIGHgeopy/geocoders/geocodio.py0get the location, lat, lng from a single json place.STRING
HIGHgeopy/geocoders/google.py0get the location, lat, lng from a single json place.STRING
HIGHgeopy/geocoders/geokeo.py0get the location, lat, lng from a single json place.STRING
HIGHgeopy/geocoders/opencage.py0get the location, lat, lng from a single json place.STRING
HIGHgeopy/geocoders/baidu.py0get the location, lat, lng from a single json place.STRING
Excessive Try-Catch Wrapping16 hits · 20 pts
SeverityFileLineSnippetContext
LOWtest/conftest.py216 except Exception as e:CODE
LOWtest/conftest.py238 except Exception as e:CODE
LOWtest/conftest.py329 except Exception:CODE
LOWtest/proxy_server.py183 except Exception as e:CODE
LOWtest/proxy_server.py269 except Exception as e:CODE
LOWgeopy/adapters.py299 except Exception as error:CODE
LOWgeopy/adapters.py345 except Exception:CODE
LOWgeopy/adapters.py355 except Exception:CODE
LOWgeopy/adapters.py483 except Exception as error:CODE
LOWgeopy/adapters.py615 except Exception as error:CODE
MEDIUMgeopy/adapters.py342def _read_http_error_body(self, error):CODE
MEDIUMgeopy/adapters.py480def _request(self, url, *, timeout, headers):CODE
MEDIUMgeopy/adapters.py610def _normalize_exceptions(self):CODE
LOWgeopy/geocoders/base.py377 except Exception as error:CODE
LOWgeopy/geocoders/base.py386 except Exception as error:CODE
MEDIUMgeopy/geocoders/base.py371def fut():CODE
Over-Commented Block17 hits · 17 pts
SeverityFileLineSnippetContext
LOWtest/test_point.py181 # The issue is that there might be a loss in precision duringCOMMENT
LOWdocs/conf.py1#COMMENT
LOWdocs/conf.py61COMMENT
LOWdocs/conf.py81# List of patterns, relative to source directory, that match files andCOMMENT
LOWdocs/conf.py101pygments_style = "default"COMMENT
LOWdocs/conf.py121# Add any paths that contain custom themes here, relative to this directory.COMMENT
LOWdocs/conf.py141# relative to this directory. They are copied after the builtin static files,COMMENT
LOWdocs/conf.py161# Additional templates that should be rendered to pages, maps page names toCOMMENT
LOWdocs/conf.py181# html_show_copyright = TrueCOMMENT
LOWdocs/conf.py201 #'pointsize': '10pt',COMMENT
LOWdocs/conf.py221# If true, show page references after internal links.COMMENT
LOWdocs/conf.py261# Documents to append as an appendix to all manuals.COMMENT
LOWgeopy/distance.py121from geographiclib.geodesic import GeodesicCOMMENT
LOWgeopy/adapters.py401 '`pip install "geopy[requests]"`.'COMMENT
LOWgeopy/extra/rate_limiter.py101 #COMMENT
LOWgeopy/extra/__init__.py1# Extra modules are intentionally not exported here, to avoidCOMMENT
LOWgeopy/geocoders/base.py161 default_timeoutCOMMENT
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtest/proxy_server.py24except OSError:CODE
HIGHgeopy/adapters.py458except TypeError:CODE
HIGHgeopy/geocoders/arcgis.py239except (KeyError, IndexError):CODE
Deep Nesting13 hits · 13 pts
SeverityFileLineSnippetContext
LOWtest/proxy_server.py10CODE
LOWgeopy/point.py161CODE
LOWgeopy/adapters.py295CODE
LOWgeopy/adapters.py480CODE
LOWgeopy/adapters.py610CODE
LOWgeopy/geocoders/bing.py216CODE
LOWgeopy/geocoders/google.py413CODE
LOWgeopy/geocoders/nominatim.py135CODE
LOWgeopy/geocoders/here.py332CODE
LOWgeopy/geocoders/geokeo.py189CODE
LOWgeopy/geocoders/arcgis.py229CODE
LOWgeopy/geocoders/baidu.py210CODE
LOWgeopy/geocoders/base.py345CODE
Unused Imports13 hits · 12 pts
SeverityFileLineSnippetContext
LOWtest/adapters/each_adapter.py45CODE
LOWdocs/conf.py14CODE
LOWdocs/conf.py15CODE
LOWgeopy/__init__.py12CODE
LOWgeopy/__init__.py13CODE
LOWgeopy/__init__.py14CODE
LOWgeopy/__init__.py15CODE
LOWgeopy/__init__.py16CODE
LOWgeopy/__init__.py16CODE
LOWgeopy/__init__.py16CODE
LOWgeopy/geocoders/osm.py3CODE
LOWgeopy/geocoders/__init__.py228CODE
LOWgeopy/geocoders/googlev3.py3CODE
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMtest/adapters/each_adapter.py250 # Create an ssl context which should not allow the negotiation withCOMMENT
MEDIUMtest/adapters/each_adapter.py267 # Create an ssl context which should not allow the negotiation withCOMMENT
MEDIUMdocs/conf.py5# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMgeopy/geocoders/base.py189# Create an object which `repr` returns 'DEFAULT_SENTINEL'. Sphinx (docs) usesCOMMENT
AI Structural Patterns9 hits · 9 pts
SeverityFileLineSnippetContext
LOWgeopy/geocoders/google.py38CODE
LOWgeopy/geocoders/google.py174CODE
LOWgeopy/geocoders/nominatim.py135CODE
LOWgeopy/geocoders/here.py49CODE
LOWgeopy/geocoders/here.py146CODE
LOWgeopy/geocoders/here.py468CODE
LOWgeopy/geocoders/arcgis.py33CODE
LOWgeopy/geocoders/mapbox.py21CODE
LOWgeopy/geocoders/ignfrance.py39CODE
Fake / Example Data5 hits · 8 pts
SeverityFileLineSnippetContext
LOW⚡test/geocoders/smartystreets.py9 dummy_id = 'DUMMY12345'CODE
LOW⚡test/geocoders/smartystreets.py10 dummy_token = 'DUMMY67890'CODE
LOW⚡test/geocoders/smartystreets.py14 auth_id=self.dummy_id,CODE
LOW⚡test/geocoders/smartystreets.py15 auth_token=self.dummy_token,CODE
LOW⚡test/geocoders/smartystreets.py22 geocoder = LiveAddress(auth_id=self.dummy_id, auth_token=self.dummy_token)CODE
AI Slop Vocabulary3 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMgeopy/geocoders/ignfrance.py334 # Clean tree from namespace to facilitate XML manipulationSTRING
LOWgeopy/geocoders/baidu.py215 # When there are no results, just return.COMMENT
LOW.github/workflows/ci.yml87 # GitHub Actions cannot just pass all secrets as env vars :(COMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWgeopy/geocoders/__init__.py187 # Also don't forget to pull up the list of geocodersCOMMENT
LOWgeopy/geocoders/__init__.py187 # Also don't forget to pull up the list of geocodersCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWgeopy/geocoders/ignfrance.py171 # Check if acceptable query typeCOMMENT