Innodata Hackathon 赛道指南

两个赛道各一章,共通部分两人都看。标 共通 的大家都看,Coding 和 Visual 各看各的。赛道和队伍以主办方的分队邮件为准。2026-11-12 整理。

0. 一页看懂 共通

项目内容
时间11/14 周六 9:00–17:00,8:30 开始签到。同一天内要写完、演示、评审。
地点St. John's University 曼哈顿校区,101 Astor Pl。
欢迎会11/13 周五 18:00–20:00,The Spaniard,190 W 4th St,自愿参加。最大的用处是提前认识队友、先把题目格式聊掉。
分队4–5 人一队,主办方分配。分队邮件说周四发。
交什么一个能跑的原型加一场 demo。官方原话:"A focused, reliable prototype wins over a polished product."
评委看什么工程判断、有创意地解决问题,以及证据:方法在不止一个例子上管用。所以要跑出一批题,用数字说话,不能只演示一道。
奖金$5,000 / $2,500 / $1,250。
工具主办方提供模型 API 和 AI 写代码助手。Python 就行,不需要特殊硬件。
知识产权参赛协议里,比赛中做出的东西归 Innodata。公司或学校研究的代码和数据一行都别带。公开数据集可以带进场当种子,出题和检查的代码当天现写。

1. 两个赛道对比 共通

Coding Task Factory

官方问题:怎么自动造出真实的软件开发题,而且题目清楚、能做出来、能可靠地判对错?

要交:一条可复用的流水线,产出「功能开发」题,每道题有需求、参考实现和测试,用来评测 AI 写代码的能力。

最难的地方:题目是模型写的,参考答案可能是错的,测试可能太松,需求可能说不清。要证明每道题都可信。

Visual Task Factory

官方问题:现实应用里最重要的是哪些视觉能力?怎么可靠地测出前沿模型有没有这些能力?

要交:一条流水线,生成合成图片、问题和可以验证的答案,再用它评测前沿多模态模型。

最难的地方:答案必须能确定是对的,而且题目必须真的要看图才能答。很多现成视觉题不看图也能猜对。

两个赛道本质是同一件事:用程序批量出题,每道题出厂前过一遍自动检查,留下来的题拿去测模型。区别只在题目的形态:一个是「需求 + 代码 + 测试」,一个是「图 + 问题 + 答案」。所以第 2、3、13–16 章两人通用。

2. 出题工厂的通用骨架 共通

① 种子一个小代码库 / 一份场景描述
→
② 生成程序或模型出题,并给出答案
→
③ 检查一道道闸门,记下每题挂在哪
→
④ 题库只收全部通过的题
→
⑤ 测模型按类别、难度出成绩单

一道题存成一行 JSON(第一个小时就和队友定下来)

格式定了,写流水线的人和做界面的人就能同时开工,互不等。模板仓库的界面只认下面这几个字段:

{"id": "T-001", "title": "...", "category": "...", "difficulty": "easy|medium|hard",
 "status": "pass|fail", "failed": "哪道闸门挂的", "reason": "为什么挂",
 "checks": {"gate1": true, "gate2": false, "gate3": null},   // null = 没跑到
 // 下面这些字段随便加,每个都会变成一个标签页;值是图片路径就显示成图
 "requirement": "...", "solution": "...", "tests": "...",    // Coding
 "image": "img/v001.png", "question": "...", "answer": "..." // Visual
}

8 小时怎么分

时间做什么
9:00–9:30定三件事:题从哪来、一道题的 JSON 格式、谁做哪块。
9:30–11:30最简陋的版本从头跑到尾:出 1 道题,过 1 道闸门,写进 JSON。先通再好。
11:30 起一个人专职做界面和图表(至简建议,见第 3 章);其他人加闸门、批量出题。
13:00–14:30批量跑出几十到几百道题,拿 2–3 个模型测一遍,得到成绩单。
14:30–15:30加一个亮点:自适应出题,或难度曲线,或「抓到坏题」的回放。
15:30 后停止写新功能。填 PPT 数字、截图、排练 2 遍、录一段备用视频。

4–5 人怎么分工

3. 至简的建议 共通

建议一:一天的比赛,评委很看前端和创意

一天的比赛评分偏主观,评委几分钟内看的是界面和演示。所以界面不能拖到最后,11:30 第一条线跑通后就让一个人专职做。不用写前端框架:模板仓库里的 dashboard/ 或 Streamlit / Gradio 一个文件就够。界面放四块:

  1. 漏斗图:生成多少 → 每道闸门各淘汰多少 → 最后留下多少。一眼看出机器在干活。
  2. 题目卡片:Coding 是需求、答案、测试三栏并排;Visual 是图、问题、答案。每道闸门一个红绿灯。
  3. 「抓到坏题」回放:点开一道被拦下的题,看到是哪道闸门、为什么挂。
  4. 「现在出一道」按钮:现场点一下,看着它出题、过闸门。评委最喜欢这个。

建议二:参考 AgentX-AgentBeats,题目用程序生成

AgentBeats 是 Berkeley RDI 办的比赛。第一阶段做 green agent,也就是「出题和打分的一方」,一个 benchmark 本身做成一个 agent;第二阶段做 purple agent,也就是「做题的一方」,去这些 benchmark 上刷分。两方用 A2A 协议对话。我们这场两个赛道做的都是 green agent 那一侧。

第一阶段获奖作品里,和我们直接相关的几个:

作品做了什么能借什么
NetArena往真实 Kubernetes 应用里注入网络配置错误让 agent 修,题目和答案都由程序动态生成,所以背不了答案Coding 的「注入 bug」出题法
AgentHard专门审查别的 benchmark 有没有效度问题正是我们闸门在做的事,可当论据
NAAMSE(第二名)用「进化式变异」从语料生成对抗提示,25 种以上变异策略变异的思路两个赛道都能借
Cyber Security Evaluator根据被测方的表现自适应地出下一题(Thompson Sampling + 新颖性搜索)「自适应出题」亮点
Entropic CRMArena在已有数据集上用程序加「结构漂移」和干扰记录让题变难难度旋钮的一种做法

建议三(11/12 晚补充):拿现成 benchmark 改数据,生成新题

Hackathon 的核心是「用程序生成数据集」。可以从 AgentBeats 用到的现成数据集里取题,用程序把里面的数据改掉,生成新的变体当 benchmark:

好处:原题背过也没用,因为数字变了;正确答案由程序算出来,天然可靠;一道原题能扩出很多道。

要加一道检查:改完以后数据还自洽。改了某一行,合计行也要跟着改,不能出现「各项加起来不等于总数」。模板仓库的 dashboard/examples/perturbed_reports.json 里就有一道题因为合计没跟着改被拦下。

这个思路天然属于 Visual 赛道(截图、报表都是图)。放到 Coding 赛道的对应做法:把已验证过的代码题里的常数、输入格式、边界条件改掉,自动重生成参考答案和测试,叫「蜕变式」出题。

至简发的 AgentBeats 第二阶段清单:哪些能当种子

Benchmark里面是什么一天内怎么改出新题对哪个赛道
Terminal-Bench 2.0每题 = 英文指令 + 测试脚本 + 参考解,在终端里跑;89 道,Apache-2.0改指令里的参数、文件名、数值,同步改测试和参考解;或把参考解故意改坏做变异Coding 最对口
SWE-bench Pro真实代码库的修 bug 题,比 SWE-bench 难环境重,一天内只适合当对比对象Coding 对比表
OfficeQADatabricks 出的,基于财政部公报 PDF 的问答,答案是数字,判分允许约 1% 误差改表格数字,代码重算答案,检查合计自洽;改完重新渲染成表格图Visual
OSWorld真实电脑环境里的 agent 任务,带界面截图改界面状态或文字,答案跟着变Visual
Build What I Mean按含糊的口头指令搭积木结构,9×9 网格、5 种颜色,64 道题,MIT改目标结构的颜色、位置、镜像,自动生成新指令和答案Visual 可借(积木是 3D 图)
Entropic CRMArena本身就用程序加结构漂移和干扰记录当论据:业界已经这样造题两边论据
MAizeBargAIn / MLE-Bench / FieldWorkArena讨价还价博弈 / Kaggle 比赛 / 工厂视频不对口或数据太大跳过
We treat the factory like an AgentBeats green agent: it generates tasks programmatically so nothing can be memorized, verifies every task before it enters the pool, and can steer generation toward the task types where models fail most.

4. 要交什么 Coding

一道题是一个三件套,格式可以直接照抄 Terminal-Bench:

部分是什么Terminal-Bench 里的文件
需求一段像真人写的功能描述,说清输入、输出、边界情况instruction.md
参考实现标准答案,合进代码库后所有测试都过solution/solve.sh
测试判对错的脚本。新测试在旧代码上必须挂,在参考实现上必须过tests/test.sh + test_outputs.py
环境和元数据运行环境、难度、类别environment/Dockerfile、task.toml
Our task format follows Terminal-Bench: an instruction, a test script and an oracle solution. Our factory produces that triple automatically, then verifies it before it enters the pool.

5. 四种出题法 Coding

方法怎么做好处风险
原方案:模型想新功能给模型一个小代码库,让它想一个新功能,写需求、答案、测试最像真实开发需求可能写不清;参考答案可能是错的
A. 注入 bug
(NetArena / SWE-smith)
拿一段测试全过的好代码,用程序故意改坏,题目是「修好它」原来的好代码就是标准答案,天然正确;全自动、可批量;一天内最稳偏「修 bug」,比「加功能」窄;要让模型把现象写成像人报的 issue
B. 蜕变改参数
(至简的思路)
拿 Terminal-Bench 已验证的题,改常数、输入格式、边界条件,重生成答案和测试一道变多道;原题背过也没用改完要重新跑一遍全部闸门
C. 自适应出题
(Cyber Security Evaluator)
先出一批让模型做,统计它在哪类题错得多,下一批多出那类最有「创意」,能讲一个闭环故事多一层逻辑,放最后当加分项

一个可行的组合:主线用 A 或 B 保证有一批可靠的题,剩余时间加 C 的一小段闭环当亮点。最后选哪个,和队友一起定。

加难度的两招(借自 Entropic CRMArena,见第 17、18 章): 每招都分几档,画成难度曲线。改完以后参考答案和测试要跟着改,再过一遍闸门。

6. 九道闸门 Coding

#闸门查什么怎么做
1参考答案能过答案本身是对的参考实现合进去,新测试全过
2旧代码会挂(FAIL_TO_PASS)测试真的在考新功能新测试在没改的代码上至少挂一个
3不破坏老功能(PASS_TO_PASS)答案没把别的东西搞坏代码库原有测试在参考实现上还全过
4重跑稳定没有时灵时不灵的测试断网沙箱里跑 5 遍,结果一致
5能抓住变异测试够严把参考实现故意改坏 10 次,测试至少抓住 7 次
6只看需求能做出来需求没漏信息另一个模型只看需求做,能做对
7不漏答案需求里没把答案写出来需求和参考代码的重合度检查
8测试跑到了新代码(diff coverage)新加的行被执行到pytest-cov 只看改动的行;比变异便宜,先用它筛
9难度标定题有区分度2–3 个模型各做 k 次:全过 = 太简单,全挂 = 可疑送人工看,中间那段最有价值
等价变异的坑:有些改动改完行为根本没变,比如 i < n 改成 i != n,而 i 本来就从 0 一步步加到 n。这种变异任何测试都抓不到,不怪测试松。所以变异抓出率到不了 100%,报数字时说清楚。懂行的评委会欣赏这一点。
We split tests the way SWE-bench does: fail-to-pass tests prove the task tests the new behavior, and pass-to-pass tests prove the reference solution didn't break anything else.

7. 种子题与命令 Coding

Terminal-Bench 2.0 里适合当种子的题(简单到中等、纯 Python 或轻量环境):cancel-async-tasks(限并发的异步调度)、kv-store-grpc、multi-source-data-merger、regex-log、financial-document-processor、cobol-modernization、fix-git。89 道题里 medium 55 / hard 30 / easy 4。

pytest -q -x                       # 第一个失败就停
pytest --timeout=30                # 单个测试超时算挂(pytest-timeout)
pytest --count=5 -x                # 每个测试跑 5 遍抓不稳定(pytest-repeat)
pytest --cov=src --cov-report=json # 覆盖率写成 coverage.json
pytest --junitxml=r.xml            # 每个测试的过/不过,用来算 FAIL_TO_PASS

# 断网、限资源地跑模型写的代码
docker run --rm --network none --memory 1g --cpus 1 \
  -v "$PWD/task_001:/work" -w /work python:3.12-slim \
  sh -c "pip install -q pytest pytest-timeout && pytest -q --timeout=30"

小变异器只需要这几种改法(用 Python 的 ast 改语法树最稳):<↔<=、==↔!=、+↔-、常数 ±1、and↔or、去掉 not、直接 return None、删掉一个 if 分支。现成的 mutmut 太慢,比赛里自己写一个只改「新加那几行」的更划算。

不稳定测试最常见的来源:依赖当前时间、没固定种子的随机数、网络、测试之间互相依赖顺序、写死的 sleep。

8. 核心思路 Visual

先写「场景描述」,再按描述画图,答案从描述里用代码算出来。不让人标,也不让模型看图写答案。

比如场景描述是「3 个红圆、1 个红方、1 个蓝圆,各自的坐标」,那「有几个红圆」的答案就是代码数出来的 3,一定对。画图只是把这份描述变成像素。

① 场景描述随机抽物体、数字、界面状态,存成 JSON
→
② 画图PIL / matplotlib / 网页截图
→
③ 出题问题模板 + 模型改写措辞;答案由代码算
→
④ 闸门看得清、答案唯一、必须看图
→
⑤ 测模型按能力 × 难度出成绩单

这条路的老祖宗是 CLEVR(2017):程序渲染 3D 场景,问题由程序生成,答案从场景图算出来。我们要做的是 CLEVR 的「现实应用版」:图表、表格、界面截图,再加上 CLEVR 没有的质量闸门。

Every image is drawn from a scene spec, and every answer is computed from that spec by code. The generator knows the truth, so we never need a human label, and every image is new, so nothing can be memorized.

9. 考哪些视觉能力 Visual

官方问题第一句就是「现实应用里最重要的是哪些视觉能力」,所以要先给出一张能力清单,再说为什么选这几个。挑 3–5 个做深,比 10 个都做浅好。

能力现实里用在哪怎么出题难度旋钮
计数库存、质检、人流随机撒形状,问「有几个红圆」物体数、相似干扰物、大小
属性绑定找特定商品、零件颜色和形状交叉出现(红方、蓝圆),问「红色的圆」共享属性的干扰物数量
空间关系机器人、导航、排版问「A 在 B 左边吗」;镜像一下答案翻转,天然成对距离、物体数、是否有遮挡
图表读数 + 算术财报、仪表盘、研报随机数画柱状图/折线图,问最高值、差值、增长率柱子数、要不要算、刻度密度
表格和文档财务、保险、合规(至简) OfficeQA 式:改表格数字后重新渲染,代码重算答案行列数、要跨几格算
界面截图电脑操作 agent(至简) OSWorld 式:HTML 模板随机生成设置页、表单,截图后问哪个开关开着、按钮在哪控件数量、相似标签
3D 结构装配、搭建、空间推理Build What I Mean 的积木,改颜色、换位置、镜像层数、方块数、视角
细看小东西工业检测、医学影像大图里藏一个小目标或细小文字目标大小、分辨率
找不同前后对比、监控同一场景改一处,两张图问哪里变了改动大小

推荐组合:图表读数 + 界面截图(现实感最强,评委一听就懂),再配一个简单的计数或空间关系(容易画成难度曲线)。最后选哪几个,和队友一起定。

加难度的两招(借自 Entropic CRMArena,见第 17、18 章): 每招都分几档(不加 / 少量 / 中等 / 大量),画成难度曲线。改完以后答案要由程序重算,再过一遍闸门。

10. 图怎么画 Visual

工具适合画什么备注
PIL(Pillow)形状、简单场景、合成文字最快上手,几十行就能出图
matplotlib柱状图、折线图、散点图、表格随机数据 → 图;答案直接从数据算
HTML 模板 + 无头浏览器截图(Playwright)界面截图、表单、报表页最像真实界面;控件状态就写在模板参数里
Blender / 3D 引擎逼真 3D 场景一天内太重,别碰
文生图模型逼真照片不能当答案来源:画出来的东西和要求不一定一致。只能当背景,再把程序画的物体贴上去

模板仓库里 dashboard/examples/make_visual_example.py 演示了前三种的最小写法(形状场景、柱状图、设置界面),各几十行。

11. 八道闸门 Visual

#闸门查什么怎么做
1描述合法答案是代码算的,不是猜的场景 JSON 能解析、数值在范围内、答案函数能跑出唯一结果
2画得清楚题目考的是理解,不是视力物体都在画面内、不小于最小尺寸;对图做 OCR,答案依赖的文字和数字都能读回来
3答案唯一不能有两个说得通的答案物体重叠不超过 20%、没有并列最大值、颜色名不含糊(别用「浅红」和「粉」同时出现)
4必须看图不看图猜不出来只给问题不给图,问 2 个模型;准确率高于瞎猜水平就扔掉这个模板。再试「给错的图」,也应该答错
5能做出来题不是坏的强模型在高分辨率下能答对,或每批抽 10 道人看一眼
6是新的没法背每张图随机生成;用感知哈希去掉几乎一样的图
7成对一致不是蒙对的镜像、换色、改一个数做成一对,答案应该跟着变;模型两道都对才算对
8改完自洽 (至简)改数据后不出现矛盾改了报表某行,合计也要改;改了界面开关,相关提示文字也要改
为什么第 4 道最值钱:研究发现不少流行视觉 benchmark 的题不看图也能答对(MMStar、Cambrian-1 都分析过这个问题)。我们的题每道都证明了「必须看图」,这就是和现成数据集最大的区别。评委问「和已有的有什么不同」时先讲这条。
Before a template goes into the pool, we ask the same questions to text-only models with no image. If they beat chance, the template tests world knowledge, not vision, and we drop it.

12. 结果怎么报 Visual

评委要的是「在不止一个例子上管用」的证据。Visual 赛道最有说服力的三张图:

  1. 能力 × 模型的成绩表(热力图):每行一个能力,每列一个模型,格子里是准确率。一眼看出模型哪里弱。
  2. 难度曲线:横轴是旋钮(物体从 3 个加到 15 个、文字从 16px 缩到 8px),纵轴是准确率。曲线往下掉,说明我们的题能把模型的能力边界量出来。
  3. 漏斗 + 坏题例子:每道闸门拦下多少,配一道被「必须看图」闸门拦下的题。

最好再加一句和人比:抽 20 道自己做,人几乎全对、模型错一半,这个对比最直观。

13. 灵感参考 共通

年份和数字按记忆整理,聊天当论据没问题;写进 PPT 前当天花一分钟搜一下核对。

Coding 方向

名字做了什么怎么用
HumanEval(OpenAI 2021)164 道手写 Python 函数题最早的代码评测;题是人写的,规模上不去
EvalPlus / HumanEval+(2023)给 HumanEval 自动补了大量测试,很多原来判对的答案其实是错的,模型分数都掉了最好的论据:「测试太松」是真问题,正是变异闸门要抓的
SWE-bench(2023)从 12 个真实 Python 库的 issue 和修复 PR 挖出 2294 道题,用 FAIL_TO_PASS / PASS_TO_PASS 判对错「从真实历史挖题」路线
SWE-bench Verified(2024)人工逐题审,扔掉需求不清和测试冤枉人的题,留下 500 道我们做的就是把这次人工审核自动化,可以直接当 pitch
SWE-smith(2025)在能跑的代码库里故意弄坏代码,批量造出几万道题和「注入 bug」最像;我们多了逐题质量验证
R2E-Gym / SWE-Gym从提交记录自动生成可执行的环境和题偏训练数据
LiveCodeBench(2024)持续收集新比赛题,按发布日期切分,保证模型没见过防泄题的思路
Terminal-Bench 2.089 道终端任务,指令 + 测试 + 参考解题目格式直接照抄

Visual 方向

名字做了什么怎么用
CLEVR(2017)程序渲染 3D 场景,程序出题,答案从场景图算出「答案从描述算」的老祖宗
Vision Language Models Are Blind(2024)数线条交点、数重叠的圆这种人一眼就会的简单图,模型却经常错最好的论据:简单合成图就能测出真弱点
Eyes Wide Shut / MMVP(2024)找出 CLIP 分不清的成对图片,多模态模型在这些对上表现很差「成对一致」闸门的来源
MMStar(2024)发现很多视觉题不看图也能答对,筛掉这类题「必须看图」闸门的论据
Cambrian-1 / CV-Bench(2024)以视觉为中心的评测:计数、空间关系、深度、距离;也分析了不看图能答的题能力清单可以参考它的分类
BLINK(2024)人「一眨眼」就能做的感知题,模型很多接近瞎猜说明感知能力是短板
ChartQA(2022) / CharXiv(2024)真实图表问答;CharXiv 用论文里的图表,分描述题和推理题图表读数能力的对比对象
MathVista(2023) / MMMU(2023)视觉数学;大学多学科图文题大而全的对比对象
OSWorld / ScreenSpot真实电脑任务;界面元素定位界面截图能力的对比对象
OfficeQA财政部公报上的数字问答改数字重渲染的种子(要登录 Hugging Face 申请访问)

两边都能借

14. 模板怎么用 共通

仓库:hackathon-kit。两个赛道各有一套示例,数字都是编的,当天换成自己的。

东西CodingVisual
Demo 网页cd dashboard && python3 serve.pynpm run visual-example(先画示例图再开页面)
示例数据dashboard/results.jsondashboard/examples/visual_tasks.json,7 道题含 3 道被拦下的
PPT(10 页)改 deck/content.json → npm run deck改 deck/content_visual.json → npm run deck:visual
改数据的例子dashboard/examples/perturbed_reports.json(至简的「改报表数字」思路,含一道合计没跟着改被拦下的题)
积木小游戏playground/build-what-i-mean/index.html:双击就能玩 64 道积木题,能生成换色/镜像的变体并显示「留下 / 会被拒」

接上自己的流水线:写一个不带参数、返回一道题 JSON 的函数,然后 HOOK=my_pipeline:generate_one python3 serve.py,页面上的「Generate one now」就会现场调用它。

交之前三步:界面截图填进 PPT 的 demo.image;真实数字填进 content JSON;重新生成 PPT。

15. 讲稿与评委问答 共通

3 分钟 demo 顺序

  1. 一句话问题(20 秒):Coding 讲「出题容易,信得过难」;Visual 讲「很多视觉题不看图也能答对」。
  2. 流水线一张图(30 秒)。
  3. 现场点「Generate one now」,看它过闸门(60 秒)。
  4. 漏斗和成绩单(40 秒):生成多少、留下多少、模型在哪里弱。
  5. 一道被拦下的坏题(20 秒)。
  6. 局限和下一步(10 秒)。

评委可能问

问题怎么答
和已有 benchmark 有什么不同?Coding:SWE-bench Verified 靠人审,我们把审核自动化。Visual:每道题都证明了必须看图,答案由代码算,图每次都是新的。
你们的闸门自己会不会错?会。所以每批抽 10–20 道人看,报出闸门自己的误判率。Coding 还要说等价变异让变异分数偏低。
一道题成本多少?报模型调用费 ÷ 留下的题数。Visual 画图几乎免费,成本主要在必须看图那道闸门的模型调用。
怎么扩到更多语言 / 更多能力?闸门和生成器分开写,加一种语言或一种能力只需要加一个生成模板,闸门复用。
合成数据和现实差多远?Visual:下一步把程序画的物体贴到真实照片背景上;图表和界面本来就是程序画的,和现实差得不多。Coding:种子用真实开源代码库。
怎么知道题难度合适?多模型试做,太简单和全挂的都不要;画难度分布图或难度曲线。

16. 赛前检查单 共通

17. 赛前问答 共通

11/13 准备时问过的问题,按提问顺序整理。练习原型的数字来自私有仓库 hackathon-practice 的一次完整跑批。

闸门是什么?

就是一道自动检查。程序每出一道题,都要依次过几道检查,任何一道没过就扔掉,不进题库。英文叫 quality gate。好比工厂出厂前的质检站:量尺寸、测重量、看外观,哪一站不合格就挑出来。评委最看重这部分:谁都能让模型出一堆题,难的是证明每道题都靠得住。

题目要我们自己设计吗?

大方向是主办方定的,就是那两个赛道。具体考什么能力、题怎么生成、怎么检查、怎么证明有用,都要自己定,这才是比赛真正比的东西。注意:要设计的是一台出题程序,不是手写 50 道题。主办方当天可能补充更细的要求(格式、数据、模型 API),周五欢迎会可以问。

两个赛道是混在一起评的吗?选哪个?

官方没明说。但奖金只有一套前三名,大概率放在一起评,周五可以当面问一下确认。混在一起评的话 Visual 更占便宜:演示一张图加三个模型答错,比代码 diff 直观;生成器也好写,答案由代码算出来,天然就是对的。队友如果偏后端、熟悉测试,Coding 也行,能讲「把 SWE-bench Verified 的人工审核自动化」这个故事。

「成绩单全是 100%」是什么问题?

拿几个模型去考你出的题,结果每个模型每类题都全对,这样的题区分不了模型,英文叫 ceiling effect 或 saturation。练习里图表、界面截图、财务表三类,Haiku、Sonnet、Opus 都是 100%;Coding 的 31 道题,30 道 Haiku 两次都做对了。必须准备一个难度旋钮,调上去分数要真的往下掉,比如画一条从 100% 掉到 40% 的曲线,这就是最好的证据。

「模型数密集的小东西不行」是什么意思?

一张图里放 18 个十几像素大的形状,问「绿色的圆有几个」:难档 8 道题里,Haiku 对一半,Sonnet 只对 3 道,大多差一个。原因有三个:模型把图切成小方块(patch)来看,小物体会被切开,挨着的会糊在一起;模型是一眼估数,不是一个个点着数;还要同时对上颜色和形状(属性绑定)。论文 Vision Language Models Are Blind(2024)也发现了同样的现象。不过样本太小,不能据此说 Sonnet 比 Haiku 差。

「专门审查别的 benchmark 有没有效度问题」是什么意思?

效度(validity)是指分数到底测没测到它声称要测的能力。常见毛病有四类:

AgentHard 是在 benchmark 做好之后去挑这些毛病;我们的闸门是在出题的同时就把它们挡掉。

「必须看图」这道检查,蒙对一次就说明题坏了吗?

不能,练习版这里设计错了。不给图时 Haiku 几乎总猜「3」,30 道数数题蒙对了 9 道(30%),瞎猜的期望大约是 25%。这个差距在统计上不显著(p ≈ 0.33),被拦下的 9 道其实是冤枉的。正确做法有三条:

还有一个坑:不给图时,模型常常直接拒答(「我看不到图」),拒答会被算成答错,等于这道检查没做。要强制它给出一个猜测,同时统计拒答率。

能不能像 AdaMAST 那样给错误分类统计?

可以,而且很加分。AdaMAST 是个开源库(Apache-2.0),它从运行记录里自动总结出一份「失败类型清单」(taxonomy),每一类都附上原话作证据,而且要几个独立的标注一致才采纳。用在比赛里有两种做法:

NetArena 说「题目和答案都由程序动态生成,所以背不了」,以前考过的不会记住吗?

固定题库是同一张卷子,网上公开后可能被模型训练时看到,模型就能背下答案。动态生成是每次考试都由程序现场出新题,答案也是程序算出来的,比如每次随机注入不同的网络故障。背住某一道具体的题没用,因为下次就变了。但它防不住钻规律:模型可能学会出题器的习惯,比如数数题总猜 3。所以还是要把答案摊匀,按一类题做统计检验。

会记忆不是更强吗?

要分两种「记住」:记住知识是真本事;记住考卷答案只会让分数虚高,换一道新题就露馅。好比背熟了驾照考场的那条路线,换条路就不会开了。benchmark 的分数应该能预测模型在新输入上的表现,所以要用新题。如果要考的就是记忆力本身,就把信息放在考题里,测模型能不能用上,而不是靠泄露的答案。

我们也能动态生成吗?

能,两个赛道交的本来就是出题程序。Visual 换个随机种子就是一批新图,几乎可以无限出。Coding 受种子库数量限制:练习里只有 3 个小库,每个库能注入的 bug 也就四五十种,所以要多准备种子,或者直接拿 Terminal-Bench 的题来改。要做成评委看得见的亮点,可以这样:

同时要记录随机种子,保证结果能复现;比较两个模型时,用同一个种子出的题。

NAAMSE 的「进化式变异」是什么?

思路是自动造出「难倒模型的题」,NAAMSE 用它来造对抗提示,也就是专门诱导模型出错或违规的输入,红队测试就是在找这种输入。做法是遗传算法那一套:

代码和论文:代码在 github.com/HASHIRU-AI/NAAMSE,论文是 arXiv 2602.07391。用 Python 写的,默认调 Gemini 2.5 Flash,需要 Google API key。自带 12.8 万条越狱/对抗提示,另有 5 万条正常提示,用来检查模型会不会过度拒答。仓库页面没写开源协议,用之前看一下 LICENSE 文件。

「25 种以上策略」这个数是 Berkeley 比赛官网的说法,论文里没给总数,只具体列了约 10 种,例如:

论文把这些手法分成三类:研究论文里提出的、社区流传的、基础的混淆手段。

进化怎么挑:每条改写后的提示去测目标 agent,打一个 0–100 的「危害分」,然后按分数决定下一步:

这些手法是专门用来越狱的,跟我们两个赛道不对口。能借的是这个「打分 → 按分数决定接着改还是换方向」的循环;代码不带进比赛。

Thompson Sampling 和新颖性搜索是什么?

Cyber Security Evaluator 具体怎么用这两样,只知道官网上一句描述;下面讲的是方法本身。

Thompson Sampling(汤普森采样):有好几个选项,事先不知道哪个最好,就一边试一边学,学术上叫「多臂老虎机」(multi-armed bandit)。好比门口有 5 家餐馆想找最好吃的:给每家记一个「好吃次数 / 难吃次数」,每次去之前按记录随机「想象」一下每家的好吃程度,选想象分最高的那家。吃得少的餐馆想象分忽高忽低,偶尔会冲到第一,于是也会被试到。

放到出题里:每个「臂」是一类题(比如「数数-难档」);「好吃」= 出了一道闸门全过、但模型答错的题;「难吃」= 模型答对了。程序会自动把更多出题名额分给最能难倒模型的那几类,同时偶尔试试别的类。核心代码约十行:

wins = {arm: 1 for arm in arms}; losses = {arm: 1 for arm in arms}
for _ in range(100):
    arm = max(arms, key=lambda a: random.betavariate(wins[a], losses[a]))
    task = generate(arm)
    if passes_gates(task) and model_wrong(task): wins[arm] += 1
    else: losses[arm] += 1

新颖性搜索(Novelty Search):不只奖励「做得好」,也奖励「跟以前不一样」。只用汤普森采样,程序会一直在同一个弱点上挖,100 道题都是同一种错。做法是给每道难倒模型的题记几个特征(能力类型、物体数量、错的方式),新题和以前找到的越不一样,奖励越高。上面 AdaMAST 式的错误分类正好可以当特征。

方法管什么在比赛里
汤普森采样往哪类题多花名额自动把出题集中到模型最弱的地方
新颖性搜索别老挖同一个坑保证找到的弱点种类多
闸门题必须是好题防止找到的只是坏题

这就是「自适应出题」(第 5 章思路 C)。主线跑通后当加分项,画一张图展示每轮出题名额怎么流向最难的那类。

We treat each task type as an arm of a multi-armed bandit. Thompson Sampling steers generation toward the model's weak spots while still exploring, and a novelty bonus rewards failures unlike the ones we already found, so we discover many kinds of weaknesses instead of mining one.

这个思路正好能解决「题太简单」:

关键是每一代都要先过闸门,挑的是「检查全过、但模型答错」的题。不然进化会钻空子,专门生出答案不唯一或看不清的坏题。

如果明天给的是具体任务(比如照 Build What I Mean 那样按口头指令搭积木),方案还成立吗?

成立。方案的骨架是「种子 → 生成器 → 闸门 → 评测 → 成绩单」,跟题目类型无关。题目一具体,只要换三样:生成器(题怎么造)、判分器(答案怎么判)、几道这个领域专属的闸门;题目格式、流水线、分工、时间表、界面、PPT、对比方法都照用。拿到题目后 30 分钟内回答 8 个问题:被测模型看到什么、输出什么;标准答案从哪来;怎么判分;什么让题变难;这类题会怎么出坏题;用什么公开数据当种子;跟哪个现有 benchmark 比;要不要多轮交互。

搭积木的例子:标准答案就是目标结构,判分看积木集合是否完全一致;写一个模拟的「对方」回答澄清问题;难度旋钮是积木数、层数、含糊的类型;专属闸门检查「含糊是真的」(至少 2 种结构符合指令)和「问一句就能解决」(对方回答后只剩 1 种)。详见英文方案第 15 章。

怎么证明出的题和答案是对的?要不要人工标注?

不用每道题都人工标。按可信程度从高到低分五层(英文方案 7.4 节):

  1. 答案由程序算出:从场景描述算答案;代码题的参考答案就是改坏之前的原代码。每道题都有。
  2. 执行验证:跑测试、重算合计、OCR 把图里的字读回来。每道题都有。
  3. 独立再算一遍:另写一段程序,从画出来的图或原始数据再算答案,两边必须对上。
  4. 几个模型当裁判:只用来标出可疑的题(模型答案和标准答案不一致,或者模型之间不一致),不能当标准答案,因为模型的盲点常常一样。
  5. 人工抽查:每批抽 20 道合格题 + 10 道被拦的题,两个人重叠标 10 道,算一致性(Cohen's κ ≥ 0.6 才可信),最后报出整条流水线的出错率和置信区间。

人工标注是用来查账的,不是用来出答案的。失败分类(taxonomy)是查账时的检查清单:标准答案错 / 题目有歧义 / 判分有问题。遇到算不出标准答案的开放题,先把答案收窄到能自动判的形式(一组积木、一个数、一个选项);实在不行,就先写好评分细则,再用两个模型裁判 + 20 道人工校准,并报出裁判和人的一致率。

「在已有数据集上加结构漂移和干扰记录让题变难」是什么意思?

这是 Entropic CRMArena 的做法:它不出新题,而是用程序把 Salesforce 现成 CRM 数据集(CRMArena-Pro)的「环境」弄乱,同一道题就变难了。

好处是不用重新出题、重新标答案,一份数据集就能变出好几档难度。搬到我们这里:

注意:它的 README 没说改完以后答案怎么跟着改。我们必须让程序同时重算答案,再过一遍闸门。

18. 别人的项目能借什么 共通

逐个核对过原始资料(AgentBeats 比赛官网、论文、代码仓库),2026-11-13 整理。思路随便借;别人的代码不带进比赛,当天现场重写。「赛道」一栏:C = Coding,V = Visual。

AgentBeats 第一阶段获奖作品

项目它做了什么(已核对)我们能借的具体做法赛道
NetArena(第一名)
论文
网络自动化 benchmark(ICLR 2026)。每轮评测按需生成新题和标准答案,背不了;在 Kubernetes 等模拟器里实际跑,用模拟器的反馈判对错(比如网络连通是否恢复);评测请求里可以设难度和题数① 每轮换新题;② 答案靠「实际跑一下」来验证,不靠预设答案(Coding 跑测试、Visual 从场景描述重算);③ 难度和题数做成参数,评委现场可以调C V
NetHeal(第二名)随机生成模拟网络,里面埋已知故障「随机生成环境 + 埋已知的错」:正好就是我们注入 bug 的出题法,可以当论据C
NAAMSE(第二名)
论文
进化式红队:25 种以上改写手法,按 0–100 的危害分决定下一步(低于 50 换方向;50–80 微调;80–100 换手法加码;满分就换下一类)。另外配了 5 万条正常提示,检查模型会不会过度拒答① 「打分 → 决定接着改还是换方向」的进化循环,用来把题做难;② 配一组「正常题」当对照:Visual 放一些简单题,确认模型不是乱答C V
Cyber Security Evaluator(第一名)
GitHub 仓库已删,链接是 AgentBeats 页面
用 Thompson Sampling 决定测试策略,用新颖性搜索找新的绕过方式,攻击方案会随轮次演化(代码仓库链接目前打不开,只有官网描述)自适应出题:每类题当一个「臂」,模型答错的类多分名额;再加新颖性奖励,避免老挖同一个坑(见第 17 章)C V
Entropic CRMArena
MIT · 原数据集 CRMArena
在现成数据集上加结构漂移(改列名 0/10/30/50%)和干扰记录(0/1–2/3–4/5+);综合打分有 7 个维度:准确率 30%、适应漂移 20%、token 效率 12%、查询次数 12%、步骤效率 10%、出错后恢复 8%、幻觉率 8%① 分档的难度旋钮(上一题);② 除了准确率,再报一两个效率指标(token 数、耗时),成绩单会更丰富C V
MateFin(并列第一)可配置的模拟 API,往里注入分页、重复数据、限流等故障「故障注入」做成配置项,每种故障单独统计模型的成绩C
AgentHard(并列第一)自动诊断、过滤 agent benchmark 的效度问题。把坏题分三类:标准答案错、题目有歧义、判分有问题。BFCL 4706 道里删了 139 道,ComplexFuncBench 1000 道里删了 161 道,Tau2 删了 96 道① 我们的闸门也按这三类归类,评委一听就懂;② 「现成 benchmark 有 3–16% 的坏题」可以当 pitch 开头的论据C V
MetaJudgeX(第三名)
MIT
把 OpenCaptchaWorld 的 463 道视觉谜题逐一验证,修了质量问题;还设了「标准答案模式」:拿标准答案去喂判分器,必须得 100%,用来验证判分逻辑本身没错「标准答案模式」直接照做:把我们自己算出的答案原样交给判分函数,应该 100% 判对。这个十分钟就能做,能抓出判分器的 bugC V
LogoMesh(第二名)遇到新任务时,用大模型现场生成这道题的评分标准代码判不了的题(比如开放式描述),可以让模型生成评分细则,但要有人抽查V
AgentSWE(第一名)把 SWE-bench Verified 做成 green agent,除了对错,还统计被测 agent 一共用了多少 token成绩单加一列「每道题花多少 token / 多少钱」C
OfficeQA(并列第二)
数据集(要申请)
基于美国财政部公报的端到端问答改表格数字、重算答案(至简的思路,第 3 章)V
Build What I Mean(第三名)按含糊的口头指令搭积木,考 agent 能不能通过沟通弄清对方意图积木场景换色、镜像造变体(模板仓库里有可玩的版本)V

论文和公开 benchmark

项目它做了什么(已核对)我们能借的具体做法赛道
SWE-smith(2025)四种造 bug 的方法:① 让模型改写函数引入 bug;② 按语法树做机械改动(条件取反、删循环、换运算符);③ 把两个已验证的 bug 合在一起,可以同文件,也可以跨文件;④ 把真实的修复 PR 倒回去。每个 bug 至少要有一个「改之前挂、改之后过」的测试。issue 由模型根据 diff 和失败的测试写。共产出 5 万多道题① 我们的变异器就是方法②;方法③「合并两个 bug」就是现成的难度旋钮;② 写 issue 时把失败的测试源码给模型(我们练习里修过的那个 bug 正是这个)C
BugPilot(2025)批评 SWE-smith:人工注入的 bug 不像真 bug。改让 agent 去加新功能,「顺手」弄坏了测试。Claude Sonnet 4 在这类 bug 上的成绩比 SWE-smith 的 bug 低 25%想做难题,可以让模型加功能、顺带引入 bug,比单点变异更难也更真实C
EvalPlus(2023)
论文
先让模型给每道题写一批刁钻的测试输入当种子,再对种子做类型感知的变异(整数 ±1、布尔值翻转、复用种子里的片段),不合法的输入用断言过滤掉。HumanEval 平均每题的测试从 9.6 个扩到 764 个,很多原来判对的答案其实是错的测试太松时自动补测试:种子 + 变异 + 合法性过滤,可以放进「能抓住变异」那道闸门的修复步骤C
SWE-bench Verified人工逐题审,删掉需求不清和测试冤枉人的题,留下 500 道Pitch 一句话:我们把这次人工审核自动化了C
LiveCodeBench持续收集新题,按发布日期切分防泄题的论据C
Terminal-Bench 2.089 道终端任务:指令 + 测试脚本 + 参考解题目格式直接照抄C
Vision Language Models Are Blind(2024)BlindTest:7 个人一眼就会的简单视觉任务,比如两条折线有几个交点、两个圆是否重叠、数奥运五环那样相交的圆。4 个顶尖模型平均只有 56–59%。物体分开、离得远时能数对,一挨着、一相交就不行① 证明「简单合成图就能测出真弱点」;② 难度旋钮选「挨得多近、有没有相交」,和我们练习里数密集小物体的结果一致V
MMStar(2024)从 2.2 万道题里筛出 1500 道,每道都要满足三条:必须看图、尽量没泄露、真的需要多模态能力。发现 GeminiPro 不看图在 MMMU 上也能拿 42.9%。提出两个指标:多模态增益(看图比不看图提高多少)、多模态泄露① 「必须看图」按一类题做统计(第 17 章);② 成绩单报「看图准确率 − 不看图准确率」,这就是多模态增益V
Eyes Wide Shut / MMVP(2024)找出 CLIP 分不清的成对图片,多模态模型在这些图对上表现很差成对变体:原图和变体都答对才算对(练习里 Sonnet 单题 95%,成对只有 91%)V
CLEVR(2017)程序渲染 3D 场景,程序出题,答案从场景描述里算出来「答案从场景描述算」的老祖宗,讲方法时引用它V
AdaMAST(开源,Apache-2.0)
论文
从运行记录里自动总结出失败类型清单,每类附原话作证据,几个独立标注一致才采纳错误分类:代码能判的用代码判,判不了的用两个模型分别归类、取两边一致的(第 17 章)C V

现成的数据集在哪

链接 2026-11-13 逐个核对过。比赛成果归 Innodata,所以要注意数据的协议:MIT、Apache、CC BY-SA 可以放心用;标了「不能商用」的,用之前问一下主办方。

数据内容协议 / 获取赛道
Terminal-Bench 2.089 道终端题:指令 + 测试 + 参考解Apache-2.0;Christina 电脑上已下好(hackathon-seeds)C
Build What I Mean64 道积木题(CSV)MIT;已下好V
OfficeQA美国财政部公报上的数字问答CC BY-SA 4.0;登录 Hugging Face 点同意条款,自动通过V
ScreenSpot真实软件、网页的界面截图。代替 OSWorld:OSWorld 没有现成截图,要跑虚拟机才有直接下载V
ChartQA真实图表 + 问答GPL-3.0V
CharXiv论文图表 + 问答CC BY-SA 4.0V
VLMs Are Blind数交点、数圆等简单合成图MITV
CV-Bench计数、空间关系、深度Apache-2.0V
MMVP模型分不清的成对图片MITV
MMStar必须看图才能答的题页面没写协议V
CRMArena-ProEntropic 改的那份 CRM 数据CC BY-NC 4.0(不能商用)C V
SWE-bench Verified500 道人工审过的修 bug 题直接下载C
SWE-smith5 万多道合成 bug 题直接下载C
HumanEval+加强测试版 HumanEval直接下载C

它们的界面长什么样

自己运行 NetHeal 的网页(在 Docker 里跑,不污染电脑;需要先打开 Docker Desktop):

git clone https://github.com/cisco-ai-platform/netheal-ai-agent-benchmark.git
cd netheal-ai-agent-benchmark
docker run --rm -p 8000:8000 -v "$PWD":/app -w /app python:3.12-slim sh -c "pip install -q -r requirements.txt && uvicorn webapp.backend.app.main:app --host 0.0.0.0 --port 8000"
# 然后浏览器打开 http://localhost:8000

挑最值得做的五件事

  1. 标准答案模式(MetaJudgeX):拿自己算的答案喂判分器,必须 100%。十分钟搞定。
  2. 分档难度旋钮(Entropic、BlindTest、SWE-smith 合并 bug):至少一个旋钮,调上去分数要真的往下掉。
  3. 闸门按三类归类(AgentHard):标准答案错 / 题目有歧义 / 判分有问题。
  4. 报多模态增益(MMStar,Visual 赛道):看图准确率减去不看图准确率。
  5. 加分项:自适应出题(Cyber Security Evaluator、NAAMSE):Thompson Sampling 分配出题名额。

19. 参考链接总表 共通

指南里提到的所有作品,2026-11-13 逐个打开核对过。Cyber Security Evaluator 的 GitHub 仓库已删除,只剩 AgentBeats 页面。

比赛

AgentBeats 作品

Coding 方向

Visual 方向

错误分析

Innodata Hackathon Track Guide

One chapter per track, plus shared parts for both of us. Everyone reads the parts marked Shared. Read only your own track for Coding and Visual. Tracks and teams follow the organizer's team assignment email. Compiled 2026-11-12.

0. One-page overview Shared

ItemDetails
TimeSaturday 11/14, 9:00–17:00. Check-in starts at 8:30. Building, demos and judging all happen on the same day.
VenueSt. John's University, Manhattan campus, 101 Astor Pl.
Welcome eventFriday 11/13, 18:00–20:00, The Spaniard, 190 W 4th St. Optional. Its main value is meeting teammates early and settling the task format ahead of time.
Teams4–5 people per team, assigned by the organizers. The team email is said to go out on Thursday.
DeliverableA working prototype plus a demo. Official wording: "A focused, reliable prototype wins over a polished product."
What judges look forEngineering judgment, creative problem solving, and evidence that the method works on more than one example. So run a batch of tasks and speak with numbers. Do not demo just one task.
Prizes$5,000 / $2,500 / $1,250.
ToolsThe organizers provide model APIs and an AI coding assistant. Python is enough. No special hardware needed.
IPUnder the participation agreement, what you build during the event belongs to Innodata. Do not bring a single line of code or data from company or school research. Public datasets can be brought in as seeds. Write the generation and checking code on the day.

1. The two tracks compared Shared

Coding Task Factory

Official question: How do you automatically create realistic software development tasks that are clear, solvable, and reliably gradable?

Deliverable: A reusable pipeline that produces "feature development" tasks. Each task has a requirement, a reference implementation and tests, used to evaluate AI coding ability.

Hardest part: The tasks are written by a model. The reference answer may be wrong, the tests may be too loose, and the requirement may be unclear. You must prove every task is trustworthy.

Visual Task Factory

Official question: Which visual skills matter most in real applications? How do you reliably test whether frontier models have them?

Deliverable: A pipeline that generates synthetic images, questions and verifiable answers, then uses them to evaluate frontier multimodal models.

Hardest part: The answer must be certain to be correct, and the question must really require looking at the image. Many existing visual questions can be guessed right without the image.

Both tracks are really the same thing: generate tasks with a program in bulk, run each task through automatic checks before it ships, and use the surviving tasks to test models. The only difference is the shape of a task: one is "requirement + code + tests", the other is "image + question + answer". So chapters 2, 3 and 13–16 apply to both of us.

2. The common skeleton of a task factory Shared

① SeedA small codebase / a scene description
→
② GenerateA program or model writes the task and its answer
→
③ CheckA series of gates, recording where each task failed
→
④ Task poolOnly tasks that pass everything
→
⑤ Test modelsReport card by category and difficulty

One task is stored as one line of JSON (settle this with teammates in the first hour)

Once the format is fixed, the person writing the pipeline and the person building the UI can start at the same time without waiting on each other. The template repo's UI only reads the fields below:

{"id": "T-001", "title": "...", "category": "...", "difficulty": "easy|medium|hard",
 "status": "pass|fail", "failed": "which gate it failed", "reason": "why it failed",
 "checks": {"gate1": true, "gate2": false, "gate3": null},   // null = not reached
 // Add any fields below; each becomes a tab. If a value is an image path, it shows as an image
 "requirement": "...", "solution": "...", "tests": "...",    // Coding
 "image": "img/v001.png", "question": "...", "answer": "..." // Visual
}

How to split the 8 hours

TimeWhat to do
9:00–9:30Decide three things: where tasks come from, the JSON format of one task, and who does what.
9:30–11:30Run the crudest version end to end: generate 1 task, pass 1 gate, write it to JSON. Make it work first, then make it good.
From 11:30One person works full time on the UI and charts (Zhijian's advice, see chapter 3). Others add gates and generate tasks in bulk.
13:00–14:30Run tens to hundreds of tasks in bulk, test them on 2–3 models, and get a report card.
14:30–15:30Add one highlight: adaptive generation, a difficulty curve, or a replay of "caught a bad task".
After 15:30Stop writing new features. Fill in the slide numbers, take screenshots, rehearse twice, and record a backup video.

How to split work among 4–5 people

3. Zhijian's advice Shared

Advice 1: In a one-day event, judges care a lot about the frontend and creativity

Scoring in a one-day event is fairly subjective. Judges look at the UI and demo for a few minutes. So the UI cannot wait until the end. Once the first pipeline runs end to end at 11:30, put one person on it full time. No frontend framework needed: the template repo's dashboard/ or a single Streamlit / Gradio file is enough. Put four blocks on the page:

  1. Funnel chart: how many generated → how many each gate removed → how many remain. Shows at a glance that the machine is working.
  2. Task cards: for Coding, requirement, answer and tests side by side in three columns; for Visual, image, question and answer. One traffic light per gate.
  3. "Caught a bad task" replay: open a rejected task and see which gate stopped it and why.
  4. "Generate one now" button: click it live and watch it generate a task and pass the gates. Judges love this.

Advice 2: Learn from AgentX-AgentBeats and generate tasks with programs

AgentBeats is a competition run by Berkeley RDI. Phase 1 builds green agents, the side that "creates tasks and scores", where a benchmark itself is built as an agent. Phase 2 builds purple agents, the side that "solves tasks", which go score on these benchmarks. The two sides talk over the A2A protocol. Both tracks in our event are on the green agent side.

Phase 1 winners that are directly relevant to us:

ProjectWhat it didWhat we can borrow
NetArenaInjects network configuration errors into real Kubernetes apps for the agent to fix. Tasks and answers are generated dynamically by a program, so answers cannot be memorizedThe "inject a bug" generation method for Coding
AgentHardAudits other benchmarks for validity problemsExactly what our gates do; good supporting argument
NAAMSE (2nd place)Uses "evolutionary mutation" to generate adversarial prompts from a corpus, with 25+ mutation strategiesBoth tracks can borrow the mutation idea
Cyber Security EvaluatorAdaptively picks the next task based on how the tested side performs (Thompson Sampling + novelty search)The "adaptive generation" highlight
Entropic CRMArenaMakes tasks harder by programmatically adding "schema drift" and distractor records to an existing datasetOne way to build a difficulty knob

Advice 3 (added the evening of 11/12): Take an existing benchmark, change its data, and generate new tasks

The core of the hackathon is "generating datasets with programs". You can take tasks from the existing datasets used in AgentBeats, change the data with a program, and produce new variants as a benchmark:

Benefits: memorizing the original task does not help, because the numbers changed; the correct answer is computed by a program, so it is reliable by construction; one original task can expand into many.

Add one check: the data must stay consistent after the change. If you change one row, the total row must change too. You cannot end up with "the items do not add up to the total". In the template repo, dashboard/examples/perturbed_reports.json includes a task that was rejected because the total was not updated.

This idea naturally belongs to the Visual track (screenshots and reports are images). The Coding track equivalent: take verified coding tasks, change constants, input formats and edge conditions, then regenerate the reference answer and tests automatically. This is called "metamorphic" generation.

Zhijian's list of AgentBeats Phase 2 benchmarks: which can serve as seeds

BenchmarkWhat's insideHow to make new tasks in one dayWhich track
Terminal-Bench 2.0Each task = English instruction + test script + reference solution, run in a terminal; 89 tasks, Apache-2.0Change parameters, file names and values in the instruction, and update the tests and reference solution to match; or deliberately break the reference solution as a mutationCoding best fit
SWE-bench ProBug-fix tasks from real codebases, harder than SWE-benchHeavy environment; in one day only useful as a comparison pointCoding comparison table
OfficeQAFrom Databricks. Q&A based on Treasury Bulletin PDFs. Answers are numbers, and grading allows about 1% errorChange table numbers, recompute answers with code, check that totals stay consistent; re-render as a table image after the changeVisual
OSWorldAgent tasks in a real computer environment, with UI screenshotsChange UI state or text, and the answer changes with itVisual
Build What I MeanBuild block structures from vague spoken instructions. 9×9 grid, 5 colors, 64 tasks, MITChange the color, position or mirroring of the target structure, and generate new instructions and answers automaticallyVisual can borrow (blocks are 3D images)
Entropic CRMArenaAlready adds schema drift and distractor records with a programUse as an argument: the field already builds tasks this wayArgument for both
MAizeBargAIn / MLE-Bench / FieldWorkArenaBargaining games / Kaggle competitions / factory videosPoor fit or data too largeSkip
We treat the factory like an AgentBeats green agent: it generates tasks programmatically so nothing can be memorized, verifies every task before it enters the pool, and can steer generation toward the task types where models fail most.

4. What to deliver Coding

A task is a three-piece set. You can copy the format straight from Terminal-Bench:

PartWhat it isFile in Terminal-Bench
RequirementA feature description that reads like a real person wrote it, stating inputs, outputs and edge casesinstruction.md
Reference implementationThe standard answer. After merging it into the codebase, all tests passsolution/solve.sh
TestsThe script that grades right and wrong. New tests must fail on the old code and pass on the reference implementationtests/test.sh + test_outputs.py
Environment and metadataRuntime environment, difficulty, categoryenvironment/Dockerfile, task.toml
Our task format follows Terminal-Bench: an instruction, a test script and an oracle solution. Our factory produces that triple automatically, then verifies it before it enters the pool.

5. Four ways to generate tasks Coding

MethodHow it worksProsRisks
Original plan: model invents a new featureGive the model a small codebase and have it invent a new feature, then write the requirement, answer and testsClosest to real developmentThe requirement may be unclear; the reference answer may be wrong
A. Inject a bug
(NetArena / SWE-smith)
Take good code where all tests pass, break it on purpose with a program, and the task is "fix it"The original good code is the standard answer, so it is correct by construction; fully automatic and scalable; the safest choice for one dayLeans toward "fix a bug", narrower than "add a feature"; the model must describe the symptom as an issue that reads like a human report
B. Metamorphic parameter changes
(Zhijian's idea)
Take verified Terminal-Bench tasks, change constants, input formats and edge conditions, then regenerate answers and testsOne task becomes many; memorizing the original does not helpAll gates must be rerun after the change
C. Adaptive generation
(Cyber Security Evaluator)
Generate a batch for the model to solve, count which task types it gets wrong most, and generate more of those next batchThe most "creative"; tells a closed-loop storyOne more layer of logic; save it for last as a bonus

One workable combination: use A or B as the main line to guarantee a batch of reliable tasks, then use leftover time to add a small closed loop from C as the highlight. Decide the final choice together with teammates.

Two ways to add difficulty (borrowed from Entropic CRMArena, see chapters 17 and 18): Give each technique several levels and plot a difficulty curve. After the change, update the reference answer and tests, then run the gates again.

6. Nine gates Coding

#GateWhat it checksHow
1Reference answer passesThe answer itself is correctMerge the reference implementation; all new tests pass
2Old code fails (FAIL_TO_PASS)The tests really test the new featureAt least one new test fails on the unchanged code
3Old features not broken (PASS_TO_PASS)The answer did not break anything elseThe codebase's existing tests still all pass on the reference implementation
4Stable on rerunNo flaky testsRun 5 times in an offline sandbox; results match
5Catches mutationsTests are strict enoughBreak the reference implementation on purpose 10 times; tests catch at least 7
6Solvable from the requirement aloneThe requirement is not missing informationAnother model, given only the requirement, solves it correctly
7Does not leak the answerThe requirement does not spell out the answerCheck overlap between the requirement and the reference code
8Tests exercise the new code (diff coverage)Newly added lines get executedpytest-cov on changed lines only; cheaper than mutation, so filter with it first
9Difficulty calibrationThe task separates models2–3 models each try k times: all pass = too easy, all fail = suspicious, send to human review, the middle range is most valuable
The equivalent mutation trap: some changes do not change behavior at all. For example, i < n changed to i != n, when i already counts up from 0 to n one step at a time. No test can catch such a mutation, and that is not the tests' fault. So the mutation catch rate cannot reach 100%. Say this clearly when reporting numbers. Expert judges will appreciate it.
We split tests the way SWE-bench does: fail-to-pass tests prove the task tests the new behavior, and pass-to-pass tests prove the reference solution didn't break anything else.

7. Seed tasks and commands Coding

Terminal-Bench 2.0 tasks that make good seeds (easy to medium, pure Python or lightweight environment): cancel-async-tasks (async scheduling with a concurrency limit), kv-store-grpc, multi-source-data-merger, regex-log, financial-document-processor, cobol-modernization, fix-git. Of the 89 tasks: medium 55 / hard 30 / easy 4.

pytest -q -x                       # stop at the first failure
pytest --timeout=30                # a single test timing out counts as a failure (pytest-timeout)
pytest --count=5 -x                # run each test 5 times to catch flakiness (pytest-repeat)
pytest --cov=src --cov-report=json # write coverage to coverage.json
pytest --junitxml=r.xml            # pass/fail per test, used to compute FAIL_TO_PASS

# run model-written code offline with limited resources
docker run --rm --network none --memory 1g --cpus 1 \
  -v "$PWD/task_001:/work" -w /work python:3.12-slim \
  sh -c "pip install -q pytest pytest-timeout && pytest -q --timeout=30"

A small mutator only needs these changes (editing the syntax tree with Python's ast is the most robust): <↔<=, ==↔!=, +↔-, constant ±1, and↔or, remove not, plain return None, delete an if branch. The ready-made mutmut is too slow. In a competition it is better to write your own that only mutates "the newly added lines".

Most common sources of flaky tests: depending on the current time, random numbers without a fixed seed, the network, tests depending on each other's order, and hardcoded sleeps.

8. Core idea Visual

Write a "scene spec" first, draw the image from the spec, and compute the answer from the spec with code. No human labels, and no model looking at the image to write answers.

For example, if the scene spec is "3 red circles, 1 red square, 1 blue circle, each with coordinates", then the answer to "how many red circles" is 3, counted by code, and it is always right. Drawing just turns the spec into pixels.

① Scene specRandomly sample objects, numbers, UI states; save as JSON
→
② DrawPIL / matplotlib / web page screenshot
→
③ Write questionsQuestion templates + model rewording; answers computed by code
→
④ GatesLegible, unique answer, requires the image
→
⑤ Test modelsReport card by skill × difficulty

The ancestor of this approach is CLEVR (2017): a program renders 3D scenes, questions are generated by a program, and answers are computed from the scene graph. We are building a "real-world version" of CLEVR: charts, tables, UI screenshots, plus the quality gates CLEVR does not have.

Every image is drawn from a scene spec, and every answer is computed from that spec by code. The generator knows the truth, so we never need a human label, and every image is new, so nothing can be memorized.

9. Which visual skills to test Visual

The first sentence of the official question is "which visual skills matter most in real applications", so first give a skill list, then explain why you picked these. Doing 3–5 in depth beats doing 10 shallowly.

SkillWhere it's used in practiceHow to generate tasksDifficulty knob
CountingInventory, quality inspection, foot trafficScatter random shapes and ask "how many red circles"Number of objects, similar distractors, size
Attribute bindingFinding a specific product or partMix colors and shapes (red square, blue circle) and ask for "the red circle"Number of distractors sharing an attribute
Spatial relationsRobotics, navigation, layoutAsk "is A left of B"; mirroring flips the answer, so pairs come for freeDistance, number of objects, occlusion
Chart reading + arithmeticFinancial reports, dashboards, research reportsDraw bar/line charts from random numbers; ask for the max, a difference, a growth rateNumber of bars, whether math is needed, tick density
Tables and documentsFinance, insurance, compliance(Zhijian) OfficeQA style: change table numbers, re-render, recompute the answer with codeRows and columns, how many cells to compute across
UI screenshotsComputer-use agents(Zhijian) OSWorld style: HTML templates randomly generate settings pages and forms; screenshot them and ask which toggle is on or where a button isNumber of controls, similar labels
3D structureAssembly, construction, spatial reasoningBuild What I Mean blocks: change colors, move positions, mirrorLayers, number of blocks, viewpoint
Fine detailIndustrial inspection, medical imagingHide a small target or tiny text in a large imageTarget size, resolution
Spot the differenceBefore/after comparison, monitoringChange one thing in the same scene; show two images and ask what changedSize of the change

Suggested combination: chart reading + UI screenshots (most realistic, judges get it right away), plus one simple counting or spatial relations skill (easy to turn into a difficulty curve). Decide the final picks together with teammates.

Two ways to add difficulty (borrowed from Entropic CRMArena, see chapters 17 and 18): Give each technique several levels (none / few / medium / many) and plot a difficulty curve. After the change, the answer must be recomputed by the program, then run the gates again.

10. How to draw images Visual

ToolGood forNotes
PIL (Pillow)Shapes, simple scenes, synthetic textFastest to pick up; a few dozen lines produce an image
matplotlibBar charts, line charts, scatter plots, tablesRandom data → image; answers computed directly from the data
HTML template + headless browser screenshot (Playwright)UI screenshots, forms, report pagesClosest to real interfaces; control states live in the template parameters
Blender / 3D engineRealistic 3D scenesToo heavy for one day; don't touch
Text-to-image modelsRealistic photosCannot be the source of answers: what gets drawn may not match the request. Use only as a background, then paste program-drawn objects on top

In the template repo, dashboard/examples/make_visual_example.py shows minimal versions of the first three (shape scene, bar chart, settings UI), a few dozen lines each.

11. Eight gates Visual

#GateWhat it checksHow
1Valid specThe answer is computed by code, not guessedThe scene JSON parses, values are in range, and the answer function produces a unique result
2Drawn clearlyThe task tests understanding, not eyesightAll objects are inside the frame and not below a minimum size; run OCR on the image and read back every word and number the answer depends on
3Unique answerNo two plausible answersObject overlap no more than 20%, no tied maximums, unambiguous color names (don't use "light red" and "pink" together)
4Requires the imageCannot be guessed without the imageGive only the question, no image, to 2 models; if accuracy is above chance, drop the template. Also try "the wrong image", which should also produce wrong answers
5SolvableThe task is not brokenA strong model answers correctly at high resolution, or a human looks at 10 tasks per batch
6NovelCannot be memorizedEvery image is randomly generated; remove near-duplicates with perceptual hashing
7Pair consistencyNot a lucky guessMake a pair by mirroring, recoloring or changing one number; the answer should change accordingly; the model counts as right only if it gets both
8Consistent after edits (Zhijian)No contradictions after changing dataIf you change a row in a report, change the total too; if you change a UI toggle, change related hint text too
Why gate 4 is the most valuable: research found that many questions in popular visual benchmarks can be answered without the image (MMStar and Cambrian-1 both analyzed this). Every one of our tasks proves it "requires the image". That is the biggest difference from existing datasets. When judges ask "how is this different from what exists", lead with this.
Before a template goes into the pool, we ask the same questions to text-only models with no image. If they beat chance, the template tests world knowledge, not vision, and we drop it.

12. How to report results Visual

Judges want evidence that it "works on more than one example". The three most convincing charts for the Visual track:

  1. Skill × model score table (heatmap): one row per skill, one column per model, accuracy in each cell. Shows at a glance where models are weak.
  2. Difficulty curve: the x-axis is a knob (objects from 3 up to 15, text from 16px down to 8px), the y-axis is accuracy. A falling curve shows our tasks can measure the edge of a model's ability.
  3. Funnel + bad task examples: how many each gate stopped, paired with one task stopped by the "requires the image" gate.

Ideally add one human comparison: do 20 tasks yourselves. Humans get almost all right while models miss half. This contrast is the most intuitive.

13. Inspiration Shared

Years and numbers are from memory. They are fine as talking points. Before putting them in the slides, spend a minute on the day searching to confirm.

Coding

NameWhat it didHow to use it
HumanEval (OpenAI 2021)164 hand-written Python function tasksThe earliest code benchmark; tasks are written by people, so it cannot scale
EvalPlus / HumanEval+ (2023)Automatically added many tests to HumanEval. Many answers previously graded correct were actually wrong, and every model's score droppedThe best argument: "tests are too loose" is a real problem, and it is exactly what the mutation gate catches
SWE-bench (2023)Mined 2294 tasks from issues and fix PRs in 12 real Python libraries, graded with FAIL_TO_PASS / PASS_TO_PASSThe "mine tasks from real history" route
SWE-bench Verified (2024)Human review of every task, dropping tasks with unclear requirements or unfair tests, leaving 500What we do is automate that human review; usable directly as the pitch
SWE-smith (2025)Deliberately breaks code in working codebases to mass-produce tens of thousands of tasksClosest to "inject a bug"; we add per-task quality verification
R2E-Gym / SWE-GymAutomatically generate executable environments and tasks from commit historyGeared toward training data
LiveCodeBench (2024)Keeps collecting new contest problems and splits them by release date, so models have not seen themThe idea for preventing leaks
Terminal-Bench 2.089 terminal tasks, instruction + tests + reference solutionCopy the task format directly

Visual

NameWhat it didHow to use it
CLEVR (2017)A program renders 3D scenes and writes the questions; answers are computed from the scene graphThe ancestor of "compute answers from the spec"
Vision Language Models Are Blind (2024)Simple images that people get at a glance, like counting line intersections or overlapping circles, yet models often get them wrongThe best argument: simple synthetic images can expose real weaknesses
Eyes Wide Shut / MMVP (2024)Found image pairs CLIP cannot tell apart; multimodal models do poorly on these pairsSource of the "pair consistency" gate
MMStar (2024)Found many visual questions can be answered without the image, and filtered them outArgument for the "requires the image" gate
Cambrian-1 / CV-Bench (2024)Vision-centric evaluation: counting, spatial relations, depth, distance; also analyzed questions answerable without the imageIts categories can inform our skill list
BLINK (2024)Perception tasks people solve "in a blink"; many models are close to random guessingShows perception is a weak spot
ChartQA (2022) / CharXiv (2024)Real chart Q&A; CharXiv uses charts from papers, split into descriptive and reasoning questionsComparison point for chart reading
MathVista (2023) / MMMU (2023)Visual math; college-level multi-subject image-text questionsBroad comparison points
OSWorld / ScreenSpotReal computer tasks; UI element localizationComparison points for UI screenshots
OfficeQANumeric Q&A on Treasury BulletinsSeed for "change numbers and re-render" (requires logging into Hugging Face to request access)

Useful for both

14. How to use the template Shared

Repo: hackathon-kit. Each track has its own set of examples. All numbers are made up; replace them with your own on the day.

ItemCodingVisual
Demo web pagecd dashboard && python3 serve.pynpm run visual-example (draws the example images first, then opens the page)
Example datadashboard/results.jsondashboard/examples/visual_tasks.json, 7 tasks including 3 rejected ones
Slides (10 pages)Edit deck/content.json → npm run deckEdit deck/content_visual.json → npm run deck:visual
Data perturbation exampledashboard/examples/perturbed_reports.json (Zhijian's "change report numbers" idea, including a task rejected because the total was not updated)
Block mini gameplayground/build-what-i-mean/index.html: double-click to play the 64 block tasks; it can generate recolored/mirrored variants and shows "keep / would be rejected"

Hooking up your own pipeline: write a function that takes no arguments and returns one task as JSON, then run HOOK=my_pipeline:generate_one python3 serve.py. The "Generate one now" button on the page will call it live.

Three steps before submitting: put a UI screenshot into the slides' demo.image; put real numbers into the content JSON; regenerate the slides.

15. Pitch script and judge Q&A Shared

3-minute demo order

  1. One-sentence problem (20 seconds): Coding says "generating tasks is easy, trusting them is hard"; Visual says "many visual questions can be answered without the image".
  2. One diagram of the pipeline (30 seconds).
  3. Click "Generate one now" live and watch it pass the gates (60 seconds).
  4. Funnel and report card (40 seconds): how many generated, how many kept, where models are weak.
  5. One rejected bad task (20 seconds).
  6. Limitations and next steps (10 seconds).

Questions judges may ask

QuestionHow to answer
How is this different from existing benchmarks?Coding: SWE-bench Verified relies on human review; we automate the review. Visual: every task proves it requires the image, answers are computed by code, and every image is new.
Can your gates themselves be wrong?Yes. So we sample 10–20 tasks per batch for human review and report the gates' own error rate. For Coding, also mention that equivalent mutations push the mutation score down.
What does one task cost?Report model call cost ÷ number of tasks kept. For Visual, drawing is nearly free; the cost is mainly the model calls in the "requires the image" gate.
How do you extend to more languages / more skills?Gates and generators are written separately. Adding a language or a skill only needs one new generation template; the gates are reused.
How far is synthetic data from reality?Visual: next step is pasting program-drawn objects onto real photo backgrounds; charts and UIs are drawn by programs anyway, so they are not far from reality. Coding: seeds come from real open-source codebases.
How do you know the difficulty is right?Have several models try; drop tasks that are too easy or that everyone fails; plot a difficulty distribution or difficulty curve.

16. Pre-event checklist Shared

17. Pre-event Q&A Shared

Questions asked during prep on 11/13, in the order they were asked. Numbers for the practice prototype come from one full batch run in the private repo hackathon-practice.

What is a gate?

It is an automatic check. Every task the program generates must pass several checks in order. If it fails any one, it is thrown away and does not enter the task pool. In English it is called a quality gate. Think of quality control stations before goods leave a factory: measure size, weigh it, inspect appearance, and pull out anything that fails at any station. Judges value this part most: anyone can get a model to produce a pile of tasks, the hard part is proving every task is reliable.

Do we design the tasks ourselves?

The organizers set the broad direction, which is the two tracks. What skill to test, how to generate tasks, how to check them and how to prove they are useful are all up to you. That is what the competition really judges. Note: what you design is a task-generating program, not 50 hand-written tasks. The organizers may add more detailed requirements on the day (format, data, model API). You can ask at the Friday welcome event.

Are the two tracks judged together? Which one to pick?

The organizers have not said. But there is only one set of top-three prizes, so they are probably judged together. You can confirm in person on Friday. If judged together, Visual has the edge: showing one image and three models getting it wrong is more intuitive than a code diff. The generator is also easier to write, and the answer is computed by code, so it is correct by construction. If your teammates lean backend and know testing, Coding works too, with the story "automating the human review of SWE-bench Verified".

What's the problem with "the report card is all 100%"?

You test several models on your tasks, and every model gets every category right. Such tasks cannot tell models apart. In English this is called a ceiling effect or saturation. In practice, for charts, UI screenshots and financial tables, Haiku, Sonnet and Opus all scored 100%. Of the 31 Coding tasks, Haiku solved 30 correctly on both tries. You must prepare a difficulty knob, and turning it up must really make scores drop. For example, a curve falling from 100% to 40% is the best evidence.

What does "models are bad at counting dense small objects" mean?

Put 18 shapes of a dozen-odd pixels each in one image and ask "how many green circles": on the 8 hard-level tasks, Haiku got half right and Sonnet only 3, mostly off by one. There are three reasons. The model cuts the image into small squares (patches), so small objects get split and neighbors blur together. The model estimates at a glance instead of counting one by one. It must also match color and shape at the same time (attribute binding). The paper Vision Language Models Are Blind (2024) found the same thing. But the sample is too small to conclude that Sonnet is worse than Haiku.

What does "auditing other benchmarks for validity problems" mean?

Validity means whether a score actually measures the ability it claims to measure. There are four common problems:

AgentHard finds these problems after a benchmark is built; our gates block them while tasks are being generated.

For the "requires the image" check, does one lucky guess mean the task is bad?

No. The practice version got this wrong. Without the image, Haiku almost always guessed "3" and got 9 of 30 counting tasks right (30%), while random guessing expects about 25%. This gap is not statistically significant (p ≈ 0.33), so the 9 rejected tasks were wrongly rejected. The right approach has three parts:

One more trap: without the image, models often refuse outright ("I can't see the image"). A refusal gets counted as wrong, which means the check was never really done. Force the model to give a guess, and track the refusal rate.

Can we classify and count errors like AdaMAST?

Yes, and it earns points. AdaMAST is an open-source library (Apache-2.0). It automatically summarizes a "failure type list" (taxonomy) from run logs, attaches verbatim quotes as evidence to each type, and only adopts a type when several independent annotations agree. Two ways to use it in the event:

NetArena says "tasks and answers are generated dynamically by a program, so they can't be memorized". Won't models remember past tests?

A fixed task pool is the same exam paper every time. Once public online, models may see it during training and memorize the answers. Dynamic generation means a program writes new tasks on the spot for each exam, and the answers are computed by the program too, for example injecting a different random network fault each time. Memorizing one specific task does not help, because next time it changes. But it cannot stop pattern exploitation: a model may learn the generator's habits, such as always guessing 3 on counting tasks. So you still need to spread answers evenly and run statistical tests per task category.

Isn't memory a strength?

There are two kinds of "remembering". Remembering knowledge is real skill. Remembering exam answers only inflates scores, and the model gets exposed on a new task. It is like memorizing the driving test route: change the road and you can't drive. A benchmark score should predict how a model does on new inputs, so use new tasks. If memory itself is what you want to test, put the information in the task and test whether the model can use it, rather than relying on leaked answers.

Can we generate dynamically too?

Yes. Both tracks deliver a task-generating program anyway. For Visual, a new random seed gives a new batch of images, almost without limit. Coding is limited by the number of seed codebases: in practice there were only 3 small codebases, and each can take only about forty or fifty injected bugs. So prepare more seeds, or adapt Terminal-Bench tasks directly. To make it a highlight judges can see:

Also record the random seeds so results are reproducible. When comparing two models, use tasks generated from the same seed.

What is NAAMSE's "evolutionary mutation"?

The idea is to automatically create "tasks that stump the model". NAAMSE uses it to create adversarial prompts, meaning inputs designed to make a model fail or break its rules. Red teaming is about finding such inputs. The method follows a genetic algorithm:

Code and paper: the code is at github.com/HASHIRU-AI/NAAMSE, and the paper is arXiv 2602.07391. Written in Python, it calls Gemini 2.5 Flash by default and needs a Google API key. It ships with 128K jailbreak/adversarial prompts, plus 50K normal prompts used to check whether the model over-refuses. The repo page does not state a license, so check the LICENSE file before using it.

The "25+ strategies" figure comes from the Berkeley competition website. The paper gives no total and only lists about 10 specifically, for example:

The paper groups these techniques into three kinds: proposed in research papers, circulated in the community, and basic obfuscation.

How evolution selects: each rewritten prompt is tested on the target agent and given a 0–100 "harm score", and the score decides the next step:

These techniques are built for jailbreaking and do not fit our two tracks. What we can borrow is the loop "score → decide by score whether to keep editing or change direction". Do not bring the code into the event.

What are Thompson Sampling and novelty search?

How Cyber Security Evaluator uses these two is known only from one sentence on the website; below is the method itself.

Thompson Sampling: there are several options, and you don't know in advance which is best, so you learn while trying. Academically this is the "multi-armed bandit". Imagine 5 restaurants near you and you want the best one: keep a "good meals / bad meals" count for each, and before each visit, randomly "imagine" how good each place is based on its record, then go to the one with the highest imagined score. Places you have tried less have imagined scores that swing up and down, so they occasionally jump to first and get tried too.

Applied to task generation: each "arm" is a task category (for example "counting, hard level"); "good meal" = a task that passed all gates but the model got wrong; "bad meal" = the model got it right. The program automatically gives more generation slots to the categories that best stump the model, while occasionally trying others. The core code is about ten lines:

wins = {arm: 1 for arm in arms}; losses = {arm: 1 for arm in arms}
for _ in range(100):
    arm = max(arms, key=lambda a: random.betavariate(wins[a], losses[a]))
    task = generate(arm)
    if passes_gates(task) and model_wrong(task): wins[arm] += 1
    else: losses[arm] += 1

Novelty Search: reward not only "doing well" but also "being different from before". With only Thompson Sampling, the program keeps digging at the same weakness, and all 100 tasks show the same kind of error. The method: record a few features for each task that stumps the model (skill type, number of objects, how it failed). The more a new task differs from those found before, the higher its reward. The AdaMAST-style error classification above works well as features.

MethodWhat it handlesIn the event
Thompson SamplingWhich task category gets more slotsAutomatically focuses generation on the model's weakest areas
Novelty searchDon't keep digging the same holeEnsures the weaknesses found are varied
GatesTasks must be good tasksPrevents what we find from being just bad tasks

This is "adaptive generation" (idea C in chapter 5). Once the main line works, add it as a bonus, with a chart showing how generation slots flow to the hardest category each round.

We treat each task type as an arm of a multi-armed bandit. Thompson Sampling steers generation toward the model's weak spots while still exploring, and a novelty bonus rewards failures unlike the ones we already found, so we discover many kinds of weaknesses instead of mining one.

This idea directly fixes "tasks are too easy":

The key is that every generation must pass the gates first. You select tasks that "pass every check but the model gets wrong". Otherwise evolution will game the system and produce bad tasks with non-unique answers or illegible images.

If tomorrow we get a specific task (for example, building blocks from spoken instructions like Build What I Mean), does the plan still hold?

Yes. The plan's skeleton is "seed → generator → gates → evaluation → report card", independent of the task type. Once the task is specific, you only swap three things: the generator (how tasks are made), the grader (how answers are judged), and a few domain-specific gates. The task format, pipeline, division of work, schedule, UI, slides and comparison methods all stay. Within 30 minutes of getting the task, answer 8 questions: what the tested model sees and what it outputs; where the standard answer comes from; how grading works; what makes a task harder; how this kind of task produces bad tasks; which public data to use as seeds; which existing benchmark to compare against; whether multi-turn interaction is needed.

The block example: the standard answer is the target structure, and grading checks whether the set of blocks matches exactly; write a simulated "partner" that answers clarifying questions; difficulty knobs are the number of blocks, layers and types of vagueness; domain gates check that "the vagueness is real" (at least 2 structures fit the instruction) and that "one question resolves it" (only 1 remains after the partner answers). See chapter 15 of the English proposal for details.

How do we prove the tasks and answers are correct? Do we need human annotation?

You don't need human labels for every task. There are five layers, from most to least trustworthy (section 7.4 of the English proposal):

  1. Answers computed by a program: compute answers from the scene spec; for coding tasks, the reference answer is the original code before it was broken. Every task has this.
  2. Execution verification: run tests, recompute totals, read the text in the image back with OCR. Every task has this.
  3. Independent recomputation: write a separate program that recomputes the answer from the rendered image or raw data; the two must match.
  4. Several models as judges: only used to flag suspicious tasks (model answer differs from the standard answer, or models disagree with each other). They cannot serve as the standard answer, because models often share blind spots.
  5. Human spot checks: per batch, sample 20 passing tasks + 10 rejected tasks, have two people label 10 overlapping ones, compute agreement (only trustworthy at Cohen's κ ≥ 0.6), and finally report the error rate of the whole pipeline with a confidence interval.

Human annotation is for auditing, not for producing answers. The failure taxonomy is the audit checklist: wrong standard answer / ambiguous task / grading problem. For open-ended tasks where no standard answer can be computed, first narrow the answer to a form that can be graded automatically (a set of blocks, a number, a choice). If that still fails, write a scoring rubric first, then use two model judges + 20 tasks of human calibration, and report the agreement rate between judges and humans.

What does "making tasks harder by adding schema drift and distractor records to an existing dataset" mean?

This is what Entropic CRMArena does: it does not write new tasks. Instead, it uses a program to scramble the "environment" of Salesforce's existing CRM dataset (CRMArena-Pro), so the same task gets harder.

The benefit: no need to write new tasks or relabel answers, and one dataset turns into several difficulty levels. Applied to us:

Note: its README does not say how answers are updated after the change. We must have the program recompute answers at the same time, then run the gates again.

18. What we can borrow from other projects Shared

Each item was checked against the original sources (AgentBeats competition website, papers, code repos). Compiled 2026-11-13. Borrow ideas freely; do not bring other people's code into the event. Rewrite it on site on the day. In the "Track" column: C = Coding, V = Visual.

AgentBeats Phase 1 winners

ProjectWhat it did (verified)Specific practices we can borrowTrack
NetArena (1st place)
Paper
A network automation benchmark (ICLR 2026). Each evaluation round generates new tasks and standard answers on demand, so they can't be memorized; it actually runs in simulators like Kubernetes and grades by simulator feedback (for example, whether network connectivity is restored); the evaluation request can set difficulty and number of tasks① New tasks every round; ② verify answers by "actually running it", not by preset answers (Coding runs tests, Visual recomputes from the scene spec); ③ make difficulty and task count parameters that judges can adjust liveC V
NetHeal (2nd place)Randomly generates simulated networks with known faults buried inside"Random environment + buried known errors": exactly our inject-a-bug method, usable as an argumentC
NAAMSE (2nd place)
Paper
Evolutionary red teaming: 25+ rewriting techniques, with a 0–100 harm score deciding the next step (below 50 change direction; 50–80 fine-tune; 80–100 switch technique and push harder; full score moves to the next category). It also includes 50K normal prompts to check whether the model over-refuses① The evolutionary loop "score → decide whether to keep editing or change direction", used to make tasks harder; ② add a set of "normal tasks" as a control: for Visual, include some easy tasks to confirm the model isn't answering randomlyC V
Cyber Security Evaluator (1st place)
GitHub repo deleted; link is the AgentBeats page
Uses Thompson Sampling to choose test strategies and novelty search to find new bypasses; attack plans evolve across rounds (the code repo link is currently dead, only the website description remains)Adaptive generation: treat each task category as an "arm" and give more slots to categories the model gets wrong; add a novelty bonus to avoid digging the same hole (see chapter 17)C V
Entropic CRMArena
MIT · original dataset CRMArena
Adds schema drift (column renames 0/10/30/50%) and distractor records (0/1–2/3–4/5+) to an existing dataset; the composite score has 7 dimensions: accuracy 30%, drift adaptation 20%, token efficiency 12%, query count 12%, step efficiency 10%, error recovery 8%, hallucination rate 8%① Leveled difficulty knobs (previous question); ② besides accuracy, report one or two efficiency metrics (token count, time) for a richer report cardC V
MateFin (tied 1st)A configurable simulated API that injects faults like pagination, duplicate data and rate limitingMake "fault injection" a config option and score the model separately for each fault typeC
AgentHard (tied 1st)Automatically diagnoses and filters validity problems in agent benchmarks. Classifies bad tasks into three types: wrong standard answer, ambiguous task, grading problem. Removed 139 of 4706 in BFCL, 161 of 1000 in ComplexFuncBench, and 96 in Tau2① Classify our gates into these same three types, which judges grasp right away; ② "existing benchmarks have 3–16% bad tasks" works as an opening argument for the pitchC V
MetaJudgeX (3rd place)
MIT
Verified each of OpenCaptchaWorld's 463 visual puzzles and fixed quality problems; also added a "gold answer mode": feed the standard answers to the grader, which must score 100%, to verify the grading logic itself is correctCopy "gold answer mode" directly: pass our own computed answers unchanged to the grading function; it should grade 100% correct. This takes ten minutes and catches grader bugsC V
LogoMesh (2nd place)For a new task, uses an LLM to generate a scoring rubric for that task on the spotFor tasks code can't grade (such as open-ended descriptions), have a model generate a rubric, but with human spot checksV
AgentSWE (1st place)Turns SWE-bench Verified into a green agent; besides right or wrong, it tracks the total tokens used by the tested agentAdd a column to the report card: "tokens / cost per task"C
OfficeQA (tied 2nd)
Dataset (request required)
End-to-end Q&A based on US Treasury BulletinsChange table numbers and recompute answers (Zhijian's idea, chapter 3)V
Build What I Mean (3rd place)Build blocks from vague spoken instructions; tests whether an agent can clarify the other side's intent through communicationRecolor and mirror block scenes to make variants (the template repo has a playable version)V

Papers and public benchmarks

ProjectWhat it did (verified)Specific practices we can borrowTrack
SWE-smith (2025)Four ways to create bugs: ① have a model rewrite a function to introduce a bug; ② mechanical syntax-tree changes (negate conditions, delete loops, swap operators); ③ combine two verified bugs, in the same file or across files; ④ revert real fix PRs. Each bug must have at least one test that "fails before, passes after". The issue is written by a model from the diff and the failing tests. Produced 50K+ tasks in total① Our mutator is method ②; method ③ "combine two bugs" is a ready-made difficulty knob; ② when writing issues, give the model the failing test source (the bug we fixed in practice was exactly this)C
BugPilot (2025)Criticizes SWE-smith: artificially injected bugs don't look like real bugs. Instead, it has an agent add a new feature that "incidentally" breaks tests. Claude Sonnet 4 scores 25% lower on these bugs than on SWE-smith bugsFor hard tasks, have a model add a feature and introduce a bug along the way; harder and more realistic than single-point mutationC
EvalPlus (2023)
Paper
First has a model write a batch of tricky test inputs per task as seeds, then applies type-aware mutation to the seeds (integer ±1, boolean flips, reusing fragments from seeds), filtering invalid inputs with assertions. HumanEval's average tests per task grew from 9.6 to 764, and many answers previously graded correct were actually wrongAuto-add tests when tests are too loose: seeds + mutation + validity filtering, usable as the fix step of the "catches mutations" gateC
SWE-bench VerifiedHuman review of every task, removing tasks with unclear requirements or unfair tests, leaving 500One-line pitch: we automated that human reviewC
LiveCodeBenchKeeps collecting new tasks, split by release dateArgument for leak preventionC
Terminal-Bench 2.089 terminal tasks: instruction + test script + reference solutionCopy the task format directlyC
Vision Language Models Are Blind (2024)BlindTest: 7 simple visual tasks people get at a glance, such as how many times two polylines intersect, whether two circles overlap, and counting interlocking circles like the Olympic rings. 4 top models average only 56–59%. They count correctly when objects are separate and far apart, but fail once objects touch or intersect① Proves "simple synthetic images can expose real weaknesses"; ② pick "how close objects are, and whether they intersect" as the difficulty knob, consistent with our practice results on counting dense small objectsV
MMStar (2024)Filtered 1500 tasks from 22K, each meeting three conditions: requires the image, minimal leakage, truly needs multimodal ability. Found that GeminiPro scores 42.9% on MMMU even without the image. Proposed two metrics: multimodal gain (how much seeing the image improves over not seeing it) and multimodal leakage① Run "requires the image" statistics per task category (chapter 17); ② report "accuracy with image − accuracy without image" on the report card; this is the multimodal gainV
Eyes Wide Shut / MMVP (2024)Found image pairs CLIP cannot tell apart; multimodal models do poorly on these pairsPaired variants: a task counts as right only if both the original and the variant are right (in practice Sonnet got 95% on single tasks but only 91% on pairs)V
CLEVR (2017)A program renders 3D scenes and writes the questions; answers are computed from the scene specThe ancestor of "compute answers from the scene spec"; cite it when explaining the methodV
AdaMAST (open source, Apache-2.0)
Paper
Automatically summarizes a failure type list from run logs, attaches verbatim quotes as evidence to each type, and only adopts a type when several independent annotations agreeError classification: use code where code can judge; where it can't, have two models classify separately and keep what both agree on (chapter 17)C V

Where the ready-made datasets are

Links checked one by one on 2026-11-13. Event output belongs to Innodata, so watch the data licenses: MIT, Apache and CC BY-SA are safe to use; for anything marked "non-commercial", ask the organizers before using it.

DataContentLicense / accessTrack
Terminal-Bench 2.089 terminal tasks: instruction + tests + reference solutionApache-2.0; already downloaded on Christina's computer (hackathon-seeds)C
Build What I Mean64 block tasks (CSV)MIT; already downloadedV
OfficeQANumeric Q&A on US Treasury BulletinsCC BY-SA 4.0; log into Hugging Face and accept the terms, approved automaticallyV
ScreenSpotUI screenshots of real software and web pages. Replaces OSWorld: OSWorld has no ready-made screenshots; you need to run a virtual machine to get themDirect downloadV
ChartQAReal charts + Q&AGPL-3.0V
CharXivPaper charts + Q&ACC BY-SA 4.0V
VLMs Are BlindSimple synthetic images such as counting intersections and circlesMITV
CV-BenchCounting, spatial relations, depthApache-2.0V
MMVPImage pairs models cannot tell apartMITV
MMStarQuestions that require the imageNo license stated on the pageV
CRMArena-ProThe CRM data that Entropic modifiedCC BY-NC 4.0 (non-commercial)C V
SWE-bench Verified500 human-reviewed bug-fix tasksDirect downloadC
SWE-smith50K+ synthetic bug tasksDirect downloadC
HumanEval+HumanEval with stronger testsDirect downloadC

What their interfaces look like

Running NetHeal's web page yourself (runs in Docker so it doesn't clutter your computer; open Docker Desktop first):

git clone https://github.com/cisco-ai-platform/netheal-ai-agent-benchmark.git
cd netheal-ai-agent-benchmark
docker run --rm -p 8000:8000 -v "$PWD":/app -w /app python:3.12-slim sh -c "pip install -q -r requirements.txt && uvicorn webapp.backend.app.main:app --host 0.0.0.0 --port 8000"
# then open http://localhost:8000 in a browser

The five things most worth doing

  1. Gold answer mode (MetaJudgeX): feed your own computed answers to the grader; it must score 100%. Done in ten minutes.
  2. Leveled difficulty knob (Entropic, BlindTest, SWE-smith bug combining): at least one knob, and turning it up must really make scores drop.
  3. Classify gates into three types (AgentHard): wrong standard answer / ambiguous task / grading problem.
  4. Report multimodal gain (MMStar, Visual track): accuracy with the image minus accuracy without it.
  5. Bonus: adaptive generation (Cyber Security Evaluator, NAAMSE): Thompson Sampling allocates generation slots.

19. Reference links Shared

Every project mentioned in the guide, each opened and checked on 2026-11-13. Cyber Security Evaluator's GitHub repo has been deleted; only the AgentBeats page remains.

Competitions

AgentBeats projects

Coding

Visual

Error analysis