---
document_id: agent.dataset.pdd.task.raw_category_crosswalk
schema_version: 2
parent_document_id: agent.dataset.pdd
section: capabilities
---

<!-- Generated by scripts.build_agent_guide; do not edit. -->

# Raw category crosswalk / 原始类目对照

Compare standardized and upstream raw category values. / 对照标准类目与上游原始类目。

## Required inputs / 必要输入

- `time` — `user_required`; required: Analysis time range
  分析时间范围

## Steps / 步骤

1. `query_crosswalk` · `query_metrics` — Query GMV grouped by standard and raw level-1 categories.
   按标准和原始一级类目分组查询销售额。
   - metrics: `gmv`
   - group_by: `category_l1`, `ori_category_l1`
   - time: `${time}`
   - order_by: `gmv` desc
   - limit: `50`

## Call example / 调用示例

Replace the example values with exact user inputs or values returned by `search_values`. / 将示例值替换为用户的精确输入或 `search_values` 返回的平台原始值。

`query_metrics`

```json
{
  "metrics": [
    "gmv"
  ],
  "time": {
    "last_complete_months": 3
  },
  "group_by": [
    "category_l1",
    "ori_category_l1"
  ],
  "order_by": [
    {
      "field": "gmv",
      "dir": "desc"
    }
  ],
  "limit": 50,
  "task_query": "使用 pdd 数据执行原始类目对照；time={\"last_complete_months\":3}",
  "dataset": "pdd"
}
```


## Output requirements / 输出要求

- Present both category values, GMV, coverage, and metric definition.
  展示两套类目、销售额、覆盖范围和指标口径。

## Limitations / 限制

- Raw and standardized category names are not guaranteed to be one-to-one.
  原始类目与标准类目不保证一一对应。

## Stop conditions / 停止条件

- Stop if the query is truncated before reporting a complete crosswalk.
  查询被截断时不要声称对照表完整。
