judge_type enum