优化judge模块架构