better protection against division by 0 which can occur when composing Grouping instances
added a unit test for groupings to check div by zero
fixed the job name and reduced its size