Finds both label and if provided, the points for ranking.

def _parse_entry(entry, limit=10):
        """
        Finds both label and if provided, the points for ranking.
        """

        entry = entry.split(",")
        label = entry[0]
        points = limit

        if len(entry) > 1:
            proc = float(entry[1].strip())
            points = limit * proc

        return label, int(points)