Giter Club home page Giter Club logo

dolphinsr's People

Contributors

yodaiken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dolphinsr's Issues

Cause logic error by repeatedly applying "hard".

I'm adapting this for a tiny project of mine, and as far as I see, a logic error can consistently be caused by generating a few cards, and then only picking "hard" as an answer.

This seems to happen in applyToLearningCardState, with an end state of rating = "hard" and prev.consecutiveCorrect = 1.

When to use 'easy', 'good', 'hard', or 'again'?

Hi there,
I'm playing with your implementation of spaced repetition and confused slightly on when to use 'easy', 'good', 'hard', or 'again' for the rating of a review.

'again' seems obvious for when the review is incorrect.
But if it's correct... how do I decide between 'easy', 'good', or 'hard'?

Forgive me if this is obvious to those who have poked more at Anki or SM2 or some such versions of this stuff :D

Thanks!

Where to store consecutiveCorrector, factor, mode, and lapses?

I am having trouble getting this up and running with my collection of cards. In the instructions, it sounds like a review only needs to store:

{
  master: Id,
  combination: Combination,
  ts: Date,
  rating: Rating,
}

however, we need to procure consecutiveCorrector, factor, mode and lapses from previous reviews somehow. Don't we need to store these fields in the review (in our datastore) each time a review is created (or at minimum in a card's initial review) so that the scheduler can correctly process and space cards for future reviews?

In the dist code, I traced card state variables back to the root and it appears they all originate from a loaded review. Taking a look at the ComputeCardSchedule.test.js however, these fields are static and only defined in some card states:

    const learning: LearningCardState = {
      master,
      combination: { front: [1, 0], back: [0] },
      mode: 'learning',
      consecutiveCorrect: 0,
      lastReviewed: dates.today,
    };
    const lapsed: LapsedCardState = {
      master,
      combination: { front: [1, 0], back: [0, 1] },
      mode: 'lapsed',
      consecutiveCorrect: 0,
      lastReviewed: dates.today,
      factor: 1000,
      interval: 0,
      lapses: 1,
    };

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.