zeeguu/core/word_scheduling/arts/algorithm_wrapper.py
def _args_prepare(self, exercise, max_iterations):
        """Gathers the parameters to later apply them when the algorithm.calculate method is being called
        INFO: This needs to be overwritten for other word scheduling algorithms according to their required calculate method

        :param exercise: The exercise (usually latest) to base the new priority on
        :param max_iterations: Current amount of total iterations/sessions of a user (ArtsRT parameter D)
        :return: parameters for algorithm.calculate
        """
        N = max_iterations - exercise.id
        alpha = not exercise.outcome.correct
        RT = exercise.solving_speed
        return N, alpha, RT
Gathers the parameters to later apply them when the algorithm.calculate method is being called
        INFO: This needs to be overwritten for other word scheduling algorithms according to their required calculate method

        :param exercise: The exercise (usually latest) to base the new priority on
        :param max_iterations: Current amount of total iterations/sessions of a user (ArtsRT parameter D)
        :return: parameters for algorithm.calculate
        
Gathers the parameters to later apply them when the algorithm.calculate method is being called
INFO: This needs to be overwritten for other word scheduling algorithms according to their required calculate method
Gathers the parameters to later apply them when the algorithm . calculate method is being called INFO : This needs to be overwritten for other word scheduling algorithms according to their required calculate method
def _args_prepare(self, exercise, max_iterations):
        N = max_iterations - exercise.id
        alpha = not exercise.outcome.correct
        RT = exercise.solving_speed
        return N, alpha, RT
def _args_prepare ( self , exercise , max_iterations ) : N = max_iterations - exercise . id alpha = not exercise . outcome . correct RT = exercise . solving_speed return N , alpha , RT
Gathers the parameters to later apply them when the algorithm.calculate method is being called
INFO: This needs to be overwritten for other word scheduling algorithms according to their required calculate method
Gathers the parameters to later apply them when the algorithm . calculate method is being called INFO : This needs to be overwritten for other word scheduling algorithms according to their required calculate method
"""Gathers the parameters to later apply them when the algorithm.calculate method is being called
        INFO: This needs to be overwritten for other word scheduling algorithms according to their required calculate method

        :param exercise: The exercise (usually latest) to base the new priority on
        :param max_iterations: Current amount of total iterations/sessions of a user (ArtsRT parameter D)
        :return: parameters for algorithm.calculate
        """
parameters for algorithm.calculate
parameters for algorithm . calculate
self
exercise
The exercise (usually latest) to base the new priority on
The exercise ( usually latest ) to base the new priority on
max_iterations
Current amount of total iterations/sessions of a user (ArtsRT parameter D)
Current amount of total iterations / sessions of a user ( ArtsRT parameter D )