The moderate Republican lost because he pretended to be something he was not...and that is a far right tea party wacko. Had he run on his merits and his merits alone, he could have won.
The next Rep candidate needs to do just that. Don't pretend you are something you are not.