population = init_stratified_population(employees, clusters)
for generation in range(max_generations):
scored = [(split, fitness(split)) for split in population]
parents = select_best(scored) # tournament / top-k
children = crossover(parents)
children = mutate(children, p=mutation_rate)
population = elite(scored) + children # elitism
best_split = min(population, key=fitness)Welch t-test по сравнению с корректными методами увеличивает MoE с 14,5 % до 18,1 %, смещает эффект с 4 % до 6,5 %