def get_points(self, person):
        name, gender = person

        value = r.hgetall(name)

        if not value:
            value = {
                'score': 0,
                'left': DAILY_ALLOWANCE
            }

            r.hmset(name, value)

        title = titles[gender]

        return "%s_%s" % (title, name), int(value['score'])
dataset/ETHPy150Open honza/nigel/matchers/points.py/PointsMatcher.get_points/original