yjijn commited on
Commit
803cb67
·
1 Parent(s): b66a294

Release v1.0: add dataset card and unify MIT license for Hugging Face

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .dockerignore +16 -0
  2. .env.example +53 -0
  3. .gitattributes +1 -0
  4. .ms_upload_cache +0 -0
  5. Dockerfile +26 -0
  6. Images/.gitkeep +0 -0
  7. LICENSE +22 -0
  8. README.md +370 -0
  9. README.zh-CN.md +368 -0
  10. assets/database/bilingual_translation_english_chinese.json +340 -0
  11. assets/database/enterprise/company_core.csv +3 -0
  12. assets/database/enterprise/company_operation_status.csv +3 -0
  13. assets/database/enterprise/company_operation_status_detail.csv +3 -0
  14. assets/database/enterprise/company_operation_yearly_status.csv +3 -0
  15. assets/database/enterprise/company_profile.csv +3 -0
  16. assets/database/enterprise/company_profile_as.csv +3 -0
  17. assets/database/enterprise/company_profile_eu.csv +3 -0
  18. assets/database/enterprise/company_profile_na.csv +3 -0
  19. assets/database/enterprise/company_profile_oc.csv +3 -0
  20. assets/database/industry/national_industry_status.csv +3 -0
  21. assets/database/industry/national_industry_status_detail.csv +3 -0
  22. assets/database/industry/national_industry_yearly_status.csv +3 -0
  23. assets/database/industry/regional_industry_status.csv +3 -0
  24. assets/database/industry/regional_industry_status_detail.csv +3 -0
  25. assets/database/industry/regional_industry_yearly_status.csv +3 -0
  26. assets/database/internal_metrics.csv +3 -0
  27. assets/database/policy/policy_release_status.csv +3 -0
  28. assets/database/policy/policy_resource.csv +3 -0
  29. assets/qa_gold/comprehensive_decision/easy001.json +22 -0
  30. assets/qa_gold/comprehensive_decision/easy002.json +36 -0
  31. assets/qa_gold/comprehensive_decision/easy003.json +23 -0
  32. assets/qa_gold/comprehensive_decision/easy004.json +36 -0
  33. assets/qa_gold/comprehensive_decision/easy005.json +37 -0
  34. assets/qa_gold/comprehensive_decision/easy006.json +21 -0
  35. assets/qa_gold/comprehensive_decision/hard001.json +31 -0
  36. assets/qa_gold/comprehensive_decision/hard002.json +28 -0
  37. assets/qa_gold/comprehensive_decision/hard003.json +36 -0
  38. assets/qa_gold/comprehensive_decision/hard004.json +31 -0
  39. assets/qa_gold/comprehensive_decision/hard005.json +30 -0
  40. assets/qa_gold/comprehensive_decision/hard006.json +32 -0
  41. assets/qa_gold/comprehensive_decision/hard007.json +39 -0
  42. assets/qa_gold/comprehensive_decision/hard008.json +29 -0
  43. assets/qa_gold/comprehensive_decision/hard009.json +31 -0
  44. assets/qa_gold/comprehensive_decision/hard010.json +30 -0
  45. assets/qa_gold/comprehensive_decision/hard011.json +50 -0
  46. assets/qa_gold/comprehensive_decision/hard012.json +29 -0
  47. assets/qa_gold/comprehensive_decision/hard013.json +35 -0
  48. assets/qa_gold/comprehensive_decision/hard014.json +30 -0
  49. assets/qa_gold/comprehensive_decision/hard015.json +31 -0
  50. assets/qa_gold/comprehensive_decision/hard016.json +35 -0
.dockerignore ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .git
2
+ .github
3
+ .cursor
4
+ .venv
5
+ __pycache__
6
+ *.pyc
7
+ *.pyo
8
+ *.pyd
9
+ *.log
10
+ results
11
+ report
12
+ tmp
13
+ output
14
+ Images
15
+ agent-tools
16
+ *.plan.md
.env.example ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # === Docker ===
2
+ DOCKER_IMAGE=dataclaw:0.1.0
3
+ GATEWAY_PORT=3333
4
+ TMP_WORKSPACE=/tmp_workspace
5
+
6
+ # === Benchmark ===
7
+ DEFAULT_MODEL=
8
+ JUDGE_MODEL=openrouter/anthropic/claude-opus-4.5
9
+ DEFAULT_PARALLEL=1
10
+ OUTPUT_SUBDIR=output
11
+ BENCHMARK_TIMEOUT_MULTIPLIER=1.0
12
+ BENCHMARK_RUNS=1
13
+
14
+ # === Web search (OpenClaw web_search tool) ===
15
+ # Register at https://brave.com/search/api/ (Search plan), then set the key.
16
+ # OpenClaw docs: https://docs.openclaw.ai/tools/brave-search
17
+ BRAVE_API_KEY=
18
+ # Optional tuning (defaults match OpenClaw docs)
19
+ # BRAVE_WEB_SEARCH_MAX_RESULTS=5
20
+ # BRAVE_WEB_SEARCH_TIMEOUT_SECONDS=30
21
+
22
+ # method 1: use openrouter
23
+ # === Auth: OpenRouter ===
24
+ OPENROUTER_API_KEY=
25
+
26
+ # method 2: use custom api
27
+ # === Auth: Custom OpenAI-compatible API (optional) ===
28
+ # OPENCLAW_CUSTOM_BASE_URL=https://your-api-url/v1
29
+ # OPENCLAW_CUSTOM_API_KEY=
30
+ # OPENCLAW_CUSTOM_MODEL_ID=
31
+
32
+ # === Auth: Judge Custom API (optional, separate endpoint for judge model) ===
33
+ # JUDGE_CUSTOM_BASE_URL=https://your-judge-api-url/v1
34
+ # JUDGE_CUSTOM_API_KEY=
35
+ # JUDGE_CUSTOM_MODEL_ID=
36
+
37
+ # === Agent model capabilities (cost unit: USD per 1M tokens) ===
38
+ # OPENCLAW_MODEL_CONTEXT_WINDOW=128000
39
+ # OPENCLAW_MODEL_MAX_TOKENS=16384
40
+ # OPENCLAW_MODEL_COST_INPUT=0
41
+ # OPENCLAW_MODEL_COST_OUTPUT=0
42
+ # OPENCLAW_MODEL_COST_CACHE_READ=0
43
+ # OPENCLAW_MODEL_COST_CACHE_WRITE=0
44
+
45
+ # === Judge model capabilities (cost unit: USD per 1M tokens) ===
46
+ # JUDGE_MODEL_CONTEXT_WINDOW=128000
47
+ # JUDGE_MODEL_MAX_TOKENS=16384
48
+ # JUDGE_MODEL_COST_INPUT=0
49
+ # JUDGE_MODEL_COST_OUTPUT=0
50
+ # JUDGE_MODEL_COST_CACHE_READ=0
51
+ # JUDGE_MODEL_COST_CACHE_WRITE=0
52
+
53
+
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ assets/database/**/*.csv filter=lfs diff=lfs merge=lfs -text
.ms_upload_cache ADDED
The diff for this file is too large to render. See raw diff
 
Dockerfile ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:22.04
2
+
3
+ ENV DEBIAN_FRONTEND=noninteractive \
4
+ OPENCLAW_VERSION=2026.3.24
5
+
6
+ RUN apt-get update && apt-get install -y --no-install-recommends \
7
+ ca-certificates \
8
+ curl \
9
+ git \
10
+ python3 \
11
+ python3-pip \
12
+ bash \
13
+ tini \
14
+ && rm -rf /var/lib/apt/lists/*
15
+
16
+ RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
17
+ && apt-get update \
18
+ && apt-get install -y --no-install-recommends nodejs \
19
+ && rm -rf /var/lib/apt/lists/*
20
+
21
+ RUN npm install -g "openclaw@${OPENCLAW_VERSION}"
22
+
23
+ RUN mkdir -p /tmp_workspace /root/.openclaw/workspace
24
+
25
+ ENTRYPOINT ["tini", "--"]
26
+ CMD ["tail", "-f", "/dev/null"]
Images/.gitkeep ADDED
File without changes
LICENSE ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 The DataClaw Authors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
README.md CHANGED
@@ -1,3 +1,373 @@
1
  ---
2
  license: mit
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ task: data-analysis
4
+ task_categories:
5
+ - question-answering
6
+ - tabular-question-answering
7
  ---
8
+
9
+ <div align="center">
10
+
11
+ <h1>DataClaw</h1>
12
+
13
+ <img src="logo.png" alt="DataClaw Logo" width="220"/>
14
+
15
+ <br/>
16
+ <br/>
17
+
18
+ [![🏆 Leaderboard](https://img.shields.io/badge/🏆_Leaderboard-DataClaw-red)](https://gtmllab.github.io/DataClaw/)
19
+ ![Tasks](https://img.shields.io/badge/Tasks-492-blue)
20
+ ![Categories](https://img.shields.io/badge/Categories-7-green)
21
+
22
+ </div>
23
+
24
+ > A data-analysis benchmark for OpenClaw-style end-to-end agents. Every task is grounded in real-world data and has a single objective gold answer.
25
+
26
+
27
+
28
+ [简体中文](README.zh-CN.md)
29
+
30
+ ## 🌊 Data Analysis Tasks Are Changing in the OpenClaw Era
31
+
32
+ With the emergence of end-to-end agents like OpenClaw, data analysis is no longer equivalent to static QA — "read a passage, output one answer." Real-world data analysis tasks often require agents to locate evidence across heterogeneous files, filter and join entities across tables, perform statistical and normalization calculations, verify intermediate results, and strictly follow output constraints.
33
+
34
+ This means the core difficulty of a benchmark has shifted from answer generation alone to full agent-driven execution. A truly valuable data-analysis benchmark must test not only whether the final answer is correct, but also whether the agent can reliably complete a series of steps — retrieval, filtering, computation, verification, and constraint compliance — in complex data environments.
35
+
36
+ DataClaw is designed for exactly this shift. It evaluates not abstract capability divorced from execution, but how OpenClaw-style end-to-end agents actually perform on data analysis tasks under real data conditions, explicit task constraints, and a reproducible execution protocol.
37
+
38
+ ## 🔍 What Is DataClaw?
39
+
40
+ DataClaw is a process-oriented data-analysis benchmark for realistic, complex data environments. Its core goal is not merely to measure agents' end-task performance, but to serve as a high-fidelity testbed that also evaluates, at fine granularity, how agents evolve when facing real-world complexity and multi-step reasoning.
41
+
42
+ DataClaw simulates at scale the noisy, weakly-semantic, cross-domain data environments found in the real world. Complex data-analysis questions are authored by domain experts in finance and computer science, and each task's process annotations and unique objective answers are cross-verified by human experts with AI assistance. Process annotations include task milestones, human-corrected reference trajectories, and evidence data sources. DataClaw adopts OpenClaw as its unified agent framework.
43
+
44
+
45
+ ## 🎯 Why DataClaw?
46
+
47
+ - **From idealized data environments to imperfect real-world data environments.** DataClaw contains a mix of structured and unstructured data, covering enterprise profiles, business operating status, regional industry statistics, national industry statistics, and policy texts. All data is collected from the real world and comes with friction such as missing indicators, inconsistent definitions, and inconsistent naming. Tasks face realistic data environments, not over-cleaned single-table lookups.
48
+ - **From single-shot static queries to multi-step dynamic reasoning.** DataClaw tasks typically require agents to complete a multi-stage chain of operations rather than producing a one-shot answer. The challenge for agents comes not only from retrieval but also from cross-source integration, metric construction, aggregation computation, and format constraint compliance.
49
+ - **From outcome-oriented evaluation to process-oriented evaluation.** DataClaw goes beyond simple outcome-accuracy evaluation and dissects how the agent's execution unfolds at fine granularity. Outcome-oriented evaluation paradigms focus only on final accuracy. This black-box approach ignores intermediate reasoning and provides little actionable signal for guiding optimization.
50
+
51
+ ## 🏗️ Repository Layout
52
+
53
+
54
+ Key directories and scripts:
55
+
56
+ - `assets/database/`: Benchmark data files, injected wholesale into the container workspace at run time. The root contains `internal_metrics.csv` (internal business-logic knowledge base); `enterprise/`, `industry/`, and `policy/` hold the three theme-domain datasets.
57
+ - `assets/qa_raw/`: Raw task source files.
58
+ - `assets/qa_gold/`: Minimized gold files derived from `qa_raw`.
59
+ - `tasks/`: Generated OpenClaw task spec files.
60
+ - `dataclaw/build_tasks.py`: Builder that produces `qa_gold` and `tasks/` from `qa_raw`.
61
+ - `dataclaw/eval/run_batch.py`: Host-side evaluation orchestrator; one isolated container per task.
62
+ - `dataclaw/utils/docker_utils.py`: Container lifecycle management, OpenClaw onboarding, and model configuration.
63
+ - `dataclaw/utils/grading.py`: Outcome scoring (LLM-judged Acc).
64
+ - `dataclaw/utils/process_grading.py`: Process scoring (EE on correct tasks; GPR / TPE on incorrect tasks).
65
+ - `script/docker_save_image.sh`: Image build and export script.
66
+
67
+ ### ⚙️ Evaluation Lifecycle
68
+
69
+ Each evaluation task runs in its own Docker container. The host orchestrator manages the full lifecycle:
70
+
71
+ ```text
72
+ Host (dataclaw/eval/run_batch.py)
73
+ |
74
+ +-- For each task (parallel via --parallel N):
75
+ 1. docker run -> start isolated container
76
+ 2. docker cp -> inject workspace files
77
+ 3. docker exec -> OpenClaw onboard
78
+ 4. docker exec -> start gateway (background)
79
+ 5. docker exec -> set model and run agent
80
+ 6. docker exec -> run llm_judge scoring
81
+ 7. docker cp -> collect logs and results
82
+ 8. docker rm -> remove container
83
+ ```
84
+
85
+
86
+ ## 🚀 User Quick Start
87
+
88
+ ### 1. Obtain the Pre-built Image
89
+
90
+ Download the pre-built image archive from Releases and load it:
91
+
92
+ ```bash
93
+ docker load -i <dataclaw-image-archive>.tar
94
+ ```
95
+
96
+ After loading, confirm the local image tag matches `DOCKER_IMAGE` in `.env`.
97
+
98
+ ### 2. Clone This Repository
99
+
100
+ ```bash
101
+ git clone <repository-url>
102
+ cd <repository-dir>
103
+ ```
104
+
105
+ Use the actual repository URL shown on the GitHub page.
106
+
107
+ ### 3. Install Python Dependencies
108
+
109
+ ```bash
110
+ pip install pyyaml python-dotenv
111
+ ```
112
+
113
+ > `pyproject.toml` requires Python `>=3.10`. For a fuller local dev setup, install additional dev dependencies as you prefer.
114
+
115
+ ### 4. Configure Environment
116
+
117
+ Copy the template:
118
+
119
+ ```bash
120
+ cp .env.example .env
121
+ ```
122
+
123
+ Edit `.env` and pay attention to at least the following fields:
124
+
125
+ | Variable | Required | Description |
126
+ | --- | --- | --- |
127
+ | `DEFAULT_MODEL` | Yes | Model under test, e.g. `openrouter/anthropic/claude-sonnet-4.6` |
128
+ | `OPENROUTER_API_KEY` | One of two | Used when the main model or judge is called via OpenRouter |
129
+ | `OPENCLAW_CUSTOM_BASE_URL` + `OPENCLAW_CUSTOM_API_KEY` | One of two | Custom OpenAI-compatible API |
130
+ | `OPENCLAW_CUSTOM_MODEL_ID` | No | Explicit model id at the custom provider for the main model |
131
+ | `JUDGE_MODEL` | No | Judge model; default in `.env.example` |
132
+ | `JUDGE_CUSTOM_BASE_URL` + `JUDGE_CUSTOM_API_KEY` | No | Separate custom endpoint for the judge |
133
+ | `JUDGE_CUSTOM_MODEL_ID` | No | Explicit model id for the judge custom endpoint |
134
+ | `DOCKER_IMAGE` | No | Local image tag; must match the loaded image |
135
+
136
+ #### 🔌 Custom OpenAI-compatible API
137
+
138
+ If you do not use OpenRouter, set in `.env`:
139
+
140
+ ```bash
141
+ OPENCLAW_CUSTOM_BASE_URL=https://your-api-url/v1
142
+ OPENCLAW_CUSTOM_API_KEY=your_api_key
143
+ OPENCLAW_CUSTOM_MODEL_ID=your-provider/your-model
144
+ DEFAULT_MODEL=your-provider/your-model
145
+ ```
146
+
147
+ If the API runs on the host:
148
+
149
+ ```bash
150
+ OPENCLAW_CUSTOM_BASE_URL=http://host.docker.internal:8000/v1
151
+ ```
152
+
153
+ When the judge uses a separate endpoint:
154
+
155
+ ```bash
156
+ JUDGE_CUSTOM_BASE_URL=https://your-judge-api-url/v1
157
+ JUDGE_CUSTOM_API_KEY=your_judge_api_key
158
+ JUDGE_CUSTOM_MODEL_ID=your-provider/your-judge-model
159
+ ```
160
+
161
+ ##### Common Auth Setups (Main Model vs Judge)
162
+
163
+ | Scenario | Main model | Judge | Required config |
164
+ | --- | --- | --- | --- |
165
+ | A | Custom API | OpenRouter | `OPENCLAW_CUSTOM_*` + `OPENROUTER_API_KEY` |
166
+ | B | OpenRouter | OpenRouter | `OPENROUTER_API_KEY` |
167
+ | C | Custom API | Custom API (separate endpoint) | `OPENCLAW_CUSTOM_*` + `JUDGE_CUSTOM_*` |
168
+
169
+ ### 5. Run Evaluation
170
+
171
+ ```bash
172
+ # Run all tasks
173
+ python dataclaw/eval/run_batch.py --model openrouter/anthropic/claude-sonnet-4.6
174
+
175
+ # Run selected tasks
176
+ python dataclaw/eval/run_batch.py --model ... --suite task_001,task_002
177
+
178
+ # Run in parallel
179
+ python dataclaw/eval/run_batch.py --model ... --parallel 4
180
+
181
+ # Run a single task file
182
+ python dataclaw/eval/run_batch.py --task tasks/task_001_xxx.md
183
+
184
+ # Or use the convenience script (reads DEFAULT_MODEL from .env)
185
+ bash script/run.sh
186
+ ```
187
+
188
+ ### CLI Options
189
+
190
+ | Flag | Default | Description |
191
+ | --- | --- | --- |
192
+ | `--model` / `-m` | `DEFAULT_MODEL` in `.env` | Model under test |
193
+ | `--judge` | `JUDGE_MODEL` in `.env` | Judge model |
194
+ | `--suite` / `-s` | `all` | `"all"` or comma-separated task IDs |
195
+ | `--task` / `-t` | — | Path to a single `task.md` |
196
+ | `--parallel` / `-p` | `1` | Parallel container count |
197
+ | `--timeout-multiplier` | `1.0` | Scale all task timeouts |
198
+ | `--runs` | `1` | Repeat runs per task |
199
+ | `--resume` | — | Resume from last interrupted run |
200
+ | `--verbose` / `-v` | — | Enable verbose logging |
201
+
202
+ ### 6. Results
203
+
204
+ After a run completes, results are saved under `output/<task_id>/<model_timestamp_runid>/`:
205
+
206
+ ```text
207
+ output/<task_id>/<suffix>/
208
+ ├── score.json # outcome score (Acc)
209
+ ├── process_score.json # process scores (EE / GPR / TPE)
210
+ ├── usage.json # token usage, cost, elapsed time
211
+ ├── agent.log # agent execution log
212
+ ├── gateway.log # gateway log
213
+ ├── chat.jsonl # full conversation record
214
+ ├── judge_chat.jsonl # outcome-judge conversation
215
+ └── judge_process_chat.jsonl # process-judge conversation
216
+ ```
217
+
218
+ A global summary is written to:
219
+
220
+ ```text
221
+ output/summary_<model>.json
222
+ ```
223
+
224
+ ### 7. Grading Rules
225
+
226
+ DataClaw scores each run along **four metrics**.
227
+
228
+ | Metric | Definition | Scope | Direction |
229
+ | --- | --- | --- | --- |
230
+ | **Acc** | LLM-judge semantic match between predicted answer â and gold answer a; multi-subquestion tasks return the normalized mean over the L sub-answers. | All tasks | ↑ |
231
+ | **EE** | Execution Efficiency = N / T, where N is the gold reference step count and T is the agent's actual step count. EE > 1 means the agent solved it in fewer steps than the gold trajectory. | Correct tasks only | ↑ |
232
+ | **GPR** | Goal Progress Rate = (1/M) Σⱼ 𝕀(mⱼ achieved); fraction of M annotated milestones the agent reaches anywhere in its trajectory. Captures partial process credit when the final answer is wrong. | Incorrect tasks only | ↑ |
233
+ | **TPE** | Temporal Progress Efficiency = (Σⱼ 𝕀(mⱼ) · γ^max(tⱼ − N, 0)) / Σⱼ 𝕀(mⱼ), γ = 0.9; averages an exponential temporal-decay factor over the milestones the agent did achieve. Milestones reached by step N contribute 1; later ones decay. TPE = 1 means all achieved milestones were on time, lower values indicate later concentration. Range [0, 1]. | Incorrect tasks only | ↑ |
234
+
235
+ ### 8. Resume After Interruption
236
+
237
+ Long batch evaluations may be interrupted unexpectedly. The evaluation framework automatically saves a progress file after each task completes:
238
+
239
+ ```text
240
+ output/progress_<model>.json
241
+ ```
242
+
243
+ Simply append `--resume` to the original command to resume:
244
+
245
+ ```bash
246
+ # Original run (interrupted midway)
247
+ python dataclaw/eval/run_batch.py --model openrouter/anthropic/claude-sonnet-4.6 --suite all
248
+
249
+ # Resume (keep other arguments the same)
250
+ python dataclaw/eval/run_batch.py --model openrouter/anthropic/claude-sonnet-4.6 --suite all --resume
251
+ ```
252
+
253
+ On resume, the framework automatically verifies that `--model`, `--suite`, and `--runs` match the previous run; if they don't, it exits with an error. Once all tasks are completed, the progress file is removed automatically.
254
+
255
+ To discard previous progress and start fresh, simply delete the progress file:
256
+
257
+ ```bash
258
+ rm output/progress_<model>.json
259
+ ```
260
+
261
+ ### 9. Cleanup
262
+
263
+ Interrupted runs may leave behind uncleaned containers. Clean them up as follows:
264
+
265
+ ```bash
266
+ IMAGE=<your-docker-image-tag>
267
+ docker ps -a --filter "ancestor=${IMAGE}" -q | xargs -r docker rm -f
268
+ ```
269
+
270
+ Preview containers that would be removed:
271
+
272
+ ```bash
273
+ IMAGE=<your-docker-image-tag>
274
+ docker ps -a --filter "ancestor=${IMAGE}" --format "{{.Names}}\t{{.Status}}"
275
+ ```
276
+
277
+ ## 📊 Dataset Statistics
278
+
279
+ DataClaw's data does not come from synthetic samples or teaching examples; it is built on the publishing team's long-term, front-line data accumulation and industry insights from research on Chinese enterprises, industries, and policies. The current version is mainly based on data from 2022. After necessary de-identification, tasks are constructed to avoid model knowledge leakage as much as possible while preserving the information noise and data friction found in real business settings. Task authoring and annotation are conducted by a professional team from Lingnan College, Sun Yat-sen University, balancing academic rigor and practical usability.
280
+
281
+ ### 🗂️ Data Environment Statistics
282
+
283
+ Under a theme-domain view and business-oriented taxonomy, the current data environment is organized into **3 theme domains**: **Enterprise**, **Industry**, and **Policy**; subcategories cover enterprise profiles and regional profiles, enterprise core competitiveness, business operating status, regional/national industry statistics, policy releases, and full policy texts — closely aligned with real research and consulting workflows. The 3 theme domains contain **17 independent data sources** (each data file counts as one source, all mounted under `assets/database/`): **17** are placed under theme subdirectories `enterprise/`, `industry/`, `policy/`; in addition, **1** root-level file, `internal_metrics.csv`, serves as an **internal business-logic knowledge base** and does not belong to any theme domain. Details below.
284
+
285
+ | Dimension | Value | Notes |
286
+ | --- | --- | --- |
287
+ | Theme domains | 3 | Enterprise, Industry, Policy |
288
+ | Secondary themes | 7 | Enterprise ×3 (profiles, core competitiveness, business status), Industry ×2 (regional industry, national industry), Policy ×2 (release status, full text) |
289
+ | Total data sources | 17 | Injected into the container workspace at run time |
290
+ | Format | CSV | Primarily CSV; includes both structured fields and unstructured long-text content |
291
+ | Time span | Mainly concentrated in 2022 | Statistical periods vary across sources |
292
+
293
+ **The 17 data sources by theme domain and secondary theme**
294
+
295
+ <table>
296
+ <thead>
297
+ <tr><th>Theme domain</th><th>Secondary theme</th><th align="right">Sources</th><th>Files</th></tr>
298
+ </thead>
299
+ <tbody>
300
+ <tr>
301
+ <td style="white-space:nowrap">Enterprise</td>
302
+ <td style="white-space:nowrap">Enterprise profiles</td>
303
+ <td align="right">5</td>
304
+ <td><code>enterprise/company_profile.csv</code><br><code>enterprise/company_profile_as.csv</code><br><code>enterprise/company_profile_eu.csv</code><br><code>enterprise/company_profile_na.csv</code><br><code>enterprise/company_profile_oc.csv</code></td>
305
+ </tr>
306
+ <tr>
307
+ <td style="white-space:nowrap">Enterprise</td>
308
+ <td style="white-space:nowrap">Core competitiveness</td>
309
+ <td align="right">1</td>
310
+ <td><code>enterprise/company_core.csv</code></td>
311
+ </tr>
312
+ <tr>
313
+ <td style="white-space:nowrap">Enterprise</td>
314
+ <td style="white-space:nowrap">Business status</td>
315
+ <td align="right">3</td>
316
+ <td><code>enterprise/company_operation_status.csv</code><br><code>enterprise/company_operation_status_detail.csv</code><br><code>enterprise/company_operation_yearly_status.csv</code></td>
317
+ </tr>
318
+ <tr>
319
+ <td style="white-space:nowrap">Industry</td>
320
+ <td style="white-space:nowrap">Regional industry</td>
321
+ <td align="right">3</td>
322
+ <td><code>industry/regional_industry_status.csv</code><br><code>industry/regional_industry_status_detail.csv</code><br><code>industry/regional_industry_yearly_status.csv</code></td>
323
+ </tr>
324
+ <tr>
325
+ <td style="white-space:nowrap">Industry</td>
326
+ <td style="white-space:nowrap">National industry</td>
327
+ <td align="right">3</td>
328
+ <td><code>industry/national_industry_status.csv</code><br><code>industry/national_industry_status_detail.csv</code><br><code>industry/national_industry_yearly_status.csv</code></td>
329
+ </tr>
330
+ <tr>
331
+ <td style="white-space:nowrap">Policy</td>
332
+ <td style="white-space:nowrap">Policy release status</td>
333
+ <td align="right">1</td>
334
+ <td><code>policy/policy_release_status.csv</code></td>
335
+ </tr>
336
+ <tr>
337
+ <td style="white-space:nowrap">Policy</td>
338
+ <td style="white-space:nowrap">Full policy text</td>
339
+ <td align="right">1</td>
340
+ <td><code>policy/policy_resource.csv</code></td>
341
+ </tr>
342
+ </tbody>
343
+ </table>
344
+
345
+ > At execution time, agents typically need to align entities across files, join across tables, normalize definitions, and perform aggregation calculations, rather than simply looking up values in a single file; when needed, they must also consult business conventions in `internal_metrics.csv`. This is the core value of DataClaw for evaluating real-scenario data understanding and reasoning capabilities.
346
+
347
+ ### 📋 Task Statistics
348
+
349
+ The current version contains **492** tasks across **7** categories, with an overall difficulty distribution of **131 easy / 286 medium / 75 hard**.
350
+
351
+ | Category code | Meaning | Count | Difficulty split |
352
+ | --- | --- | --- | --- |
353
+ | `enterprise_industry_analysis` | Enterprise–industry analysis | 226 | easy 115 / medium 111 |
354
+ | `enterprise_industry_policy_analysis` | Enterprise–industry–policy linkage analysis | 76 | easy 10 / medium 66 |
355
+ | `comprehensive_decision` | Comprehensive decision | 70 | easy 6 / medium 45 / hard 19 |
356
+ | `international_comparison` | International comparison | 39 | medium 25 / hard 14 |
357
+ | `hypothesis_verification` | Hypothesis verification | 29 | medium 14 / hard 15 |
358
+ | `industry_planning` | Industry planning | 28 | medium 14 / hard 14 |
359
+ | `risk_assessment` | Risk assessment | 24 | medium 11 / hard 13 |
360
+
361
+ > Except for the 39 `international_comparison` tasks, all others are explicitly restricted in the current task spec to use only `./database/`, with no web search.
362
+
363
+ ## 🙏 Acknowledgements
364
+
365
+ DataClaw is jointly released by Prof. Chuan Chen's team at the School of Computer Science, Sun Yat-sen University, and the Southern Weekly Sci-Tech Power Research Center. We sincerely thank the Southern Weekly Sci-Tech Power Research Center for providing invaluable data and tremendous support.
366
+
367
+ This project also builds on excellent open-source agent ecosystems. We gratefully acknowledge:
368
+
369
+ [WildClawBench](https://github.com/InternLM/WildClawBench)
370
+
371
+ [Claw-Eval](https://github.com/claw-eval/claw-eval)
372
+
373
+ [PinchBench](https://github.com/pinchbench/skill)
README.zh-CN.md ADDED
@@ -0,0 +1,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div align="center">
2
+
3
+ <h1>DataClaw</h1>
4
+
5
+ <img src="logo.png" alt="DataClaw Logo" width="220"/>
6
+
7
+ <br/>
8
+ <br/>
9
+
10
+ [![🏆 Leaderboard](https://img.shields.io/badge/🏆_Leaderboard-DataClaw-red)](https://gtmllab.github.io/DataClaw/)
11
+ [![🤗 HuggingFace](https://img.shields.io/badge/🤗_HuggingFace-Dataset-yellow)](https://huggingface.co/datasets/GTMLLab/DataClaw)
12
+ ![Tasks](https://img.shields.io/badge/Tasks-492-blue)
13
+ ![Categories](https://img.shields.io/badge/Categories-7-green)
14
+
15
+ </div>
16
+
17
+ > 面向 OpenClaw 类端到端智能体的数据分析评测集,所有任务来自真实数据环境,且具备唯一客观答案。
18
+
19
+
20
+
21
+ [English README](README.md)
22
+
23
+ ## 🌊 OpenClaw 时代的数据分析任务正在变化
24
+
25
+ 随着 OpenClaw 一类端到端智能体的出现,数据分析任务已经不再等价于“读一段文本,再输出一个答案”的静态问答问题。真实世界中的数据分析任务往往要求智能体在异构文件中定位证据、跨表筛选与关联实体、执行统计与归一化计算、校验中间结果,并严格遵循输出约束。
26
+
27
+ 这意味着评测基准的核心难点,已经从单一的答案生成,转向完整的智能体驱动执行。一个真正有价值的数据分析评测基准,不仅要考察最终答案是否正确,还要考察智能体是否能够在复杂数据环境中稳定完成检索、筛选、计算、验证与约束遵循等一系列步骤。
28
+
29
+ DataClaw 正是面向这一变化而设计。它评测的不是脱离执行环境的抽象能力,而是在真实数据条件、明确任务约束和可复现执行协议下,OpenClaw 类端到端智能体完成数据分析任务的实际表现。
30
+
31
+ ## 🔍 DataClaw 是什么
32
+
33
+ DataClaw 是一个面向真实复杂数据环境的过程导向数据分析任务评测基准。核心目标并非仅仅是衡量智能体在数据分析任务上的最终表现,而是旨在将其作为一个现实高保真的测试平台,同时细粒度地评估智能体在面临真实复杂环境和多步推理时的演化过程。
34
+
35
+ DataClaw大规模地模拟了高噪声、弱语义、跨领域的真实世界数据环境。通过金融领域与计算机领域的人类专家撰写复杂数据分析任务问题,并由人类专家和AI辅助交叉核验提供每个任务的过程性标注和唯一客观答案。其中,过程性标注包括任务里程碑、人工订正参考轨迹和证据数据来源。DataClaw 采用 OpenClaw 作为统一 agent 框架。
36
+
37
+
38
+ ## 🎯 为什么选择 DataClaw
39
+
40
+ - **从理想化的假设数据环境到非理想化的真实数据环境。** DataClaw 包含混合结构和非结构化数据,覆盖企业画像、企业经营状态、区域产业统计、全国行业统计与政策文本等资源。所有信息均来自真实世界采集,并面临指标缺失、口径不一致、命名不一致等摩擦;任务面对的是现实风格的数据环境,而非过度清洗后的单表查值。
41
+ - **从单点静态查询到多步动态推理。** DataClaw任务通常要求智能体完成多阶段操作链,而不是一次性命中答案。对 agent 的挑战不仅来自检索,更来自跨源整合、指标构造、聚合计算与格式约束执行。
42
+ - **从结果导向评估到过程导向评估。** DataClaw超越单纯的结果准确率评估,对智能体的运行演化过程进行解剖式评测。结果导向的评估范式仅关注最终准确率。这种黑盒方法忽视了中间推理过程,极大弱化了评测的优化指导意义。
43
+
44
+ ## 🏗️ 本仓库代码架构
45
+
46
+
47
+ 关键目录与脚本职责如下:
48
+
49
+ - `assets/database/`:评测数据文件,运行时会整体注入到容器工作区。根目录含 `internal_metrics.csv`(业务逻辑内部知识库);`enterprise/`、`industry/`、`policy/` 为三大主题域数据。
50
+ - `assets/qa_raw/`:原始任务源文件。
51
+ - `assets/qa_gold/`:由 `qa_raw` 归约得到的精简 gold 文件。
52
+ - `tasks/`:生成后的 OpenClaw task 规范文件。
53
+ - `dataclaw/build_tasks.py`:从 `qa_raw` 生成 `qa_gold` 与 `tasks/` 的构建器。
54
+ - `dataclaw/eval/run_batch.py`:宿主机侧评测编排器,负责每任务独立容器执行。
55
+ - `dataclaw/utils/docker_utils.py`:容器生命周期管理、OpenClaw onboarding 与模型配置。
56
+ - `dataclaw/utils/grading.py`:结果评分(LLM-judge 计算 Acc)。
57
+ - `dataclaw/utils/process_grading.py`:过程评分(correct 任务计 EE;incorrect 任务计 GPR / TPE)。
58
+ - `script/docker_save_image.sh`:镜像构建与导出脚本。
59
+
60
+ ### ⚙️ 评测执行生命周期
61
+
62
+ 每个评测任务都在独立 Docker 容器中运行。宿主机编排器管理完整生命周期:
63
+
64
+ ```text
65
+ 宿主机 (dataclaw/eval/run_batch.py)
66
+ |
67
+ +-- 对每个任务(通过 --parallel N 并行):
68
+ 1. docker run -> 启动隔离容器
69
+ 2. docker cp -> 注入工作区文件
70
+ 3. docker exec -> OpenClaw onboard
71
+ 4. docker exec -> 启动 gateway(后台)
72
+ 5. docker exec -> 设置模型并运行 agent
73
+ 6. docker exec -> 调用 llm_judge 评分
74
+ 7. docker cp -> 收集日志与结果
75
+ 8. docker rm -> 清理容器
76
+ ```
77
+
78
+
79
+ ## 🚀 使用者快速开始
80
+
81
+ ### 1. 获取预构建镜像
82
+
83
+ 从 Releases 下载预构建镜像压缩包并加载:
84
+
85
+ ```bash
86
+ docker load -i <dataclaw-image-archive>.tar
87
+ ```
88
+
89
+ 加载后,请确认本地镜像 tag 与 `.env` 中的 `DOCKER_IMAGE` 一致。
90
+
91
+ ### 2. 克隆本仓库
92
+
93
+ ```bash
94
+ git clone <repository-url>
95
+ cd <repository-dir>
96
+ ```
97
+
98
+ 实际仓库地址请以当前 GitHub 页面为准。
99
+
100
+ ### 3. 安装 Python 依赖
101
+
102
+ ```bash
103
+ pip install pyyaml python-dotenv
104
+ ```
105
+
106
+ > `pyproject.toml` 要求 Python `>=3.10`。如需更完整的本地开发环境,也可以按你的习惯额外安装开发依赖。
107
+
108
+ ### 4. 配置环境
109
+
110
+ 复制模板:
111
+
112
+ ```bash
113
+ cp .env.example .env
114
+ ```
115
+
116
+ 编辑 `.env`,至少关注以下字段:
117
+
118
+ | 变量 | 必填 | 说明 |
119
+ | --- | --- | --- |
120
+ | `DEFAULT_MODEL` | 是 | 待评测主模型,例如 `openrouter/anthropic/claude-sonnet-4.6` |
121
+ | `OPENROUTER_API_KEY` | 二选一 | 当主模型或 Judge 通过 OpenRouter 调用时使用 |
122
+ | `OPENCLAW_CUSTOM_BASE_URL` + `OPENCLAW_CUSTOM_API_KEY` | 二选一 | 自定义 OpenAI-compatible API |
123
+ | `OPENCLAW_CUSTOM_MODEL_ID` | 否 | 自定义主模型在 provider 中的显式 model id |
124
+ | `JUDGE_MODEL` | 否 | Judge 模型,默认值见 `.env.example` |
125
+ | `JUDGE_CUSTOM_BASE_URL` + `JUDGE_CUSTOM_API_KEY` | 否 | Judge 使用独立自定义 endpoint 时填写 |
126
+ | `JUDGE_CUSTOM_MODEL_ID` | 否 | Judge 自定义 endpoint 的显式 model id |
127
+ | `DOCKER_IMAGE` | 否 | 本地镜像 tag,需与实际加载的镜像一致 |
128
+
129
+ #### 🔌 自定义 OpenAI-compatible API
130
+
131
+ 如果不使用 OpenRouter,可以在 `.env` 中设置:
132
+
133
+ ```bash
134
+ OPENCLAW_CUSTOM_BASE_URL=https://your-api-url/v1
135
+ OPENCLAW_CUSTOM_API_KEY=your_api_key
136
+ OPENCLAW_CUSTOM_MODEL_ID=your-provider/your-model
137
+ DEFAULT_MODEL=your-provider/your-model
138
+ ```
139
+
140
+ 如果 API 运行在宿主机上:
141
+
142
+ ```bash
143
+ OPENCLAW_CUSTOM_BASE_URL=http://host.docker.internal:8000/v1
144
+ ```
145
+
146
+ Judge 使用独立 endpoint 时:
147
+
148
+ ```bash
149
+ JUDGE_CUSTOM_BASE_URL=https://your-judge-api-url/v1
150
+ JUDGE_CUSTOM_API_KEY=your_judge_api_key
151
+ JUDGE_CUSTOM_MODEL_ID=your-provider/your-judge-model
152
+ ```
153
+
154
+ ##### 主模型与 Judge 的常见认证组合
155
+
156
+ | 场景 | 主模型 | Judge | 所需配置 |
157
+ | --- | --- | --- | --- |
158
+ | A | 自定义 API | OpenRouter | `OPENCLAW_CUSTOM_*` + `OPENROUTER_API_KEY` |
159
+ | B | OpenRouter | OpenRouter | `OPENROUTER_API_KEY` |
160
+ | C | 自定义 API | 自定义 API(独立 endpoint) | `OPENCLAW_CUSTOM_*` + `JUDGE_CUSTOM_*` |
161
+
162
+ ### 5. 运行评测
163
+
164
+ ```bash
165
+ # 运行全部任务
166
+ python dataclaw/eval/run_batch.py --model openrouter/anthropic/claude-sonnet-4.6
167
+
168
+ # 运行指定任务
169
+ python dataclaw/eval/run_batch.py --model ... --suite task_001,task_002
170
+
171
+ # 并行运行
172
+ python dataclaw/eval/run_batch.py --model ... --parallel 4
173
+
174
+ # 运行单个任务文件
175
+ python dataclaw/eval/run_batch.py --task tasks/task_001_xxx.md
176
+
177
+ # 或使用便捷脚本(从 .env 读取 DEFAULT_MODEL)
178
+ bash script/run.sh
179
+ ```
180
+
181
+ ### CLI 选项
182
+
183
+ | 参数 | 默认值 | 说明 |
184
+ | --- | --- | --- |
185
+ | `--model` / `-m` | `.env` 中的 `DEFAULT_MODEL` | 待评测模型 |
186
+ | `--judge` | `.env` 中的 `JUDGE_MODEL` | Judge 模型 |
187
+ | `--suite` / `-s` | `all` | `"all"` 或逗号分隔的任务 ID |
188
+ | `--task` / `-t` | — | 单个 `task.md` 文件路径 |
189
+ | `--parallel` / `-p` | `1` | 并行容器数 |
190
+ | `--timeout-multiplier` | `1.0` | 缩放所有任务超时时间 |
191
+ | `--runs` | `1` | 每个任务的重复运行次数 |
192
+ | `--resume` | — | 从上次中断处恢复运行 |
193
+ | `--verbose` / `-v` | — | 启用详细日志 |
194
+
195
+ ### 6. 结果
196
+
197
+ 运行完成后,结果保存在 `output/<task_id>/<model_timestamp_runid>/` 下:
198
+
199
+ ```text
200
+ output/<task_id>/<suffix>/
201
+ ├── score.json # 结果评分(Acc)
202
+ ├── process_score.json # 过程评分(EE / GPR / TPE)
203
+ ├── usage.json # token 统计、费用、耗时
204
+ ├── agent.log # agent 执行日志
205
+ ├── gateway.log # gateway 日志
206
+ ├── chat.jsonl # 完整对话记录
207
+ ├── judge_chat.jsonl # outcome-judge 对话
208
+ └── judge_process_chat.jsonl # process-judge 对话
209
+ ```
210
+
211
+ 全局汇总会写入:
212
+
213
+ ```text
214
+ output/summary_<model>.json
215
+ ```
216
+
217
+ ### 7. 评分规则
218
+
219
+ DataClaw 对每次运行从 **四个指标** 打分。
220
+
221
+ | 指标 | 含义 | 计算范围 | 方向 |
222
+ | --- | --- | --- | --- |
223
+ | **Acc** | LLM-judge 评判预测答案 â 与标准答案 a 的语义一致性,含 L 个子问题时取归一化平均 | 全部任务 | ↑ |
224
+ | **EE** | 执行效率 = N / T(N=gold 参考步数,T=agent 实际步数)。EE>1 表示比 gold 更省步 | 仅 correct 任务 | ↑ |
225
+ | **GPR** | 目标进展率 = (1/M) Σⱼ 𝕀(mⱼ 达成),agent 在轨迹中达成的里程碑占比,用于在答错时捕捉过程得分 | 仅 incorrect 任务 | ↑ |
226
+ | **TPE** | 时序进展效率 = (Σⱼ 𝕀(mⱼ) · γ^max(tⱼ−N, 0)) / Σⱼ 𝕀(mⱼ),γ=0.9;对 agent 已达成的里程碑做时序衰减平均,N 步内达成贡献 1,之后按 γ 指数衰减。所有已达成里程碑均在第 N 步内达成时 TPE=1,越晚 TPE 越低。取值范围 [0, 1]。 | 仅 incorrect 任务 | ↑ |
227
+
228
+ ### 8. 中断恢复
229
+
230
+ 长时间的批量评测可能因意外而中断。评测框架会在每个任务完成后自动保存进度文件:
231
+
232
+ ```text
233
+ output/progress_<model>.json
234
+ ```
235
+
236
+ 只需在原命令后加上 `--resume` 即可恢复:
237
+
238
+ ```bash
239
+ # 原始运行(中途中断)
240
+ python dataclaw/eval/run_batch.py --model openrouter/anthropic/claude-sonnet-4.6 --suite all
241
+
242
+ # 恢复运行(其余参数保持一致)
243
+ python dataclaw/eval/run_batch.py --model openrouter/anthropic/claude-sonnet-4.6 --suite all --resume
244
+ ```
245
+
246
+ 恢复时,框架会自动校验 `--model`、`--suite`、`--runs` 是否与上次运行一致;若不一致,会直接报错退出。全部任务完成后,进度文件会被自动删除。
247
+
248
+ 如需放弃之前的进度并重新开始,删除对应进度文件即可:
249
+
250
+ ```bash
251
+ rm output/progress_<model>.json
252
+ ```
253
+
254
+ ### 9. 清理
255
+
256
+ 如果运行被中断,可能会留下尚未清理的容器。可以按如下方式清理:
257
+
258
+ ```bash
259
+ IMAGE=<your-docker-image-tag>
260
+ docker ps -a --filter "ancestor=${IMAGE}" -q | xargs -r docker rm -f
261
+ ```
262
+
263
+ 预览会被移除的容器:
264
+
265
+ ```bash
266
+ IMAGE=<your-docker-image-tag>
267
+ docker ps -a --filter "ancestor=${IMAGE}" --format "{{.Names}}\t{{.Status}}"
268
+ ```
269
+
270
+ ## 📊 数据集统计信息
271
+
272
+ DataClaw数据并非来源于合成样本或教学示例,而是基于发布团队在中国企业、产业与政策研究中的长期一线数据积累与行业洞察。当前版本以 2022 年相关数据为主,经过必要脱敏处理后构建任务,尽可能避免模型知识泄露且保留真实业务中的信息噪声与数据摩擦。任务撰写与标注由中山大学岭南学院专业团队完成,兼顾学术规范与业务可用性。
273
+
274
+ ### 🗂️ 数据环境统计信息
275
+
276
+ 当前版本数据环境在主题域内,按业务口径归纳为 **3 个主题域**:**企业**、**产业**、**政策**;细分类目覆盖企业画像与分区画像、企业核心竞争力、经营状态、区域/全国产业统计、政策发布与政策原文等,贴近真实研究与咨询分析链路。3个主题域包含**17 个独立数据源**(每个数据文件计为一个数据源,统一挂载到 `assets/database/`):其中 **17** 个按主题域归入子目录 `enterprise/`、`industry/`、`policy/`;另有 **1** 个根目录文件 `internal_metrics.csv`,作为**业务逻辑内部知识库**,不归属任一主题域。详细说明见下。
277
+
278
+ | 维度 | 统计值 | 说明 |
279
+ | --- | --- | --- |
280
+ | 主题域 | 3 | 企业、产业、政策 |
281
+ | 二级主题 | 7 | 企业 3(画像、核心竞争力、经营状态),产业 2(区域产业、全国行业),政策 2(发布情况、原文) |
282
+ | 数据源总数 | 17 | 运行时整体注入容器工作区 |
283
+ | 文件格式 | CSV | 以 CSV 为主;同时包含结构化字段与非结构化长文本型内容 |
284
+ | 时间跨度 | 主要集中于2022年 | 不同数据源统计周期不一致 |
285
+
286
+ **各主题域及二级主题下的 17 个数据源**
287
+
288
+ <table>
289
+ <thead>
290
+ <tr><th>主题域</th><th>二级主题</th><th align="right">数据源数量</th><th>数据文件</th></tr>
291
+ </thead>
292
+ <tbody>
293
+ <tr>
294
+ <td style="white-space:nowrap">企业</td>
295
+ <td style="white-space:nowrap">企业画像</td>
296
+ <td align="right">5</td>
297
+ <td><code>enterprise/company_profile.csv</code><br><code>enterprise/company_profile_as.csv</code><br><code>enterprise/company_profile_eu.csv</code><br><code>enterprise/company_profile_na.csv</code><br><code>enterprise/company_profile_oc.csv</code></td>
298
+ </tr>
299
+ <tr>
300
+ <td style="white-space:nowrap">企业</td>
301
+ <td style="white-space:nowrap">企业核心竞争力</td>
302
+ <td align="right">1</td>
303
+ <td><code>enterprise/company_core.csv</code></td>
304
+ </tr>
305
+ <tr>
306
+ <td style="white-space:nowrap">企业</td>
307
+ <td style="white-space:nowrap">企业经营状态</td>
308
+ <td align="right">3</td>
309
+ <td><code>enterprise/company_operation_status.csv</code><br><code>enterprise/company_operation_status_detail.csv</code><br><code>enterprise/company_operation_yearly_status.csv</code></td>
310
+ </tr>
311
+ <tr>
312
+ <td style="white-space:nowrap">产业</td>
313
+ <td style="white-space:nowrap">区域产业</td>
314
+ <td align="right">3</td>
315
+ <td><code>industry/regional_industry_status.csv</code><br><code>industry/regional_industry_status_detail.csv</code><br><code>industry/regional_industry_yearly_status.csv</code></td>
316
+ </tr>
317
+ <tr>
318
+ <td style="white-space:nowrap">产业</td>
319
+ <td style="white-space:nowrap">全国行业</td>
320
+ <td align="right">3</td>
321
+ <td><code>industry/national_industry_status.csv</code><br><code>industry/national_industry_status_detail.csv</code><br><code>industry/national_industry_yearly_status.csv</code></td>
322
+ </tr>
323
+ <tr>
324
+ <td style="white-space:nowrap">政策</td>
325
+ <td style="white-space:nowrap">政策发布情况</td>
326
+ <td align="right">1</td>
327
+ <td><code>policy/policy_release_status.csv</code></td>
328
+ </tr>
329
+ <tr>
330
+ <td style="white-space:nowrap">政策</td>
331
+ <td style="white-space:nowrap">政策原文</td>
332
+ <td align="right">1</td>
333
+ <td><code>policy/policy_resource.csv</code></td>
334
+ </tr>
335
+ </tbody>
336
+ </table>
337
+
338
+ > 在任务执行层面,智能体通常需要在多文件间完成实体对齐、跨表关联、口径归一与聚合计算,而非单文件查值;必要时还需结合 `internal_metrics.csv` 中的业务约定。这也是 DataClaw 用于评估真实场景数据理解与推理能力的核心价值。
339
+
340
+ ### 📋 任务统计信息
341
+
342
+ 当前版本共 492 个任务,覆盖 7 个类别;整体难度分布为 131 easy / 286 medium / 75 hard。
343
+
344
+ | 类别代码 | 含义 | 任务数 | 难度分布 |
345
+ | --- | --- | --- | --- |
346
+ | `enterprise_industry_analysis` | 企业-行业分析 | 226 | easy 115 / medium 111 |
347
+ | `enterprise_industry_policy_analysis` | 企业-产业-政策联动分析 | 76 | easy 10 / medium 66 |
348
+ | `comprehensive_decision` | 综合决策 | 70 | easy 6 / medium 45 / hard 19 |
349
+ | `international_comparison` | 国际比较 | 39 | medium 25 / hard 14 |
350
+ | `hypothesis_verification` | 假设验证 | 29 | medium 14 / hard 15 |
351
+ | `industry_planning` | 产业规划 | 28 | medium 14 / hard 14 |
352
+ | `risk_assessment` | 风险评估 | 24 | medium 11 / hard 13 |
353
+
354
+ > 除 `international_comparison` 的 39 个任务外,其余任务在当前 task 规范中都显式限制为仅使用 `./database/`,不依赖 web search。
355
+
356
+ ## 🙏 致谢
357
+
358
+ DataClaw 由中山大学计算机学院陈川团队与南方周末科创力研究中心联合发布,真诚感谢南方周末科创力研究中心提供的宝贵数据和巨大支持。
359
+
360
+ 同时,本项目构建在优秀的开源智能体生态系统之上。我们衷心感谢以下项目:
361
+
362
+ [WildClawBench](https://github.com/InternLM/WildClawBench)
363
+
364
+ [Claw-Eval](https://github.com/claw-eval/claw-eval)
365
+
366
+ [PinchBench](https://github.com/pinchbench/skill)
367
+
368
+
assets/database/bilingual_translation_english_chinese.json ADDED
@@ -0,0 +1,340 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "company_items": {
3
+ "海山昌工设备公司": [
4
+ "Haishan Chang Industrial Equipment Company",
5
+ "Haishan Changgong Equipment Company"
6
+ ],
7
+ "驰宏冶冶有色金属公司": "Chihong Yeye Non-ferrous Metals Co., Ltd",
8
+ "众白锦贸连锁公司": "Zhongbai Jinmao Chain Company",
9
+ "三三达腾重工公司": [
10
+ "Sansan Dateng Heavy Industry Company",
11
+ "Sansan Daten Heavy Industry Company"
12
+ ],
13
+ "华鲁润源科技股份公司": "Hualu Runyuan Technology Co., Ltd.",
14
+ "连机创机机床公司": "Lianji Chuangji Machine Tool Company",
15
+ "康盛安健生物医药公司": "Kangsheng Anjian Biopharmaceutical Company",
16
+ "恒逸昌化科技股份公司": "Hengyi Changhua Technology Co., Ltd.",
17
+ "东车科信系统公司": "Dongche Kexin Systems Company",
18
+ "众课软创软件公司": "Zhongke Ruanchuang Software Company",
19
+ "永惠昌达批发公司": "Yonghui Changda Wholesale Company",
20
+ "锌锗金泽材料公司": "Xin Ge Jinze Materials Company",
21
+ "健名安元医疗科技公司": "Jianming Anyuan Medical Technology Company",
22
+ "德西锦锦智能电气公司": "Dexi Jinjin Intelligent Electrical Company",
23
+ "永惠泽盛连锁公司": "Yonghui Zesheng Chain Company",
24
+ "步步盛锦商贸公司": "Bubusheng Jin Commerce Company",
25
+ "联花通泽商贸公司": [
26
+ "Lianhua Tongze Commerce Company",
27
+ "Lianhua Tongze Trading Company"
28
+ ],
29
+ "恒逸昌化精细化工公司": "Hengyi Changhua Fine Chemical Company",
30
+ "恒逸源锦精细化工公司": "Hengyi Yuanjin Fine Chemical Company",
31
+ "荣盛锦盛化学公司": "Rongsheng Jinsheng Chemical Company",
32
+ "物丽昌源批发公司": [
33
+ "Wulichangyuan Wholesale Company",
34
+ "Wu Li Chang Yuan Wholesale Co., Ltd.",
35
+ "Wu Li Chang Yuan Pi Fa Co., Ltd."
36
+ ],
37
+ "果投泽源新能源公司": "Guotouzeyuan New Energy Company",
38
+ "华谊昌泽科技股份公司": "Huayichangze Technology Co., Ltd.",
39
+ "药石生康医疗器械公司": "Yaoshi Shenkang Medical Equipment Company",
40
+ "宝新软联软件公司": "Baoxin Ruanlian Software Company",
41
+ "快克创锦设备公司": "Kuaike Chuangjin Equipment Company",
42
+ "浪集软创信息技术公司": "Langji Ruanchuang Information Technology Company",
43
+ "以山生辰医疗科技公司": "Yishan Shengchen Medical Technology Company",
44
+ "华仁泰泽药业股份公司": "Huaren Taize Pharmaceutical Co., Ltd.",
45
+ "复河辰泽生物医药公司": "Fuhe Chenze Biopharmaceutical Company",
46
+ "临公航腾重工公司": "Lingong Hangteng Heavy Industry Company",
47
+ "恒逸盛盛科技股份公司": "Hengyi Shengsheng Technology Co., Ltd.",
48
+ "以山泽元药业股份公司": "Yishan Zeyuan Pharmaceutical Co., Ltd.",
49
+ "瑞行泰元医疗器械公司": "Ruiying Taiyuan Medical Equipment Co., Ltd.",
50
+ "青青锦饮食品公司": "Qingqing Jinyin Food Company",
51
+ "安步尚昌品牌公司": "Anbu Shangchang Brand Company",
52
+ "普各瑞健生物医药公司": "Puge Ruijian Biopharmaceutical Company",
53
+ "贝壳": "KE Holdings",
54
+ "万国数据": "GDS Holdings",
55
+ "北汽路远新能源汽车公司": "Bei Qi Lu Yuan Xin Neng Yuan Qi Che Co., Ltd.",
56
+ "康盛康健药业股份公司": "Kangsheng Kangjian Pharmaceutical Co., Ltd.",
57
+ "众集达昌铜业公司": "Zhong Ji Da Chang Tong Ye Co., Ltd.",
58
+ "众海工筑锦建筑设计公司": "Zhong Hai Gong Zhu Jin Jian Zhu She Ji Co., Ltd.",
59
+ "陵有色冶达资源公司": "Ling You Se Ye Da Zi Yuan Co., Ltd.",
60
+ "用丰信创科技公司": "Yong Feng Xin Chuang Ke Ji Co., Ltd.",
61
+ "润会数智系统公司": "Run Hui Shu Zhi Xi Tong Co., Ltd.",
62
+ "众通捷通运输公司": "Zhong Tong Jie Tong Yun Shu Co., Ltd.",
63
+ "云达航昌快递公司": "Yun Da Hang Chang Kuai Di Co., Ltd.",
64
+ "环星锦雅时尚公司": "Huan Xing Jin Ya Shi Shang Co., Ltd.",
65
+ "李丁盛尚纺织公司": "Li Ding Sheng Shang Fang Zhi Co., Ltd.",
66
+ "宝新科慧软件公司": "Bao Xin Ke Hui Ruan Jian Co., Ltd.",
67
+ "众课创信软件公司": "Zhong Ke Chuang Xin Ruan Jian Co., Ltd.",
68
+ "灿芯辉芯半导体公司": "Can Xin Hui Xin Semiconductor Co., Ltd.",
69
+ "瑞芯芯耀材料公司": "Rui Xin Xin Yao Materials Co., Ltd.",
70
+ "创玮耀耀电气公司": "Chuang Wei Yao Yao Dian Qi Co., Ltd.",
71
+ "美能电锦科技公司": "Mei Neng Dian Jin Technology Co., Ltd.",
72
+ "用丰信软网络公司": "Yong Feng Xin Ruan Network Co., Ltd.",
73
+ "金飞数软数据服务公司": "Jin Fei Shu Ruan Data Services Co., Ltd.",
74
+ "物丽汇锦零售公司": [
75
+ "Wu Li Hui Jin Retail Co., Ltd.",
76
+ "Wu Li Hui Jin Ling Shou Co., Ltd."
77
+ ],
78
+ "美能炫锦电气公司": "Mei Neng Xuan Jin Dian Qi Co., Ltd.",
79
+ "丽信耀悦电器公司": "Li Xin Yao Yue Dian Qi Co., Ltd.",
80
+ "海丽创耀家电公司": "Hai Li Chuang Yao Jia Dian Co., Ltd.",
81
+ "三夏泽能电力公司": "San Xia Ze Neng Dian Li Co., Ltd.",
82
+ "景能电热燃气公司": "Jing Neng Dian Re Ran Qi Co., Ltd.",
83
+ "以山泰泰医疗器械公司": "Yi Shan Tai Tai Medical Devices Co., Ltd.",
84
+ "光盛昌泽集团公司": "Guang Sheng Chang Ze Group Co., Ltd.",
85
+ "浪集云慧科技公司": "Lang Ji Yun Hui Technology Co., Ltd.",
86
+ "普各健辰药业股份公司": "Pu Ge Jian Chen Pharmaceutical Co., Ltd.",
87
+ "金湖地产建设开发公司": "Jin Hu Real Estate Construction Development Co., Ltd.",
88
+ "华城盛源综合开发公司": [
89
+ "Hua Cheng Sheng Yuan Integrated Development Co., Ltd.",
90
+ "Hua Cheng Sheng Yuan Zong He Kai Fa Co., Ltd."
91
+ ],
92
+ "龙河置锦置业公司": [
93
+ "Long He Zhi Jin Real Estate Co., Ltd.",
94
+ "Long He Zhi Jin Zhi Ye Co., Ltd."
95
+ ],
96
+ "十阳智光电器公司": "Shi Yang Zhi Guang Dian Qi Co., Ltd.",
97
+ "徐业智工科技公司": "Xu Ye Zhi Gong Technology Co., Ltd.",
98
+ "原通盛盛供应链公司": "Yuan Tong Sheng Sheng Gong Ying Lian Co., Ltd.",
99
+ "神轴务锦咨询公司": "Shen Zhou Wu Jin Zi Xun Co., Ltd.",
100
+ "众邮政运运港口公司": "Zhong You Zheng Yun Yun Port Co., Ltd.",
101
+ "用丰科联软件公司": "Yong Feng Ke Lian Software Co., Ltd.",
102
+ "海丽炫悦电气公司": "Hai Li Xuan Yue Electric Co., Ltd.",
103
+ "恒逸润恒科技股份公司": "Heng Yi Run Heng Technology Co., Ltd.",
104
+ "连机机锦机床公司": "Lian Ji Ji Jin Ji Chuang Co., Ltd.",
105
+ "平汝港通运物流公司": "Ping Ru Gang Tong Yun Wu Liu Co., Ltd.",
106
+ "卫星润锦科技股份公司": "Wei Xing Run Jin Ke Ji Co., Ltd.",
107
+ "高尹泽通批发公司": [
108
+ "Gao Yin Ze Tong Pi Fa Co., Ltd.",
109
+ "Gaoyin Zetong Wholesale Co., Ltd."
110
+ ],
111
+ "永惠泽汇批发公司": "Yong Hui Ze Hui Pi Fa Co., Ltd.",
112
+ "麻钢泰锦材料公司": [
113
+ "Ma Gang Tai Jin Cai Liao Co., Ltd.",
114
+ "Magang Taijin Materials Co., Ltd."
115
+ ],
116
+ "麻钢钢盛不锈钢公司": [
117
+ "Ma Gang Gang Sheng Bu Xiu Gang Co., Ltd.",
118
+ "Magang Gangsheng Stainless Steel Co., Ltd."
119
+ ],
120
+ "创玮耀盛电器公司": "Chuangwei Yaosheng Electric Co., Ltd.",
121
+ "丽信智创家电公司": "Lixin Zhichuang Home Appliances Co., Ltd.",
122
+ "碧园产华地产控股公司": "Biyuan Chanhua Real Estate Holdings Co., Ltd.",
123
+ "花润置锦建设开发公司": "Huarun Zhijin Construction Development Co., Ltd.",
124
+ "健名生康医疗器械公司": "Jian Ming Sheng Kang Yi Liao Qi Xie Co., Ltd.",
125
+ "康盛康瑞药业股份公司": "Kang Sheng Kang Rui Yao Ye Joint Stock Co., Ltd.",
126
+ "创玮锦智电器公司": "Chuang Wei Jin Zhi Electrical Appliances Co., Ltd.",
127
+ "龙河产置地产控股公司": "Long He Chan Zhi Di Chan Holdings Co., Ltd.",
128
+ "花盈泰盛财富管理公司": [
129
+ "Hua Ying Tai Sheng Wealth Management Co., Ltd.",
130
+ "Huaying Taisheng Wealth Management Co., Ltd.",
131
+ "Hua Ying Tai Sheng Cai Fu Management Co., Ltd."
132
+ ],
133
+ "用丰联创系统公司": [
134
+ "Yong Feng Lian Chuang Xi Tong Co., Ltd.",
135
+ "Yongfeng Lianchuang Systems Co., Ltd."
136
+ ],
137
+ "众白达贸批发公司": "Zhongbai Damao Wholesale Co., Ltd.",
138
+ "鲁西润恒化工公司": "Luxi Runheng Chemical Co., Ltd.",
139
+ "美能炫悦电气公司": [
140
+ "Meineng Xuanyue Electric Co., Ltd.",
141
+ "Mei Neng Xuan Yue Dian Qi Co., Ltd."
142
+ ],
143
+ "包铁源昌金属制品公司": [
144
+ "Baotie Yuanchang Metal Products Co., Ltd.",
145
+ "Bao Tie Yuan Chang Jin Shu Zhi Pin Co., Ltd."
146
+ ],
147
+ "保禾华昌建设开发公司": "Bao He Hua Chang Jian She Kai Fa Co., Ltd.",
148
+ "丽群通通电子商务公司": "Li Qun Tong Tong Dian Zi Shang Wu Co., Ltd.",
149
+ "亚玮泽智科技公司": "Ya Wei Ze Zhi Technology Co., Ltd.",
150
+ "创芯耀锐集成电路公司": "Chuang Xin Yao Rui Integrated Circuit Co., Ltd.",
151
+ "连机智盛机械公司": "Lian Ji Zhi Sheng Ji Xie Co., Ltd.",
152
+ "和联创航设备公司": "He Lian Chuang Hang She Bei Co., Ltd.",
153
+ "山拉达创智能装备公司": "Shan La Da Chuang Zhi Neng Zhuang Bei Co., Ltd.",
154
+ "三三工智科技公司": "Sansan Gongzhi Technology Co., Ltd.",
155
+ "杰杰达航设备公司": "Jiejie Dahang Equipment Co., Ltd.",
156
+ "众金冶冶资源公司": "Zhongjin Yeye Resources Co., Ltd.",
157
+ "海山味香餐饮管理公司": "Haishan Weixiang Catering Management Co., Ltd.",
158
+ "三松食锦调味品公司": "Sansong Shijin Condiment Co., Ltd.",
159
+ "美能电光家电公司": "Meineng Dianguang Home Appliances Co., Ltd.",
160
+ "丽信盛悦智能科技公司": "Lixin Shengyue Intelligent Technology Co., Ltd.",
161
+ "惠金锦瑞财富管理公司": [
162
+ "Huijin Jinrui Wealth Management Co., Ltd.",
163
+ "Huijin Jinrui Wealth Management Company",
164
+ "Hui Jin Jin Rui Cai Fu Management Co., Ltd."
165
+ ],
166
+ "众课智云数据服务公司": [
167
+ "Zhongke Zhiyun Data Services Co., Ltd.",
168
+ "Zhong Ke Zhi Yun Shu Ju Fu Wu Co., Ltd.",
169
+ "Zhongke Zhiyun Data Services Company"
170
+ ],
171
+ "长桥锦创科技公司": [
172
+ "Changqiao Jinchuang Technology Co., Ltd.",
173
+ "Zhang Qiao Jin Chuang Technology Co., Ltd.",
174
+ "Zhangqiao Jinchuang Technology Co., Ltd.",
175
+ "Changqiao Jinchuang Technology Company"
176
+ ],
177
+ "物丽汇达连锁公司": [
178
+ "Wuli Huida Chain Co., Ltd.",
179
+ "Wu Li Hui Da Chain Co., Ltd.",
180
+ "Wuli Huida Chain Company",
181
+ "Wu Li Hui Da Lian Suo Co., Ltd."
182
+ ],
183
+ "众课科数软件公司": [
184
+ "Zhong Ke Shu Ruan Software Co., Ltd.",
185
+ "Zhong Ke Ke Shu Software Co., Ltd.",
186
+ "Zhongke Keshu Software Company",
187
+ "Zhong Ke Ke Shu Ruan Jian Co., Ltd."
188
+ ],
189
+ "碧园盛华建设开发公司": [
190
+ "Bi Yuan Sheng Hua Jian She Kai Fa Co., Ltd.",
191
+ "Biyuan Shenghua Construction Development Co., Ltd."
192
+ ],
193
+ "碧园置泽城市发展公司": [
194
+ "Bi Yuan Zhi Ze Urban Development Co., Ltd.",
195
+ "Bi Yuan Zhi Ze Cheng Shi Development Co., Ltd.",
196
+ "Biyuan Zhize Urban Development Co., Ltd.",
197
+ "Biyuan Zhize Urban Development Company"
198
+ ],
199
+ "招业华昌房地产开发公司": [
200
+ "Zhao Ye Hua Chang Real Estate Development Co., Ltd.",
201
+ "Zhaoye Huachang Real Estate Development Co., Ltd.",
202
+ "Zhao Ye Hua Chang Fang Di Chan Kai Fa Co., Ltd.",
203
+ "Zhaoye Huachang Real Estate Development Company"
204
+ ],
205
+ "铜通泽鸿证券公司": [
206
+ "Tong Tong Ze Hong Securities Co., Ltd.",
207
+ "Tongtong Zehong Securities Co., Ltd.",
208
+ "Tong Tong Ze Hong Zheng Quan Co., Ltd."
209
+ ],
210
+ "爱健颐康复众心公司": [
211
+ "Aijian Yikang Fuzhongxin Co., Ltd.",
212
+ "Ai Jian Yi Kang Fu Zhong Xin Co., Ltd.",
213
+ "Aijian Yikang Fuzhongxin Company"
214
+ ],
215
+ "宝新慧慧网络公司": [
216
+ "Baoxin Huihui Network Co., Ltd.",
217
+ "Bao Xin Hui Hui Wang Luo Co., Ltd.",
218
+ "Baoxin Huihui Network Company"
219
+ ],
220
+ "众车远泽船舶公司": [
221
+ "Zhong Che Yuan Ze Shipbuilding Co., Ltd.",
222
+ "Zhongche Yuanze Shipbuilding Co., Ltd.",
223
+ "Zhongche Yuanze Shipbuilding Company"
224
+ ],
225
+ "花图文教在线教育公司": [
226
+ "Hua Tu Wen Jiao Zai Xian Jiao Yu Co., Ltd.",
227
+ "Huatu Wenjiao Online Education Co., Ltd."
228
+ ],
229
+ "金制鸿盛资产管理公司": [
230
+ "Jin Zhi Hong Sheng Zi Chan Guan Li Co., Ltd.",
231
+ "Jinzhi Hongsheng Asset Management Co., Ltd.",
232
+ "Jinzhi Hongsheng Asset Management Company",
233
+ "Jin Zhi Hong Sheng Zi Chan Management Co., Ltd."
234
+ ],
235
+ "健帆宁泽养老服务公司": [
236
+ "Jianfan Ningze Elderly Care Services Co., Ltd.",
237
+ "Jian Fan Ning Ze Yang Lao Fu Wu Co., Ltd."
238
+ ],
239
+ "一海昌锦商务公司": [
240
+ "Yihai Changjin Business Co., Ltd.",
241
+ "Yi Hai Chang Jin Shang Wu Co., Ltd.",
242
+ "Yihai Changjin Business Company"
243
+ ],
244
+ "浪集慧软科技公司": [
245
+ "Lang Ji Hui Ruan Technology Co., Ltd.",
246
+ "Langji Huiruan Technology Co., Ltd.",
247
+ "Langji Huiruan Technology Company"
248
+ ],
249
+ "花新源石新材料公司": [
250
+ "Hua Xin Yuan Shi New Materials Co., Ltd.",
251
+ "Huaxin Yuanshi New Materials Company",
252
+ "Hua Xin Yuan Shi Xin Cai Liao Co., Ltd."
253
+ ],
254
+ "碧园产锦不动产公司": [
255
+ "Bi Yuan Chan Jin Bu Dong Chan Co., Ltd.",
256
+ "Biyuan Chanjin Real Estate Company"
257
+ ],
258
+ "众海工昌锦建筑设计公司": [
259
+ "Zhonghai Gongchangjin Architectural Design Company",
260
+ "Zhong Hai Gong Chang Jin Jian Zhu She Ji Co., Ltd."
261
+ ],
262
+ "招业泽锦地产控股公司": [
263
+ "Zhao Ye Ze Jin Di Chan Holdings Co., Ltd.",
264
+ "Zhao Ye Ze Jin Real Estate Holdings Co., Ltd."
265
+ ],
266
+ "瑞行健康制药公司": [
267
+ "Rui Xing Jian Kang Zhi Yao Co., Ltd.",
268
+ "Ruixing Health Pharmaceutical Company"
269
+ ],
270
+ "北控泽净水务公司": [
271
+ "Beikong Zejing Water Company",
272
+ "Bei Kong Ze Jing Water Co., Ltd."
273
+ ],
274
+ "恒丽科智软件公司": [
275
+ "Hengli Kezhi Software Company",
276
+ "Heng Li Ke Zhi Ruan Jian Co., Ltd."
277
+ ],
278
+ "十阳锦锦电器公司": [
279
+ "Shiyang Jinjin Electrical Appliances Company",
280
+ "Shi Yang Jin Jin Electrical Appliances Co., Ltd."
281
+ ],
282
+ "星酷文工艺美术品公司": [
283
+ "Xingkuwen Arts and Crafts Company",
284
+ "Xing Ku Wen Gong Yi Mei Shu Pin Co., Ltd."
285
+ ],
286
+ "新花源通连锁公司": "Xin Hua Yuan Tong Lian Suo Co., Ltd.",
287
+ "花电能锦水电公司": [
288
+ "Hua Dian Neng Jin Shui Dian Co., Ltd.",
289
+ "Hua Dian Neng Jin Hydropower Co., Ltd."
290
+ ],
291
+ "花能泽泽新能源公司": "Hua Neng Ze Ze Xin Neng Yuan Co., Ltd.",
292
+ "航发铁船航空科技公司": "Hang Fa Tie Chuan Hang Kong Technology Co., Ltd.",
293
+ "润会数科科技公司": "Run Hui Shu Ke Technology Co., Ltd.",
294
+ "众防昌达重工公司": "Zhong Fang Chang Da Zhong Gong Co., Ltd.",
295
+ "宝新智智系统公司": "Bao Xin Zhi Zhi Xi Tong Co., Ltd.",
296
+ "大族锦精设备公司": "Da Zu Jin Jing She Bei Co., Ltd.",
297
+ "锡份冶锦金属公司": "Xi Fen Ye Jin Jin Shu Co., Ltd.",
298
+ "绿泰洁循环保科技公司": "Lv Tai Jie Xun Huan Bao Technology Co., Ltd.",
299
+ "丰火创泽网络设备公司": "Feng Huo Chuang Ze Wang Luo She Bei Co., Ltd.",
300
+ "环丘泰锦智能电气公司": "Huan Qiu Tai Jin Zhi Neng Dian Qi Co., Ltd.",
301
+ "绿山置锦房地产开发公司": "Lv Shan Zhi Jin Real Estate Development Co., Ltd.",
302
+ "瑞芯耀澜集成电路公司": "Rui Xin Yao Lan Ji Cheng Dian Lu Co., Ltd.",
303
+ "晶芯锐辉微电子公司": "Jing Xin Rui Hui Wei Dian Zi Co., Ltd.",
304
+ "药石元泽生物医药公司": "Yao Shi Yuan Ze Sheng Wu Yi Yao Co., Ltd.",
305
+ "众集昌源钢铁公司": "Zhong Ji Chang Yuan Gang Tie Co., Ltd.",
306
+ "浪集联创信息技术公司": "Lang Ji Lian Chuang Xin Xi Ji Shu Co., Ltd.",
307
+ "潞安富昌煤炭公司": "Lu An Fu Chang Mei Tan Co., Ltd.",
308
+ "恒丽云创信息技术公司": "Heng Li Yun Chuang Xin Xi Ji Shu Co., Ltd.",
309
+ "万会盛置建设开发公司": "Wan Hui Sheng Zhi Construction Development Co., Ltd.",
310
+ "航发远锦航空科技公司": "Hang Fa Yuan Jin Hang Kong Technology Co., Ltd.",
311
+ "华鲁荣荣化学公司": "Hua Lu Rong Rong Hua Xue Co., Ltd.",
312
+ "三三工机科技公司": "San San Gong Ji Technology Co., Ltd.",
313
+ "众聚悦饮食品公司": "Zhong Ju Yue Yin Shi Pin Co., Ltd.",
314
+ "华城锦锦综合开发公司": "Hua Cheng Jin Jin Zong He Kai Fa Co., Ltd.",
315
+ "绿山产锦置业公司": "Lv Shan Chan Jin Zhi Ye Co., Ltd.",
316
+ "花新泽昌新材料公司": "Hua Xin Ze Chang Xin Cai Liao Co., Ltd.",
317
+ "万会锦盛房地产开发公司": [
318
+ "Wan Hui Jin Sheng Real Estate Development Co., Ltd.",
319
+ "Wan Hui Jin Sheng Fang Di Chan Kai Fa Co., Ltd."
320
+ ],
321
+ "包金金昌铜业公司": "Bao Jin Jin Chang Tong Ye Co., Ltd.",
322
+ "众邮政达锦运输公司": "Zhong You Zheng Da Jin Yun Shu Co., Ltd.",
323
+ "环星锦雅服饰公司": "Huan Xing Jin Ya Apparel Co., Ltd.",
324
+ "豪美公司": "Haomei Company"
325
+ },
326
+ "policy_items": {
327
+ "原材料工业\"三品\"实施方案": "Implementation Plan for \"Three Products\" in Raw Materials Industry",
328
+ "支持技工强省建设若干政策": "Several Policies on Supporting the Construction of a Strong Province of Skilled Workers",
329
+ "安徽省人民政府关于印发支持技工强省建设若干政策的通知": "Notice of Anhui Provincial People's Government on Several Policies Supporting the Construction of a Strong Province of Skilled Workers",
330
+ "广东省人民政府办公厅关于印发广东省进一步促进工业经济平稳增长若干措施的通知": "Notice of the General Office of Guangdong Provincial People's Government on Printing and Distributing Several Measures of Guangdong Province for Further Promoting Steady Growth of Industrial Economy",
331
+ "关于组织申报生物医药产业优秀青年人才首套房购买补贴的通知": "Notice on Organizing Applications for First Home Purchase Subsidies for Outstanding Young Talents in the Biomedicine Industry",
332
+ "东数西算": "Eastern Data Western Computing",
333
+ "广东省人民政府办公厅关于印发广东省进一步 促进工业经济平稳增长若干措施的通知": "Notice of Guangdong Provincial Development and Reform Commission on Issuing the Implementation Plan for Building Guangdong's Modern Circulation System during the 14th Five-Year Plan",
334
+ "广东省发展改革委关于印发《广东省“十四五”现代流通体系建设实施方案》": "Notice of the General Office of the People's Government of Guangdong Province on Issuing Several Measures to Further Promote Stable Growth of the Industrial Economy in Guangdong Province",
335
+ "关于上海市浦东新区有关研发机构适用进口税收政策资格认定事项的通知": "Notice on Qualification Recognition Matters for Relevant R&D Institutions in Pudong New Area of Shanghai Applicable to Import Tax Policies",
336
+ "上海市人民政府办公厅关于印发培育“元宇宙”新赛道行动方案的通知": "Notice of the General Office of the Shanghai Municipal People's Government on Issuing the Action Plan for Cultivating the New Metaverse Track",
337
+ "黑龙江省人民政府办公厅关于印发黑龙江省科技振兴行动计划(2022—2026年)的通知": "Notice of the General Office of the People's Government of Heilongjiang Province on Issuing the Heilongjiang Province Science and Technology Revitalization Action Plan (2022-2026)",
338
+ "黑龙江省支持大型国际合作交流活动对接引进优秀人才经费补助实施细则(试行)": "Detailed Rules for the Implementation of Funding Subsidies for Supporting Large-scale International Cooperation and Exchange Activities to Connect and Introduce Outstanding Talents in Heilongjiang Province (Trial)"
339
+ }
340
+ }
assets/database/enterprise/company_core.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e7fadec7a8833ef4c5736d638c62bd1033247e50a47afb2fa36b0af81fa6a0f
3
+ size 27411510
assets/database/enterprise/company_operation_status.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d30f8659da51de379500f0314d5d6322d534267e92377ca9eea47336e9fff94
3
+ size 34717208
assets/database/enterprise/company_operation_status_detail.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:016e39c51abb7f940506d2855bbc0419a6ba50dbbe14e62684285d6c7985d569
3
+ size 70022647
assets/database/enterprise/company_operation_yearly_status.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df4aa7baff8cea1d9eadec7b6650d57a827ea0520cb3fe636d708afadcb0fd15
3
+ size 65472033
assets/database/enterprise/company_profile.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecd68737f4f453746c3271b146ef5f6b6e741536aab4fc8ae2a32be89085e3c2
3
+ size 1783742
assets/database/enterprise/company_profile_as.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14488f5e36b9eec554bc1776513135206dc83b3fc834441bc7eff4ca5171a3cc
3
+ size 242816
assets/database/enterprise/company_profile_eu.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:448bd2077692933fb41398dff37f7767c2cac726d852bf54d5ea9ead2b1c4a8e
3
+ size 228500
assets/database/enterprise/company_profile_na.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83323ec3a56cb36abbb86263c95ee39e0ad5b2bff5101e90d95a69d5efe158cf
3
+ size 152112
assets/database/enterprise/company_profile_oc.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f174f6be68dfd8ccfabfc50fed443faa3ffc339b23012a6e54a262b72d19981
3
+ size 79246
assets/database/industry/national_industry_status.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:723ce91a24f67b5a3d032a297d40417a1df32c2d584c8215047de92f7c204fd6
3
+ size 1472926
assets/database/industry/national_industry_status_detail.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f040fb21b4208bc280acc3bb6c81feb286bbd63150a30ca22677ed802d529b7
3
+ size 3631383
assets/database/industry/national_industry_yearly_status.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6a2f88f64e19168d8adb70b0edd9dbeebd8df44c4db472c5b23af7a8b0d0f85
3
+ size 55980
assets/database/industry/regional_industry_status.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6314f5198f67c8ebf90e03f891f042d8244a5cee5538bd4731678820b289d7e
3
+ size 22504920
assets/database/industry/regional_industry_status_detail.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a08132df31975bcfbb56ea2d2a3b79dc3b052b97d0f88b63ebe1542a0d6f822d
3
+ size 287796
assets/database/industry/regional_industry_yearly_status.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab96eb7f4ca90cf54cd75515beb6031ed72ff26d2df8d3264a969b1c2d8aab41
3
+ size 289546
assets/database/internal_metrics.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f584fb7cacf19fcdc50e59b398fc65ad041d9651860d9cfe1d7afb277dbeb9dc
3
+ size 2238
assets/database/policy/policy_release_status.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a784a9301e6a8feb63d7b5e2fae7da0f4a3fee3d1871703cf1560d36163184ef
3
+ size 1109101
assets/database/policy/policy_resource.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:041c1e89ed2a24164075e92c9b8e7f74490042ef52dcfbd2c0e8f5c17764a029
3
+ size 20833614
assets/qa_gold/comprehensive_decision/easy001.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "easy001",
3
+ "question": "In which province is the enterprise with the highest R&D investment ratio nationwide in 2022 located?",
4
+ "guidelines": "The answer must be \"yes\" or \"no\". Output only the answer, do not add any explanatory text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": "Jiangsu Province",
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "easy",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Filter all records with year=2022 from company_operation_status.csv, and extract the enterprise name and R&D investment ratio fields.",
13
+ "Filter enterprise records with non-null R&D investment ratio, sort by R&D investment ratio in descending order, and identify the enterprise with the highest R&D investment ratio as \"Yaoshi Shenkang Medical Equipment Company\" with an R&D investment ratio of 934642.80%.",
14
+ "Look up the record for enterprise name \"Yaoshi Shenkang Medical Equipment Company\" in company_profile.csv, extract the province field, and obtain the province where the enterprise is located as \"Jiangsu Province\"."
15
+ ],
16
+ "steps_num": 3,
17
+ "milestone": {
18
+ "Enterprise with highest R&D investment ratio": "Yaoshi Shenkang Medical Equipment Company",
19
+ "R&D investment ratio (%)": 934642.8,
20
+ "Province of location": "Jiangsu Province"
21
+ }
22
+ }
assets/qa_gold/comprehensive_decision/easy002.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "easy002",
3
+ "question": "In 2022, nationwide, how is the chemical raw materials and chemical products manufacturing industry ranked by asset scale? Please list the top five provinces.",
4
+ "guidelines": "Answer format: [Province A, Province B, ...]. Output only province names, do not add any other explanatory text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": [
6
+ "Shandong Province",
7
+ "Zhejiang Province",
8
+ "Jiangsu Province",
9
+ "Shanghai",
10
+ "Guangdong Province"
11
+ ],
12
+ "metadata": {
13
+ "db": "bm_rag_qa",
14
+ "level": "easy",
15
+ "category": "comprehensive_decision"
16
+ },
17
+ "steps": [
18
+ "Filter all records with industry=\"Chemical Raw Materials and Chemical Products Manufacturing\" from regional_industry_status.csv, and extract the province and total assets fields.",
19
+ "Sort all provincial data by total assets in descending order to determine the asset scale ranking of each province. Extract the top five provinces and their total assets: Shandong Province (544109686731.85), Zhejiang Province (401644798867.80), Jiangsu Province (250743006622.33), Shanghai (230472528900.23), Guangdong Province (176926240169.03)."
20
+ ],
21
+ "steps_num": 2,
22
+ "milestone": {
23
+ "Total assets in Shandong Province (yuan)": 544109686731.85,
24
+ "Total assets in Zhejiang Province (yuan)": 401644798867.8,
25
+ "Total assets in Jiangsu Province (yuan)": 250743006622.33,
26
+ "Total assets in Shanghai (yuan)": 230472528900.23,
27
+ "Total assets in Guangdong Province (yuan)": 176926240169.03,
28
+ "Top five provinces": [
29
+ "Shandong Province",
30
+ "Zhejiang Province",
31
+ "Jiangsu Province",
32
+ "Shanghai",
33
+ "Guangdong Province"
34
+ ]
35
+ }
36
+ }
assets/qa_gold/comprehensive_decision/easy003.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "easy003",
3
+ "question": "In 2022, in the Qilu region (Shandong Province), how many policies support Zhongbai Jinmao Chain Company in its industry?",
4
+ "guidelines": "The answer must be an exact number. Output only the number, do not add units, commas, or any textual explanation. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": 2,
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "easy",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Search for records of \"Zhongbai Jinmao Chain Company\" in company_profile.csv, extract the industry field, and determine that its industry is \"Wholesale and Retail Trade\".",
13
+ "Filter from policy_release_status.csv for all policy records with province=\"Shandong Province\", and policies where the industry field contains \"Wholesale and Retail Trade\". Found 2 policies: 1 from \"Local Policy - Shandong Provincial People's Government General Office Policy Count\" and 1 from \"Local Policy - Shandong Provincial Development and Reform Commission Policy Count\".",
14
+ "Count the number of policies meeting the criteria, which is 2."
15
+ ],
16
+ "steps_num": 3,
17
+ "milestone": {
18
+ "Industry of Zhongbai Jinmao Chain Company": "Wholesale and Retail Trade",
19
+ "Shandong Province Local Policy - Shandong Provincial People's Government General Office Policy Count": 1,
20
+ "Shandong Province Local Policy - Shandong Provincial Development and Reform Commission Policy Count": 1,
21
+ "Number of policies in Shandong Province related to Wholesale and Retail Trade": 2
22
+ }
23
+ }
assets/qa_gold/comprehensive_decision/easy004.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "easy004",
3
+ "question": "In 2022, nationwide, what is the ranking of provinces by asset size in the Information Transmission, Software and Information Technology Services industry? Please list the top five provinces.",
4
+ "guidelines": "Answer format: [Province A, Province B, ...]. Output only the province ranking, do not add any other explanatory text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": [
6
+ "Beijing",
7
+ "Zhejiang Province",
8
+ "Guangdong Province",
9
+ "Shanghai",
10
+ "Jiangsu Province"
11
+ ],
12
+ "metadata": {
13
+ "db": "bm_rag_qa",
14
+ "level": "easy",
15
+ "category": "comprehensive_decision"
16
+ },
17
+ "steps": [
18
+ "Filter from regional_industry_status.csv all records with industry=\"Information Transmission, Software and Information Technology Services\", and extract the province and total assets fields.",
19
+ "Sort all provincial data in descending order by total assets to determine the asset size ranking of each province. Extract the top five provinces and their total assets: Beijing (10297490896006.5), Zhejiang Province (4115693929492.25), Guangdong Province (2262247330030.01), Shanghai (1282711003966.55), Jiangsu Province (177568006242.47)."
20
+ ],
21
+ "steps_num": 2,
22
+ "milestone": {
23
+ "Total assets of Beijing (CNY)": 10297490896006.5,
24
+ "Total assets of Zhejiang Province (CNY)": 4115693929492.25,
25
+ "Total assets of Guangdong Province (CNY)": 2262247330030.01,
26
+ "Total assets of Shanghai (CNY)": 1282711003966.55,
27
+ "Total assets of Jiangsu Province (CNY)": 177568006242.47,
28
+ "Top five provinces by ranking": [
29
+ "Beijing",
30
+ "Zhejiang Province",
31
+ "Guangdong Province",
32
+ "Shanghai",
33
+ "Jiangsu Province"
34
+ ]
35
+ }
36
+ }
assets/qa_gold/comprehensive_decision/easy005.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "easy005",
3
+ "question": "In 2022, nationwide, what is the ranking of provinces by profitability in the Real Estate industry? Please list the top five provinces.",
4
+ "guidelines": "Answer format: [Province A, Province B, ...]. Output only the province ranking, do not add any other explanatory text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": [
6
+ "Hong Kong SAR",
7
+ "Guangdong Province",
8
+ "Zhejiang Province",
9
+ "Beijing",
10
+ "Jilin Province"
11
+ ],
12
+ "metadata": {
13
+ "db": "bm_rag_qa",
14
+ "level": "easy",
15
+ "category": "comprehensive_decision"
16
+ },
17
+ "steps": [
18
+ "Filter from regional_industry_status.csv all records with industry=\"Real Estate\", extract province and total net profit amount fields, finding data for 34 provinces/regions in the Real Estate industry.",
19
+ "Filter province records where total net profit amount is not null, totaling 34 valid records. Sort all provincial data in descending order by total net profit amount to determine the profitability ranking of each province.",
20
+ "Extract the top five provinces and their total net profit amounts: Hong Kong SAR (86497465420.52 CNY), Guangdong Province (70559018502.22 CNY), Zhejiang Province (12297928184.06 CNY), Beijing (8975618268.55 CNY), Jilin Province (675521026.00 CNY)."
21
+ ],
22
+ "steps_num": 3,
23
+ "milestone": {
24
+ "Total net profit amount of Hong Kong SAR (CNY)": 86497465420.52,
25
+ "Total net profit amount of Guangdong Province (CNY)": 70559018502.22,
26
+ "Total net profit amount of Zhejiang Province (CNY)": 12297928184.06,
27
+ "Total net profit amount of Beijing (CNY)": 8975618268.55,
28
+ "Total net profit amount of Jilin Province (CNY)": 675521026.0,
29
+ "Top five provinces by ranking": [
30
+ "Hong Kong SAR",
31
+ "Guangdong Province",
32
+ "Zhejiang Province",
33
+ "Beijing",
34
+ "Jilin Province"
35
+ ]
36
+ }
37
+ }
assets/qa_gold/comprehensive_decision/easy006.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "easy006",
3
+ "question": "In 2022, what is Sichuan Province's national ranking by average R&D investment in the Information Transmission, Software and Information Technology Services industry?",
4
+ "guidelines": "The answer must be an exact number representing the ranking. Output only the number, do not add units, commas, or any textual explanation. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": 10,
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "easy",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Filter from regional_industry_status.csv all records with industry=\"Information Transmission, Software and Information Technology Services\", finding data for 34 provinces/regions.",
13
+ "Extract the \"mean R&D investment amount\" field for each province to obtain mean R&D investment data for all provinces. Sort all provinces by mean R&D investment amount in descending order to determine the R&D investment ranking of each province.",
14
+ "Locate Sichuan Province's position in the sorted list. Sichuan Province's mean R&D investment amount is 147274301.44 CNY, and its ranking is 10th."
15
+ ],
16
+ "steps_num": 3,
17
+ "milestone": {
18
+ "Mean R&D investment amount of Sichuan Province (CNY)": 147274301.44,
19
+ "Sichuan Province ranking": 10
20
+ }
21
+ }
assets/qa_gold/comprehensive_decision/hard001.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard001",
3
+ "question": "In 2022, a strategic consulting firm was commissioned by a provincial government to quantitatively rank the comprehensive attractiveness of pharmaceutical manufacturing across provinces, in order to identify priority target regions for attracting leading enterprises. The company designed a four-dimensional weighted scoring system: four original indicators—enterprise agglomeration level (weight 30%), R&D expenditure as a share of revenue (weight 30%), regional policy coverage intensity (weight 20%), and R&D human resource penetration rate (weight 20%)—were normalized (min-max) and then weighted to produce a composite score. Among these, agglomeration level is measured by the proportion of enterprises in each province to the national total in pharmaceutical manufacturing; policy intensity is measured by the ratio of relevant policy items in each province to the total number of relevant policies nationwide; and human resource penetration rate is the total number of R&D personnel in each province divided by total employees. What is the specific composite score value of the province with the highest weighted composite score after normalization across provinces?",
4
+ "guidelines": "The answer should be a numerical value with 2 decimal places. Output only the number, without units or text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": 0.92,
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "hard",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Filter records with industry=\"Pharmaceutical Manufacturing\" from regional_industry_status.csv, extract province, total enterprises, total R&D expenditure, total operating revenue, total R&D personnel, and total employees; 34 provincial records were found.",
13
+ "Filter records with industry=\"Pharmaceutical Manufacturing\" from national_industry_status.csv to obtain the national total of 449 pharmaceutical manufacturing enterprises.",
14
+ "Filter policy records from policy_release_status.csv where the industry field contains \"Pharmaceutical Manufacturing\"; 80 relevant policies were found across 22 provinces. Group by province to count policy numbers per province.",
15
+ "Calculate four original indicators for each province: industry agglomeration = total enterprises/449, R&D intensity = total R&D expenditure/total operating revenue, policy support = province policy count/80, talent density = total R&D personnel/total employees. Filter to 16 valid provinces with all four indicators non-null.",
16
+ "Apply min-max normalization to each of the four indicators across the 16 valid provinces: normalized value = (original value - min)/(max - min).",
17
+ "Calculate composite score = normalized industry agglomeration × 0.3 + normalized R&D intensity × 0.3 + normalized policy support × 0.2 + normalized talent density × 0.2.",
18
+ "Sort by composite score in descending order. Shanghai has the highest composite score, with industry agglomeration 0.1203, R&D intensity 0.2548, policy support 0.1375, talent density 0.1620, and composite score = 0.9160."
19
+ ],
20
+ "steps_num": 7,
21
+ "milestone": {
22
+ "National total pharmaceutical manufacturing enterprises": 449.0,
23
+ "National total pharmaceutical manufacturing-related policies": 80,
24
+ "Number of valid provinces": 16,
25
+ "Shanghai industry agglomeration": 0.1203,
26
+ "Shanghai R&D intensity": 0.2548,
27
+ "Shanghai policy support": 0.1375,
28
+ "Shanghai talent density": 0.162,
29
+ "Shanghai composite score": 0.916
30
+ }
31
+ }
assets/qa_gold/comprehensive_decision/hard002.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard002",
3
+ "question": "In 2022, conduct a quantitative assessment of the investment value of the semiconductor industry across provinces. The evaluation framework requires incorporating three dimensions: first, industry scale (40% weight), measured by the inter-provincial rank percentile of total operating revenue in each province; second, profitability quality (30% weight), reflected by the inter-provincial rank percentile of operating profit margin (total operating profit divided by total operating revenue) in each province; third, technology output intensity (30% weight), measured by the inter-provincial rank percentile of the ratio of total patent applications to R&D expenditure (converted to 100 million yuan) in each province. The rank percentile for each indicator is calculated by sorting values from low to high, using the formula (rank - 1) / (total number of provinces - 1). Note that only provinces with complete data for all three indicators are included in the calculation. Under this weighted scoring system, what is the final score of the province ranked first in comprehensive investment value?",
4
+ "guidelines": "The answer should be a numerical value with 2 decimal places. Output only the number, without units or text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": 0.67,
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "hard",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Filter records with industry=\"Semiconductor Industry\" from regional_industry_status.csv, extract province, total operating revenue, total operating profit, and total R&D expenditure; 34 records were found.",
13
+ "Filter enterprises with industry=\"Semiconductor Industry\" from company_profile.csv, extract company name, bmCode, and province; 172 enterprises were found.",
14
+ "Join with company_operation_status.csv via bmCode to extract annual domestic invention patent applications. Filter 149 valid records with non-null values, group by province to sum annual domestic invention patent applications; 22 provinces have patent data.",
15
+ "Inner join regional data with enterprise-level patent summary by province, filter records with total operating revenue > 0 and total R&D expenditure > 0; 13 valid provinces. Calculate three original indicators: industry scale = total operating revenue, profitability = total operating profit / total operating revenue, innovation output = total annual domestic invention patent applications / total R&D expenditure (in 100 million yuan).",
16
+ "Rank each indicator by value from low to high (rank method = min), calculate rank percentile = (rank - 1) / (13 - 1).",
17
+ "Calculate investment value composite score = industry scale rank percentile × 0.4 + profitability rank percentile × 0.3 + innovation output rank percentile × 0.3.",
18
+ "Sort by composite score in descending order. Zhejiang Province has the highest composite score, with industry scale rank percentile 0.6667, profitability rank percentile 0.5000, innovation output rank percentile 0.8333, and composite score = 0.6667."
19
+ ],
20
+ "steps_num": 7,
21
+ "milestone": {
22
+ "Number of valid provinces": 13,
23
+ "Zhejiang Province industry scale rank percentile": 0.6667,
24
+ "Zhejiang Province profitability rank percentile": 0.5,
25
+ "Zhejiang Province innovation output rank percentile": 0.8333,
26
+ "Zhejiang Province composite score": 0.6667
27
+ }
28
+ }
assets/qa_gold/comprehensive_decision/hard003.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard003",
3
+ "question": "In 2022, an automotive manufacturing enterprise commissioned a third-party institution to score and rate the industrial supporting capacity of each province before selecting a site for a new plant. The scoring rules are as follows: first, rank provinces in descending order by the number of government policies related to automotive manufacturing, and take the top five provinces by policy count as the candidate pool; then, within the candidate provinces, calculate the industrial supporting composite index, which is a weighted combination of three components—upstream and downstream supply chain density (weight 0.4), local labor reserve (weight 0.3), and government subsidy intensity per enterprise (weight 0.3). Supply chain density is defined as the ratio of total automotive manufacturing enterprises in the province to the national total in the industry; labor reserve is defined as the ratio of total industry employees in the province to the national total in the industry; subsidy intensity is defined as total government rewards and subsidies for automotive manufacturing in the province divided by the number of enterprises in the province (subsidy intensity must be normalized across all provinces before being used in the formula). Among the top five provinces by policy ranking, what is the composite index value of the province with the highest industrial supporting composite index?",
4
+ "guidelines": "Answer format: numerical value (4 decimal places). Output only the number, without units or text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": 0.3187,
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "hard",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Filter policy records from policy_release_status.csv where industry field contains \"Automotive Manufacturing\"; 69 records found. Group by province to count policy numbers per province (excluding \"National\" level), sort by policy count descending; top 5 provinces by policy support are ['Guangdong Province', 'Shanghai', 'Hunan Province', 'Sichuan Province', 'Chongqing'].",
13
+ "Filter records with industry=\"Automotive Manufacturing\" from regional_industry_status.csv, extract province, total enterprises, total employees, and total government rewards and subsidies; 34 records found.",
14
+ "Filter records with industry=\"Automotive Manufacturing\" from national_industry_status.csv to obtain national total of 230 automotive manufacturing enterprises and 3,254,510 total employees.",
15
+ "Calculate three original indicators for each province: upstream-downstream enterprise density = total enterprises/230, talent reserve = total employees/3,254,510, subsidy intensity = total government rewards and subsidies/total enterprises.",
16
+ "Apply min-max normalization to subsidy intensity: normalized value = (subsidy intensity - 5468453.88)/(476294284.71 - 5468453.88).",
17
+ "Calculate industrial supporting composite index = upstream-downstream enterprise density × 0.4 + talent reserve × 0.3 + normalized subsidy intensity × 0.3.",
18
+ "Filter among top 5 policy provinces ['Guangdong Province', 'Shanghai', 'Hunan Province', 'Sichuan Province', 'Chongqing'] (Chongqing excluded due to missing data for composite index calculation). Guangdong Province has the highest composite index: upstream-downstream enterprise density 0.1174, talent reserve 0.4499, normalized subsidy intensity 0.4558, composite index = 0.3187."
19
+ ],
20
+ "steps_num": 7,
21
+ "milestone": {
22
+ "National total automotive manufacturing enterprises": 230.0,
23
+ "National total automotive manufacturing employees": 3254510.0,
24
+ "Top 5 provinces by policy": [
25
+ "Guangdong Province",
26
+ "Shanghai",
27
+ "Hunan Province",
28
+ "Sichuan Province",
29
+ "Chongqing"
30
+ ],
31
+ "Guangdong Province upstream-downstream enterprise density": 0.1174,
32
+ "Guangdong Province talent reserve": 0.4499,
33
+ "Guangdong Province normalized subsidy intensity": 0.4558,
34
+ "Guangdong Province composite index": 0.3187
35
+ }
36
+ }
assets/qa_gold/comprehensive_decision/hard004.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard004",
3
+ "question": "In 2022, a provincial development and reform commission, when reviewing the effectiveness of fiscal subsidies for the chemical raw materials and chemical products manufacturing industry, needed to identify enterprises with misallocated subsidy resources. Specifically, analysts must first define the scope: only examine enterprises located in provinces that have policy entries for \"Chemical Raw Materials and Chemical Products Manufacturing\" in the policy release status data; then use the industry-wide median of government subsidies and the median operating profit margin (profit margin = operating profit ÷ operating revenue × 100%) as dual thresholds to identify \"capital misallocation\" enterprises—those that simultaneously have \"subsidy amount above the industry median\" but \"profit margin below the industry median\". Among the valid enterprises in the policy-covered provinces, what is the proportion of capital misallocation enterprises as a percentage of total valid enterprises in those provinces (express the result as a percentage with 2 decimal places, without the % symbol)?",
4
+ "guidelines": "The answer should be a percentage value with 2 decimal places. Output only the number, without the % symbol or text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": 23.18,
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "hard",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Filter policy records from policy_release_status.csv where industry field contains \"Chemical Raw Materials and Chemical Products Manufacturing\"; 60 records found. Extract province field, remove nulls and exclude \"National\" level; 23 policy-covered provinces: ['Shanghai', 'Yunnan Province', 'Inner Mongolia Autonomous Region', 'Sichuan Province', 'Ningxia Hui Autonomous Region', 'Anhui Province', 'Shandong Province', 'Shanxi Province', 'Guangdong Province', 'Guangxi Zhuang Autonomous Region', 'Xinjiang Uygur Autonomous Region', 'Jiangxi Province', 'Hebei Province', 'Henan Province', 'Hainan Province', 'Hubei Province', 'Hunan Province', 'Gansu Province', 'Fujian Province', 'Guizhou Province', 'Liaoning Province', 'Shaanxi Province', 'Heilongjiang Province'].",
13
+ "Filter enterprise records with industry=\"Chemical Raw Materials and Chemical Products Manufacturing\" from company_profile.csv, extract company name, bmCode, and province; 364 enterprises found.",
14
+ "Join with company_operation_status.csv via bmCode to extract government rewards and subsidies, operating profit, and operating revenue; 364 records after merge.",
15
+ "Filter valid samples with non-null values for government rewards and subsidies, operating profit, and operating revenue; 362 enterprises.",
16
+ "Calculate industry-wide median benchmarks for valid enterprises: operating profit margin = operating profit/operating revenue × 100%; median government subsidy is 10,019,029.08 yuan, median operating profit margin is 10.00%.",
17
+ "Filter valid enterprises whose province is in the policy-covered province list; 233 enterprises.",
18
+ "Among the 233 valid enterprises in policy-covered provinces, filter \"high subsidy, low output\" enterprises with government subsidy > 10,019,029.08 and operating profit margin < 10.00%; 54 enterprises, proportion = 54/233 × 100% = 23.18%."
19
+ ],
20
+ "steps_num": 7,
21
+ "milestone": {
22
+ "Number of policy-covered provinces": 23,
23
+ "Total chemical enterprises": 364,
24
+ "Number of valid samples": 362,
25
+ "Median government subsidy (yuan)": 10019029.08,
26
+ "Median operating profit margin (%)": 10.0,
27
+ "Valid enterprises in policy-covered provinces": 233,
28
+ "High subsidy low output enterprises": 54,
29
+ "Proportion (%)": 23.18
30
+ }
31
+ }
assets/qa_gold/comprehensive_decision/hard005.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard005",
3
+ "question": "In 2022, for the information transmission, software and information technology services industry, an industry research institute sought to obtain a policy-adjusted comprehensive innovation efficiency indicator by superimposing the incentive effect of local policy support on top of raw innovation efficiency. The calculation logic is as follows: first, exclude from enterprise microdata any samples with missing R&D expenditure or annual domestic invention patent grants; for the remaining valid enterprises, aggregate by province and calculate the ratio of total invention patent grants to total R&D expenditure (converted to 100 million yuan) for each province as the province's raw innovation efficiency benchmark; then use the proportion of policy items in that province out of all information technology policies as the policy support coefficient, and multiply the raw efficiency benchmark by (1 plus the policy support coefficient) to obtain the final policy-adjusted innovation efficiency. Among all provinces with data, what is the specific value of the province with the highest adjusted efficiency?",
4
+ "guidelines": "The answer should be a numerical value with 2 decimal places. Output only the number, without units or text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": 63.74,
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "hard",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Filter policy records from policy_release_status.csv where industry field contains \"Information Transmission, Software and Information Technology Services\"; 206 records found. Group by province to count policy numbers per province.",
13
+ "Filter enterprise records with industry=\"Information Transmission, Software and Information Technology Services\" from company_profile.csv, extract company name, bmCode, and province; 644 enterprises found.",
14
+ "Join with company_operation_status.csv via bmCode to extract R&D expenditure and annual domestic invention patent grants; 644 records after merge.",
15
+ "Filter valid enterprises with non-null values for both R&D expenditure and annual domestic invention patent grants; 432 enterprises.",
16
+ "Group by province to sum R&D expenditure and annual domestic invention patent grants; 28 provinces have valid data.",
17
+ "Convert total R&D expenditure per province to 100 million yuan, calculate raw innovation efficiency = total patent grants / total R&D expenditure (100 million yuan). Merge with policy data, calculate policy support coefficient = province policy count / 206.",
18
+ "Calculate policy-adjusted innovation efficiency = raw innovation efficiency × (1 + policy support coefficient), sort by adjusted efficiency descending. Hong Kong Special Administrative Region has the highest: raw efficiency 63.7360, policy support coefficient 0.0000, adjusted efficiency = 63.7360."
19
+ ],
20
+ "steps_num": 7,
21
+ "milestone": {
22
+ "Total information technology-related policies": 206,
23
+ "Total information technology services enterprises": 644,
24
+ "Number of valid enterprises": 432,
25
+ "Number of valid provinces": 28,
26
+ "Hong Kong SAR raw innovation efficiency": 63.736,
27
+ "Hong Kong SAR policy support coefficient": 0.0,
28
+ "Hong Kong SAR adjusted innovation efficiency": 63.74
29
+ }
30
+ }
assets/qa_gold/comprehensive_decision/hard006.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard006",
3
+ "question": "In 2022, to measure the impact of different ownership backgrounds on the operating performance of specialized equipment manufacturing enterprises, an analysis team compared each enterprise's return on equity (ROE) level with the industry-wide return level in its province to calculate \"excess ROE\" as a relative performance indicator. Specifically: enterprise ROE is calculated as net profit divided by net assets (total assets minus total liabilities) multiplied by 100%; provincial industry benchmark ROE is extracted from provincial industry summary tables, calculated as total industry net profit divided by total industry net assets (total assets minus total liabilities) multiplied by 100%; each enterprise's excess ROE is the difference between its own ROE and its province's benchmark ROE. After grouping by ownership type, which ownership category has the highest mean excess ROE among enterprises? What is that mean value in percentage points?",
4
+ "guidelines": "The answer should be a percentage value with 2 decimal places. Output only the number, without the % symbol or text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": [
6
+ "Collective Enterprise",
7
+ 5.17
8
+ ],
9
+ "metadata": {
10
+ "db": "bm_rag_qa",
11
+ "level": "hard",
12
+ "category": "comprehensive_decision"
13
+ },
14
+ "steps": [
15
+ "Filter enterprise records with industry=\"Specialized Equipment Manufacturing\" from company_profile.csv, extract company name, bmCode, ownership, and province; 447 enterprises found.",
16
+ "Join with company_operation_status.csv via bmCode to extract net profit, total assets, total liabilities, and operating revenue; 447 records after merge.",
17
+ "Filter records with industry=\"Specialized Equipment Manufacturing\" from regional_industry_status.csv, calculate provincial industry average ROE = total net profit / (total assets - total liabilities) × 100%; 15 valid provinces.",
18
+ "Filter valid enterprises with total assets > total liabilities and non-null operating revenue; 444 enterprises.",
19
+ "Calculate net assets = total assets - total liabilities for each enterprise, then ROE = net profit / net assets × 100%.",
20
+ "Inner join enterprise data with provincial industry average ROE by province; 389 enterprises matched. Calculate excess ROE = enterprise ROE - provincial industry average ROE for each enterprise.",
21
+ "Group by ownership to calculate mean excess ROE for each ownership type; 6 ownership types. Collective enterprises (2 enterprises) have the highest mean excess ROE = 5.17%."
22
+ ],
23
+ "steps_num": 7,
24
+ "milestone": {
25
+ "Total specialized equipment manufacturing enterprises": 447,
26
+ "Number of valid enterprises": 444,
27
+ "Enterprises matched with provincial data": 389,
28
+ "Number of ownership types": 6,
29
+ "Collective enterprise count": 2,
30
+ "Collective enterprise mean excess ROE (%)": 5.17
31
+ }
32
+ }
assets/qa_gold/comprehensive_decision/hard007.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard007",
3
+ "question": "In 2022, when a research institution was reviewing the implementation effectiveness of provincial industrial policies in the food and beverage industry, it found that although some provinces had issued many support policies, the profitability of enterprises within their jurisdictions was not ideal. To identify such \"policy-heavy, low-return\" provinces, the institution planned to analyze separately those provinces with a relatively large number of policies (including national-level policies, totaling 3 or more): sum the operating profit amounts of all food and beverage industry enterprises in these provinces and divide by the sum of operating revenue amounts to obtain the comprehensive operating profit margin for each province, then identify the province with the lowest profit margin. What is the profit margin value (as a percentage, rounded to two decimal places) for the province with the lowest comprehensive operating profit margin?",
4
+ "guidelines": "The answer should be a percentage value with 2 decimal places. Output only the number, without the % symbol or text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": 0.59,
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "hard",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Filter policy records with industry field containing \"Food and Beverage Industry\" from policy_release_status.csv, 16 records in total. Group by province field to count policy numbers per province; 4 national-level policies need to be added to each province. After adding national-level policy count to each province's count, filter provinces with policy count >= 3, totaling 9 provinces: ['Yunnan', 'Sichuan', 'Ningxia', 'Hebei', 'Henan', 'Hainan', 'Hunan', 'Gansu', 'Guizhou'].",
13
+ "Filter all enterprise records with industry=\"Food and Beverage Industry\" from company_profile.csv, extract company name, bmCode, and province fields; 247 enterprises found.",
14
+ "Join with company_operation_status.csv via bmCode to extract operating profit amount and operating revenue amount fields.",
15
+ "Filter valid enterprises with non-null operating revenue amount; 247 enterprises in total.",
16
+ "Group by province field, aggregate the sum of operating profit amounts and sum of operating revenue amounts for each province.",
17
+ "Calculate comprehensive operating profit margin for each province = sum of operating profit amounts / sum of operating revenue amounts × 100%.",
18
+ "Among the 9 provinces with >=3 policies, sort by operating profit margin in ascending order; the province with the lowest operating profit margin is Hainan, with total operating profit of 78,834,917.61 yuan, total operating revenue of 13,274,274,000.99 yuan, and operating profit margin = 0.59%."
19
+ ],
20
+ "steps_num": 7,
21
+ "milestone": {
22
+ "Total food and beverage industry policies": 16,
23
+ "Provinces with >=3 policies": [
24
+ "Yunnan",
25
+ "Sichuan",
26
+ "Ningxia",
27
+ "Hebei",
28
+ "Henan",
29
+ "Hainan",
30
+ "Hunan",
31
+ "Gansu",
32
+ "Guizhou"
33
+ ],
34
+ "Number of valid enterprises": 247,
35
+ "Hainan total operating profit": 78834917.61,
36
+ "Hainan total operating revenue": 13274274000.99,
37
+ "Hainan operating profit margin (%)": 0.59
38
+ }
39
+ }
assets/qa_gold/comprehensive_decision/hard008.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard008",
3
+ "question": "In 2022, a private equity institution sought to identify high-quality provinces in the electricity, heat, gas and water production and supply industry that combine growth potential, market undervaluation, and innovation resilience. The screening logic has three layers: The first layer requires that the median year-over-year change in operating revenue of enterprises within the province be positive (>0%), to exclude regions where revenue is already shrinking; The second layer, based on the first layer results, further requires that the province's market valuation level be relatively low, i.e., the P/S ratio of all enterprises in the province must be lower than the median P/S ratio across all provinces nationwide (national median is calculated from the provincial P/S ratio series); The third layer adds an innovation requirement, i.e., the mean R&D investment ratio of enterprises in the province must be higher than the mean of all enterprises in the industry with R&D investment ratio records. How many provinces satisfy all three conditions simultaneously?",
4
+ "guidelines": "The answer should be an integer. Output only the number, without units or text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": 4,
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "hard",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Filter all provincial records with industry=\"Electricity, Heat, Gas and Water Production and Supply\" from regional_industry_status.csv, extract province, median year-over-year change in operating revenue, total company market cap, total operating revenue amount, and number of enterprises; 34 records in total.",
13
+ "Filter enterprises with industry=\"Electricity, Heat, Gas and Water Production and Supply\" from company_profile.csv, extract company name, bmCode, and province fields; 189 enterprises found.",
14
+ "Join with company_operation_status.csv via bmCode to extract R&D investment ratio field. 122 enterprises have non-null R&D investment ratio; national average R&D investment ratio is 1.1470%. Group by province to calculate average R&D investment ratio per province.",
15
+ "Filter 16 valid provinces with non-null and >0 total operating revenue amount; calculate P/S ratio per province = total company market cap / total operating revenue amount (converted to 100 million yuan); national median P/S ratio is 1.024358.",
16
+ "Filter high-growth provinces with median year-over-year change in operating revenue > 0%; 15 provinces in total.",
17
+ "Among high-growth provinces, filter low-valuation provinces with P/S ratio < national median 1.024358; 7 provinces in total.",
18
+ "Among high-growth, low-valuation provinces, further filter provinces where average enterprise R&D investment ratio > 1.1470%; 4 provinces ultimately satisfy all three conditions: ['Guangdong', 'Shanghai', 'Henan', 'Hebei']."
19
+ ],
20
+ "steps_num": 7,
21
+ "milestone": {
22
+ "Number of valid provinces": 16,
23
+ "National median P/S ratio": 1.024358,
24
+ "National average enterprise R&D investment ratio (%)": 1.147,
25
+ "Number of high-growth provinces": 15,
26
+ "Number of high-growth, low-valuation provinces": 7,
27
+ "Number of provinces meeting all conditions": 4
28
+ }
29
+ }
assets/qa_gold/comprehensive_decision/hard009.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard009",
3
+ "question": "In 2022, an investment manager at a merger and acquisition fund was seeking \"high R&D, low valuation\" M&A targets in the textile, footwear and apparel industry, but the scope was limited to provinces covered by textile, footwear and apparel industry-related policies. The prerequisite for screening valid enterprises is: net profit amount strictly greater than zero, and both R&D investment ratio and company market cap fields have data records. On this basis, first use all valid enterprises in the industry as the benchmark population to calculate the median R&D investment ratio and the median P/E ratio respectively; then from the subset of valid enterprises located in policy-covered provinces, filter enterprises whose R&D investment ratio is higher than the industry median and whose P/E ratio is lower than the industry median. How many enterprises satisfy the above dual screening conditions? (P/E ratio = company market cap (100 million yuan) ÷ net profit amount (100 million yuan))",
4
+ "guidelines": "The answer should be an integer. Output only the number, without units or text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": 9,
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "hard",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Filter policy records with industry field containing \"Textile, Footwear and Apparel\" from policy_release_status.csv, 21 records in total. Extract province field, remove nulls and exclude \"National\" level, to obtain 11 policy-covered provinces: ['Shanghai', 'Sichuan', 'Shandong', 'Guangdong', 'Guangxi', 'Xinjiang', 'Hebei', 'Hunan', 'Fujian', 'Liaoning', 'Shaanxi'].",
13
+ "Filter all enterprise records with industry=\"Textile, Footwear and Apparel\" from company_profile.csv, extract company name, bmCode, and province fields; 177 enterprises found.",
14
+ "Join with company_operation_status.csv via bmCode to extract R&D investment ratio, net profit amount, and company market cap fields; 177 records after merge.",
15
+ "Filter valid enterprises with net profit amount > 0 and both R&D investment ratio and company market cap non-null; 81 enterprises in total.",
16
+ "Confirm data units: company market cap is in 100 million yuan, net profit amount is in yuan. Unify units for P/E calculation: P/E = company market cap (100 million yuan) ÷ (net profit amount (yuan) ÷ 100000000), i.e., P/E = company market cap (100 million yuan) ÷ net profit amount (100 million yuan).",
17
+ "Calculate industry-wide median benchmarks for valid enterprises: median R&D investment ratio is 2.8, median P/E = company market cap (100 million yuan) / net profit amount (100 million yuan) is 23.13.",
18
+ "Among valid enterprises, filter those whose province is in the policy-covered province list; 29 enterprises in total.",
19
+ "Among the 29 valid enterprises in policy-covered provinces, filter enterprises with R&D investment ratio > 2.8 and P/E < 23.13; 9 enterprises in total."
20
+ ],
21
+ "steps_num": 8,
22
+ "milestone": {
23
+ "Number of policy-covered provinces": 11,
24
+ "Total textile, footwear and apparel enterprises": 177,
25
+ "Number of valid enterprises": 81,
26
+ "Median R&D investment ratio": 2.8,
27
+ "Median P/E": 23.13,
28
+ "Valid enterprises in policy-covered provinces": 29,
29
+ "Number of enterprises meeting conditions": 9
30
+ }
31
+ }
assets/qa_gold/comprehensive_decision/hard010.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard010",
3
+ "question": "In 2022, to quantify the comprehensive competitive strength of the construction industry across regions, an industry association constructed a provincial competitiveness index system. The index is composed of four weighted sub-dimensions: market size share of national total (weight 30%), asset operation efficiency i.e. operating profit to total assets ratio (weight 30%), technology accumulation level i.e. cumulative invention patent grants to number of enterprises in jurisdiction ratio (weight 20%), and talent structure i.e. R&D personnel as share of total employees (weight 20%). The four raw indicators are each min-max normalized across all valid provinces, then weighted and summed to obtain the final index. Only provinces with data records for all four indicators are included in the calculation. Finally, please calculate the index difference between the first-ranked province and the last-ranked province in the competitiveness index ranking (rounded to two decimal places).",
4
+ "guidelines": "The answer should be a numeric value with 2 decimal places. Output only the number, without units or text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": 0.71,
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "hard",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Filter all provincial records with industry=\"Construction\" from regional_industry_status.csv, extract province, total operating revenue amount, total operating profit amount, total assets, total cumulative Chinese invention patent grants, number of enterprises, total R&D personnel count, and total employee count fields; 34 records in total.",
13
+ "Filter records with industry=\"Construction\" from national_industry_status.csv to obtain national construction industry total operating revenue amount of 12,683,425,500,139.00 yuan and total number of enterprises 148.",
14
+ "Filter enterprises with industry=\"Construction\" from company_profile.csv, 148 enterprises in total, for cross-validation of provincial-level data.",
15
+ "Calculate four raw indicators per province: scale index = total operating revenue amount / 12,683,425,500,139.00, efficiency index = total operating profit amount / total assets, innovation index = total cumulative Chinese invention patent grants / number of enterprises, talent index = total R&D personnel count / total employee count. Filter 16 valid provinces with all four indicators non-null.",
16
+ "Apply min-max normalization to each of the four indicators: normalized value = (raw value - min) / (max - min).",
17
+ "Calculate competitiveness index = normalized scale index × 0.3 + normalized efficiency index × 0.3 + normalized innovation index × 0.2 + normalized talent index × 0.2.",
18
+ "Sort by competitiveness index in descending order; the difference between first-ranked Beijing (0.7287) and last-ranked Liaoning (0.0142) = 0.7145."
19
+ ],
20
+ "steps_num": 7,
21
+ "milestone": {
22
+ "Number of valid provinces": 16,
23
+ "National total construction enterprises": 148,
24
+ "First-ranked province": "Beijing",
25
+ "First-ranked score": 0.7287,
26
+ "Last-ranked province": "Liaoning",
27
+ "Last-ranked score": 0.0142,
28
+ "Difference": 0.7145
29
+ }
30
+ }
assets/qa_gold/comprehensive_decision/hard011.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard011",
3
+ "question": "In 2022, a think tank was commissioned to study the impact of policy intervention on R&D behavior in the communication transmission equipment industry. The research design divides all enterprises with R&D investment ratio data records into two groups: one group from provinces that have appeared in policy release information with \"Communication Transmission Equipment\" related policy entries (\"National\" level entries do not count as provinces and are not included in either group); the other group from provinces that have never appeared in the above policy entries. After grouping, calculate the arithmetic mean of R&D investment ratio for each group respectively, then compute the difference between them (policy-covered provinces mean minus non-policy-covered provinces mean). This difference reflects the association between policy coverage and R&D intensity of communication transmission equipment enterprises within the jurisdiction. What is this difference in percentage points?",
4
+ "guidelines": "The answer should be a numeric value with 2 decimal places. A positive number indicates policy-covered provinces are higher; a negative number indicates non-policy-covered provinces are higher. Output only the number, without units or text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": 4.9,
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "hard",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Filter policy records with industry field containing \"Communication Transmission Equipment\" from policy_release_status.csv, 70 records in total. Extract unique province values and exclude \"National\" to obtain 17 policy-covered provinces: ['Anhui', 'Shandong', 'Guangdong', 'Sichuan', 'Hubei', 'Fujian', 'Jiangxi', 'Chongqing', 'Hunan', 'Yunnan', 'Guizhou', 'Henan', 'Shaanxi', 'Hainan', 'Beijing', 'Shanghai', 'Xinjiang'].",
13
+ "Filter enterprise records with industry=\"Communication Transmission Equipment\" from company_profile.csv, extract company name, bmCode, and province fields; 120 enterprises found.",
14
+ "Join with company_operation_status.csv via bmCode to extract R&D investment ratio field; 120 records after merge.",
15
+ "Filter valid enterprises with non-null R&D investment ratio; 117 enterprises in total.",
16
+ "Based on the policy-covered province list from step 1, divide valid enterprises into two groups: 86 enterprises in policy-covered provinces, 31 enterprises in non-policy-covered provinces.",
17
+ "Calculate mean R&D investment ratio for each group: policy-covered provinces average = 14.35%, non-policy-covered provinces average = 9.45%.",
18
+ "Calculate difference = policy-covered average R&D ratio - non-policy-covered average R&D ratio = 14.35 - 9.45 = 4.90 percentage points."
19
+ ],
20
+ "steps_num": 7,
21
+ "milestone": {
22
+ "Number of communication transmission equipment policies": 70,
23
+ "Policy-covered provinces": [
24
+ "Anhui",
25
+ "Shandong",
26
+ "Guangdong",
27
+ "Sichuan",
28
+ "Hubei",
29
+ "Fujian",
30
+ "Jiangxi",
31
+ "Chongqing",
32
+ "Hunan",
33
+ "Yunnan",
34
+ "Guizhou",
35
+ "Henan",
36
+ "Shaanxi",
37
+ "Hainan",
38
+ "Beijing",
39
+ "Shanghai",
40
+ "Xinjiang"
41
+ ],
42
+ "Number of communication transmission equipment enterprises": 120,
43
+ "Number of valid enterprises": 117,
44
+ "Enterprises in policy-covered provinces": 86,
45
+ "Enterprises in non-policy-covered provinces": 31,
46
+ "Policy-covered average R&D ratio (%)": 14.35,
47
+ "Non-policy-covered average R&D ratio (%)": 9.45,
48
+ "Difference (percentage points)": 4.9
49
+ }
50
+ }
assets/qa_gold/comprehensive_decision/hard012.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard012",
3
+ "question": "In 2022, an antitrust research team analyzed the provincial market structure of the metal smelting and rolling processing industry. To ensure statistical reliability, only provinces with operating revenue amount records and at least 5 enterprises in the industry within the jurisdiction were included. Among qualifying provinces, the Herfindahl-Hirschman Index (HHI) was used to measure market concentration in each province: calculate each enterprise's operating revenue as a share of total operating revenue of all valid enterprises in the province, sum the squares of these shares and multiply by 100% to obtain the province's HHI value. Higher HHI indicates more concentrated markets and greater monopoly risk. After identifying the province with the highest HHI, extract the province's total operating profit amount and total operating revenue amount from provincial industry summary data, and calculate the corresponding operating profit margin. What is the operating profit margin of the province with the highest HHI?",
4
+ "guidelines": "The answer should be a percentage value with 2 decimal places. Output only the number, without the % symbol or text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": 4.14,
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "hard",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Filter enterprise records with industry=\"Metal Smelting and Rolling Processing\" from company_profile.csv, extract company name, bmCode, and province fields; 145 enterprises found.",
13
+ "Join with company_operation_status.csv via bmCode to extract operating revenue amount field; 145 records after merge.",
14
+ "Filter 111 enterprises with non-null operating revenue amount; group by province to count enterprises per province; retain 13 provinces with enterprise count >= 5: ['Shanghai', 'Yunnan', 'Beijing', 'Sichuan', 'Anhui', 'Shandong', 'Guangdong', 'Jiangsu', 'Jiangxi', 'Henan', 'Zhejiang', 'Liaoning', 'Hong Kong'].",
15
+ "Within each valid province, calculate each enterprise's market share = enterprise operating revenue amount / sum of operating revenue amounts of all enterprises in the province.",
16
+ "Calculate Herfindahl-Hirschman Index (HHI) for each province = sum of squares of enterprise market shares × 100%; sort by HHI in descending order.",
17
+ "Among qualifying provinces, using the same valid enterprise sample as for HHI calculation (non-null operating revenue and province enterprise count ≥ 5), aggregate total operating profit amount and total operating revenue amount per province; calculate operating profit margin per province = sum of operating profit amounts / sum of operating revenue amounts × 100%.",
18
+ "The province with the highest HHI is Shanghai, HHI = 88.47. Total operating profit of valid enterprises in this province is 16,186,839,594.21 yuan, total operating revenue is 391,233,407,230.44 yuan; operating profit margin = 4.14%."
19
+ ],
20
+ "steps_num": 7,
21
+ "milestone": {
22
+ "Number of metal smelting and rolling processing enterprises": 145,
23
+ "Enterprises with non-null operating revenue": 111,
24
+ "Number of valid provinces (enterprises >= 5)": 13,
25
+ "Province with highest HHI": "Shanghai",
26
+ "HHI value": 88.47,
27
+ "Shanghai operating profit margin (%)": 4.14
28
+ }
29
+ }
assets/qa_gold/comprehensive_decision/hard013.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard013",
3
+ "question": "In 2022, a provincial industry and information department sought to evaluate the government subsidy utilization efficiency of enterprises of different sizes in the rubber and plastic products industry. After dividing enterprises into three groups by total assets—large (top 1/3 rounded up), medium (middle 1/3 rounded up), and small (bottom 1/3)—which enterprise size group has the highest subsidy utilization efficiency? What is its efficiency value?",
4
+ "guidelines": "The answer should be a numeric value with 2 decimal places. Output only the number, without units or text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": [
6
+ "Large",
7
+ 166.33
8
+ ],
9
+ "metadata": {
10
+ "db": "bm_rag_qa",
11
+ "level": "hard",
12
+ "category": "comprehensive_decision"
13
+ },
14
+ "steps": [
15
+ "Filter all enterprise records with industry=\"Rubber and Plastic Products\" from company_profile.csv, extract company name, bmCode, and province fields; 107 enterprises found.",
16
+ "Join with company_operation_status.csv via bmCode to extract total assets, operating revenue amount, and government reward funds and subsidies fields; 107 records after merge.",
17
+ "Filter records with industry=\"Rubber and Plastic Products\" from national_industry_status.csv to obtain national benchmark data: total enterprises 107, total operating revenue 313,571,405,678.69 yuan, total government subsidies 1,966,394,638.00 yuan, total assets 476,387,663,666.96 yuan.",
18
+ "Filter valid enterprises with all three fields (total assets, operating revenue amount, government reward funds and subsidies) non-null and government reward funds and subsidies > 0; 107 enterprises in total.",
19
+ "Sort by total assets in descending order; divide 107 enterprises into three groups: large enterprise group (top 36, highest 1/3 by total assets), medium enterprise group (middle 36), small enterprise group (bottom 35, lowest 1/3 by total assets).",
20
+ "Calculate subsidy utilization efficiency per group = sum of operating revenue amounts of enterprises in the group / sum of government reward funds and subsidies of enterprises in the group. Small group efficiency = 95.58, medium group efficiency = 161.13, large group efficiency = 166.33.",
21
+ "The group with the highest subsidy utilization efficiency is the large enterprise group, efficiency value = 166.33."
22
+ ],
23
+ "steps_num": 7,
24
+ "milestone": {
25
+ "National total rubber and plastic enterprises": 107,
26
+ "Number of valid enterprises": 107,
27
+ "Small group enterprise count": 35,
28
+ "Medium group enterprise count": 36,
29
+ "Large group enterprise count": 36,
30
+ "Small group efficiency": 95.58,
31
+ "Medium group efficiency": 161.13,
32
+ "Large group efficiency": 166.33,
33
+ "Highest efficiency group": "Large"
34
+ }
35
+ }
assets/qa_gold/comprehensive_decision/hard014.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard014",
3
+ "question": "In 2022, a technology innovation fund evaluated the \"R&D-patent conversion\" full-chain efficiency of the consumer electronics and electrical industry across provinces, seeking to identify the province with optimal conversion efficiency (only provinces with valid enterprise count >= 3 are included). What is the R&D-patent conversion efficiency value of that province? (R&D-patent conversion efficiency = sum of annual Chinese invention patent grants / sum of annual Chinese invention patent applications × R&D output density; R&D output density = sum of annual Chinese invention patent applications / sum of R&D investment amount (100 million yuan))",
4
+ "guidelines": "The answer should be a numeric value with 2 decimal places. Output only the number, without units or text. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": 47.29,
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "hard",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Filter all enterprise records with industry=\"Consumer Electronics and Electrical\" from company_profile.csv, extract company name, bmCode, and province fields; 358 enterprises found.",
13
+ "Join with company_operation_status.csv via bmCode to extract annual Chinese invention patent applications, annual Chinese invention patent grants, and R&D investment amount fields; 358 records after merge.",
14
+ "Filter records with industry=\"Consumer Electronics and Electrical\" from national_industry_status.csv to obtain national benchmark data: total enterprises 358, total R&D investment amount 245,156,000,000.00 yuan, total annual invention patent applications 63,940, total annual invention patent grants 43,780.",
15
+ "Filter 266 valid enterprises with all three fields (annual Chinese invention patent applications, annual Chinese invention patent grants, R&D investment amount) non-null; retain 13 provinces with valid enterprise count >= 3 after grouping by province.",
16
+ "Aggregate by province: sum of annual Chinese invention patent applications, sum of annual Chinese invention patent grants, and sum of R&D investment amount.",
17
+ "Calculate R&D output density per province = sum of annual Chinese invention patent applications / sum of R&D investment amount (100 million yuan); conversion efficiency = (sum of annual Chinese invention patent grants / sum of annual Chinese invention patent applications) × R&D output density.",
18
+ "Sort by conversion efficiency in descending order; the province with the highest conversion efficiency is Shandong, with 24,694 patent applications, 15,143 patent grants, R&D output density 77.1105, conversion efficiency = 47.29."
19
+ ],
20
+ "steps_num": 7,
21
+ "milestone": {
22
+ "National total consumer electronics and electrical enterprises": 358,
23
+ "Number of valid enterprises": 266,
24
+ "Number of valid provinces": 13,
25
+ "Shandong patent applications": 24694.0,
26
+ "Shandong patent grants": 15143.0,
27
+ "Shandong R&D output density": 77.1105,
28
+ "Shandong conversion efficiency": 47.29
29
+ }
30
+ }
assets/qa_gold/comprehensive_decision/hard015.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard015",
3
+ "question": "In 2022, a provincial government evaluated the comprehensive financial health of real estate enterprises to decide which provinces (where the province has an effective enterprise count >= 3) should face strengthened risk supervision for real estate firms. What is the health score of the province with the lowest financial health? (Financial health = Profitability score × 0.4 + Solvency score × 0.3 + Growth capability score × 0.3; Profitability is measured by the average net profit margin of enterprises in that province, where net profit margin = net profit amount / operating revenue amount; Solvency is measured as 1 − the arithmetic mean of enterprises' asset-liability ratio in that province / 100; Growth capability is measured as the median of enterprises' year-over-year change in operating revenue in that province / 100; each indicator is min-max normalized across all valid provinces before being substituted into the formula.)",
4
+ "guidelines": "The answer should be a numerical value with 2 decimal places. Output only the number without units or text explanation. If relevant data cannot be found, please answer \"No relevant data found\"",
5
+ "answer": 0.07,
6
+ "metadata": {
7
+ "db": "bm_rag_qa",
8
+ "level": "hard",
9
+ "category": "comprehensive_decision"
10
+ },
11
+ "steps": [
12
+ "Filter records with industry=\"房地产业\" from company_profile.csv; extract enterprise name, bmCode, and province — 295 enterprises.",
13
+ "Join with company_operation_status.csv on enterprise name and bmCode for year=2022; extract net profit amount, operating revenue amount, asset-liability ratio, and year-over-year change in operating revenue — 295 rows after merge.",
14
+ "Keep records with operating revenue amount > 0 and non-null net profit amount and asset-liability ratio — 295 rows; do not additionally exclude rows by asset-liability ratio; all participate in within-province arithmetic means and subsequent normalization.",
15
+ "Count enterprises by province; define valid provinces as those with effective enterprise count >= 3; in this data there are 17 valid provinces, and growth capability (median YoY operating revenue change) can be computed for all of them.",
16
+ "On those 17 valid provinces only, compute three raw indicators per province: Profitability = arithmetic mean over enterprises of (net profit amount / operating revenue amount); Solvency = 1 − arithmetic mean of asset-liability ratio / 100; Growth capability = median of year-over-year change in operating revenue / 100.",
17
+ "Apply min-max normalization to profitability, solvency, and growth capability separately across all 17 valid provinces (i.e. \"all valid provinces\" means this set only, excluding provinces with only 1–2 enterprises).",
18
+ "Compute financial health = normalized profitability × 0.4 + normalized solvency × 0.3 + normalized growth capability × 0.3.",
19
+ "Sort the 17 valid provinces by financial health ascending; the lowest is Beijing: raw profitability ≈ −1.0774, raw solvency ≈ −21.9888, raw growth capability ≈ −0.1341, health score ≈ 0.0713, rounded to two decimals as 0.07."
20
+ ],
21
+ "steps_num": 8,
22
+ "milestone": {
23
+ "real_estate_enterprises_profile_merged_2022": 295,
24
+ "enterprise_records_province_aggregation_no_al_ratio_exclusion": 295,
25
+ "valid_provinces_count_enterprises_ge_3": 17,
26
+ "Beijing_raw_profitability": -1.0774,
27
+ "Beijing_raw_solvency": -21.9888,
28
+ "Beijing_raw_growth_capability": -0.1341,
29
+ "Beijing_financial_health": 0.0713
30
+ }
31
+ }
assets/qa_gold/comprehensive_decision/hard016.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "hard016",
3
+ "question": "In 2022, an institutional investor plans to build an equity portfolio among Haishan Chang Industrial Equipment Company, Zhongbai Jinmao Chain Company, and Sansan Dateng Heavy Industry Company. The total portfolio weight must equal 1, the portfolio-weighted asset-liability ratio must equal exactly 45%, and the portfolio-weighted year-on-year operating revenue change must equal exactly 0%. Based on these three companies' 2022 operating data, find their portfolio weights and compute the portfolio-weighted ROE. Note: each company's asset-liability ratio is computed as total liabilities ÷ total assets × 100%.",
4
+ "guidelines": "Answer format: weight of Haishan Chang Industrial Equipment Company, weight of Zhongbai Jinmao Chain Company, weight of Sansan Dateng Heavy Industry Company, weighted ROE. The first three weights to four decimal places; weighted ROE to three decimal places. Output numbers and commas only, with no explanatory text. If relevant data cannot be found, answer \"No relevant data found\".",
5
+ "answer": [
6
+ 0.1318,
7
+ 0.4954,
8
+ 0.3728,
9
+ 10.376
10
+ ],
11
+ "metadata": {
12
+ "db": "bm_rag_qa",
13
+ "level": "hard",
14
+ "category": "comprehensive_decision"
15
+ },
16
+ "steps": [
17
+ "From company_operation_status.csv, filter by bmCode for Haishan Chang Industrial Equipment Company (100071), Zhongbai Jinmao Chain Company (100120), and Sansan Dateng Heavy Industry Company (100260) to obtain their 2022 records; 3 valid rows found. Extract total assets, total liabilities, year-on-year change in operating revenue, and net profit amount.",
18
+ "Compute each firm's asset-liability ratio from total assets and total liabilities using total liabilities / total assets × 100%. Results: Haishan Chang Industrial Equipment Company 86.3880%, Zhongbai Jinmao Chain Company 57.6074%, Sansan Dateng Heavy Industry Company 13.6112%.",
19
+ "Derive shareholder equity from total assets minus total liabilities; then compute ROE = net profit amount / shareholder equity × 100%. ROE for the three firms is 15.2002%, 11.5040%, and 7.1713%, respectively.",
20
+ "Let the three firms' weights be w1, w2, and w3. Set up the simultaneous equations w1+w2+w3=1, 86.3880w1+57.6074w2+13.6112w3=45, and −19.28w1+12.21w2−9.41w3=0.",
21
+ "Solve the system of three linear equations to obtain w1=0.13180488, w2=0.49541694, w3=0.37277818.",
22
+ "Compute portfolio-weighted ROE=15.2002%×0.13180488+11.5040%×0.49541694+7.1713%×0.37277818; the result is 10.376%."
23
+ ],
24
+ "steps_num": 6,
25
+ "milestone": {
26
+ "Firm count": 3,
27
+ "Haishan Chang Industrial Equipment Company asset-liability ratio": 86.388,
28
+ "Zhongbai Jinmao Chain Company asset-liability ratio": 57.6074,
29
+ "Sansan Dateng Heavy Industry Company asset-liability ratio": 13.6112,
30
+ "Haishan Chang Industrial Equipment Company weight": 0.1318,
31
+ "Zhongbai Jinmao Chain Company weight": 0.4954,
32
+ "Sansan Dateng Heavy Industry Company weight": 0.3728,
33
+ "Portfolio-weighted ROE": 10.376
34
+ }
35
+ }