Skip to content

Commit bb438fc

Browse files
authored
Merge branch 'main' into feat/domain-consistency-check
2 parents 2f3f46c + 5de3b53 commit bb438fc

11 files changed

Lines changed: 417 additions & 630 deletions

File tree

.github/workflows/claude.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Claude Code
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request_review_comment:
7+
types: [created]
8+
issues:
9+
types: [opened, assigned]
10+
pull_request_review:
11+
types: [submitted]
12+
13+
jobs:
14+
claude:
15+
if: |
16+
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
17+
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
18+
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
19+
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
20+
runs-on: ubuntu-latest
21+
permissions:
22+
contents: write
23+
pull-requests: write
24+
issues: write
25+
id-token: write
26+
actions: read # Required for Claude to read CI results on PRs
27+
steps:
28+
- name: Checkout repository
29+
uses: actions/checkout@v4
30+
with:
31+
fetch-depth: 1
32+
33+
- name: Run Claude Code
34+
id: claude
35+
uses: anthropics/claude-code-action@v1
36+
with:
37+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
38+
claude_args: '--model ${{ secrets.CLAUDE_MODEL }} --max-turns 100 --allowedTools "Bash"'
39+
additional_permissions: |
40+
actions: read
41+
env:
42+
ANTHROPIC_BASE_URL: ${{ secrets.ANTHROPIC_BASE_URL }}
43+
44+
# Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
45+
# prompt: 'Update the pull request description to include a summary of changes.'
46+
47+
# Optional: Add claude_args to customize behavior and configuration
48+
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
49+
# or https://code.claude.com/docs/en/cli-reference for available options
50+
# claude_args: '--allowed-tools Bash(gh pr:*)'
51+

.github/workflows/validate-sources.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Validate Data Sources
22

33
on:
44
pull_request:
5+
types: [opened, synchronize, ready_for_review, reopened]
56
paths:
67
- "firstdata/sources/**/*.json"
78
- "firstdata/schemas/datasource-schema.json"
@@ -42,5 +43,26 @@ jobs:
4243
- name: Check for duplicate IDs
4344
run: uv run python scripts/check_ids.py
4445

45-
- name: Check domain consistency
46-
run: uv run python scripts/check_domains.py
46+
claude-review:
47+
needs: validate
48+
runs-on: ubuntu-latest
49+
permissions:
50+
contents: write
51+
pull-requests: write
52+
issues: write
53+
id-token: write
54+
55+
steps:
56+
- name: Checkout repository
57+
uses: actions/checkout@v4
58+
with:
59+
fetch-depth: 1
60+
61+
- name: Run Claude Code Review
62+
uses: anthropics/claude-code-action@v1
63+
with:
64+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
65+
claude_args: '--model ${{ secrets.CLAUDE_MODEL }} --max-turns 100 --allowedTools "Bash"'
66+
prompt: '/review Review this PR and post your review as a PR comment using `gh pr comment`. Reply in the same language used in the PR (title, description, and comments).'
67+
env:
68+
ANTHROPIC_BASE_URL: ${{ secrets.ANTHROPIC_BASE_URL }}

README.en.md

Lines changed: 23 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -68,46 +68,31 @@ We systematically discover and aggregate high-trust sources across domains—cov
6868

6969
## 📊 Data Source Overview
7070

71-
### Current Statistics
71+
### Coverage
7272

73-
| Category | Count | Coverage |
74-
| -------- | ----- | -------- |
75-
| 🌍 **International Organizations** | 33 / 100+ | World Bank, IMF, OECD, WHO, FAO... |
76-
| 🇨🇳 **Chinese Government** | 19 / 500+ | PBC, National Bureau of Statistics, Customs, CSRC... |
77-
| 🌎 **Country Officials** | 25 / 200+ | USA, Canada, Japan, UK, Australia... |
78-
| 🎓 **Academic Institutions** | 26 / 100+ | NBER, Penn World Table, PubMed... |
79-
| 🏭 **Industry Sectors** | 32 / 100+ | Energy, Finance, Health, Climate... |
80-
| **Total** | **135 / 1000+** | **13% Complete** |
73+
Prioritizing government and international organization sources, with coverage extending to top academic institutions and authoritative industry sources:
8174

82-
### Completed Sources
75+
| Category | Examples |
76+
| -------- | -------- |
77+
| 🌍 **International Organizations** | World Bank, IMF, OECD, WHO, FAO... |
78+
| 🇨🇳 **Chinese Government** | PBC, National Bureau of Statistics, Customs, CSRC... |
79+
| 🌎 **National Official Sources** | USA, Canada, Japan, UK, Australia... |
80+
| 🎓 **Academic Institutions** | NBER, Penn World Table, PubMed... |
81+
| 🏭 **Industry Sectors** | Energy, Finance, Health, Climate... |
8382

84-
#### 🌍 International Organizations (33)
83+
### Browse Sources
8584

86-
📄 **Details**: [sources/international/README.md](sources/international/README.md)
85+
📄 View all included data sources: [firstdata/sources/README.md](firstdata/sources/README.md)
8786

88-
#### 🇨🇳 Chinese Data Sources (19)
87+
### Quality Standards
8988

90-
📄 **Details**: [sources/china/README.md](sources/china/README.md)
89+
Every included data source meets the following criteria:
9190

92-
#### 🌎 Country Officials (25)
93-
94-
📄 **Details**: [sources/countries/README.md](sources/countries/README.md)
95-
96-
#### 🎓 Academic Research (26)
97-
98-
📄 **Details**: [sources/academic/README.md](sources/academic/README.md)
99-
100-
#### 🏭 Industry Sectors (32)
101-
102-
📄 **Details**: [sources/sectors/README.md](sources/sectors/README.md)
103-
104-
### Quality Assurance: Ensuring Every Data Source is a Trusted Foundation
105-
106-
-**100% URL Verification** - Every link is tested and available
107-
-**Authority First** - Primarily includes government and international organization data sources
108-
-**Metadata Validation** - All JSON files pass schema validation
109-
-**Bilingual Documentation** - All data sources provide Chinese and English descriptions
110-
-**Complete Evidence Chain** - Provides complete path from query to raw data
91+
-**100% URL Verification** — Every link is tested and available
92+
-**Authority First** — Primarily includes government and international organization data sources
93+
-**Metadata Validation** — All JSON files pass schema validation
94+
-**Bilingual Documentation** — All data sources provide Chinese and English descriptions
95+
-**Complete Evidence Chain** — Provides complete path from query to raw data
11196

11297
## 📐 Metadata Structure
11398

@@ -1011,7 +996,7 @@ Join our community to connect with data researchers, developers, and contributor
1011996
### WeChat Group
1012997

1013998
<div align="center">
1014-
<img src="docs/images/wechat-qrcode.png" alt="WeChat Group QR Code" width="300"/>
999+
<img src="assets/wechat-qrcode.png" alt="WeChat Group QR Code" width="300"/>
10151000
<p><i>Scan to join WeChat group</i></p>
10161001
</div>
10171002

@@ -1021,6 +1006,10 @@ Join our community to connect with data researchers, developers, and contributor
10211006
> - Participate in project development and contributions
10221007
> - Learn about latest data source updates and feature releases
10231008
1009+
## Star History
1010+
1011+
[![Star History Chart](https://api.star-history.com/svg?repos=MLT-OSS/FirstData&type=date&legend=top-left)](https://www.star-history.com/#MLT-OSS/FirstData&type=date&legend=top-left)
1012+
10241013
## 📄 License
10251014

10261015
This project is open source under the [MIT License](LICENSE).
@@ -1042,7 +1031,3 @@ This project is open source under the [MIT License](LICENSE).
10421031
<a href="#-quick-start">Quick Start</a> •
10431032
<a href="#-how-to-contribute">Contribute</a>
10441033
</p>
1045-
1046-
## Star History
1047-
1048-
[![Star History Chart](https://api.star-history.com/svg?repos=MLT-OSS/FirstData&type=date&legend=top-left)](https://www.star-history.com/#MLT-OSS/FirstData&type=date&legend=top-left)

README.ja.md

Lines changed: 23 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -68,46 +68,31 @@
6868

6969
## 📊 データソースの概要
7070

71-
### 現在の統計
71+
### カバレッジ
7272

73-
| カテゴリ | 件数 | カバレッジ |
74-
| -------- | ----- | -------- |
75-
| 🌍 **国際機関** | 33 / 100以上 | 世界銀行、IMF、OECD、WHO、FAO... |
76-
| 🇨🇳 **中国政府** | 19 / 500以上 | PBC、国家統計局、税関、CSRC... |
77-
| 🌎 **各国公式** | 25 / 200以上 | 米国、カナダ、日本、英国、オーストラリア... |
78-
| 🎓 **学術機関** | 26 / 100以上 | NBER、ペンワールドテーブル、PubMed... |
79-
| 🏭 **産業セクター** | 32 / 100以上 | エネルギー、金融、健康、気候... |
80-
| **合計** | **135 / 1000以上** | **13% 完了** |
73+
政府・国際機関レベルの権威あるソースを優先的に収録し、トップ学術機関・業界権威ソースも幅広くカバー:
8174

82-
### 完了済みソース
75+
| カテゴリ | 代表的なソース |
76+
| -------- | -------------- |
77+
| 🌍 **国際機関** | 世界銀行、IMF、OECD、WHO、FAO... |
78+
| 🇨🇳 **中国政府** | PBC、国家統計局、税関、CSRC... |
79+
| 🌎 **各国公式機関** | 米国、カナダ、日本、英国、オーストラリア... |
80+
| 🎓 **学術機関** | NBER、ペンワールドテーブル、PubMed... |
81+
| 🏭 **産業セクター** | エネルギー、金融、健康、気候... |
8382

84-
#### 🌍 国際機関(33)
83+
### データソース一覧
8584

86-
📄 **詳細**: [sources/international/README.md](sources/international/README.md)
85+
📄 収録済みの全データソースを閲覧する:[firstdata/sources/README.md](firstdata/sources/README.md)
8786

88-
#### 🇨🇳 中国データソース(19)
87+
### 品質基準
8988

90-
📄 **詳細**: [sources/china/README.md](sources/china/README.md)
89+
収録するすべてのデータソースは以下の基準を満たしています:
9190

92-
#### 🌎 各国公式(25)
93-
94-
📄 **詳細**: [sources/countries/README.md](sources/countries/README.md)
95-
96-
#### 🎓 学術研究(26)
97-
98-
📄 **詳細**: [sources/academic/README.md](sources/academic/README.md)
99-
100-
#### 🏭 産業セクター(32)
101-
102-
📄 **詳細**: [sources/sectors/README.md](sources/sectors/README.md)
103-
104-
### 品質保証:すべてのデータソースが信頼できる基盤であることを確保
105-
106-
-**100% URL検証** - すべてのリンクをテストし、利用可能
107-
-**権威性を優先** - 主に政府および国際機関のデータソースを収録
108-
-**メタデータ検証** - すべてのJSONファイルがスキーマ検証を通過
109-
-**バイリンガル文書** - すべてのデータソースが中国語と英語の説明を提供
110-
-**完全な証拠チェーン** - クエリから元データまでの完全なパスを提供
91+
-**100% URL検証** — すべてのリンクをテストし、利用可能
92+
-**権威性を優先** — 主に政府および国際機関のデータソースを収録
93+
-**メタデータ検証** — すべてのJSONファイルがスキーマ検証を通過
94+
-**バイリンガル文書** — すべてのデータソースが中国語と英語の説明を提供
95+
-**完全な証拠チェーン** — クエリから元データまでの完全なパスを提供
11196

11297
## 📐 メタデータ構造
11398

@@ -1011,7 +996,7 @@ Visual Studio MCP設定ドキュメントを参照し、以下の設定を使用
1011996
### WeChatグループ
1012997

1013998
<div align="center">
1014-
<img src="docs/images/wechat-qrcode.png" alt="WeChatグループQRコード" width="300"/>
999+
<img src="assets/wechat-qrcode.png" alt="WeChatグループQRコード" width="300"/>
10151000
<p><i>スキャンしてWeChatグループに参加</i></p>
10161001
</div>
10171002

@@ -1021,6 +1006,10 @@ Visual Studio MCP設定ドキュメントを参照し、以下の設定を使用
10211006
> - プロジェクトの開発と貢献に参加
10221007
> - 最新のデータソース更新と機能リリースを把握
10231008
1009+
## Star履歴
1010+
1011+
[![Star History Chart](https://api.star-history.com/svg?repos=MLT-OSS/FirstData&type=date&legend=top-left)](https://www.star-history.com/#MLT-OSS/FirstData&type=date&legend=top-left)
1012+
10241013
## 📄 ライセンス
10251014

10261015
このプロジェクトは [MITライセンス](LICENSE) のもとでオープンソースです。
@@ -1042,7 +1031,3 @@ Visual Studio MCP設定ドキュメントを参照し、以下の設定を使用
10421031
<a href="#-クイックスタート">クイックスタート</a> •
10431032
<a href="#-貢献方法">貢献</a>
10441033
</p>
1045-
1046-
## Star履歴
1047-
1048-
[![Star History Chart](https://api.star-history.com/svg?repos=MLT-OSS/FirstData&type=date&legend=top-left)](https://www.star-history.com/#MLT-OSS/FirstData&type=date&legend=top-left)

README.md

Lines changed: 25 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -70,46 +70,31 @@
7070

7171
## 📊 数据源概览
7272

73-
### 当前统计
73+
### 覆盖范围
7474

75-
| 类别 | 数量 | 覆盖内容 |
76-
| ---------------------- | --------------------- | ----------------------------------------- |
77-
| 🌍**国际组织** | 33 / 100+ | 世界银行、IMF、OECD、WHO、FAO... |
78-
| 🇨🇳**中国政府** | 19 / 500+ | 人民银行、国家统计局、海关总署、证监会... |
79-
| 🌎**各国官方** | 25 / 200+ | 美国、加拿大、日本、英国、澳大利亚... |
80-
| 🎓**学术机构** | 26 / 100+ | NBER、Penn World Table、PubMed... |
81-
| 🏭**行业领域** | 32 / 100+ | 能源、金融、健康、气候... |
82-
| **合计** | **135 / 1000+** | **完成度13%** |
75+
优先收录政府级与国际组织级权威数据源,同步覆盖顶级学术机构与行业权威来源:
8376

84-
### 已完成数据源 | Completed Sources
77+
| 类别 | 典型来源 |
78+
| ----------------- | ----------------------------------------- |
79+
| 🌍 **国际组织** | 世界银行、IMF、OECD、WHO、FAO... |
80+
| 🇨🇳 **中国政府** | 人民银行、国家统计局、海关总署、证监会... |
81+
| 🌎 **各国官方** | 美国、加拿大、日本、英国、澳大利亚... |
82+
| 🎓 **学术机构** | NBER、Penn World Table、PubMed... |
83+
| 🏭 **行业领域** | 能源、金融、健康、气候... |
8584

86-
#### 🌍 国际组织 (33个)
85+
### 数据源列表
8786

88-
📄 **详细信息**: [sources/international/README.md](sources/international/README.md)
87+
📄 浏览已收录的所有数据源:[firstdata/sources/README.md](firstdata/sources/README.md)
8988

90-
#### 🇨🇳 中国数据源 (19个)
89+
### 质量标准
9190

92-
📄 **详细信息**: [sources/china/README.md](sources/china/README.md)
91+
每个收录的数据源均满足以下标准:
9392

94-
#### 🌎 各国官方 (25个)
95-
96-
📄 **详细信息**: [sources/countries/README.md](sources/countries/README.md)
97-
98-
#### 🎓 学术研究 (26个)
99-
100-
📄 **详细信息**: [sources/academic/README.md](sources/academic/README.md)
101-
102-
#### 🏭 行业领域 (32个)
103-
104-
📄 **详细信息**: [sources/sectors/README.md](sources/sectors/README.md)
105-
106-
### 质量保证:确保每个数据源都是可信底座
107-
108-
-**100% URL验证** - 每个链接都经过测试且可用
109-
-**权威性优先** - 主要收录政府和国际组织数据源
110-
-**元数据验证** - 所有JSON文件通过schema验证
111-
-**双语文档** - 所有数据源提供中英文说明
112-
-**证据链完整** - 提供从查询到原始数据的完整路径
93+
-**100% URL验证** — 每个链接都经过测试且可用
94+
-**权威性优先** — 主要收录政府和国际组织数据源
95+
-**元数据验证** — 所有JSON文件通过schema验证
96+
-**双语文档** — 所有数据源提供中英文说明
97+
-**证据链完整** — 提供从查询到原始数据的完整路径
11398

11499
## 📐 元数据结构
115100

@@ -1014,7 +999,7 @@ code --add-mcp '{"name":"firstdata","type":"streamable-http","url":"https://firs
1014999
### 微信交流群 | WeChat Group
10151000

10161001
<div align="center">
1017-
<img src="docs/images/wechat-qrcode.png" alt="WeChat Group QR Code" width="300"/>
1002+
<img src="assets/wechat-qrcode.png" alt="WeChat Group QR Code" width="300"/>
10181003
<p><i>扫描二维码加入微信群 | Scan to join WeChat group</i></p>
10191004
</div>
10201005

@@ -1024,6 +1009,10 @@ code --add-mcp '{"name":"firstdata","type":"streamable-http","url":"https://firs
10241009
> - 参与项目开发和贡献
10251010
> - 了解最新的数据源更新和功能发布
10261011
1012+
## Star History
1013+
1014+
[![Star History Chart](https://api.star-history.com/svg?repos=MLT-OSS/FirstData&type=date&legend=top-left)](https://www.star-history.com/#MLT-OSS/FirstData&type=date&legend=top-left)
1015+
10271016
## 📄 许可协议
10281017

10291018
本项目采用 [MIT License](LICENSE) 开源。
@@ -1044,9 +1033,5 @@ code --add-mcp '{"name":"firstdata","type":"streamable-http","url":"https://firs
10441033
<a href="#-核心优势">核心优势</a> •
10451034
<a href="#-数据源概览">数据源概览</a> •
10461035
<a href="#-快速开始">快速开始</a> •
1047-
<a href="#-如何贡献">如何贡献</a>
1048-
</p>
1049-
1050-
## Star History
1051-
1052-
[![Star History Chart](https://api.star-history.com/svg?repos=MLT-OSS/FirstData&type=date&legend=top-left)](https://www.star-history.com/#MLT-OSS/FirstData&type=date&legend=top-left)
1036+
<a href="#-如何贡献">如何贡献</a>
1037+
</p>

0 commit comments

Comments
 (0)