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

Offen
#62 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
ai, testing

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
TypeScript
Sterne
11
Forks
0
Ø Merge
10 Min.
Gemergte PRs (30 T.)
6

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus DojoCodingLabs/hermit

Alle Issues in DojoCodingLabs/hermit

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.