Decompose ratings into ascending/descending mountain runs and sum arithmetic triangles, adjusting the shared peak.