Run the eval lab on Node 26
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 57/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- node.js, typescript
- Lĩnh vực
- build-system, devtools
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 11
- Fork
- 0
- Merge trung bình
- 10 phút
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DojoCodingLabs/hermit
-
docs good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
DojoCodingLabs/hermit#73 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
device-lab
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
DojoCodingLabs/hermit#45 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
device-lab
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
DojoCodingLabs/hermit#44 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
device-lab
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DojoCodingLabs/hermit#43 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-friendly docs good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
DojoCodingLabs/hermit#39 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của DojoCodingLabs/hermit
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
superlinked/sie#1033 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
remix-run/react-router#15838 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/ci bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
melgarafael/DeskcommCRM#5290 ·
Maintainer thường phản hồi trong vòng 1 ngày