Run the eval lab on Node 26
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 57/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- node.js, typescript
- Ambito
- build-system, devtools
Direzione di ricerca
Start with the four named constructors in packages/model/src/reply-cut.ts, packages/core/src/memory.ts, packages/core/src/repair.ts, and packages/core/src/wallet-history.ts, then search for other parameter properties. Update the commands in packages/eval/package.json, docs/evals.md, README.md, CONTRIBUTING.md, and AGENTS.md. Follow docs/evals.md to compare core 40 scores before and after with the same model file and profile; done means the scores match and no --experimental-transform-types remains.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Why
Node 26 removed --experimental-transform-types, and every eval lab command uses it (docs/evals.md and the scripts in packages/eval/package.json). So the lab needs Node 24 today, and README.md says so. Plain type stripping works on Node 24 and on Node 26, except for TypeScript parameter properties, which it refuses.
What to do
- Replace the parameter properties with plain fields set in the constructor, keeping each field's name, visibility and
readonly:packages/model/src/reply-cut.ts, the constructor at line 142;packages/core/src/memory.ts, line 11;packages/core/src/repair.ts, line 7;packages/core/src/wallet-history.ts, line 204.
Search for any others: constructors whose parameters start withprivate,public,protectedorreadonly.
- In
packages/eval/package.json, docs/evals.md and README.md, run the scripts withnode --no-warnings, without--experimental-transform-types. - Run the core 40 before and after, as docs/evals.md says, with the same model file and profile. Behavior doesn't change, so the scores must match.
- Then drop "Node 26 can't run the eval lab yet" from README.md, CONTRIBUTING.md and AGENTS.md.
Done when
node --no-warnings src/mac-eval.ts botpsy-q4-native-think256runs frompackages/evalon Node 24 and on Node 26.- The core 40 scores the same before and after. The pull request gives the model's SHA-256 and the profile id.
- No
--experimental-transform-typesis left in the repository.
How to check
pnpm typecheck && pnpm test
cd packages/eval && node --no-warnings src/mac-eval.ts botpsy-q4-native-think256
Keep in mind
packages/modelis on the model path, so the pull request shows numbers from before and after, even though nothing should change (AGENTS.md).- Corepack is a separate matter: Node 25 and later don't ship it. Leave the
enginesrange in the rootpackage.jsonalone unless the docs also say how to install Corepack.
- Lingua principale
- TypeScript
- Stelle
- 11
- Fork
- 0
- Merge medio
- 10m
- PR unite (30g)
- 6
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DojoCodingLabs/hermit
-
docs good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 87/100
DojoCodingLabs/hermit#73 ·
I maintainer di solito rispondono entro 1 giorno
-
device-lab
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
DojoCodingLabs/hermit#45 ·
I maintainer di solito rispondono entro 1 giorno
-
device-lab
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
DojoCodingLabs/hermit#44 ·
I maintainer di solito rispondono entro 1 giorno
-
device-lab
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DojoCodingLabs/hermit#43 ·
I maintainer di solito rispondono entro 1 giorno
-
agent-friendly docs good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
DojoCodingLabs/hermit#39 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di DojoCodingLabs/hermit
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
superlinked/sie#1033 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
remix-run/react-router#15838 ·
I maintainer di solito rispondono entro 1 giorno
-
area/ci bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
melgarafael/DeskcommCRM#5290 ·
I maintainer di solito rispondono entro 1 giorno