Here is where I replaced `groups` with `results`, which causes the tests to fail, because reducing does not work anymore.