skycalc/calculator.py
def simulate_fast_training(original_skill_levels, current_level, goal_level):
    """Return skill training data for the fastest possible training.

    Always train the skill giving the most xp.
    Attributes:
        original_skill_levels: dict containing current levels of used skills.
        current_level (int): current character level
        goal_level (int): goal level
    """

    def highest(skill_dict):
        """Return the skill with the highest final level."""
        stripped_dict = {s: skill_dict[s]["Final Level"] for s in skill_dict}
        return max(stripped_dict, key=stripped_dict.get)

    return simulate_training(original_skill_levels,
                             current_level, goal_level,
                             highest)
Return skill training data for the fastest possible training.

    Always train the skill giving the most xp.
    Attributes:
        original_skill_levels: dict containing current levels of used skills.
        current_level (int): current character level
        goal_level (int): goal level
    
Return skill training data for the fastest possible training.
Always train the skill giving the most xp.
Return skill training data for the fastest possible training . Always train the skill giving the most xp .
def simulate_fast_training(original_skill_levels, current_level, goal_level):
    def highest(skill_dict):
        stripped_dict = {s: skill_dict[s]["Final Level"] for s in skill_dict}
        return max(stripped_dict, key=stripped_dict.get)
    return simulate_training(original_skill_levels,
                             current_level, goal_level,
                             highest)
def simulate_fast_training ( original_skill_levels , current_level , goal_level ) : def highest ( skill_dict ) : """Return the skill with the highest final level.""" stripped_dict = { s : skill_dict [ s ] [ "Final Level" ] for s in skill_dict } return max ( stripped_dict , key = stripped_dict . get ) return simulate_training ( original_skill_levels , current_level , goal_level , highest )
Return skill training data for the fastest possible training.
Return skill training data for the fastest possible training .
"""Return skill training data for the fastest possible training.

    Always train the skill giving the most xp.
    Attributes:
        original_skill_levels: dict containing current levels of used skills.
        current_level (int): current character level
        goal_level (int): goal level
    """ """Return the skill with the highest final level."""
original_skill_levels
dict containing current levels of used skills.
dict containing current levels of used skills .
current_level
current character level
current character level
goal_level
None