Authorization: Bearer ********************{
"option_id": "option_1"
}curl --location --request POST '/api/cosplay/sessions/8/choice' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"option_id": "option_1"
}'{
"outcome": "你果断回滚,保障现网用户。",
"score_changes": {
"P": 20,
"T": -10
},
"current_scores": {
"T": 30,
"S": 40,
"P": 70,
"Q": 20
},
"next_scene": {
"session_id": 2,
"script_id": 1,
"script_title": "初级软件工程师",
"setting": "你是一名刚加入\"星辰科技\"的初级软件工程师,今天是你在一个新项目上的第一个冲刺周期。",
"progress": 75,
"completed": false,
"current_scene_index": 3,
"total_scenes": 4,
"scores": {
"T": 30,
"S": 40,
"P": 70,
"Q": 20
},
"abilities": [
{
"code": "T",
"name": "技术决策",
"description": "衡量代码质量、架构合理性的能力"
},
{
"code": "S",
"name": "沟通协作",
"description": "衡量与团队、产品经理沟通的能力"
},
{
"code": "P",
"name": "项目管理",
"description": "衡量对时间、优先级和风险的把控"
},
{
"code": "Q",
"name": "工匠精神",
"description": "衡量对代码规范、可维护性的追求"
}
],
"current_scene": {
"id": "scene_4",
"title": "团队的分歧",
"text": "在技术评审会上,你和另一位同事对于新项目的技术架构方案产生了严重分歧。",
"options": [
{
"id": "option_1",
"text": "【坚持己见,用技术和数据论证自己方案的优越性。】"
},
{
"id": "option_2",
"text": "【妥协,采用对方的方案以避免冲突。】"
},
{
"id": "option_3",
"text": "【综合双方优点,提出一个融合的第三方案,并邀请对方一起完善。】"
}
],
"is_end": false
},
"history": [
{
"scene_id": "scene_1",
"choice_id": "option_1"
},
{
"scene_id": "scene_2",
"choice_id": "option_1"
},
{
"scene_id": "scene_3",
"choice_id": "option_1"
}
],
"report": null
}
}