-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/reschedule #72
Feat/reschedule #72
Conversation
Coverage report
Test suite run success72 tests passing in 10 suites.Report generated by 🧪jest coverage report action from 112de0d |
应该没问题,不过 fuzz 的实现我的 helper add-on 改了,和 Anki 原生实现统一了。具体参考这里: |
我根据参考修改了 apply_fuzz(ivl: number, elapsed_days: number, enable_fuzz?: boolean): int;
next_interval(s: number, elapsed_days: number, enable_fuzz: boolean):int; 虽然算法方法有所改动,但对于用ts-fsrs创建项目的开发者来说这是无感的。 然后是ts-fsrs目前没有 |
这个 feature 比较复杂。我建议等 Anki 内置了再做[doge] |
目前暂时不考虑 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
增加重排功能,根据
Card
当前的stability
、last_review
和期望的request_retentions
来进行重排。f. reschedule
方法:options.dateHandler
来解决日期类型转换问题State.New
、State.Learning
、State.Relearning
数据enable_fuzz
来进行重排,允许用户传入options.enable_fuzz=false
来关闭抖动@L-M-Sherlock 叶大,麻烦看看这样设计有没有问题?
目前期望该方法能够在变更
enable_fuzz
后对没开启前的卡片进行重排产生一定的随机延迟间隔。