import {Card, createEmptyCard, generatorParameters, FSRSParameters} from "ts-fsrs"; let card: Card = createEmptyCard(); const params: FSRSParameters = generatorParameters({maximum_interval: 1000}); 3.使用FSRS进行调度 核心功能位于fsrs函数中。当调用repeat该函数时,它会根据不同的用户评级返回一个卡...
ts-fsrs[1]已实现卡片调度(含抖动)和回滚/重置操作,为了存储相关数据,你至少需要完成以下表设计: TS-FSRS的数据库表设计 利用ts-fsrs实现的程序的表名和字段不一定需要跟上图一致,但推荐字段保持一致(Note表除外)。 其中: Parameters:FSRS核心参数,当为多用户需要设计该表,单用户使用推荐使用env Note:笔记内容...
Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {{ message }} open-spaced-repetition / ts-fsrs Public Notifications You must be signed in to change notification settings ...
ts-fsrs 众人拾柴火焰高,这下就不用费力维护 fsrs-js 了,仅需维护太微这边的卡片体验了。 👍1 Activity oflg commentedon Jul 31, 2024 oflg Assignees No one assigned Labels No labels No labels Type No type Projects No projects Milestone
TS-FSRS工作流 ts-fsrs 是一个基于TypeScript开发的ES modules包(ts-fsrs@3.2.3已支持commonjs环境),用于实现自由间隔重复调度器(FSRS)算法的工具。它可以帮助开发者将FSRS应用到他们的记忆卡应用中,从而提升用户的学习体验。[2] 利用ts-fsrs,开发者不必过多关注内部卡片状态改变原理,只需要根据用户选择的评分系数...
介绍为了能够抵消遗忘曲线的影响,在有了FSRS算法以后,还需要一个能根据FSRS调度的时间来展示笔记数据,并能够可视化的进行下一次调度。 ts-fsrs-demo是一个简单的demo,最初的初衷是为了学习プログラミンク…
I cannot remove set seed because it is used in abstract_scheduler.ts : ts-fsrs/src/fsrs/abstract_schduler.ts Lines 83 to 88 in eee4f0c private initSeed() { const time = this.review_time.getTime() const reps = this.current.reps const mul = this.current.difficulty * this....
First of all huge thanks for making this. I want to ramble about how grateful I am for this library but I’ll just go straight to asking the questions. I saw the ts-fsrs-demo but I have a really hard time reading code (actually just readi...
ts-fsrs在3.4.0版本提供了高扩展性的回调函数afterHandler,通过这个函数可以扩展和改变ts-fsrs的repeat/forget/rollback/createEmptyCard的返回结果。 在ts-fsrs的测试文件(handler.test.ts)中,开发者们可知如何运用该扩展: ts-fsrs afterHandler的example
ts-fsrs is a versatile package based on TypeScript that supports ES modules, CommonJS, and UMD. - npm_and_yarn in for cross-spawn - Update #922948329 · open-spaced-repetition/ts-fsrs@a24ac0a