Repository navigation
FSRS: hybrid Unit-mode timing with Bespoke language policy - #3
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mục tiêu
Tích hợp FSRS vào FlashDay theo ranh giới rõ ràng, không thay toàn bộ Bespoke.
Kiến trúc
ts-fsrs5.4.2) sở hữuWHEN: due date, stability, difficulty, retrievability và next interval.WHAT/HOW/WHICH CARD: Unit, Listen/Speak/Read/Write, CardIndex, introduction preference, multi-unit card và card/context ranking.Unit × Mode(unitId::listen|speak|read|write), không theo sentence card.fsrsProgressvàbespokeProgressđều là cache có thể rebuild.Implementation
fsrs-scheduler.mjsdùng trực tiếp upstreamts-fsrs; không reimplement công thức FSRSts-fsrschính xác ở5.4.2/ FSRS v6Again/Hard/Goodmap từ score1/2/3; score0không được biến thành FSRS review; mapping4 -> Easyđã chuẩn bị nhưng UI hiện chưa expose EasyUnit × Modeđã đến hạn; Bespoke không còn được phép kéo một memory FSRS chưa đến hạn lên sớmenable_fuzz:falseđể replay append-only review history cho due date deterministicbespokeProgress.ratings, dùng chính rating history đó để seed FSRS thay vì reset toàn bộ trí nhớTHIRD_PARTY_NOTICES.mdVerification
npm run verify(syntax + all regression tests + Vite production build) đang pass trên head branchRating UX hiện tại
UI FlashDay hiện chủ yếu là binary self-rating
Again / Goodthông qua Sai / Nhớ. Hybrid engine hỗ trợ Hard ở data contract và Easy mapping, nhưng PR này không giả vờ rằng UI đã có đủ 4 nút FSRS.Base
PR này cố ý target
flashday-p0-finalizevì P0 PR #2 vẫn chưa merge vàomain. Sau khi P0 được merge, PR này có thể retarget sangmainmà không kéo lẫn thay đổi correctness nền.