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

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

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

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

    Always level the skill easiest to train.
    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 easiest possible training.
Always level the skill easiest to train.
Return skill training data for the easiest possible training . Always level the skill easiest to train .
def simulate_easy_training(original_skill_levels, current_level, goal_level):
    def lowest(skill_dict):
        stripped_dict = {s: skill_dict[s]["Final Level"] for s in skill_dict}
        return min(stripped_dict, key=stripped_dict.get)
    return simulate_training(original_skill_levels,
                             current_level, goal_level,
                             lowest)
def simulate_easy_training ( original_skill_levels , current_level , goal_level ) : def lowest ( skill_dict ) : """Return the skill with the lowest final level.""" stripped_dict = { s : skill_dict [ s ] [ "Final Level" ] for s in skill_dict } return min ( stripped_dict , key = stripped_dict . get ) return simulate_training ( original_skill_levels , current_level , goal_level , lowest )
Return skill training data for the easiest possible training.
Return skill training data for the easiest possible training .
"""Return skill training data for the easiest possible training.

    Always level the skill easiest to train.
    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 lowest 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