I have a comparator function F that can take two objects, A and B, and return the "better" object. Unfortunately, the function is shitty, and only accurate X% of the time. (X is around 70%, say). It is deterministic, though -- it returns the same value for the same pair of args every time.