The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: TypeError
Message: Couldn't cast array of type struct<table: string, field: string, old_value: null, new_value: string, description: string> to null
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2840, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2312, in cast_table_to_schema
cast_array_to_feature(
~~~~~~~~~~~~~~~~~~~~~^
table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feature,
^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2118, in cast_array_to_feature
casted_array_values = _c(array.values, feature.feature)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
return func(array, *args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2068, in cast_array_to_feature
_c(array.field(name) if name in array_fields else null_array, subfeature)
~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
return func(array, *args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2118, in cast_array_to_feature
casted_array_values = _c(array.values, feature.feature)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
return func(array, *args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2152, in cast_array_to_feature
return array_cast(
array,
...<2 lines>...
allow_decimal_to_str=allow_decimal_to_str,
)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
return func(array, *args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2016, in array_cast
raise TypeError(f"Couldn't cast array of type {_short_str(array.type)} to {_short_str(pa_type)}")
TypeError: Couldn't cast array of type struct<table: string, field: string, old_value: null, new_value: string, description: string> to nullNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
STG 合成工具使用数据集:25 环境 / 500 任务
由 STG(Synthetic Task Generation)管线以 Pi agent 引擎(--engine pi)
合成:每个 seed 描述一个业务场景,Pi 会话(deepseek-v4-flash + stg-synthesize
skill)自主完成「环境生成 → verify CLI 自验修复 → 任务生成 → 自验修复」,
编排器终验 + 去重后落盘。全部产物双闸门验证通过(Pi 自验与编排器终验
零分歧)。
规模
- 环境:25 个(
envs/,每个含 EnvironmentDef JSON + 可执行 SQLite 库) - 任务:500 个(
tasks/,每个含中文描述、ground-truth solution、 声明式验收 check) - 业务域:11 个——airline, banking, delivery, gaming, instore, ota, pet, retail, shared, telecom, ticketing
seeds/
51 个场景种子(合成输入,YAML):业务域描述、实体、软约束维度、任务类型与难度偏好。
下游可用同样的 stg 管线(--engine pi)基于这些 seed 继续合成新环境与任务。
结构
envs/
env_seed_<domain>_<NNN>.json # EnvironmentDef:schema/样本数据/工具定义
env_seed_<domain>_<NNN>.db # 建好库的 SQLite(可直接执行工具/验收)
tasks/
env_seed_<domain>_<NNN>_NN.json # TaskDef(见下),env_id 指向 envs/
任务格式(TaskDef)
description:中文自然语言用户请求(不含工具名/表名/编号)task_type:create | modify | query | refusal(拒绝类 core/bonus/solution 为空)difficulty:easy | medium | hard | extremeacceptance:core(必须达成)+bonus(软约束加分)声明式 check, 五种 kind:row_state / row_exists / row_absent / aggregate / predicatesolution:正确完成全部子目标的工具调用序列(read 穿插 write, 搜索对比行为按难度阶梯强制)
分布
任务类型:{'create': 125, 'modify': 125, 'query': 125, 'refusal': 125}
难度:{'easy': 75, 'extreme': 75, 'hard': 175, 'medium': 175}
每域任务数:{'airline': 60, 'banking': 60, 'delivery': 80, 'gaming': 20, 'instore': 60, 'ota': 60, 'pet': 40, 'retail': 40, 'shared': 20, 'telecom': 40, 'ticketing': 20}
合成方式
STG 管线:https://github.com/Lin-Jiong-HDU/stg(--engine pi 分支)。
环境可在 SQLite 上直接执行(工具由 db_operations + preconditions/effects
声明),验收 check 可由 stg 的 evaluator(src/stg/verifiers/)直接计算
reward——生成与消费共享同一套验证器。
- Downloads last month
- 349