EzerIT / BibleOL

Web-based instruction in Biblical Hebrew and Greek
Other
25 stars 16 forks source link

Improve the exercise shuffling algorithm to provide a proper distribution in exercises #36

Open ernstboogert opened 6 months ago

ernstboogert commented 6 months ago

Currently the exercises are simply shuffled by a standard PHP function (myapp/librarie/Quiz_data.php). However, this usually results in a 'democratic' distribution of exercises, meaning that words and forms that have a high occurence, will be asked most.

Instead, exercises require a more meaningful distribution in which it is better that distinct forms are asked to the student. So, we need to implement an algorithm that will order the exercises in a more meaningful way. One of the advantages of the standard shuffle method is that each time a student loads the exercise, he/she will get completely different questions. To some degree we want to keep that behaviour.

The precise requirements still need to be mapped out.