Skip to content

Conversation

@joelpittet
Copy link

@joelpittet joelpittet commented Jan 17, 2026

Full disclosure: I used an AI coding assistant to draft the changes proposed in the issue (including this summary).

Summary: Re-shaped CN municipality subdivisions to add a locality level (e.g., “Shanghai Shi”) with districts as dependent localities; added regression coverage for Shanghai and updated existing CN validator tests to match the new hierarchy.

  • Restructure BJ/SH/TJ/CQ subdivisions so districts are dependent localities.
  • Adds Shanghai regression test.

- Restructure BJ/SH/TJ/CQ subdivisions so districts are dependent localities.
- Adds Shanghai regression test.
@joelpittet
Copy link
Author

I tested this out and it solves some issues (the ones it targets) but I am getting similar errors for
province: 'Guangdong Sheng'
city: 'Shenzhen Shi'
district: 'Nanshan Qu'.

Not sure where to take it from here... any guidance from others in #183?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant