Ad
  • Custom User Avatar

    I found quite a few, you arrogant dutch-man:

    • The example shows the quota as a ceiled integer, is that for display purposes or hidden spec that we need to ceil total votes over total seats?
    • You don't explain which method of "highest average of votes per seat" to use. Only in the wiki page there is a reference to the method used in Dutch elections. I'm not even sure you use that one.
    • You don't explain whether continious updates of seats should be used in assigning residual votes, or a snapshot should be taken a priori, both in first phase, as in recalculation of seats in coalitions.
  • Custom User Avatar

    You don't want to be patronized?

    I tried very very hard to understand what you do not understand. Everything is written down. What is not to understand about the line below? Is it maybe the word 'standard' that you read as 'allocation of seats excluding residual seats'? No clue, the sentence below talks about 'standard allocation' as opposed to 'allocation within combination'.

    'A combination is treated as 1 party but after the standard allocation the seats gathered by the combination need to be allocated again to its individual members.'

    Keep opposing bad specs! You will not find them in this kata.

  • Custom User Avatar

    Don't patronise me, in my long career I've always challenged bad specs.

  • Custom User Avatar

    Everything you need to know is in the description. Just read better. From my 30 years of experience that is sometimes hard for developers (also when I read the comments here).

    And yes, kata is hard. I did the kata myself too and had a problem with it.

  • Custom User Avatar

    Yeah, this description is a pain. Also allocating the remaining residual seats after combinations have been handled is a complete mystery. I wanted to solve this kata out of loving memory for Pim, but F it, just not worth it.

  • Custom User Avatar

    The expected result is a universe in which the input is sorted in O(n).

    Yes, this is impossible in classical physics, that's the whole point.

  • Custom User Avatar

    Going to the comments section was the best decision I made in a long time ;)

  • Custom User Avatar

    This is great info, thanks!

  • Custom User Avatar
  • Custom User Avatar

    Your code probably mutates the input list.

  • Custom User Avatar

    Not a suggestion for this specific kata

  • Custom User Avatar

    You have to do a little more thinking yourself in this kata, just as I had to do when I created it

    OK, but trying to understand the description should never be part of the task.

  • Custom User Avatar

    Already raised as issue ~~

  • Custom User Avatar

    Example tests are not specifications.

    Add the puzzle tag.

  • Custom User Avatar

    Duplicate issue

  • Loading more items...