#begintest addscore entry=spread
#beginconfig
division a a.t
perl srand 123
config max_rounds = 3
config entry = 'spread'
config colour = 'no'
#endconfig
#beginifile a.t
Chew, John 1800    4 3 2;
Chew, Kristen 1300 3 4 1;
Chew, Jamie 500    2 1 0;
Chew, Liam 0       1 2 0;
#endifile
#begincommands
a 2
a 1
m
b
4 3 100
C,L 1 100
3 2 -50
3 Kristen 200
es


a 2
1 3 100
2 4 100

a 3
1 2 100
3 75
4 75
 
q
#endcommands
#beginstdout
[1]:winner loser spread (4 scores left)? Chew, John (#1) *first* vs. Chew, Liam (#4)
Chew, Jamie (#3) *first* vs. Chew, Kristen (#2)
[1]:winner loser spread (4 scores left)? [1]:winner loser spread (4 scores left)? [1]:winner loser spread (4 scores left)? #4 Chew, Liam (1.0 +100) - #1 Chew, John (0.0 -100).
[1]:winner loser spread (2 scores left)? #3 Chew, Jamie (0.0 -50) - #2 Chew, Kristen (1.0 +50).
[1]:ES|L words|M|division|<return> (no scores left)? [1]:ES|L words|M|division|<return> (no scores left)? Player Scorecard: Chew, Jamie (#3) (500) (S1:R1)
- Last score was entered 0 minutes ago.
Rnd 1/2 Bd Opp Rtng Opponent Name Won-Lost Spread Cumul
  1  1   ?   2 1300 Chew, Kristen 0.0-1.0     -50   -50
  2  2   ?   1 1800 Chew, John
  3  -   -   -    - bye
Chew, Jamie (#3) R1 [-50 first vs. Chew, Kristen (#2)] (? for help) [1]:ES|L words|M|division|<return> (no scores left)? [2]:winner loser spread (4 scores left)? #1 Chew, John (1.0 +0) - #3 Chew, Jamie (0.0 -150).
[2]:winner loser spread (2 scores left)? #2 Chew, Kristen (2.0 +150) - #4 Chew, Liam (1.0 +0).
[2]:ES|L words|M|division|<return> (no scores left)? [3]:winner loser spread (4 scores left)? #1 Chew, John (2.0 +100) - #2 Chew, Kristen (2.0 +50).
[3]:winner loser spread (2 scores left)? #3 Chew, Jamie +75 (1.0 -75).
[3]:player spread (1 score left)? #4 Chew, Liam +75 (2.0 +75).
[3]:ES|L words|M|division|<return> (no scores left)? 
#endstdout
#beginstderr
Error: Some scores are still missing for Division A in Round 1, including one for Chew, John (#1). [emisss]
Error: There are no players whose names match b,. [enomatch]
Error: Chew, Liam (#4) and Chew, Jamie (#3) did not play each other in Round 1. Chew, Liam (#4) played Chew, John (#1); and Chew, Jamie (#3) played Chew, Kristen (#2). [eanotopp]
Warning: -50 is a suspiciously low score, but has been accepted. [wlowscore]
Error: Chew, Jamie (#3) already has a score (-50). [ehass]
#endstderr
#endtest
