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

Đang mở
#62 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
ai, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
11
Fork
0
Merge trung bình
10 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DojoCodingLabs/hermit

Tất cả issue của DojoCodingLabs/hermit

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.