zeeguu/core/word_scheduling/arts/tools/algo_parameter_approximator.py
def _get_avg_exercise(cls, exercise_log):
        """
        Get the average exercise parameters based on the current exercise log of the bookmark
        """
        if len(exercise_log) == 0:
            return cls.DEFAULT_REACTION_TIME, cls.DEFAULT_PROP_CORRECT

        avg_speed = mean([x.solving_speed for x in exercise_log])
        prob_correct = mean([x.outcome.correct for x in exercise_log])
        return avg_speed, prob_correct

        Get the average exercise parameters based on the current exercise log of the bookmark
        
Get the average exercise parameters based on the current exercise log of the bookmark
Get the average exercise parameters based on the current exercise log of the bookmark
def _get_avg_exercise(cls, exercise_log):
        if len(exercise_log) == 0:
            return cls.DEFAULT_REACTION_TIME, cls.DEFAULT_PROP_CORRECT
        avg_speed = mean([x.solving_speed for x in exercise_log])
        prob_correct = mean([x.outcome.correct for x in exercise_log])
        return avg_speed, prob_correct
def _get_avg_exercise ( cls , exercise_log ) : if len ( exercise_log ) == 0 : return cls . DEFAULT_REACTION_TIME , cls . DEFAULT_PROP_CORRECT avg_speed = mean ( [ x . solving_speed for x in exercise_log ] ) prob_correct = mean ( [ x . outcome . correct for x in exercise_log ] ) return avg_speed , prob_correct
Get the average exercise parameters based on the current exercise log of the bookmark
Get the average exercise parameters based on the current exercise log of the bookmark
"""
        Get the average exercise parameters based on the current exercise log of the bookmark
        """
cls
exercise_log