code: function partition(variable, dividers) {
    generation += 1;
    return {
      type: 'partition',
      generation,
      partition: {
        variable,
        dividers: dividers.map((divider) =>
          clone(divider, ['value', 'uncertainty', 'closeToLeft'], {
            closeToLeft: false,
          })
        ),
      },
    };
  }
docs: ----------------------------------------------------------------------------