def make_replacements(content):

    count_rep = 0
    for regex in regexes:
        (content, count) = re.subn(regex[0], regex[1], content)
        count_rep += count
    return (content, count_rep)
This returns an int that is the value of taking the given action in the
dataset/ETHPy150Open yaph/b2tob3/b2tob3/b2tob3.py/make_replacements--crossover with--dataset/ETHPy150Open posborne/mlcollection/mlcollection/rl_base.py/Base_RL.get_reward