From a6ba5c83f3b9f07411c5e281488ced3b354d2b53 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 17 Apr 2007 11:22:57 -0700 Subject: [PATCH 1/1] Eliminate the correct response bonus As questions get missed repeatedly, they get asked more frequently, to the point where it is likely to get asked consecutively. At this point, there really isn't any learning going on, so it's better to give it a single increment in the count, (leaving it negative), instead of moving it all the way to +1. --- mnemon.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/mnemon.c b/mnemon.c index 1eebd20..e13d3b9 100644 --- a/mnemon.c +++ b/mnemon.c @@ -650,17 +650,13 @@ mnemon_do_challenges (mnemon_t *mnemon) if (correct) { printf ("Correct!\n\n"); - if (item->count < 0) - item->count = 1; - else - item->count++; + item->count++; } else { printf (" %s is the correct answer.\n\n", item->response); + item->count--; if (item->count > 0) item->count = -1; - else - item->count--; } bin = mnemon_get_bin (mnemon, item->count); -- 2.43.0