Skip to content

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

Description

@ISibboI
  • 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions