Remove ipdb line.
Add average judge_function.