The ABA’s Model Code of Judicial Conduct [PDF] numbers 70 pages, 39 rules and 4 canons. I prefer the simple rule of judicial conduct found in my favorite ancient Babylonian legal text, the Code of Hammurabi:
If a judge try a case, reach a decision, and present his judgment in writing; if later error shall appear in his decision, and it be through his own fault, then he shall pay twelve times the fine set by him in the case, and he shall be publicly removed from the judge’s bench, and never again shall he sit there to render judgement.
Simple and effective.
-Michael