Review a Rocketbox-derived interviewer and add selection among supported VRMs
Maintainer thường phản hồi trong vòng 1 ngày
@jiawei110 đang làm issue này rồi.
Từ ngày 25/11/2026.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, rust, web-dev
- Lĩnh vực
- backend, frontend, full-stack
Hướng nghiên cứu
Start with web/avatar/model.js:21-29 and docs/avatar-contract.md:43-78, then review PRs #13 and #299 for the current loader, integrity checks, and Hide/Show behavior. The proposal asks maintainers to decide whether the Rocketbox-derived model and its license metadata meet project standards before implementing selection. If accepted, completion includes a closed model registry, a selector that defaults to Jim, consistent interview and recording behavior, fallback handling, documentation, and the proposed regression and validation evidence.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Proposal
CodeTrial currently supports one SHA-256-pinned VRM interviewer, Jim. I would like to let candidates choose from a small list of VRM avatars that CodeTrial has reviewed and explicitly supports, while keeping Jim as the default.
The first additional entry would be an adult, professional, neutral, upper-body version of Jim derived from Microsoft Rocketbox Business_Male_04. This proposal does not add arbitrary VRM uploads, local-file loading, or user-supplied URLs. Each selectable entry would reference a final, preprocessed VRM artifact that CodeTrial has reviewed and allowlisted. At runtime, CodeTrial would only fetch the artifact from a version-pinned URL, verify its SHA-256, and load it using the existing avatar pipeline. Model conversion and artistic modifications would be completed offline before the artifact is added to the supported-model list.
Before implementing the selector, I would like the maintainers to review whether this model and its proposed license metadata meet CodeTrial's standards.
Current behavior
web/avatar/model.js:21-29 defines one fixed model URL and SHA-256. Both the interview and recording paths use this loader. docs/avatar-contract.md:43-78 requires a replacement model to document its source, license, attribution, redistribution terms, geometry, materials, textures, and compression.
PR #13 established commit-pinned fetching and integrity verification for the current model. PR #299 added Hide/Show for that model, but not model selection. I found no open or closed issue or pull request proposing selection among a closed set of CodeTrial-supported VRMs.
Source and license evidence
The candidate is derived from Business_Male_04_facial.fbx in the official Microsoft Rocketbox repository at commit 0943055db6ec570bcef9f2c8b41c9e5467c808f9.
At that pinned revision, the repository README states that the avatar library is released under the MIT License. The pinned LICENSE contains the MIT terms and Copyright (c) 2020 Microsoft.
The conversion uses these files from that exact revision:
| Source input | SHA-256 |
|---|---|
Business_Male_04_facial.fbx |
af940f866c1bc087c816999fd68941b9b370ed36084bf54b80a0ff3985c47e70 |
m015_body_color.tga |
cb5e2a26dbd67f2ebe4cae00c204d5740f17c3eeec3dd1376568df9f26f49ba6 |
m015_body_normal.tga |
00772b8335ca947db9ef0aaeb839ff3289cfc6b3b4667d7205f964df59069fc3 |
m015_body_specular.tga |
83b2adb6a57f4b90e48615e6778bf5fb0e620d2954b8c3c088c264acb7fdbc0a |
m015_head_color.tga |
45c56d522276b146a824d76aaa7167d96f8b6a2849e0682246f4b161464e6e9c |
m015_head_normal.tga |
2d66095b9e84b49f57b4171b7e0450510d6a299dffeedcb6dc4a466e43196e2b |
m015_head_specular.tga |
f35bd168df11dce1efc8df4aa81829707c175dcf19437ad9f42a5028db071368 |
A pull request would preserve the complete Microsoft copyright and MIT permission notice in web/vendor/avatar/LICENSE-jim-vrm.txt, pin the source revision, and record the offline conversion separately from the upstream authorship.
Modifications and generated asset
I converted the Rocketbox character to VRM 1.0 and made the following changes offline:
- Removed lower-body render geometry while retaining the complete humanoid skeleton.
- Kept the existing professional shirt and vest; this source model required no accessory removal or clothing redesign.
- Reduced the asset to two materials and two 1024 x 1024 embedded textures.
- Removed unused expressions and rebuilt
aaso the jaw, mouth corners, cheeks, lips, and tongue move together. - Adjusted the eye, skin, and clothing material response for CodeTrial's fixed lighting.
The resulting asset has the following measured properties:
| Property | Result |
|---|---|
| Format | VRM 1.0 |
| Size | 3,164,144 bytes |
| SHA-256 | b1bc3920078215ae0bc5ce4865b18ddbe60189edfcbfd2c4374c5159f5e01c5c |
| Triangles | 6,147 |
| Materials | 2 |
| Embedded images | Two PNG images, each 1024 x 1024 |
| Compression extensions | None |
| Other glTF extensions | KHR_materials_specular, VRMC_vrm |
| VRM expression used by CodeTrial | aa -> AA_VI_10_aa, weight 1.0 |
The asset is below the enforced 15 MB limit and uses no Draco, KTX2, or meshopt compression.
Metadata that still needs a maintainer decision
The proposed VRM metadata identifies Microsoft Rocketbox as the source author and jiawei110 (VRM conversion) as the converter, preserves Copyright (c) 2020 Microsoft, and references the pinned source directory and pinned MIT license. It permits use by everyone, corporate commercial use, redistribution, and redistribution of modifications, while requiring credit. The content-usage permission flags remain allowed because the source MIT license adds no such restrictions.
The focused question is: would CodeTrial accept this male Rocketbox-derived VRM as a second representation of Jim with that attribution and permission metadata, the complete MIT notice in the model license record, and a CodeTrial-approved immutable hosting URL?
Supported-model selection
If the model and license plan are acceptable, I propose implementing the choice as a closed registry rather than as an upload feature:
- The pre-interview page offers Jim and the new reviewed model, with Jim selected by default.
- Each entry binds a stable ID, display label, immutable URL, SHA-256, size limit, and license record; callers cannot mix one entry's URL with another entry's hash.
- Only the selected model is downloaded, and Hide/Show restores that same selection.
- A fetch, integrity, parse, WebGL, or timeout failure keeps the current voice-only fallback.
- There is no file picker, arbitrary URL field, or mechanism for adding an unreviewed model at runtime.
Compatibility evidence and proposed validation
I tested the candidate outside the repository with CodeTrial's real avatar loader, renderer, fixed camera and lighting, expression binding, blink and gaze updates, and production-style audio analyser. Both Jim and the candidate passed SHA-256 verification and rendered as VRM 1.0. The candidate's aa weight moved from 0 to 1 and back to 0 without an exception.
The pull request would add regression coverage for default selection, both supported entries, URL/hash coupling, selection persistence through Hide/Show, recording consistency, and failure fallback. It would also include a reproducible metadata report, side-by-side screenshots, lip-sync checks at 0, 0.5, and 1.0, and cold-load and steady-frame measurements for both models.
If the license, metadata, and hosting direction is accepted, I am willing to implement the registry, selector, second supported model descriptor, documentation, tests, and validation evidence as one bounded pull request.
- Ngôn ngữ chính
- Rust
- Star
- 236
- Fork
- 153
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 187
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 sysprog21/codetrial
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Unify Java harness validation error messagesCó thể đã có người làm @weichieh0204 đã nhận hôm nay. Đang mở
sysprog21/codetrial#872 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Inferred void class operations are never checked against the starter's return typeCó thể đã có người làm @papaya0112 đã nhận hôm nay. Đang mở
sysprog21/codetrial#871 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Edge Thumbnail Store accepts a store that does not refresh a key on overwriteCó thể đã có người làm @BOBOGUAGUA428 đã nhận hôm nay. Đang mở
sysprog21/codetrial#869 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của sysprog21/codetrial
Issue tương tự
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
manaflow-ai/cmux#59692 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Retire stale Python-parity labels in Rust ingress and auth testsCó thể đã có người làm @github-actions đã nhận hôm nay. Đang mởfactory factory:building factory:unowned ralph-status:in-progress via:opencode-free/hy4-flash-free
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
JoshCLWren/comic-pile#5874 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status:ready unit
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
nonagenticai/conveyor#787 ·
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 79/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 78/100
Maintainer thường phản hồi trong vòng 1 ngày