Run the eval lab on Node 26

オープン
#25 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
57/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
node.js, typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

help wanted model-path

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

  1. 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 with private, public, protected or readonly.
  2. In packages/eval/package.json, docs/evals.md and README.md, run the scripts with node --no-warnings, without --experimental-transform-types.
  3. 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.
  4. 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-think256 runs from packages/eval on 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-types is 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/model is 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 engines range in the root package.json alone unless the docs also say how to install Corepack.
主要言語
TypeScript
スター
11
フォーク
0
平均マージ
10分
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DojoCodingLabs/hermit のほかの issue

DojoCodingLabs/hermit の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。