AI Slop Code Risk Monitor

dr5hn/countries-states-cities-database

SlopCodeMonitor badge for dr5hn/countries-states-cities-database Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

🌍 Discover our global repository of countries, states, and cities! 🏙️ Get comprehensive data in JSON, SQL, PSQL, SQLSERVER, MONGODB, SQLITE, XML, YAML, and CSV formats. Access ISO2, ISO3 codes, country code, capital, native language, timezones (for countries), and more. #countries #states #cities

2.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for dr5hn/countries-states-cities-database, a Python project with 9,916 GitHub stars. SynthScan examined 2,121,190 lines of code across 837 source files, recording 2675 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 2.0 (Low 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.

2.0
Adjusted Signal
2.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
9.9K
Stars
Python
Language
2.1M
Lines of Code
837
Files
2.7K
Pattern Hits
2026-10-31
Scan Date
0.05
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-10-31.

Cognitive Ownership Risk 0.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.5/100 · LOW

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

Agent Over-Engineering Ratio 8.5/100 · LOW

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

PR Review Velocity Impact 15.9/100 · LOW

Which changes need focused human review? 2675 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 38MEDIUM 2240LOW 397

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 2675 distinct pattern matches across 17 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.

Dead Code2224 hits · 3535 pts
SeverityFileLineSnippetContext
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py147CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py148CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py149CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py150CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py152CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py158CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py159CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py162CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py163CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py166CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py168CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py171CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py172CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py175CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py179CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py180CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py181CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py183CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py184CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py185CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py186CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py187CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py188CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py190CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py229CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py230CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py231CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py232CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py233CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py234CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py239CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py242CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py243CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py244CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py260CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py263CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py264CODE
MEDIUMbin/scripts/sync/import_taiwan_postcodes.py268CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py73CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py74CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py75CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py76CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py78CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py83CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py84CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py87CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py88CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py91CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py93CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py96CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py97CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py100CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py101CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py103CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py104CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py105CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py106CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py107CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py109CODE
MEDIUMbin/scripts/sync/import_turkey_postcodes.py147CODE
2164 more matches not shown…
Hyper-Verbose Identifiers147 hits · 143 pts
SeverityFileLineSnippetContext
LOWbin/scripts/fixes/spain_drop_provincia_placeholders.py82def matches_cross_state_alicante(row: dict) -> bool:CODE
LOW…ripts/fixes/test_france_fix_copyforward_wikidataids.py92 def test_applies_plan_and_rerun_changes_nothing(self):CODE
LOW…ripts/fixes/test_france_fix_copyforward_wikidataids.py111 def test_aborts_when_file_changes_during_planning(self):CODE
LOWbin/scripts/release/test_ledger_workflow.py12 def test_triggers_and_path_filter(self):CODE
LOWbin/scripts/release/test_release_migrations.py60 def test_github_association_and_disagreement(self):CODE
LOWbin/scripts/release/test_release_migrations.py75 def test_pending_api_preview_parity(self):CODE
LOWbin/scripts/release/test_release_migrations.py103 def test_legacy_pr_metadata_needs_no_api(self):CODE
LOW⚡bin/scripts/release/test_release_migrations.py114 def test_before_the_major_is_cut(self):CODE
LOW⚡bin/scripts/release/test_release_migrations.py118 def test_after_the_major_is_cut(self):CODE
LOW⚡bin/scripts/release/test_release_migrations.py124 def test_numbers_compare_as_numbers(self):CODE
LOW⚡bin/scripts/release/test_migrations.py277 def test_mixed_keys_and_duplicate_resolved_key(self):CODE
LOW⚡bin/scripts/release/test_migrations.py287 def test_explicit_commit_keeps_legacy_pr_metadata(self):CODE
LOW⚡bin/scripts/release/test_migrations.py297 def test_resolved_removal_keeps_all_guards(self):CODE
LOW⚡bin/scripts/release/test_migrations.py846 def test_events_off_the_release_line_are_refused(self):CODE
LOW⚡bin/scripts/release/test_migrations.py856 def test_earlier_events_are_checked_against_history(self):CODE
LOW⚡bin/scripts/release/test_migrations.py866 def test_earlier_events_get_the_same_checks(self):CODE
LOW⚡bin/scripts/release/test_migrations.py1043 def test_future_event_when_to_is_the_root(self):CODE
LOW⚡bin/scripts/release/test_migrations.py1051 def test_held_identity_with_malformed_prior_entity(self):CODE
LOW⚡bin/scripts/release/test_migrations.py1061 def test_seat_target_only_for_city_rows(self):CODE
LOWbin/scripts/release/test_migrations.py160 def test_batch_parity_and_existing_gates(self):CODE
LOWbin/scripts/release/test_migrations.py197 def test_multirow_batch_expansion(self):CODE
LOWbin/scripts/release/test_migrations.py210 def test_schema_requires_a_valid_key(self):CODE
LOWbin/scripts/release/test_migrations.py221 def test_association_resolution_and_published_sha(self):CODE
LOWbin/scripts/release/test_migrations.py235 def test_subjects_are_never_proof(self):CODE
LOWbin/scripts/release/test_migrations.py263 def test_mapping_is_authoritative_and_unambiguous(self):CODE
LOWbin/scripts/release/test_migrations.py308 def test_pending_pr_binds_merge_preview_only_for_own_events(self):CODE
LOWbin/scripts/release/test_migrations.py326 def test_pending_and_export_parity(self):CODE
LOWbin/scripts/release/test_migrations.py363 def test_future_pr_events_use_pinned_ledger_tip(self):CODE
LOWbin/scripts/release/test_migrations.py388 def test_repurpose_keyed_by_pr_still_needs_retirement(self):CODE
LOWbin/scripts/release/test_migrations.py411 def test_restoration_keyed_by_pr_and_pending_pr(self):CODE
LOWbin/scripts/release/test_migrations.py434 def test_baseline_conflict_after_pr_resolution(self):CODE
LOWbin/scripts/release/test_migrations.py468 def test_dataset_move_keeps_separate_reviewed_seat(self):CODE
LOWbin/scripts/release/test_migrations.py478 def test_unsafe_redirects_and_targets_are_refused(self):CODE
LOWbin/scripts/release/test_migrations.py494 def test_provenance_is_required(self):CODE
LOWbin/scripts/release/test_migrations.py508 def test_retiring_a_repurpose_is_declared_in_full(self):CODE
LOWbin/scripts/release/test_migrations.py536 def test_merge_addition_and_files(self):CODE
LOWbin/scripts/release/test_migrations.py556 def test_event_must_match_the_removal(self):CODE
LOWbin/scripts/release/test_migrations.py569 def test_target_checked_at_the_event_commit_and_chains_followed(self):CODE
LOWbin/scripts/release/test_migrations.py581 def test_created_and_removed_between_releases(self):CODE
LOWbin/scripts/release/test_migrations.py605 def test_events_outside_the_interval(self):CODE
LOWbin/scripts/release/test_migrations.py615 def test_ids_must_be_final_unique_and_integers(self):CODE
LOWbin/scripts/release/test_migrations.py629 def test_fixed_files_may_appear(self):CODE
LOWbin/scripts/release/test_migrations.py661 def test_repurpose_needs_remediation_and_maps_to_the_earlier_identity(self):CODE
LOWbin/scripts/release/test_migrations.py683 def test_no_record_repurpose_schema(self):CODE
LOWbin/scripts/release/test_migrations.py707 def test_no_record_repurpose_still_needs_complete_remediation(self):CODE
LOWbin/scripts/release/test_migrations.py741 def test_recorded_later_schema(self):CODE
LOWbin/scripts/release/test_migrations.py754 def test_recorded_later_is_temporal_hash_checked_and_follows_later_events(self):CODE
LOWbin/scripts/release/test_migrations.py800 def test_fresh_replacement_must_be_new(self):CODE
LOWbin/scripts/release/test_migrations.py813 def test_restored_replacement_is_not_fresh(self):CODE
LOWbin/scripts/release/test_migrations.py831 def test_second_repurpose_needs_the_first_remediated(self):CODE
LOWbin/scripts/release/test_migrations.py888 def test_restoration_brings_back_the_same_entity(self):CODE
LOWbin/scripts/release/test_migrations.py910 def test_restoration_cannot_undo_a_repurpose_retirement(self):CODE
LOWbin/scripts/release/test_migrations.py928 def test_restoration_must_name_the_latest_retirement(self):CODE
LOWbin/scripts/release/test_migrations.py947 def test_restored_id_that_leaves_again_needs_a_new_restoration(self):CODE
LOWbin/scripts/release/test_migrations.py960 def test_restoration_needs_a_matching_stable_identifier(self):CODE
LOWbin/scripts/release/test_migrations.py974 def test_unreviewed_return_before_from_is_refused(self):CODE
LOWbin/scripts/release/test_migrations.py987 def test_restoration_retirement_is_read_over_the_whole_table(self):CODE
LOWbin/scripts/release/test_migrations.py996 def test_restoration_resumes_target_resolution(self):CODE
LOWbin/scripts/release/test_migrations.py1018 def test_runs_from_a_subdirectory(self):CODE
LOWbin/scripts/release/test_migrations.py1030 def test_reads_use_the_resolved_sha(self):CODE
87 more matches not shown…
Cross-Language Confusion25 hits · 108 pts
SeverityFileLineSnippetContext
HIGHbin/scripts/sync/city_states.py112 state_code set, no states list) or spans several regions (both null, and states lists two or more distinctSTRING
HIGHbin/scripts/sync/import_panama_postcodes.py292. Skips 65 'POR DEFINIR' (undefined) features without anSTRING
HIGHbin/scripts/sync/test_city_states.py203 """All-null, mixed, all-present and late values give the declared type; a sample never relaxes country_id."""STRING
HIGH⚡bin/scripts/export/test_json_to_toon.py20 """A null value (e.g. the state of a city in a country with no states) encodes as null, not a blank cell."""STRING
HIGH⚡bin/scripts/export/test_json_to_toon.py21 out = json_to_toon('[{"id": 1, "state_id": null, "state_code": null}, {"id": 2, "state_id": 7, "state_code": "LACODE
HIGH⚡bin/scripts/export/test_json_to_toon.py22 self.assertEqual(out.splitlines()[1:], [" 1,null,null", " 2,7,LA"])CODE
HIGH⚡bin/scripts/export/test_json_to_toon.py25 """A string spelled null, true or false is quoted so it decodes as a string."""STRING
HIGHbin/scripts/export/test_json_to_parquet.py1"""Parquet read-back of integer columns with nulls (v5: a city's state_id can be null). Needs pandas and pyarrow."""STRING
HIGHbin/scripts/export/test_json_to_parquet.py26 """A null state next to real ones reads back as null, the others as integers."""STRING
HIGH⚡bin/db/tests/test_check_null_state_exports.py97 self.assertProblem(f'{rel}: cannot be read', change=null)CODE
HIGH⚡bin/db/tests/check_county_states_exports.py87 """A state code from a text cell: '' is null; a missing cell (None) is BAD."""STRING
HIGH⚡bin/db/tests/check_county_states_exports.py92 """A nullable id from a typed format: null, or a positive int (never a boolean or a fraction)."""STRING
HIGH⚡bin/db/tests/check_county_states_exports.py97 """A nullable state code from a typed format: null, or a non-empty string."""STRING
HIGHbin/db/tests/check_county_states_exports.py157 """doc as a list of record dicts; null, another root or a non-object row is an error."""STRING
HIGHbin/db/tests/check_county_states_exports.py363 positive integers within JavaScript's exact range (state_id may be the literal null), so 9.0000000000000001 isSTRING
HIGHbin/db/tests/check_county_states_exports.py398 id and state_id; string storage (or null storage when every value is null) for state_code and states."""STRING
HIGHbin/db/tests/check_county_states_exports.py437 """A state code from a SQL Server VALUES row: NULL is null, non-empty quoted text is the code, anything else BAD."""STRING
HIGHbin/db/tests/check_county_states_exports.py772 """A list stored as JSON text (Parquet, TOON): None for null, the regions, or INVALID (repeated keys included)."STRING
HIGHbin/db/tests/check_null_state_exports.py32 """The JSON array of record objects in a generated file; null, an object root or a non-object row is a ValueError.""STRING
HIGHbin/db/tests/check_null_state_exports.py90 'mongodb/cities.json: state fields are not explicitly null, or a state reference exists')CODE
HIGH⚡bin/db/tests/test_check_county_states_exports.py943 # 4. the text "null" is never a null, in any formatCOMMENT
HIGH⚡bin/db/tests/test_check_county_states_exports.py951 ('csv_state_id_text_null', T('csv/counties.csv', '9,Waitomo District,,', '9,Waitomo District,null,'), 'rCODE
HIGH⚡bin/db/tests/test_check_county_states_exports.py958 ('toon_state_id_text_null', T('toon/counties.toon', ' 9,Waitomo District,null,', ' 9,Waitomo District,CODE
HIGHbin/db/tests/test_check_county_states_exports.py727 out.append(('json_missing_normal_states', T('json/counties.json', '"states": null, ', ''), 'refuse'))CODE
HIGHbin/db/tests/test_check_county_states_exports.py28 """A county as CSV and PLIST write it: strings, empty for null, no list."""STRING
Unused Imports112 hits · 78 pts
SeverityFileLineSnippetContext
LOWbin/scripts/fixes/italy_remap_cities.py45CODE
LOWbin/scripts/fixes/italy_restore_native.py22CODE
LOWbin/scripts/fixes/italy_restore_native.py28CODE
LOWbin/scripts/fixes/italy_restore_native.py30CODE
LOWbin/scripts/fixes/states_level_normalise.py48CODE
LOWbin/scripts/fixes/spain_drop_provincia_placeholders.py35CODE
LOWbin/scripts/fixes/italy_dedup_flagged_pairs.py21CODE
LOWbin/scripts/fixes/spain_retag_admin_types.py35CODE
LOWbin/scripts/fixes/france_cities_diff.py33CODE
LOWbin/scripts/fixes/italy_drop_provincia_placeholders.py27CODE
LOWbin/scripts/analysis/timezone_summary.py14CODE
LOWbin/scripts/sync/import_taiwan_postcodes.py67CODE
LOWbin/scripts/sync/import_turkey_postcodes.py44CODE
LOWbin/scripts/sync/import_eu_batch1_postcodes.py40CODE
LOWbin/scripts/sync/import_nigeria_postcodes.py40CODE
LOWbin/scripts/sync/import_portugal_postcodes.py52CODE
LOWbin/scripts/sync/import_caribbean_postcodes.py62CODE
LOWbin/scripts/sync/import_cambodia_postcodes.py48CODE
LOWbin/scripts/sync/normalize_json.py34CODE
LOWbin/scripts/sync/import_au_territory_postcodes.py45CODE
LOWbin/scripts/sync/import_spain_postcodes.py48CODE
LOWbin/scripts/sync/import_spain_postcodes.py55CODE
LOWbin/scripts/sync/import_french_polynesia_postcodes.py50CODE
LOWbin/scripts/sync/import_faroe_islands_postcodes.py50CODE
LOWbin/scripts/sync/import_denmark_postcodes.py37CODE
LOWbin/scripts/sync/import_guam_postcodes.py34CODE
LOWbin/scripts/sync/import_costa_rica_postcodes.py39CODE
LOWbin/scripts/sync/import_belgium_postcodes.py61CODE
LOWbin/scripts/sync/import_uruguay_postcodes.py48CODE
LOWbin/scripts/sync/import_dominican_republic_postcodes.py43CODE
LOWbin/scripts/sync/import_venezuela_postcodes.py40CODE
LOWbin/scripts/sync/import_australia_post_postcodes.py41CODE
LOWbin/scripts/sync/import_canada_postcodes.py61CODE
LOWbin/scripts/sync/import_brazil_postcodes.py60CODE
LOWbin/scripts/sync/import_mauritius_postcodes.py43CODE
LOWbin/scripts/sync/import_tunisia_postcodes.py51CODE
LOWbin/scripts/sync/import_mozambique_postcodes.py47CODE
LOWbin/scripts/sync/import_colombia_postcodes.py45CODE
LOWbin/scripts/sync/import_latvia_postcodes.py39CODE
LOWbin/scripts/sync/import_latvia_postcodes.py47CODE
LOWbin/scripts/sync/import_puerto_rico_postcodes.py41CODE
LOWbin/scripts/sync/import_puerto_rico_postcodes.py49CODE
LOWbin/scripts/sync/import_mongolia_postcodes.py51CODE
LOWbin/scripts/sync/import_ukraine_postcodes.py39CODE
LOWbin/scripts/sync/import_china_postcodes.py65CODE
LOWbin/scripts/sync/import_thailand_postcodes.py42CODE
LOWbin/scripts/sync/import_croatia_postcodes.py53CODE
LOWbin/scripts/sync/import_nepal_postcodes.py43CODE
LOWbin/scripts/sync/import_laposte_postcodes.py57CODE
LOW…n/scripts/sync/import_singleton_territory_postcodes.py50CODE
LOWbin/scripts/sync/import_mexico_postcodes.py58CODE
LOWbin/scripts/sync/import_netherlands_postcodes.py69CODE
LOWbin/scripts/sync/import_iran_postcodes.py61CODE
LOWbin/scripts/sync/import_madagascar_postcodes.py40CODE
LOWbin/scripts/sync/import_indonesia_postcodes.py46CODE
LOWbin/scripts/sync/import_json_to_mysql.py28CODE
LOWbin/scripts/sync/import_aland_postcodes.py36CODE
LOWbin/scripts/sync/import_el_salvador_postcodes.py42CODE
LOWbin/scripts/sync/import_moldova_postcodes.py43CODE
LOWbin/scripts/sync/import_malaysia_postcodes.py42CODE
52 more matches not shown…
Structural Annotation Overuse37 hits · 77 pts
SeverityFileLineSnippetContext
LOW.github/AUTOMATION_README.md5### Step 1: Copy files to your repositoryCOMMENT
LOW.github/AUTOMATION_README.md14### Step 2: Push the filesCOMMENT
LOW⚡.github/AUTOMATION_README.md26### Step 3: Add Slack webhook (optional but recommended)COMMENT
LOW⚡.github/AUTOMATION_README.md34### Step 4: Verify Copilot accessCOMMENT
LOW⚡.github/AUTOMATION_README.md41### Step 5: Install dependencies (for local testing)COMMENT
LOW⚡…/fixes-docs/NORTH_KOREA_MISSING_METROPOLITAN_CITIES.md278# Step 1: Import JSON to MySQL (assigns IDs)COMMENT
LOW⚡…/fixes-docs/NORTH_KOREA_MISSING_METROPOLITAN_CITIES.md281# Step 2: Sync MySQL back to JSON (updates IDs)COMMENT
LOW⚡…/fixes-docs/NORTH_KOREA_MISSING_METROPOLITAN_CITIES.md284# Step 3: Add timezonesCOMMENT
LOW⚡…/fixes-docs/NORTH_KOREA_MISSING_METROPOLITAN_CITIES.md287# Step 4: Sync timezone updatesCOMMENT
LOW⚡…/fixes-docs/NORTH_KOREA_MISSING_METROPOLITAN_CITIES.md290# Step 5: Add translationsCOMMENT
LOW⚡…/fixes-docs/NORTH_KOREA_MISSING_METROPOLITAN_CITIES.md293# Step 6: Import translations to MySQLCOMMENT
LOW⚡.github/agent-docs/AI_AGENT_BEST_PRACTICES.md35# Step 1: Add your data to contributions/ (without timezone/translations)COMMENT
LOW⚡.github/agent-docs/AI_AGENT_BEST_PRACTICES.md36# Step 2: Run timezone enrichmentCOMMENT
LOW⚡.github/agent-docs/AI_AGENT_BEST_PRACTICES.md41# Step 3: Run translation enrichmentCOMMENT
LOW⚡.github/agent-docs/AI_AGENT_BEST_PRACTICES.md47# Step 4: Validate with WikipediaCOMMENT
LOW⚡.github/skills/validate-contribution/SKILL.md18### Step 1: Identify the Entity TypeCOMMENT
LOW⚡.github/skills/validate-contribution/SKILL.md22### Step 2: Check for Auto-Managed FieldsCOMMENT
LOW⚡.github/skills/validate-contribution/SKILL.md32### Step 3: Validate Required FieldsCOMMENT
LOW⚡.github/skills/validate-contribution/SKILL.md40### Step 4: Validate Field FormatsCOMMENT
LOW⚡.github/skills/validate-contribution/SKILL.md49### Step 5: Cross-Reference ValidationCOMMENT
LOW⚡.github/skills/validate-contribution/SKILL.md57### Step 6: Coordinate PlausibilityCOMMENT
LOW⚡.github/skills/validate-contribution/SKILL.md62### Step 7: Duplicate DetectionCOMMENT
LOW.github/skills/triage-issue/SKILL.md16### Step 1: Classify the IssueCOMMENT
LOW⚡.github/skills/triage-issue/SKILL.md29### Step 2: Add Entity LabelsCOMMENT
LOW⚡.github/skills/triage-issue/SKILL.md36### Step 3: Assess SeverityCOMMENT
LOW⚡.github/skills/triage-issue/SKILL.md45### Step 4: Determine ActionCOMMENT
LOW.github/skills/triage-issue/SKILL.md65### Step 5: Respond to the IssueCOMMENT
LOW.github/skills/fix-contribution/SKILL.md24### Step 1: Identify the IssuesCOMMENT
LOW.github/skills/fix-contribution/SKILL.md32### Step 2: Apply FixesCOMMENT
LOW.github/skills/fix-contribution/SKILL.md61### Step 3: Commit the FixCOMMENT
LOW.github/skills/fix-contribution/SKILL.md74### Step 4: Explain ChangesCOMMENT
LOW⚡.github/skills/review-data-pr/SKILL.md18### Step 1: Read the PR ContextCOMMENT
LOW⚡.github/skills/review-data-pr/SKILL.md24### Step 2: Check Geographical PlausibilityCOMMENT
LOW⚡.github/skills/review-data-pr/SKILL.md32### Step 3: Look for Suspicious PatternsCOMMENT
LOW⚡.github/skills/review-data-pr/SKILL.md42### Step 4: Verify Data SourceCOMMENT
LOW⚡.github/skills/review-data-pr/SKILL.md49### Step 5: Check for CompletenessCOMMENT
LOW⚡.github/skills/review-data-pr/SKILL.md56### Step 6: Assess Overall QualityCOMMENT
Deep Nesting65 hits · 56 pts
SeverityFileLineSnippetContext
LOWbin/scripts/fixes/italy_remap_cities.py153CODE
LOWbin/scripts/fixes/italy_remap_cities.py370CODE
LOWbin/scripts/fixes/italy_restore_native.py68CODE
LOWbin/scripts/fixes/france_fix_copyforward_wikidataids.py323CODE
LOWbin/scripts/fixes/france_cities_diff.py155CODE
LOWbin/scripts/release/test_ledger_workflow.py12CODE
LOWbin/scripts/release/migrations.py323CODE
LOWbin/scripts/release/migrations.py798CODE
LOWbin/scripts/release/migrations.py1022CODE
LOWbin/scripts/release/migrations.py608CODE
LOWbin/scripts/release/migrations.py692CODE
LOWbin/scripts/sync/import_nigeria_postcodes.py69CODE
LOWbin/scripts/sync/import_cambodia_postcodes.py73CODE
LOWbin/scripts/sync/normalize_json.py123CODE
LOWbin/scripts/sync/import_au_territory_postcodes.py68CODE
LOWbin/scripts/sync/import_guam_postcodes.py58CODE
LOWbin/scripts/sync/import_colombia_postcodes.py110CODE
LOWbin/scripts/sync/import_puerto_rico_postcodes.py65CODE
LOWbin/scripts/sync/import_thailand_postcodes.py67CODE
LOW…n/scripts/sync/import_singleton_territory_postcodes.py76CODE
LOWbin/scripts/sync/import_netherlands_postcodes.py108CODE
LOWbin/scripts/sync/import_json_to_mysql.py52CODE
LOWbin/scripts/sync/import_json_to_mysql.py147CODE
LOWbin/scripts/sync/import_json_to_mysql.py401CODE
LOWbin/scripts/sync/import_json_to_mysql.py625CODE
LOWbin/scripts/sync/import_aland_postcodes.py58CODE
LOWbin/scripts/sync/import_moldova_postcodes.py87CODE
LOWbin/scripts/sync/import_malaysia_postcodes.py76CODE
LOWbin/scripts/sync/import_small_territory_postcodes.py126CODE
LOWbin/scripts/sync/city_states.py32CODE
LOWbin/scripts/sync/city_states.py56CODE
LOWbin/scripts/sync/city_states.py110CODE
LOWbin/scripts/sync/import_philippines_postcodes.py87CODE
LOWbin/scripts/sync/import_census_zcta_postcodes.py65CODE
LOWbin/scripts/sync/import_census_zcta_postcodes.py118CODE
LOWbin/scripts/sync/import_norway_postcodes.py54CODE
LOWbin/scripts/sync/import_malta_postcodes.py71CODE
LOWbin/scripts/sync/import_south_africa_postcodes.py73CODE
LOWbin/scripts/sync/import_tanzania_postcodes.py108CODE
LOWbin/scripts/sync/import_finland_postcodes.py106CODE
LOWbin/scripts/sync/import_us_virgin_islands_postcodes.py59CODE
LOWbin/scripts/sync/check_round_trip.py30CODE
LOWbin/scripts/sync/import_japan_post_postcodes.py116CODE
LOWbin/scripts/sync/sync_mysql_to_json.py66CODE
LOWbin/scripts/export/import_duckdb.py78CODE
LOWbin/scripts/export/import_duckdb.py169CODE
LOWbin/scripts/validation/add_timezones.py296CODE
LOWbin/scripts/validation/analyze_missing_timezones.py91CODE
LOWbin/scripts/validation/analyze_missing_timezones.py119CODE
LOWbin/scripts/validation/validate_timezones.py27CODE
LOWbin/scripts/validation/validate_timezones.py67CODE
LOWbin/scripts/validation/translation_enricher.py186CODE
LOWbin/db/tests/check_county_states_exports.py192CODE
LOWbin/db/tests/check_county_states_exports.py336CODE
LOWbin/db/tests/check_county_states_exports.py441CODE
LOWbin/db/tests/check_county_states_exports.py480CODE
LOWbin/db/tests/check_county_states_exports.py548CODE
LOWbin/db/tests/check_county_states_exports.py634CODE
LOWbin/db/tests/test_check_county_states_exports.py52CODE
LOWbin/db/tests/test_check_county_states_exports.py294CODE
5 more matches not shown…
Decorative Section Separators11 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUMbin/scripts/sync/import_eu_batch1_postcodes.py77# ---------------------------------------------------------------------------COMMENT
MEDIUMbin/scripts/sync/import_eu_batch1_postcodes.py79# ---------------------------------------------------------------------------COMMENT
MEDIUMbin/scripts/sync/import_eu_batch1_postcodes.py121# ---------------------------------------------------------------------------COMMENT
MEDIUMbin/scripts/sync/import_eu_batch1_postcodes.py123# ---------------------------------------------------------------------------COMMENT
MEDIUMbin/scripts/sync/import_eu_batch1_postcodes.py186# ---------------------------------------------------------------------------COMMENT
MEDIUMbin/scripts/sync/import_eu_batch1_postcodes.py188# ---------------------------------------------------------------------------COMMENT
MEDIUMbin/scripts/sync/import_eu_batch1_postcodes.py233# ---------------------------------------------------------------------------COMMENT
MEDIUMbin/scripts/sync/import_eu_batch1_postcodes.py235# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/weekly-digest.yml95 // ─── Batched Changelog ───────────────────────────────COMMENT
MEDIUM.github/workflows/weekly-digest.yml190 // ─── Commit Changelog via PR ─────────────────────────COMMENT
MEDIUM.github/workflows/weekly-digest.yml226 // ─── Slack Digest ────────────────────────────────────COMMENT
Cross-File Repetition6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHbin/scripts/fixes/spain_drop_provincia_placeholders.py0read the cities json file and verify the top-level shape.STRING
HIGHbin/scripts/fixes/spain_retag_admin_types.py0read the cities json file and verify the top-level shape.STRING
HIGHbin/scripts/fixes/italy_drop_provincia_placeholders.py0read the cities json file and verify the top-level shape.STRING
HIGHbin/scripts/sync/test_check_round_trip.py0assert one of the problems contains the expected text.STRING
HIGHbin/db/tests/test_check_null_state_exports.py0assert one of the problems contains the expected text.STRING
HIGHbin/db/tests/test_check_county_states_exports.py0assert one of the problems contains the expected text.STRING
Empty Error Handlers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHbin/scripts/sync/import_moldova_postcodes.py161except (TypeError, ValueError, IndexError):CODE
HIGHbin/scripts/sync/import_malta_postcodes.py135except (TypeError, ValueError):CODE
HIGHbin/scripts/sync/import_greece_postcodes.py129except (TypeError, ValueError):CODE
HIGHbin/scripts/sync/import_ecuador_postcodes.py163except (TypeError, ValueError):CODE
HIGHbin/scripts/sync/import_algeria_postcodes.py147except (TypeError, ValueError):CODE
Excessive Try-Catch Wrapping18 hits · 20 pts
SeverityFileLineSnippetContext
LOWbin/scripts/sync/normalize_json.py164 except Exception as e:CODE
LOWbin/scripts/sync/normalize_json.py190 except Exception as e:CODE
LOWbin/scripts/sync/normalize_json.py249 except Exception as e:CODE
LOWbin/scripts/sync/import_json_to_mysql.py431 except Exception as e:CODE
LOWbin/scripts/sync/import_json_to_mysql.py666 except Exception as e:CODE
LOWbin/scripts/sync/import_json_to_mysql.py777 except Exception as e:CODE
LOWbin/scripts/sync/sync_mysql_to_json.py567 except Exception as e:CODE
LOWbin/scripts/export/import_duckdb.py93 except Exception as e:CODE
LOWbin/scripts/export/import_duckdb.py239 except Exception as e:CODE
MEDIUMbin/scripts/export/import_duckdb.py254 print(f"Error: Input file {args.input} not found")CODE
LOWbin/scripts/export/import_duckdb.py299 except Exception as e:CODE
MEDIUMbin/scripts/export/import_duckdb.py300 print(f"Error: {e}")CODE
LOWbin/scripts/validation/add_timezones.py206 except Exception as e:CODE
LOWbin/scripts/validation/add_timezones.py470 except Exception as e:CODE
LOWbin/scripts/validation/validate_timezones.py209 except Exception as e:STRING
LOWbin/scripts/validation/translation_enricher.py123 except Exception as e:CODE
LOWbin/scripts/validation/wikipedia_validator.py99 except Exception as e:CODE
LOWbin/db/tests/check_null_state_exports.py26 except Exception as e: # any parse failure is a failed check, reported with the fileCODE
Over-Commented Block17 hits · 17 pts
SeverityFileLineSnippetContext
LOW.github/workflows/pullfrog.yml41 # BEDROCK_MODEL_ID: <bedrock-model-id>COMMENT
LOW.github/workflows/export.yml861 if (!noticeFiles.includes('Unicode-3.0.txt')) { // required while country translations carry CLDR namesCOMMENT
LOW…es-docs/EQUATORIAL_GUINEA_MISSING_DJIBLOHO_PROVINCE.md81 WHERE country_code = 'GQ' AND name = 'Djibloho';COMMENT
LOW…es-docs/PERU_MISSING_METROPOLITAN_LIMA_MUNICIPALITY.md121 FROM states COMMENT
LOW.github/fixes-docs/BANGLADESH_MISSING_DISTRICTS.md161 s1.name as division,COMMENT
LOW.github/fixes-docs/FRANCE_MISSING_NEW_CALEDONIA.md61jq '[.[] | select(.country_code == "FR")] | length' contributions/states/states.jsonCOMMENT
LOW.github/fixes-docs/FRANCE_MISSING_NEW_CALEDONIA.md101```bashCOMMENT
LOW…docs/WALLIS_FUTUNA_MISSING_ADMINISTRATIVE_PRECINCTS.md81- **Change:** +3 cities (Mata Utu, Leava, Ono)COMMENT
LOW…es-docs/SLOVENIA_MISSING_VELENJE_URBAN_MUNICIPALITY.md81mysql> SELECT id, name, iso3166_2, iso2, type FROM states COMMENT
LOW…es-docs/SLOVENIA_MISSING_VELENJE_URBAN_MUNICIPALITY.md101# 5. Ljubljana (061)COMMENT
LOW…thub/fixes-docs/AFGHANISTAN_MISSING_WARDAK_PROVINCE.md101### 2. Verified Wardak Province DetailsCOMMENT
LOW…es-docs/SIERRA_LEONE_MISSING_NORTH_WESTERN_PROVINCE.md121COMMENT
LOW…hub/fixes-docs/TAJIKISTAN_MISSING_CAPITAL_TERRITORY.md81# id: 5706COMMENT
LOW.github/fixes-docs/FIX_ANGOLA_MISSING_NAMIBE.md101# Results match ISO 3166-2:AO:COMMENT
LOW.github/fixes-docs/MOLDOVA_MISSING_LEOVA_DISTRICT.md101```bashCOMMENT
LOW…fixes-docs/CABO_VERDE_MISSING_SAO_SALVADOR_DO_MUNDO.md81### 2. Verified São Salvador do Mundo Municipality DetailsCOMMENT
LOW.github/fixes-docs/PANAMA_MISSING_NASO_TJER_DI.md101# Naso Tjër Di | NT | indigenous region ← NEWCOMMENT
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHREADME.md45 -H "X-CSCAPI-KEY: $YOUR_API_KEY"CODE
HIGHREADME.md52export CSC_API_KEY="YOUR_API_KEY"CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMbin/scripts/fixes/italy_remap_cities.py80# vote across the cluster is more robust at province borders than picking theCOMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWbin/scripts/validation/add_timezones.py184 # Check if the timezone belongs to this countryCOMMENT
LOWbin/scripts/validation/translation_enricher.py141 # Check if translations already existCOMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMbin/db/tests/test_check_county_states_exports.py90 # the scaffold, DDL declarations and statement order ExportSqlServer.php writes (other county columns left out)COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/export.yml397 # Create a MongoDB dumpCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.github/agent-docs/CHANGELOG_SYSTEM.md172 "author": "John Doe",CODE