Moved Judge::run checks to separate function