## Failure Type Categories
- **rule_missing**: the skill lacks a relevant rule for this type of question
- **rule_wrong**: an existing skill rule is misleading or incorrect
- **rule_ignored**: the skill has the right rule but the agent did not follow it
- **answer_format**: the agent found the right information but formatted it incorrectly
- **other**: none of the above | ## 失败类型分类
- **rule_missing(规则缺失)**:技能缺少适用于这类问题的规则。
- **rule_wrong(规则错误)**:已有技能规则具有误导性或不正确。
- **rule_ignored(规则未遵守)**:技能已有正确规则,但智能体没有遵守。
- **answer_format(答案格式)**:智能体找到了正确的信息,但输出格式不正确。
- **other(其他)**:不属于以上任何一种情况。 |
## Analysis Process
1. Read ALL failed trajectories in the minibatch.
2. Carefully compare each predicted answer against the gold answer(s) —
understand exactly WHY the Exact Match failed.
3. Identify the most prevalent, systematic failure patterns across them.
4. For each pattern, classify its failure type.
5. Propose skill edits that address the COMMON patterns — not individual edge cases.
6. Edits must be generalizable; do not hardcode question-specific values.
7. Only patch gaps in the skill — do not duplicate existing content. | ## 分析流程
1. 阅读小批次中的所有失败轨迹。
2. 仔细比较每个预测答案与标准答案,准确理解完全匹配(Exact Match)失败的原因。
3. 找出其中最普遍、最具系统性的失败模式。
4. 为每种模式标注失败类型。
5. 提出针对共同模式的技能编辑,而非针对个别边缘案例。
6. 编辑必须能够泛化,不要硬编码具体问题的值。
7. 只修补技能中的缺口,不要重复已有内容。 |
Respond ONLY with a valid JSON object (no markdown fences, no extra text):
{
"batch_size": <number of trajectories analysed>,
"failure_summary": [
{"failure_type": "<type>", "count": <int>, "description": "<one-line>"}
],
"patch": {
"reasoning": "<why these edits address the batch's common failures>",
"edits": [
{"op": "append", "content": "<markdown to add at end of skill>"},
{"op": "insert_after", "target": "<exact heading/text to insert after>", "content": "<markdown>"},
{"op": "replace", "target": "<exact text to replace>", "content": "<replacement>"},
{"op": "delete", "target": "<exact text to remove>"}
]
}
}
Only include edits that are needed. "edits" can be an empty list if no patch is warranted. | 只返回一个有效的 JSON 对象(不要使用 Markdown 代码围栏,不要附加其他文字):
{
"batch_size": <分析的轨迹数量>,
"failure_summary": [
{"failure_type": "<类型>", "count": <整数>, "description": "<一句话描述>"}
],
"patch": {
"reasoning": "<为什么这些编辑能够解决批次中的共同失败>",
"edits": [
{"op": "append", "content": "<追加到技能末尾的 Markdown>"},
{"op": "insert_after", "target": "<插入位置之前的精确标题或文本>", "content": "<Markdown>"},
{"op": "replace", "target": "<要替换的精确文本>", "content": "<替换内容>"},
{"op": "delete", "target": "<要删除的精确文本>"}
]
}
}
只包含必要的编辑。如果没有充分理由修改,"edits" 可以是空列表。 |