Sorry, forget to include our signature
team Schnipersons
It will be fine
key points about odds: parameter -TwoPalsPerson – everywhere…
specifically:
line 603 – desision – it is even/odd people count
line 131 – Rank=2 for TwoPalsPerson
line 177 – key point: how many pals there should be for given primary
and codesharing is:
line 110: function Get-Pairings4 – only function that do all work
line 381: function Get-Event2Pairings – function for advanced run
line 574: function Get-Event2SimplePairings – simple pairings function
lines 628, 642 – execution of both simple and advanced functions
actually, if we use “try until success” paradigm, there is 20-lines fine-formatted solution for simple(no history) task.
but we think such solutions is bad….. may be too may thinking here ?