I guess I misread the initial posts - my bad
I like the python, though a brute-force approach is inefficient, as you said. If you can model the set, you can get to good guidelines and a solid predictive model.
Though would it be of interest to look at the math around this? If not, I will move-on.
I am not an expert, but I play with statistics alot.