Everyone sees Hitler as the worse leader as in the motives he did in history. Well, Stalin was responsible for the murder of 20 million Russians he killed who was against his communist ideas. I personally am for communism, and however, socialism I would agree to also, If your saying what leader I would want, I would personally say Stalin for my political believes. However, I could say Hitler was a better leader and very intelligent, however a manic he was a good leader and spokesmen.
I personally believe Vladimir Lenin was one of the best leaders in history, he completely turned Russia around in the 1920s after his poisoning and murder what I believe Stalin did. As he said, "whatever you do, do not let Stalin leader". Che Guevara was a great leader as well, but the capitalists west murdered him, for what? Going against his views, so everyone should have the same views? No.
Anyway, In answer to your question if it was based on judgment not on there character but on there intelligence, not political wise, I would choose Hitler based on the facts that he was a better leader, although he did some terrible things, so did Stalin, much worse just people don't account for.