{
  "description": "Pure merge inputs are already validated and audience-authorized; each slot is a distinct member, identity fields do not define membership. Private inputs still count only in total. Integration fixtures must map invalid, future or unauthorized profiles to null.",
  "cases": [
    {
      "id": "zero",
      "today": "2026-10-13",
      "members": [],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 0,
          "total": 0
        },
        "conflicts": []
      }
    },
    {
      "id": "no-profile",
      "today": "2026-10-13",
      "members": [
        null,
        null
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 0,
          "total": 2
        },
        "conflicts": []
      }
    },
    {
      "id": "all-empty",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "languages": [],
          "reading": {
            "visual": []
          },
          "avoid": [],
          "context": {
            "knows_well": []
          }
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 1,
          "total": 1
        },
        "conflicts": []
      }
    },
    {
      "id": "empty-language-abstains",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "languages": []
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "languages": [
            "fr",
            "en"
          ]
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13"
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 3,
          "total": 3
        },
        "conflicts": [],
        "languages": [
          "fr",
          "en"
        ]
      }
    },
    {
      "id": "mixed-languages",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "languages": [
            "fr",
            "en"
          ]
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "languages": [
            "en"
          ]
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "languages": []
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 3,
          "total": 3
        },
        "conflicts": [],
        "languages": [
          "en"
        ]
      }
    },
    {
      "id": "no-common-language",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "languages": [
            "fr"
          ]
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "languages": [
            "en"
          ]
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 2,
          "total": 2
        },
        "conflicts": [],
        "languages": [
          "en"
        ]
      }
    },
    {
      "id": "knows-well-absent",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "context": {
            "knows_well": [
              "python"
            ]
          }
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13"
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 2,
          "total": 2
        },
        "conflicts": []
      }
    },
    {
      "id": "knows-well-empty",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "context": {
            "knows_well": [
              "python"
            ]
          }
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "context": {
            "knows_well": []
          }
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 2,
          "total": 2
        },
        "conflicts": []
      }
    },
    {
      "id": "knows-well-every-eligible",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "context": {
            "knows_well": [
              "python"
            ]
          }
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "context": {
            "knows_well": [
              "python",
              "go"
            ]
          }
        },
        null,
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "visibility": "private"
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 2,
          "total": 4
        },
        "conflicts": [],
        "context": {
          "knows_well": [
            "python"
          ]
        }
      }
    },
    {
      "id": "private-does-not-vote",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "visibility": "private",
          "languages": [
            "fr"
          ],
          "reading": {
            "max_words": 20
          }
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "languages": [
            "en"
          ],
          "reading": {
            "max_words": 149
          }
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 1,
          "total": 2
        },
        "conflicts": [],
        "languages": [
          "en"
        ],
        "reading": {
          "max_words": 149
        }
      }
    },
    {
      "id": "only-private",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "visibility": "private"
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 0,
          "total": 1
        },
        "conflicts": []
      }
    },
    {
      "id": "max-words-conflict",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "reading": {
            "max_words": 20
          }
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "reading": {
            "max_words": 2000
          }
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 2,
          "total": 2
        },
        "conflicts": [
          {
            "field": "reading.max_words"
          }
        ],
        "reading": {
          "max_words": 20
        }
      }
    },
    {
      "id": "two-voters-three-profiles",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "reading": {
            "max_words": 20,
            "tone": "warm"
          }
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "reading": {
            "max_words": 2000,
            "tone": "direct"
          }
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13"
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 3,
          "total": 3
        },
        "conflicts": [
          {
            "field": "reading.max_words"
          },
          {
            "field": "reading.tone"
          }
        ],
        "reading": {
          "max_words": 20,
          "tone": "neutral"
        }
      }
    },
    {
      "id": "three-voters-numeric-order",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "reading": {
            "max_words": 20
          }
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "reading": {
            "max_words": 100
          }
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "reading": {
            "max_words": 2000
          }
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 3,
          "total": 3
        },
        "conflicts": [
          {
            "field": "reading.max_words",
            "values": [
              {
                "value": 20,
                "count": 1
              },
              {
                "value": 100,
                "count": 1
              },
              {
                "value": 2000,
                "count": 1
              }
            ]
          }
        ],
        "reading": {
          "max_words": 20
        }
      }
    },
    {
      "id": "stored-variants-inactive",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "reading": {
            "length": "short"
          },
          "states": {
            "incident": {
              "length": "minimal"
            }
          },
          "interrupting": {
            "when_focused": "urgent_only"
          }
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 1,
          "total": 1
        },
        "conflicts": [],
        "reading": {
          "length": "short"
        }
      }
    },
    {
      "id": "appendix-within-cap",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "reading": {
            "max_words": 20,
            "technical_depth": "expert"
          }
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "reading": {
            "max_words": 100,
            "technical_depth": "non_technical"
          }
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 2,
          "total": 2
        },
        "conflicts": [
          {
            "field": "reading.max_words"
          },
          {
            "field": "reading.technical_depth"
          }
        ],
        "reading": {
          "max_words": 20,
          "technical_depth": "non_technical",
          "appendix_depth": "expert"
        }
      }
    },
    {
      "id": "notes-never-grouped",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "notes": "I have ADHD."
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 1,
          "total": 1
        },
        "conflicts": []
      }
    },
    {
      "id": "known-little-union",
      "today": "2026-10-13",
      "members": [
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "context": {
            "knows_little": [
              "go"
            ]
          }
        },
        {
          "humans": "0.2",
          "id": "sample",
          "name": "Example",
          "updated": "2026-10-13",
          "context": {
            "knows_little": [
              "python"
            ]
          }
        }
      ],
      "expect": {
        "humans_group": "0.2",
        "coverage": {
          "with_profile": 2,
          "total": 2
        },
        "conflicts": [],
        "context": {
          "knows_little": [
            "python",
            "go"
          ]
        }
      }
    }
  ]
}
