2.0.4 • Published 9 months ago

fsrs-browser v2.0.4

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
9 months ago

NPM Version

fsrs-browser

This project runs fsrs-rs in the browser with support for training FSRS parameters.

Versioning

fsrs-browser's major and minor version numbers will match the version of fsrs-rs used. The patch version number is reserved for fsrs-browser's use and may drift out of sync with fsrs-rs.

Building and demoing

Run ./dev.sh for fast builds or ./prod.sh for fast runs.

Run the /sandbox project to demo various behavior.

I highly encourage ./prod.sh if you intend to run training. On my machine training 24,394 revlogs on ./dev takes days, while ./prod.sh takes 3.5 seconds.

Updating the git submodules

This section is only relevant to devs who are updating the fsrs-browser branch of fsrs-rs or open-spaced-repetition/burn.

fsrs-browser git submodules the aforementioned for reasons given here. Changes to these submodules should be written in a style to reduce merge conflicts. For example:

  • Comment code or tests out using /* ... */ instead of deleting it.
  • Don't fix most warnings, no matter how sad clippy sounds.

Auto-mergeable code is much, much better than "clean code". This is not the place or time for "good code".

You should also ignore CI/CD in these submodules. fsrs-browser uses wasm-bindgen-rayon, which in turn uses target-feature=+atomics,+bulk-memory,+mutable-globals, which require nightly. Expecting CI/CD for the submodules to work with nightly is unreasonable, and fixing them only invites more opportunity for merge conflicts. The only CI/CD that matters is fsrs-browser's.

2.0.4

9 months ago

2.0.3

9 months ago

2.0.1

10 months ago

2.0.0

10 months ago

1.4.9

10 months ago

1.4.8

10 months ago

1.4.6

11 months ago

1.4.7

11 months ago

1.4.5

11 months ago

1.4.4

11 months ago

1.4.3

1 year ago

1.4.0

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

1.1.2

1 year ago

0.6.3

1 year ago

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago