def compatibility_rank(self, supported):
preferences = []<EOL>for tag in self.compatibility_tags:<EOL><INDENT>try:<EOL><INDENT>preferences.append(supported.index(tag))<EOL><DEDENT>except ValueError:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>if len(preferences):<EOL><INDENT>return (min(preferences), self.arity)<EOL><DEDENT>return (_big_number, <NUM_LIT:0>)<EOL>
Rank the wheel against the supported tags. Smaller ranks are more
        compatible!

        :param supported: A list of compatibility tags that the current
            Python implemenation can run.