Loading...
Loading...
Compare original and translation side by side
task_idtask_id| Code | Mode | Symptom | Fix direction |
|---|---|---|---|
| TG | Tool Gap | Agent lacks a required tool (no image OCR, no PDF reader) | Add tool to catalogue |
| RM | Reasoning Miss | Agent has the right data but draws wrong conclusion | Improve system prompt, add CoT instruction |
| EB | Extraction Bug | Answer is in the trace but | Fix answer extraction pattern |
| LI | Loop Issue | Agent loops (re-asks same tool call) and hits turn limit | Increase max-turns or add loop-detection |
| DS | Dataset Shift | Ground truth differs from what web currently shows | Flag for HAL dataset audit |
| AT | API Timeout | Tool call times out; agent never gets the result | Increase per-turn timeout |
| 代码 | 模式 | 症状 | 修复方向 |
|---|---|---|---|
| TG | 工具缺失 | Agent缺少所需工具(无图像OCR、无PDF阅读器) | 将工具添加到工具库 |
| RM | 推理错误 | Agent拥有正确数据但得出错误结论 | 优化系统提示词,添加CoT指令 |
| EB | 提取漏洞 | 答案存在于跟踪信息中但 | 修复答案提取规则 |
| LI | 循环问题 | Agent陷入循环(重复调用同一工具)并达到回合限制 | 增加最大回合数或添加循环检测机制 |
| DS | 数据集偏移 | 真实值与当前网页显示内容不符 | 标记需进行HAL数据集审核 |
| AT | API超时 | 工具调用超时;Agent从未获取到结果 | 延长单回合超时时间 |
undefinedundefinedundefinedundefinednode v3/@claude-flow/cli/bin/cli.js gaia-bench run \
--level 1 --limit 1 \
--task-id $TASK_ID \
--models claude-sonnet-4-6 \
--max-turns 20 \
--output jsonnode v3/@claude-flow/cli/bin/cli.js gaia-bench run \
--level 1 --limit 1 \
--task-id $TASK_ID \
--models claude-sonnet-4-6 \
--max-turns 20 \
--output json| Failure | Action |
|---|---|
| TG — missing web_browse | Verify |
| TG — missing image OCR | Add |
| RM — reasoning | Add a system prompt instruction: "Before answering, list all facts you have gathered" |
| EB — extraction | Test the |
| LI — loop | Add a tool-call deduplication guard in |
| AT — timeout | Set |
| 失败类型 | 操作 |
|---|---|
| TG — 缺少web_browse工具 | 验证 |
| TG — 缺少图像OCR工具 | 添加 |
| RM — 推理问题 | 添加系统提示指令:"回答前,请列出所有收集到的事实" |
| EB — 提取漏洞 | 手动用跟踪信息测试 |
| LI — 循环问题 | 在 |
| AT — 超时问题 | 调高 |
undefinedundefinedundefinedundefinednode -e "
const { createDefaultToolCatalogue } = require('./v3/@claude-flow/cli/src/benchmarks/gaia-tools/index.js');
const cat = createDefaultToolCatalogue({});
console.log('Tools registered:', cat.definitions.map(t => t.name));
"web_searchfile_readweb_browseimage_describepython_execnode -e "
const { createDefaultToolCatalogue } = require('./v3/@claude-flow/cli/src/benchmarks/gaia-tools/index.js');
const cat = createDefaultToolCatalogue({});
console.log('Tools registered:', cat.definitions.map(t => t.name));
"web_searchfile_readweb_browseimage_describepython_execnpx @claude-flow/cli@latest memory store \
--namespace gaia-debug-patterns \
--key "session-$(date +%Y%m%d-%H%M)" \
--value '{"task_id":"$TASK_ID","failure_mode":"$CODE","fix":"$FIX","verified":true}'npx @claude-flow/cli@latest memory search \
--namespace gaia-debug-patterns \
--query "extraction bug final answer regex"npx @claude-flow/cli@latest memory store \
--namespace gaia-debug-patterns \
--key "session-$(date +%Y%m%d-%H%M)" \
--value '{"task_id":"$TASK_ID","failure_mode":"$CODE","fix":"$FIX","verified":true}'npx @claude-flow/cli@latest memory search \
--namespace gaia-debug-patterns \
--query "extraction bug final answer regex"