Some failures code can't spot. Did the reply make up a policy? Is it rude? Does it actually answer the question? For those you ask a model to read the reply and decide. That's an LLM judge.
A judge is just a prompt, and it fails in the same ways any prompt does. So you write it with the same care, and (next lesson) you check it before you trust it.