Skip to content

Feat/enhance zh cn data#166

Merged
spannm merged 1 commit intoSkillPanel:masterfrom
huangq-dev:feat/enhance-zh-cn-data
May 5, 2026
Merged

Feat/enhance zh cn data#166
spannm merged 1 commit intoSkillPanel:masterfrom
huangq-dev:feat/enhance-zh-cn-data

Conversation

@huangq-dev
Copy link
Copy Markdown
Contributor

Description

This PR enhances the localized data for mainland China (zh_CN) by expanding the datasets for phone numbers and email domains. These updates ensure that the mock data generated reflects the current telecommunication and internet landscape in 2026.

Changes

Phone Numbers

Mobile: Added comprehensive prefixes for major carriers:

  • China Mobile: 134-139, 150-152, 157-159, 182-184, 187-188, 195, 198
  • China Unicom: 130-132, 155-156, 185-186, 175-176, 196
  • China Telecom: 133, 153, 173, 177, 180-181, 189, 191, 193, 199
  • Virtual operators: 170, 171

Landline: Added standard formats for Tier-1 cities:

  • Beijing: 010
  • Shanghai: 021
  • Guangzhou: 020
  • Shenzhen: 0755

Email Domains

Expanded the list with popular Chinese email providers:

  • aliyun.com, 139.com, 189.cn, outlook.com, hotmail.com

Compliance & Privacy

All added data follows the mask pattern (#) convention of the project. No real personal information or sensitive identifiers are included, adhering to data privacy best practices and local regulations.

Verification

  • Verified the YAML structure for jfairy_zh.yml
  • Ran local tests to ensure data generation consistency

Acknowledgments

This contribution was developed with the assistance of AI-powered development tools. All changes have been manually reviewed and verified by the author to ensure correctness and compliance with project standards.

- Add comprehensive mobile phone prefixes for major Chinese carriers
  (China Mobile, China Unicom, China Telecom, virtual operators)
- Add landline formats with city codes for tier-1 cities
  (Beijing 010, Shanghai 021, Guangzhou 020, Shenzhen 0755)
- Expand personal email domains with popular Chinese providers
  (aliyun.com, outlook.com, hotmail.com, 139.com, 189.cn)

All formats use mask patterns (#) to ensure privacy compliance.
@spannm spannm force-pushed the feat/enhance-zh-cn-data branch from cfb5eb0 to 4aa6a24 Compare May 5, 2026 07:46
@spannm
Copy link
Copy Markdown
Collaborator

spannm commented May 5, 2026

Hi @huangq-dev,

thanks for your contribution.
Squashed your two commits into one (commit 1 requires commit 2 for tests to be green).

cheers,
Markus

@spannm spannm merged commit e466e48 into SkillPanel:master May 5, 2026
1 check passed
@huangq-dev huangq-dev deleted the feat/enhance-zh-cn-data branch May 5, 2026 08:15
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.

2 participants