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

Ouverte
#62 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
Clairement spécifiée
Activité
Active
Stack technique
typescript
Domaine
ai, testing

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
TypeScript
Étoiles
11
Forks
0
Merge moyen
10 min
PR mergées (30 j)
6

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de DojoCodingLabs/hermit

Toutes les issues de DojoCodingLabs/hermit

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.