Skip to content

feat(CU): add 5 missing Havana municipalities (closes #1610) - #1611

Merged
dr5hn merged 1 commit into
masterfrom
fix/cuba-havana-missing-municipalities-1610
Aug 8, 2026
Merged

feat(CU): add 5 missing Havana municipalities (closes #1610)#1611
dr5hn merged 1 commit into
masterfrom
fix/cuba-havana-missing-municipalities-1610

Conversation

@dr5hn

@dr5hn dr5hn commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Problem

Havana is divided into 15 municipalities (municipios), but the dataset contained only 10 — 5 were missing entirely, including La Lisa, which the reporter named.

Added

Municipality wikiDataId Latitude Longitude Population
Playa Q2066897 23.09416700 -82.44888900 178,601
Plaza de la Revolución Q2099152 23.12444400 -82.38611100 139,135
Marianao Q2553350 23.08333300 -82.43333300 134,057
La Lisa Q3648399 23.02472200 -82.46305600 147,415
Cotorro Q3646457 23.02611100 -82.24750000 83,115

On "Miramar"

The reporter also mentioned Miramar. It is not a municipality — it's a neighbourhood (consejo popular) inside the Playa municipality that this PR adds. Havana's 15 municipalities contain 105 consejos populares; adding those is a separate, much larger scope call and isn't attempted here.

Verification

Each municipality was resolved on Wikidata and verified before use — the entity had to be in Cuba (P17=Q241) and located in a Havana entity (P131). All five entities' own English descriptions read "municipality of Havana".

Check Result
Wikidata entities verified as Havana municipalities 5 / 5
Duplicate names in CU.json 0
Duplicate wikiDataIds 0
Official Havana municipalities covered 15 / 15
Records before → after 187 → 192 (+5)
  • type = section, matching the dominant convention for existing Havana municipality records
  • id / flag / timestamps omitted so automation assigns them
  • Translations intentionally omitted rather than machine-generated

Closes #1610

Details in .github/fixes-docs/FIX_1610_SUMMARY.md.

🤖 Generated with Claude Code

Havana has 15 municipalities; the dataset contained only 10. Adds the 5
missing ones — Playa, Plaza de la Revolución, Marianao, La Lisa and Cotorro
— under state_id 272, bringing coverage to 15/15.

Each was resolved on Wikidata and verified before use: entity must be in
Cuba (P17=Q241) and located in a Havana entity (P131). All five entities'
own descriptions read "municipality of Havana". No duplicate names or QIDs.

The reporter also mentioned Miramar; that is a neighbourhood (consejo
popular) inside the Playa municipality added here, not a municipality, so
it is deliberately out of scope. Translations omitted rather than
machine-generated.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PoX2S5UBhwrJCvdEemSCTr
@pullfrog

pullfrog Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor
  • Checkout PR feat(CU): add 5 missing Havana municipalities (closes #1610) #1611 and read full diff
  • Read PR summary snapshot and learnings file
  • Triage: understand data model, validation, CI conventions
  • Verify data accuracy of the 5 Havana municipalities
  • Dispatch specialists if needed
  • Aggregate findings and update summary file
  • Submit review

Pullfrog  | View workflow run | via Pullfrog | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. enhancement New feature or request labels Aug 8, 2026
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

CSC Validation Report

PR Format

  • ✅ Description provided
  • ✅ Data source linked
  • ✅ Issue linked (recommended for data changes)
  • ✅ Justification / context provided

Labels applied: data:cities

Schema Validation (192 records)

✅ All records passed validation

Cross-Reference Validation

✅ 384 reference(s) verified

Geo-Bounds Check

✅ All 192 coordinate(s) within expected country bounds

Duplicate Detection

  • ⚠️ contributions/cities/CU.json: Record 188 ("Playa") appears to be a duplicate of existing "Playa" (id: undefined, distance: 0.0km)
  • ⚠️ contributions/cities/CU.json: Record 189 ("Plaza de la Revolución") appears to be a duplicate of existing "Plaza de la Revolución" (id: undefined, distance: 0.0km)
  • ⚠️ contributions/cities/CU.json: Record 190 ("Marianao") appears to be a duplicate of existing "Marianao" (id: undefined, distance: 0.0km)
  • ⚠️ contributions/cities/CU.json: Record 191 ("La Lisa") appears to be a duplicate of existing "La Lisa" (id: undefined, distance: 0.0km)
  • ⚠️ contributions/cities/CU.json: Record 192 ("Cotorro") appears to be a duplicate of existing "Cotorro" (id: undefined, distance: 0.0km)

Source URL Verification

✅ 1 source URL(s) accessible


0 errors, 5 warning(s) | Status: Ready for review (with warnings)

@dr5hn
dr5hn merged commit 7fda0af into master Aug 8, 2026
1 of 2 checks passed
@dr5hn
dr5hn deleted the fix/cuba-havana-missing-municipalities-1610 branch August 8, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:cities enhancement New feature or request ready-for-review size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cuba Habana City incomplete

1 participant