Skip to content
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

Implement Anki's learning algorithm as separate library crate #1

Open
7 of 9 tasks
ISibboI opened this issue Nov 29, 2021 · 2 comments
Open
7 of 9 tasks

Implement Anki's learning algorithm as separate library crate #1

ISibboI opened this issue Nov 29, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@ISibboI
Copy link
Owner

ISibboI commented Nov 29, 2021

  • Check if this already exists in Rust
  • Check if Anki's license is compatible
  • Make a separate crate
  • Implement the algorithm with an interface like the following
    • There is a struct that represents the complete learning state of a word
    • There is a struct that represents the settings of Anki
    • There are a few methods on the struct for asking if it is ready to be repeated, was repeated correctly, wrongly, seen as easy, ... (and other features of Anki if exist). These methods take the settings struct as a parameter and update the learning state accordingly.
  • Document the crate well
  • Write tests as seen fit, this does not seem to be the most testable thing
@ISibboI ISibboI added the enhancement New feature or request label Nov 29, 2021
@ISibboI
Copy link
Owner Author

ISibboI commented Jul 18, 2023

@ISibboI
Copy link
Owner Author

ISibboI commented Dec 10, 2023

Currently still misses the methods for asking when the next repetition should be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant