Creating an adaptive task based on average accuracy
I want to create an adaptive arithmetic task, where participants get arithmetic problems of a certain difficulty level based on their average accuracy on the task. More specifically, I have divided the arithmetic problems in 6 difficulty categories and I want each participant to end the task with an average accuracy around 80%. This means that they have to get an easier problem when their average accuracy goes below the treshold of 80% and a more difficult problem when their average accuracy goes beyond this treshold during the task. Could someone give me some guidelines on the best way to do this? Thank you!