Political compatibility test to rank candidates