Were you asking me?
I don't want to post code here, being unsure of the etiquette.
I see you can write python; maybe the following fragments will give
you some ideas.
End.

*** Not real code Don't use ***
learned_cards_min = 120
working_cards_max = 30
*** Not real code Don't use ***
def percent_learned():
    total = 0
    learned = 0
    for item in get_items():
        if item.is_in_active_category():
            total += 1
            if item.next_rep - item.last_rep >= learned_cards_min:
                learned += 1
    if total != 0:
        learned = 100*learned/total
    return learned
*** Not real code Don't use ***
def number_working():
    num = 0
    for item in get_items():
        if item.next_rep - item.last_rep < working_cards_max and
item.is_in_active_category():
            num += 1
    return num
*** Not real code Don't use ***
def average_interval():
    count = 0
    num = 0
    for item in get_items():
        if item.is_in_active_category():
            count += 1
            num += item.next_rep - item.last_rep
    if count != 0:
        num = num/count
    return num
*** Not real code Don't use ***

On Oct 28, 6:06 pm, Charles Cave <[email protected]> wrote:
> I would be interested in obtaining statistics about the card deck as well.
>
> I wrote a Python program to extract the data from the XML export of
> a deck, mainly to create Question/Answer/Category fields for cards of
> a low grade.
>
> One challenge I had adding cards was adding too many cards in a batch
> creating "indigestion". I would have a large number of cards to review
> then another large amount the next day. I wanted a way to smooth out
> the learning process. It was more convenient to add a lot of new content
> on the weekend because I was busy during the week.
>
> Can you describe these statistics and how they are calculated? I was 
> considering
> analysing my card decks.
>
> Charles
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mnemosyne-proj-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to