Add feature that auto define judge method
Add spec and description for auto define judge method