This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def score(bracket, results, filt, | |
teams_remaining, blacklist, round_num=0): | |
""" | |
Recursively calculates the score of a prediction | |
bracket against a results bracket. | |
- bracket | |
A bitstring representing a prediction bracket. For | |
a 64 game tournament this would be 63 bits. | |