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

Aperta
#62 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
ai, testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
TypeScript
Stelle
11
Fork
0
Merge medio
10m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DojoCodingLabs/hermit

Tutte le issue di DojoCodingLabs/hermit

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.