# SPG1

## 数据集说明

数据收集自网易某体育竞技类(SPG)游戏，主要包含玩家画像数据、玩家行为序列数据、玩家关系图谱和场内行为序列四个部分。

## 玩家画像

玩家画像数据是根据玩家在游戏中的历史行为经过统计分析形成的标签化数据，包含了玩家自身属性、角色属性、消费行为、社交关系、行为习惯等方面的状态特征，以每日更新的形式增量存储, 如下图所示：

![玩家画像](https://noterminus.gitee.io/image_bed/images/data_spg1_up01.png)

## 行为序列

行为序列数据是描述游戏玩家在游戏中历史行为的序列型数据，一般以`When-Who-What-How_much/How_many`的格式结构化存储，即“谁在何时做了什么以及行为的对象和行为的动作程度”，类似于下图的结构：

![行为序列](https://noterminus.gitee.io/image_bed/images/data_spg1_up02.png)

行为序列数据主要以结构化的数据格式记录玩家的历史动作和动作对象，如下表所示：

| 字段             | 类型     | 描述               |
| -------------- | ------ | ---------------- |
| role\_id       | string | 玩家ID             |
| action\_id     | string | 动作ID             |
| objective\_ids | string | 动作对象ID，多个对象用逗号分隔 |
| ts             | bigint | 时间戳              |
| ds             | string | 日期，一般数据量大时做分区使用  |

## 关系图谱

关系图谱是描述玩家之间关系建立和变化的图谱型数据，主要包含好友、聊天、帮会以及组队等几种关系，如下图所示：

![关系图谱](https://noterminus.gitee.io/image_bed/images/data_spg1_up03.png)

关系图谱数据主要以结构化数据格式记录玩家之间的相互行为，按照行为发生的时间以每日更新的方式增量存储，如下表所示：

| 字段            | 类型     | 描述        |
| ------------- | ------ | --------- |
| ts            | bigint | 时间戳       |
| role\_id\_src | string | 玩家ID（发起方） |
| role\_id\_dst | string | 玩家ID（接受方） |
| type          | string | 类型        |
| ds            | string | 日期        |

## 场内行为序列

场内行为是SPG类游戏一种比较独特的行为数据，它记录的是玩家在每场比赛中的行为、行为的目标、行为产生的结果、比赛的最终结果等。如下图所示：

![场内行为序列](https://noterminus.gitee.io/image_bed/images/data_spg1_up04.png)

此数据集中出现过的不重复的行为名称和对应的描述如下：

| 字段          | 描述   |
| ----------- | ---- |
| Shoot       | 投篮   |
| Block       | 盖帽   |
| ShootCancel | 投篮取消 |
| Rebound     | 拦板   |
| Steal       | 抢断   |
| Pass        | 传球   |

场内行为序列数据主要以结构化的数据格式记录玩家的历史动作和动作对象，按照行为发生的时间和比赛场次每日定时更新的方式增量存储，如下表所示：

| 字段             | 类型     | 描述             |
| -------------- | ------ | -------------- |
| role\_id       | string | 玩家ID           |
| game\_id       | string | 比赛场次ID         |
| game\_result   | string | 最终比赛结果         |
| role\_id\_dst  | string | 指向玩家ID         |
| action\_type   | string | 行为类别           |
| use\_skills    | string | 使用技能，多个技能用逗号分隔 |
| action\_result | string | 行为结果           |
| ts             | bigint | 时间戳            |
| ds             | string | 日期             |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://fuxi-up-research.gitbook.io/open-project/public_data/spg1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
