Proportionate representation.
Voter parties?
The interest voters express preferences for by voting?
The interests voters idealize (they may vote pragmatically within existing rules)?
Etc., etc.
A purely algorithmic solution needs to encode preferences and how to balance them, so they need to be defined quite precisely.