Simplify score by pulling out case-expressions into frameScore equations