Joker group and run cull was too drastic
mjpieters opened this issue · comments
We need to add back longer-than-min-length runs with jokers back, but only generate new sets with the outer tiles kept.
So something like sorted((s[0], *comb, s[-1])) for comb in combinations((*s[1:-1], *jokers), ln) for ln in range(min_len - 1, min_len * 2 - 2)
Fixed with c3f793c