fn allocate_signed_total(total: isize, weights: &[usize]) -> Vec<isize>
Allocate a signed display total across real source groups and preserve the exact sum.