This refers to the assessment of different factors by a judge in coming to a fair decision when they have discretion to make a ruling in a particular situation.
It is a term that is very subjective and interpretation will vary based upon the facts and people involved.