def adjust(self, rating, series):
        return sum(score - self.expect(rating, other_rating)
                   for score, other_rating in series)
Import the given patch.
dataset/ETHPy150Open sublee/elo/elo.py/Elo.adjust--crossover with--dataset/ETHPy150Open reviewboard/rbtools/rbtools/clients/mercurial.py/MercurialClient.apply_patch