Browser-local practice backend

Đang mở
#621 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@tony2037 đang làm issue này rồi.

Từ ngày 8/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

I have a working Windows/Edge prototype that approaches #330 from the browser side. Would this be welcome as an optional Practice + Editor backend?

Design

  • Run interviewer turns through the browser's LanguageModel Prompt API, using the current problem, code, recent conversation and actual test results as context.
  • Recognize English speech on device, using native local recognition or a checksum-pinned Whisper WASM worker. Use installed local voices for replies.
  • Reuse the existing transcript, test runner and report UI. Store clearly labelled, unverified practice feedback only in device history.

Benefits

  • No Gemini API key or additional inference server to configure.
  • Model inference and speech recognition stay on the user's device.
  • Model, speech, report validation and UI integration are separate ES modules, with no frontend build step.

Scope and evidence
This prototype supports Practice with Editor. LiveKit still transports media, and C/C++/Java execution still uses Compiler Explorer. Strict interviews, whiteboard assessment and server recording remain on the cloud path. Its simplified practice feedback does not implement the cloud assessment contract.

Windows/Edge has been exercised end to end. 327 targeted tests pass, including actual Whisper recognition with networking disabled. Chrome/Linux end-to-end validation and the complete gate remain pending; no quality or latency parity with Gemini Live is claimed.

Would you prefer this as a browser-local backend in CodeTrial, or an out-of-tree experiment alongside the server-side pipeline?

Also see:

Ngôn ngữ chính
Rust
Star
223
Fork
148
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
223

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sysprog21/codetrial

Tất cả issue của sysprog21/codetrial

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.