{
  "label": "72 own month-set calculations with exact rational monthly allocation",
  "implementation": "CPython",
  "version": "3.12.14",
  "monthly_fraction": "100",
  "cases": [
    {
      "input": {
        "profile": "A",
        "rule": "ready",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [
          3
        ],
        "selected_months": [
          3
        ],
        "reference_total": 100,
        "selected_total": 100,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "A",
        "rule": "ready",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6
        ],
        "selected_months": [
          3,
          4,
          5,
          6
        ],
        "reference_total": 400,
        "selected_total": 400,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "A",
        "rule": "ready",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "reference_total": 1000,
        "selected_total": 1000,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "A",
        "rule": "first",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [
          3
        ],
        "selected_months": [],
        "reference_total": 100,
        "selected_total": 0,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "A",
        "rule": "first",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6
        ],
        "selected_months": [
          6
        ],
        "reference_total": 400,
        "selected_total": 100,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "A",
        "rule": "first",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "reference_total": 1000,
        "selected_total": 700,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "A",
        "rule": "used",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [
          3
        ],
        "selected_months": [],
        "reference_total": 100,
        "selected_total": 0,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "A",
        "rule": "used",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6
        ],
        "selected_months": [
          6
        ],
        "reference_total": 400,
        "selected_total": 100,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "A",
        "rule": "used",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "reference_total": 1000,
        "selected_total": 700,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "A",
        "rule": "paid",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [
          3
        ],
        "selected_months": [
          1,
          2,
          3
        ],
        "reference_total": 100,
        "selected_total": 300,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "A",
        "rule": "paid",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6
        ],
        "selected_months": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "reference_total": 400,
        "selected_total": 600,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "A",
        "rule": "paid",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "reference_total": 1000,
        "selected_total": 1200,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "B",
        "rule": "ready",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [
          1,
          2,
          3
        ],
        "selected_months": [
          1,
          2,
          3
        ],
        "reference_total": 300,
        "selected_total": 300,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "B",
        "rule": "ready",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "selected_months": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "reference_total": 600,
        "selected_total": 600,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "B",
        "rule": "ready",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "reference_total": 1200,
        "selected_total": 1200,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "B",
        "rule": "first",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [
          1,
          2,
          3
        ],
        "selected_months": [
          1,
          2,
          3
        ],
        "reference_total": 300,
        "selected_total": 300,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "B",
        "rule": "first",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "selected_months": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "reference_total": 600,
        "selected_total": 600,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "B",
        "rule": "first",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "reference_total": 1200,
        "selected_total": 1200,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "B",
        "rule": "used",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [
          1,
          2,
          3
        ],
        "selected_months": [
          1,
          2,
          3
        ],
        "reference_total": 300,
        "selected_total": 300,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "B",
        "rule": "used",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "selected_months": [
          1,
          2,
          3
        ],
        "reference_total": 600,
        "selected_total": 300,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "B",
        "rule": "used",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [
          1,
          2,
          3
        ],
        "reference_total": 1200,
        "selected_total": 300,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "B",
        "rule": "paid",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [
          1,
          2,
          3
        ],
        "selected_months": [
          1,
          2,
          3
        ],
        "reference_total": 300,
        "selected_total": 300,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "B",
        "rule": "paid",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "selected_months": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "reference_total": 600,
        "selected_total": 600,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "B",
        "rule": "paid",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "reference_total": 1200,
        "selected_total": 1200,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "C",
        "rule": "ready",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "C",
        "rule": "ready",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "C",
        "rule": "ready",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "reference_total": 600,
        "selected_total": 600,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "C",
        "rule": "first",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "C",
        "rule": "first",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "C",
        "rule": "first",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "reference_total": 600,
        "selected_total": 600,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "C",
        "rule": "used",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "C",
        "rule": "used",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "C",
        "rule": "used",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "reference_total": 600,
        "selected_total": 600,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "C",
        "rule": "paid",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "C",
        "rule": "paid",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "C",
        "rule": "paid",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [
          10,
          11,
          12
        ],
        "reference_total": 600,
        "selected_total": 300,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "D",
        "rule": "ready",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "D",
        "rule": "ready",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "D",
        "rule": "ready",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "D",
        "rule": "first",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "D",
        "rule": "first",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "D",
        "rule": "first",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "D",
        "rule": "used",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "D",
        "rule": "used",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "D",
        "rule": "used",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [],
        "selected_months": [],
        "reference_total": 0,
        "selected_total": 0,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "D",
        "rule": "paid",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [],
        "selected_months": [
          1,
          2,
          3
        ],
        "reference_total": 0,
        "selected_total": 300,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "D",
        "rule": "paid",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [],
        "selected_months": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "reference_total": 0,
        "selected_total": 600,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "D",
        "rule": "paid",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [],
        "selected_months": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "reference_total": 0,
        "selected_total": 1200,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "E",
        "rule": "ready",
        "cutoff": "3"
      },
      "output": {
        "reference_months": null,
        "selected_months": null,
        "reference_total": null,
        "selected_total": null,
        "classification": "pending"
      }
    },
    {
      "input": {
        "profile": "E",
        "rule": "ready",
        "cutoff": "6"
      },
      "output": {
        "reference_months": null,
        "selected_months": null,
        "reference_total": null,
        "selected_total": null,
        "classification": "pending"
      }
    },
    {
      "input": {
        "profile": "E",
        "rule": "ready",
        "cutoff": "12"
      },
      "output": {
        "reference_months": null,
        "selected_months": null,
        "reference_total": null,
        "selected_total": null,
        "classification": "pending"
      }
    },
    {
      "input": {
        "profile": "E",
        "rule": "first",
        "cutoff": "3"
      },
      "output": {
        "reference_months": null,
        "selected_months": null,
        "reference_total": null,
        "selected_total": null,
        "classification": "pending"
      }
    },
    {
      "input": {
        "profile": "E",
        "rule": "first",
        "cutoff": "6"
      },
      "output": {
        "reference_months": null,
        "selected_months": null,
        "reference_total": null,
        "selected_total": null,
        "classification": "pending"
      }
    },
    {
      "input": {
        "profile": "E",
        "rule": "first",
        "cutoff": "12"
      },
      "output": {
        "reference_months": null,
        "selected_months": null,
        "reference_total": null,
        "selected_total": null,
        "classification": "pending"
      }
    },
    {
      "input": {
        "profile": "E",
        "rule": "used",
        "cutoff": "3"
      },
      "output": {
        "reference_months": null,
        "selected_months": null,
        "reference_total": null,
        "selected_total": null,
        "classification": "pending"
      }
    },
    {
      "input": {
        "profile": "E",
        "rule": "used",
        "cutoff": "6"
      },
      "output": {
        "reference_months": null,
        "selected_months": null,
        "reference_total": null,
        "selected_total": null,
        "classification": "pending"
      }
    },
    {
      "input": {
        "profile": "E",
        "rule": "used",
        "cutoff": "12"
      },
      "output": {
        "reference_months": null,
        "selected_months": null,
        "reference_total": null,
        "selected_total": null,
        "classification": "pending"
      }
    },
    {
      "input": {
        "profile": "E",
        "rule": "paid",
        "cutoff": "3"
      },
      "output": {
        "reference_months": null,
        "selected_months": [
          2,
          3
        ],
        "reference_total": null,
        "selected_total": 200,
        "classification": "pending"
      }
    },
    {
      "input": {
        "profile": "E",
        "rule": "paid",
        "cutoff": "6"
      },
      "output": {
        "reference_months": null,
        "selected_months": [
          2,
          3,
          4,
          5,
          6
        ],
        "reference_total": null,
        "selected_total": 500,
        "classification": "pending"
      }
    },
    {
      "input": {
        "profile": "E",
        "rule": "paid",
        "cutoff": "12"
      },
      "output": {
        "reference_months": null,
        "selected_months": [
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "reference_total": null,
        "selected_total": 1100,
        "classification": "pending"
      }
    },
    {
      "input": {
        "profile": "F",
        "rule": "ready",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [
          3
        ],
        "selected_months": [
          3
        ],
        "reference_total": 100,
        "selected_total": 100,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "F",
        "rule": "ready",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6
        ],
        "selected_months": [
          3,
          4,
          5,
          6
        ],
        "reference_total": 400,
        "selected_total": 400,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "F",
        "rule": "ready",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "reference_total": 1000,
        "selected_total": 1000,
        "classification": "same"
      }
    },
    {
      "input": {
        "profile": "F",
        "rule": "first",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [
          3
        ],
        "selected_months": [],
        "reference_total": 100,
        "selected_total": 0,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "F",
        "rule": "first",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6
        ],
        "selected_months": [],
        "reference_total": 400,
        "selected_total": 0,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "F",
        "rule": "first",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [],
        "reference_total": 1000,
        "selected_total": 0,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "F",
        "rule": "used",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [
          3
        ],
        "selected_months": [],
        "reference_total": 100,
        "selected_total": 0,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "F",
        "rule": "used",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6
        ],
        "selected_months": [],
        "reference_total": 400,
        "selected_total": 0,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "F",
        "rule": "used",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [],
        "reference_total": 1000,
        "selected_total": 0,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "F",
        "rule": "paid",
        "cutoff": "3"
      },
      "output": {
        "reference_months": [
          3
        ],
        "selected_months": [
          2,
          3
        ],
        "reference_total": 100,
        "selected_total": 200,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "F",
        "rule": "paid",
        "cutoff": "6"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6
        ],
        "selected_months": [
          2,
          3,
          4,
          5,
          6
        ],
        "reference_total": 400,
        "selected_total": 500,
        "classification": "different"
      }
    },
    {
      "input": {
        "profile": "F",
        "rule": "paid",
        "cutoff": "12"
      },
      "output": {
        "reference_months": [
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "selected_months": [
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "reference_total": 1000,
        "selected_total": 1100,
        "classification": "different"
      }
    }
  ]
}
