Spaced repetition examples?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Spaced repetition examples?
Has anyone done any work with Spaced repetition in LiveCode.
I'm building a little Android Latin-German-English tester for one of my boys at the moment and I am at the stage where I need to implement weighted questioning.
Any help much appreciated.
I'm building a little Android Latin-German-English tester for one of my boys at the moment and I am at the stage where I need to implement weighted questioning.
Any help much appreciated.
Andy .... LC CLASSIC ROCKS!
Re: Spaced repetition examples?
Hi.
Is it that you need to set a timer that increases in value as each question is asked? And that subsequent questions are presented after those intervals/
Or after answers are submitted? Or after only correct answers?
All seems straightforward for LC, but not sure exactly what is needed.
Craig Newman
Is it that you need to set a timer that increases in value as each question is asked? And that subsequent questions are presented after those intervals/
Or after answers are submitted? Or after only correct answers?
All seems straightforward for LC, but not sure exactly what is needed.
Craig Newman
Re: Spaced repetition examples?
OK, Ive been doing some research on this and have found the key spaced rep code as used in Anki, an open source flashcard app.
https://github.com/nicolas-raoul/Anki-Android
So now just need to convert this Java ... ouch >
to LiveCode 
https://github.com/nicolas-raoul/Anki-Android
So now just need to convert this Java ... ouch >
Code: Select all
public static void calcuateInterval(Card card) {
if (card.getEFactor() < 3) {
card.setCount(1);
}
int count = card.getCount();
int interval = 1;
if (count == 2) {
interval = 6;
} else if (count > 2) {
interval = Math.round(card.getInterval() * card.getEFactor());
}
card.setInterval(interval);
}

Andy .... LC CLASSIC ROCKS!
Re: Spaced repetition examples?
Weel, you will likely find someone to translate the Java to LC.
Or we can try to examine what your requirements are, and do it all here.
Craig
Or we can try to examine what your requirements are, and do it all here.
Craig
Re: Spaced repetition examples?
Yes, that is for me the best way which allows to define what you need and make development and update easier. When we cook, we learn other ways to do the same things and we are able to generalise scripts.Or we can try to examine what your requirements are, and do it all here.
You can use pseudocode, something like that:
define the time limit for one question
answer a question (with a time limit or not) (with checking the answer immediately or at the end of all questions).
Best regards
Jean-Marc
https://alternatic.ch
Re: Spaced repetition examples?
What Jean-Marc said about what I said.
Let's do it in LC.
So what are your requirements?
Craig
Let's do it in LC.
So what are your requirements?
Craig