def score_variant(variant, config_parser):
    
    rank_score = 0
    
    for category in config_parser.categories:
        logger.debug("Checking scores for category {0}".format(category))
        category_score = get_category_score(
            variant = variant,
            category = category,
            config_parser = config_parser
        )

        logger.debug("Adding category score {0} to rank_score".format(category_score))
        rank_score += category_score
        logger.debug("Updating rank score to {0}".format(rank_score))

    return rank_score
Score a variant line
dataset/ETHPy150Open moonso/genmod/genmod/score_variants/score_variant.py/score_variant