from live_workload import experiment_for_batch


def test_each_live_batch_gets_new_balanced_client_compositions() -> None:
    first = experiment_for_batch(1, 24, 2)
    second = experiment_for_batch(2, 24, 2)

    assert first.strategy == second.strategy == "balanced"
    assert first.clients == second.clients == 24
    assert first.runs_per_client == second.runs_per_client == 2
    assert first.seed != second.seed
