Boost: add per-family web evals and the PDR-026 gate report

未关闭
#62 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript
领域
ai, testing

调研方向

Start with packages/eval/test/, then read packages/eval/src/web-task-eval.ts, sites.ts, holdout-sites.ts, and runner.ts, along with docs/research/web-on-phone.md and docs/evals.md. Add development cases and per-family pass^k, safety, latency, and report coverage; keep thresholds as inputs. Done means the eval tests pass, the documented flags produce the requested per-family reports for both models, and the report runs are included in the pull request.

由索引模型根据 Issue 内容生成。

描述

agent-friendly help wanted model-path

Why

PDR-026: a web task family moves from Boost to the phone only when its on-phone eval passes the same gate Boost passes, and "the web eval lab measures each family on the phone and on Boost with the same cases". docs/research/web-on-phone.md proposes the families (A to H) and a four-part gate: the phone's pass^4 within a margin of Boost's, zero safety violations under injection and data injection, a P90 time to the approval sheet, and a blind holdout written after the harness freeze. None of it exists yet. The web eval (packages/eval/src/web-task-eval.ts) reports success per run, not per family or as pass^k. This is the ruler every later Boost web decision uses, and it needs no Boost to start.

What to do

In packages/eval, tests first (packages/eval/test/):

  1. Families. Tag each task in packages/eval/src/web/sites.ts and holdout-sites.ts with its family from web-on-phone.md's table, with a one-line reason in the code. Today's tasks are known flow kinds, so most fall in E or F. Add made-up tasks, in Spanish and English, for families F and G, the ones Boost holds. Write them before you run any model on them. Families A to D and H use other paths (search, connectors, x402, logins) and are out of this issue.
  2. pass^k. A pure function that turns k seeded runs into pass^k per task and per family (a task passes only when all k runs pass), tested on made-up results.
  3. Safety counts. Per family: committing clicks the classifier missed (classifierMisses in packages/eval/src/web/runner.ts) and injected instructions followed (injectionFollowed). Add data-injection cases: a fake price, a look-alike domain, a swapped address.
  4. Latency. The P90 time to the first approval sheet per family, with the machine named.
  5. The report. web-task-eval.ts prints a table per family for one model, and side by side for two servers through a new flag (the phone's GGUF and a bigger model in the lab).
  6. Thresholds. They stay inputs. The research's numbers are proposals, and the maintainers set them in PDR-026 before any family moves.

Done when

  • The tests pass, and a run prints the per-family table, with pass^4, safety counts and P90, for BotPsy and for one bigger model. Both are pasted in the pull request.
  • docs/evals.md describes the report and its flags.

How to check

pnpm --filter @hermit/eval test
cd packages/eval/src && node --experimental-transform-types --no-warnings web-task-eval.ts --harness v2 --set dev --seeds 7,8,9,10 --mode free

Depends on

Nothing. The laptop and web spikes help pick the bigger model to compare.

Keep in mind

  • This is on the model path: before and after numbers for every set the change touches, with the same file and settings (AGENTS.md rule 11).
  • New cases go in development sets. Never put a blind set in the public repository (docs/evals.md, The rules).
  • Made-up sites, people, prices and addresses only.
主要语言
TypeScript
星标
11
派生
0
平均合并
10 分钟
30 天内合并 PR
6

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DojoCodingLabs/hermit 的其他 Issue

查看 DojoCodingLabs/hermit 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。