def store_vote(self, cast_vote):
    # only store the vote if it's cast later than the current one
    if self.cast_at and self.cast_at < cast_vote.cast_at:
      return

    self.vote = cast_vote.vote
    self.vote_hash = cast_vote.vote_hash
    self.cast_at = cast_vote.cast_at
    self.save()
dataset/ETHPy150Open benadida/helios-server/helios/models.py/Voter.store_vote/swapped operands of `<`