mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-19 20:25:31 +00:00
made SailWave import tolerant for rank formatting (1st, 2nd, ... instead of 1, 2, ..., as documented in Wiki but not implemented so far...
Change-Id: I4eff90780c1f3f36159c25a7b227d39f49148571
This commit is contained in:
+1
-1
@@ -646,7 +646,7 @@ public class SailingServiceImpl extends ProxiedRemoteServiceServlet implements S
|
||||
public ScoreCorrectionProviderDTO getScoreCorrectionsOfProvider(String providerName) throws Exception {
|
||||
ScoreCorrectionProviderDTO result = null;
|
||||
for (ScoreCorrectionProvider scoreCorrectionProvider : getAllScoreCorrectionProviders()) {
|
||||
if(scoreCorrectionProvider.getName().equals(providerName)) {
|
||||
if (scoreCorrectionProvider.getName().equals(providerName)) {
|
||||
result = convertScoreCorrectionProviderDTO(scoreCorrectionProvider);
|
||||
break;
|
||||
}
|
||||
|
||||
+233
@@ -0,0 +1,233 @@
|
||||
Rank;Nat;SailNo;Fleet;HelmName;CrewName;Q1;Q2;Q3;Q4;Q5;Q6;F1;F2;F3;F4;F5;F6;F7;Total;Nett;
|
||||
3rd;USA;19781;Red;Luke Arnone;;(22.0);16.0;4.0;13.0;1.0;1.0;2.0;1.0;12.0;7.0;(45.0);;;124.0;57.0;
|
||||
27th;USA;19629;Blue;Thomas Hall;;8.0;17.0;16.0;13.0;(33.0);9.0;35.0;27.0;(40.0);26.0;3.0;;;227.0;154.0;
|
||||
16th;USA;18162;Red;Emma Kaneti;;(13.0);2.0;1.0;13.0;6.0;1.0;43.0;22.0;19.0;6.0;(65.0);;;191.0;113.0;
|
||||
12th;USA;15112;Red;Ricky Welch;;7.0;9.0;4.0;9.0;2.0;(78.0 BFD);12.0;17.0;18.0;27.0;(66.0);;;249.0;105.0;
|
||||
20th;USA;19302;Red;Payton Thompson;;7.0;7.0;5.0;5.0;(8.0);7.0;19.0;(35.0);35.0;9.0;35.0;;;172.0;129.0;
|
||||
29th;USA;19631;Red;Emma Cowles;;16.0;(21.0);13.0;8.0;7.0;8.0;16.0;13.0;34.0;42.0;(56.0);;;234.0;157.0;
|
||||
4th;USA;19597;Red;Jack Brown;;3.0;1.0;(10.0);8.0;2.0;2.0;10.0;19.0;13.0;(24.0);2.0;;;94.0;60.0;
|
||||
11th;USA;16718;Blue;Maddie Hawkins;;3.0;1.0;(10.0);7.0;10.0;5.0;(50.0);32.0;4.0;2.0;17.0;;;141.0;81.0;
|
||||
32nd;USA;17071;Red;Connor Mraz;;18.0;14.0;7.0;6.0;20.0;(21.0);18.0;18.0;29.0;45.0;(54.0);;;250.0;175.0;
|
||||
15th;USA;19404;Red;Severin Gramm;;14.0;4.0;12.0;12.0;4.0;(19.0);6.0;37.0;(78.0 BFD);12.0;10.0;;;208.0;111.0;
|
||||
19th;USA;19162;Red;Anaclare Sole;;12.0;2.0;4.0;(16.0);5.0;3.0;42.0;34.0;5.0;15.0;(44.0);;;182.0;122.0;
|
||||
17th;USA;19630;Red;Carmen Cowles;;(11.0);7.0;7.0;4.0;2.0;5.0;(48.0);16.0;27.0;16.0;32.0;;;175.0;116.0;
|
||||
12th;USA;15510;Red;Nico Martin;;(52.0);25.0;41.0;20.0;39.0;2.0;5.0;1.0;(59.0);39.0;;;;283.0;172.0;
|
||||
6th;USA;16686;Red;Thomas Rice;;5.0;4.0;6.0;3.0;5.0;(12.0);31.0;2.0;3.0;(33.0);6.0;;;110.0;65.0;
|
||||
35th;USA;18897;Red;Connor Murphy;;31.0;5.0;6.0;24.0;(78.0 UFD);34.0;20.0;30.0;22.0;31.0;(58.0);;;339.0;203.0;
|
||||
26th;USA;14565;Red;Sam Gavula;;4.0;17.0;5.0;1.0;(18.0);12.0;25.0;48.0;15.0;(51.0);21.0;;;217.0;148.0;
|
||||
66th;USA;12085;Red;Mats Keldsen;;17.0;54.0;13.0;10.0;(78.0 UFD);22.0;56.0;57.0;59.0;34.0;(69.0);;;469.0;322.0;
|
||||
54th;USA;18943;Red;Jamie Paul;;(53.0);10.0;34.0;8.0;20.0;8.0;(78.0 BFD);67.0;56.0;57.0;11.0;;;402.0;271.0;
|
||||
30th;USA;19289;Blue;Yumi Yoshiyasu;;35.0;3.0;12.0;6.0;(78.0 UFD);13.0;37.0;8.0;6.0;40.0;(51.0);;;289.0;160.0;
|
||||
1st;USA;20544;Red;Austin Ando;;23.0;21.0;(38.0);30.0;15.0;(36.0);12.0;6.0;1.0;1.0;;;;183.0;109.0;
|
||||
51st;USA;18313;Red;Chase Burwell;;(52.0);(64.0);19.0;41.0;47.0;50.0;51.0;4.0;7.0;30.0;;;;365.0;249.0;
|
||||
23rd;USA;17088;Red;TJ Danilek;;2.0;31.0;3.0;18.0;17.0;(78.0 BFD);5.0;14.0;14.0;30.0;(50.0);;;262.0;134.0;
|
||||
5th;USA;16727;Red;Henry Chapman;;1.0;(27.0);2.0;2.0;13.0;11.0;1.0;6.0;11.0;17.0;(42.0);;;133.0;64.0;
|
||||
24th;USA;19455;Blue;Dutch Byerly;;6.0;4.0;20.0;7.0;(38.0);11.0;(44.0);3.0;31.0;35.0;28.0;;;227.0;145.0;
|
||||
44th;USA;19492;Blue;Gavin McJones;;28.0;23.0;(40.0);2.0;14.0;9.0;(78.0 BFD);40.0;23.0;28.0;71.0;;;356.0;238.0;
|
||||
28th;USA;17090;Blue;Elizabeth Kaplan;;6.0;(25.0);9.0;11.0;5.0;15.0;(36.0);31.0;20.0;22.0;36.0;;;216.0;155.0;
|
||||
25th;USA;12586;Red;Asher Zittrer;;11.0;10.0;2.0;10.0;4.0;(18.0);21.0;42.0;8.0;39.0;(74.0);;;239.0;147.0;
|
||||
14th;USA;14577;Red;Jack Howard;;6.0;11.0;11.0;(32.0);20.0;20.0;4.0;11.0;17.0;11.0;(57.0);;;200.0;111.0;
|
||||
151st;USA;17251;Blue;Daven Subbiah;;(78.0 DNC);(78.0 DNC);78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;;;;780.0;624.0;
|
||||
9th;USA;18166;Blue;Max Anker;;4.0;11.0;1.0;5.0;(31.0);3.0;(39.0);4.0;9.0;25.0;9.0;;;141.0;71.0;
|
||||
7th;USA;18574;Red;Tommy Whittemore;;10.0;5.0;(14.0);1.0;1.0;4.0;3.0;25.0;(48.0);8.0;12.0;;;131.0;69.0;
|
||||
68th;USA;13301;Red;Harrison Bailey;;20.0;24.0;29.0;21.0;(50.0);25.0;61.0;(73.0);58.0;65.0;23.0;;;449.0;326.0;
|
||||
70th;USA;19825;Red;Ansgar Jordan;;15.0;33.0;27.0;(34.0);31.0;10.0;(78.0 BFD);78.0;50.0;64.0;20.0;;;440.0;328.0;
|
||||
41st;USA;17270;Red;Michelle Lahrkamp;;17.0;18.0;(40.0);18.0;6.0;15.0;(70.0);21.0;49.0;50.0;33.0;;;337.0;227.0;
|
||||
10th;USA;18957;Red;Dylan Ascencios;;4.0;5.0;3.0;3.0;(7.0);5.0;15.0;15.0;10.0;13.0;(39.0);;;119.0;73.0;
|
||||
6th;USA;16124;Blue;William Priebe;;(42.0);(39.0);17.0;31.0;28.0;21.0;20.0;16.0;19.0;2.0;;;;235.0;154.0;
|
||||
39th;USA;17865;Blue;Lachlain McGranahan;;24.0;(57.0);16.0;7.0;29.0;7.0;22.0;28.0;30.0;(73.0);53.0;;;346.0;216.0;
|
||||
51st;USA;15527;Red;Kara Scully;;11.0;15.0;20.0;23.0;(34.0);14.0;46.0;(60.0);39.0;47.0;49.0;;;358.0;264.0;
|
||||
53rd;USA;17665;Blue;Madeleine Rice;;27.0;22.0;(43.0);19.0;19.0;36.0;32.0;(43.0);38.0;43.0;31.0;;;353.0;267.0;
|
||||
38th;USA;14618;Red;Luke Welker;;10.0;13.0;15.0;(41.0);16.0;16.0;63.0;(71.0);16.0;53.0;13.0;;;327.0;215.0;
|
||||
75th;USA;19349;Red;Julia LaForgia;;(35.0);35.0;15.0;9.0;15.0;24.0;65.0;76.0;(77.0);74.0;30.0;;;455.0;343.0;
|
||||
31st;USA;20128;Red;Stan Picard;;(30.0);13.0;24.0;19.0;11.0;8.0;8.0;20.0;(41.0);23.0;37.0;;;234.0;163.0;
|
||||
34th;USA;20545;Blue;Michael Burns;;21.0;9.0;9.0;(26.0);3.0;16.0;13.0;47.0;44.0;(48.0);27.0;;;263.0;189.0;
|
||||
9th;USA;20441;Red;Max Mayol;;33.0;22.0;32.0;(34.0);(40.0);23.0;6.0;4.0;21.0;21.0;;;;236.0;162.0;
|
||||
47th;USA;16356;Blue;John Eastman;;28.0;30.0;10.0;(38.0);23.0;27.0;24.0;(49.0);47.0;18.0;40.0;;;334.0;247.0;
|
||||
8th;USA;17255;Red;Sarah Burn;;1.0;3.0;(9.0);1.0;1.0;1.0;(41.0);7.0;37.0;19.0;1.0;;;121.0;71.0;
|
||||
59th;USA;20694;Red;Owen Timms;;40.0;6.0;(43.0);17.0;14.0;20.0;40.0;51.0;(71.0);56.0;47.0;;;405.0;291.0;
|
||||
46th;USA;14076;Red;Nick Chisari;;12.0;20.0;5.0;42.0;(78.0 UFD);11.0;(69.0);41.0;66.0;21.0;24.0;;;389.0;242.0;
|
||||
18th;USA;18300;Blue;Alex Temko;;(47.0);42.0;23.0;25.0;30.0;16.0;1.0;14.0;32.0;(78.0 BFD);;;;308.0;183.0;
|
||||
2nd;USA;15771;Blue;Bella Casaretto;;13.0;3.0;1.0;2.0;4.0;(27.0);9.0;10.0;2.0;5.0;(43.0);;;119.0;49.0;
|
||||
64th;USA;14440;Red;Brooke Shachoy;;19.0;25.0;22.0;20.0;(46.0);9.0;66.0;52.0;(68.0);49.0;48.0;;;424.0;310.0;
|
||||
65th;USA;16712;Blue;Will Foox;;33.0;(50.0);37.0;44.0;43.0;6.0;36.0;45.0;(60.0);38.0;;;;392.0;282.0;
|
||||
11th;USA;15690;Red;Patricia Gerli;;24.0;33.0;34.0;(35.0);(47.0);35.0;4.0;13.0;18.0;7.0;;;;250.0;168.0;
|
||||
19th;USA;17356;Red;Christian Ehrnrooth;;(49.0);36.0;(58.0);25.0;44.0;41.0;4.0;19.0;4.0;10.0;;;;290.0;183.0;
|
||||
23rd;USA;18278;Blue;Garrett Dixon;;45.0;22.0;(78.0 OCS);30.0;11.0;(47.0);21.0;8.0;20.0;31.0;;;;313.0;188.0;
|
||||
151st;USA;16630;Blue;Jagan Subbiah;;(78.0 DNC);(78.0 DNC);78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;;;;780.0;624.0;
|
||||
1st;USA;5436;Red;Ripley Shelley;;3.0;1.0;(13.0);9.0;9.0;6.0;7.0;(24.0);1.0;1.0;5.0;;;79.0;42.0;
|
||||
43rd;USA;16031;Red;Dana Haig;;29.0;15.0;(52.0);29.0;41.0;41.0;21.0;29.0;(42.0);24.0;;;;323.0;229.0;
|
||||
61st;USA;17808;Red;Reed Menszer;;(43.0);19.0;35.0;14.0;43.0;3.0;34.0;(59.0);54.0;44.0;55.0;;;403.0;301.0;
|
||||
48th;USA;16639;Blue;Matthew Monts;;23.0;26.0;15.0;(27.0);17.0;26.0;38.0;53.0;28.0;(58.0);29.0;;;340.0;255.0;
|
||||
58th;USA;14642;Red;Cameron Turner;;33.0;17.0;(37.0);15.0;10.0;12.0;67.0;(69.0);21.0;63.0;52.0;;;396.0;290.0;
|
||||
78th;USA;18442;Blue;Charlie Roseberry;;(37.0);28.0;7.0;36.0;19.0;17.0;53.0;50.0;74.0;(76.0);73.0;;;470.0;357.0;
|
||||
76th;USA;17785;Red;Jojo Bolduc;;24.0;24.0;(26.0);24.0;12.0;25.0;68.0;38.0;(75.0);59.0;72.0;;;447.0;346.0;
|
||||
77th;USA;16293;Red;Scott Harris;;20.0;16.0;33.0;4.0;32.0;(43.0);71.0;64.0;42.0;68.0;(76.0);;;469.0;350.0;
|
||||
71st;USA;17242;Red;Jack Farrell;;51.0;(57.0);30.0;(68.0);57.0;51.0;43.0;26.0;22.0;14.0;;;;419.0;294.0;
|
||||
74th;USA;19308;Blue;Andrew Florio;;26.0;19.0;28.0;27.0;(49.0);20.0;57.0;58.0;65.0;(66.0);41.0;;;456.0;341.0;
|
||||
72nd;USA;20793;Blue;Javier Garcon;;8.0;14.0;32.0;26.0;12.0;(33.0);49.0;(74.0);61.0;69.0;68.0;;;446.0;339.0;
|
||||
55th;USA;19511;Blue;Torrey Chisari;;16.0;20.0;8.0;33.0;22.0;(50.0);54.0;46.0;63.0;(71.0);14.0;;;397.0;276.0;
|
||||
50th;USA;17635;Blue;Will Turner;;16.0;(28.0);20.0;21.0;21.0;7.0;62.0;(77.0);26.0;29.0;61.0;;;368.0;263.0;
|
||||
49th;USA;18813;Blue;Chris Purcell;;9.0;12.0;(21.0);18.0;16.0;10.0;59.0;54.0;64.0;14.0;(78.0 DNF);;;355.0;256.0;
|
||||
107th;USA;18995;Blue;Marcus Huttunen;;(58.0);44.0;56.0;55.0;(58.0);54.0;53.0;52.0;45.0;53.0;;;;528.0;412.0;
|
||||
7th;USA;18956;Blue;Sofia Segalla;;15.0;34.0;30.0;(50.0);(68.0);28.0;14.0;2.0;27.0;5.0;;;;273.0;155.0;
|
||||
21st;USA;18515;Red;Griffin Segalla;;31.0;12.0;8.0;6.0;(36.0);2.0;11.0;29.0;24.0;(75.0);7.0;;;241.0;130.0;
|
||||
31st;USA;20507;Red;Chance Slack;;18.0;(50.0);37.0;45.0;(46.0);24.0;2.0;22.0;18.0;45.0;;;;307.0;211.0;
|
||||
54th;USA;14838;Blue;Oliver Hurwitz;;42.0;6.0;25.0;(64.0);58.0;(70.0);41.0;40.0;38.0;3.0;;;;387.0;253.0;
|
||||
63rd;USA;20529;Blue;Emily Mueller;;44.0;(47.0);28.0;(54.0);29.0;44.0;24.0;38.0;31.0;30.0;;;;369.0;268.0;
|
||||
24th;USA;16794;Red;Declan McGranahan;;46.0;18.0;(55.0);40.0;34.0;25.0;10.0;5.0;14.0;(58.0);;;;305.0;192.0;
|
||||
64th;USA;15537;Blue;Heather Kerns;;46.0;33.0;46.0;(52.0);28.0;26.0;37.0;(58.0);24.0;32.0;;;;382.0;272.0;
|
||||
33rd;USA;19283;Red;Michael Cruz-Bustillo;;27.0;27.0;(62.0);(68.0);30.0;48.0;3.0;44.0;23.0;11.0;;;;343.0;213.0;
|
||||
57th;USA;13346;Red;Riley Kloc;;36.0;12.0;11.0;(42.0);21.0;19.0;(78.0 BFD);62.0;57.0;37.0;26.0;;;401.0;281.0;
|
||||
58th;USA;16951;Blue;Caleb Yoslov;;23.0;(65.0);17.0;37.0;(59.0);57.0;34.0;43.0;36.0;11.0;;;;382.0;258.0;
|
||||
73rd;USA;19140;Blue;Griffin Spinney;;46.0;37.0;23.0;(53.0);(55.0);31.0;53.0;46.0;29.0;29.0;;;;402.0;294.0;
|
||||
62nd;USA;18310;Blue;Matthew King;;10.0;14.0;24.0;32.0;35.0;(42.0);58.0;(70.0);55.0;55.0;19.0;;;414.0;302.0;
|
||||
42nd;USA;17854;Blue;Eddie Holden;;37.0;(54.0);(78.0 OCS);35.0;11.0;40.0;41.0;5.0;38.0;22.0;;;;361.0;229.0;
|
||||
73rd;USA;20171;Red;William Lusty;;14.0;41.0;(43.0);20.0;27.0;14.0;(78.0 BFD);63.0;60.0;77.0;25.0;;;462.0;341.0;
|
||||
53rd;USA;19186;Blue;Lauren Ehnot;;47.0;29.0;33.0;(55.0);12.0;17.0;45.0;17.0;52.0;(56.0);;;;363.0;252.0;
|
||||
56th;USA;14678;Blue;Jack Landon;;37.0;48.0;30.0;(57.0);(63.0);55.0;18.0;24.0;23.0;21.0;;;;376.0;256.0;
|
||||
77th;USA;18793;Red;Chloe Holder;;47.0;52.0;32.0;44.0;(53.0);30.0;30.0;22.0;(58.0);44.0;;;;412.0;301.0;
|
||||
56th;USA;20571;Blue;Liam Randall;;9.0;8.0;19.0;(49.0);24.0;34.0;(73.0);61.0;69.0;36.0;16.0;;;398.0;276.0;
|
||||
38th;USA;18509;Blue;Jack Solmo;;36.0;(56.0);11.0;(47.0);43.0;37.0;46.0;3.0;41.0;8.0;;;;328.0;225.0;
|
||||
5th;USA;18702;Red;Kenny Corsig;;(40.0);(37.0);22.0;31.0;32.0;17.0;15.0;19.0;11.0;4.0;;;;228.0;151.0;
|
||||
69th;USA;20222;Blue;Harrison Menszer;;14.0;34.0;18.0;22.0;32.0;(78.0 BFD);51.0;56.0;(73.0);61.0;38.0;;;477.0;326.0;
|
||||
87th;USA;20966;Blue;Katherine McNamara;;35.0;36.0;39.0;(76.0);(51.0);49.0;48.0;47.0;27.0;47.0;;;;455.0;328.0;
|
||||
69th;USA;20736;White;Ryan Ehnot;;50.0;45.0;(54.0);(53.0);35.0;49.0;15.0 DPI;20.0;43.0;35.0;;;;399.0;292.0;
|
||||
45th;USA;13581;Blue;Grant Janov;;19.0;40.0;22.0;(53.0);48.0;13.0;33.0;44.0;19.0;(59.0);;;;350.0;238.0;
|
||||
18th;USA;18303;Blue;Zane Rogers;;1.0;2.0;29.0;14.0;3.0;(78.0 BFD);26.0;5.0;36.0;3.0;(67.0);;;264.0;119.0;
|
||||
2nd;USA;20592;White;Jake Mayol;;32.0;(44.0);(42.0);17.0;8.0;32.0;9.0;1.0;3.0;15.0;;;;203.0;117.0;
|
||||
83rd;USA;19291;Red;Grace Austin;;48.0;48.0;27.0;44.0;44.0;(51.0);42.0;18.0;39.0;(53.0);;;;414.0;310.0;
|
||||
95th;USA;20252;Blue;Polk Baggett;;40.0;56.0;63.0;(70.0);60.0;(64.0);50.0;32.0;37.0;37.0;;;;509.0;375.0;
|
||||
45th;USA;20797;White;Stephan Baker;;(78.0 OCS);6.0;21.0;17.0;14.0;10.0;55.0;33.0;33.0;52.0;(60.0);;;379.0;241.0;
|
||||
103rd;USA;17725;Blue;Ella Barry;;64.0;55.0;47.0;(66.0);65.0;62.0;(67.0);21.0;42.0;51.0;;;;540.0;407.0;
|
||||
46th;USA;13184;Blue;Joshua Bartoszuk;;(45.0);42.0;(59.0);23.0;37.0;30.0;30.0;20.0;25.0;32.0;;;;343.0;239.0;
|
||||
3rd;USA;18514;Blue;Jeb Bechtel;;13.0;(49.0);6.0;29.0;(44.0);32.0;13.0;25.0;10.0;6.0;;;;227.0;134.0;
|
||||
36th;Israel;ISR 325;Red;Ido ben ezra;;22.0;10.0;17.0;22.0;(36.0);4.0;(45.0);39.0;45.0;41.0;4.0;;;285.0;204.0;
|
||||
93rd;USA;16008;Red;Carlyn Blauvelt;;50.0;53.0;45.0;(66.0);55.0;60.0;39.0;(63.0);43.0;24.0;;;;498.0;369.0;
|
||||
133rd;USA;15128;Blue;Garrett Blosen;;71.0;(73.0);69.0;(72.0);67.0;52.0;61.0;31.0;71.0;62.0;;;;629.0;484.0;
|
||||
44th;USA;19075;Blue;Anika Boicheff;;38.0;(52.0);36.0;(65.0);29.0;23.0;24.0;42.0;24.0;18.0;;;;351.0;234.0;
|
||||
142nd;USA;11167;White;Maddie Bramson;;(73.0);72.0;(78.0 OCS);64.0;66.0;58.0;68.0;61.0;69.0;70.0;;;;679.0;528.0;
|
||||
97th;USA;19294;Blue;Kyle Bramson;;(69.0);(70.0);69.0;65.0;49.0;45.0;57.0;18.0 DPI;41.0;39.0;;;;522.0;383.0;
|
||||
112th;USA;19924;Blue;Lucy Brock;;(71.0);60.0;61.0;(69.0);67.0;52.0;58.0;51.0;17.0;61.0;;;;567.0;427.0;
|
||||
94th;USA;20139;White;James Brock;;(64.0);59.0;64.0;39.0;61.0;43.0;23.0;53.0;33.0;(78.0 BFD);;;;517.0;375.0;
|
||||
4th;USA;20739;Blue;Taft Buckley;;34.0;26.0;(46.0);28.0;27.0;(78.0 BFD);11.0;3.0;1.0;10.0;;;;264.0;140.0;
|
||||
74th;USA;18466;Blue;Cordelia Burn;;(62.0);43.0;33.0;(57.0);52.0;47.0;8.0;52.0;28.0;36.0;;;;418.0;299.0;
|
||||
35th;USA;18914;Blue;Gideon Burnes Heath;;29.0;36.0;26.0;35.0;(46.0);(65.0);25.0;18.0;16.0;33.0;;;;329.0;218.0;
|
||||
13th;Bahamas;BAH 192;Red;Cochise Burrows;;43.0;(51.0);31.0;30.0;(75.0);30.0;7.0;24.0;9.0;1.0;;;;301.0;175.0;
|
||||
40th;USA;17221;Red;Abbie Carlson;;(51.0);46.0;31.0;(72.0);28.0;36.0;31.0;15.0;6.0;33.0;;;;349.0;226.0;
|
||||
109th;USA;17124;Red;Jack Carminati;;74.0;(77.0);56.0;70.0;54.0;(78.0 UFD);52.0;28.0;53.0;34.0;;;;576.0;421.0;
|
||||
47th;USA;18270;Red;Summer Chang;;(55.0);47.0;52.0;29.0;38.0;47.0;1.0;10.0;16.0;(78.0 DNS);;;;373.0;240.0;
|
||||
146th;USA;20220;Red;Jack Childs;;74.0;(75.0);64.0;71.0;70.0;(78.0 UFD);70.0;72.0;72.0;50.0;;;;696.0;543.0;
|
||||
78th;USA;20731;White;Griffin Clark;;34.0;(60.0);36.0;54.0;26.0;35.0;47.0;35.0;35.0;(60.0);;;;422.0;302.0;
|
||||
67th;United Kingdom;GBR 6278;Red;Calum Cook;;26.0;16.0;25.0;5.0;(78.0 UFD);31.0;47.0;(65.0);51.0;62.0;62.0;;;468.0;325.0;
|
||||
102nd;USA;19787;Blue;Meg Courtney;;57.0;50.0;44.0;(64.0);57.0;62.0;38.0;(67.0);55.0;35.0;;;;529.0;398.0;
|
||||
123rd;USA;15561;White;Carter Cox;;51.0;73.0;(78.0 OCS);62.0;(78.0 UFD);78.0 UFD;44.0;62.0;74.0;17.0;;;;617.0;461.0;
|
||||
105th;USA;20685;White;Alex Cruz-Bustillo;;(62.0);51.0;41.0;62.0;54.0;(65.0);55.0;54.0;35.0;60.0;;;;539.0;412.0;
|
||||
57th;USA;14124;Red;Maia Dastur;;39.0;41.0;45.0;(57.0);41.0;18.0;9.0;33.0;31.0;(57.0);;;;371.0;257.0;
|
||||
138th;USA;18869;Blue;Tot Davis;;65.0;65.0;(74.0);(73.0);62.0;70.0;65.0;55.0;63.0;62.0;;;;654.0;507.0;
|
||||
151st;USA;20397;Blue;Galen Deane;;(78.0 DNC);(78.0 DNC);78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;;;;780.0;624.0;
|
||||
60th;Bahamas;BAH 181;Red;Benjamin Derbyshire;;9.0;38.0;(65.0);3.0;24.0;28.0;17.0;68.0;43.0;70.0;(75.0);;;440.0;300.0;
|
||||
147th;USA;17042;Blue;Arabella Dixon;;(78.0 DNC);71.0;66.0;(75.0);66.0;68.0;67.0;73.0;65.0;67.0;;;;696.0;543.0;
|
||||
100th;USA;20334;Blue;Francesca Edmands;;60.0;(61.0);44.0;61.0;55.0;40.0;61.0;(68.0);47.0;20.0;;;;517.0;388.0;
|
||||
29th;USA;15099;Blue;Oliver Eielson;;32.0;31.0;31.0;(43.0);(45.0);34.0;18.0;23.0;8.0;28.0;;;;293.0;205.0;
|
||||
49th;Bahamas;BAH 137;Blue;Tristan Eldon;;25.0;(66.0);63.0;15.0;40.0;(78.0 BFD);26.0;45.0;6.0;23.0;;;;387.0;243.0;
|
||||
101st;USA;19480;White;Tristan Feves;;54.0;53.0;59.0;58.0;56.0;(66.0);(64.0);59.0;46.0;13.0;;;;528.0;398.0;
|
||||
82nd;USA;142;White;Sophia Fisher;;38.0;39.0;(60.0);43.0;(53.0);49.0;44.0;42.0;12.0 DPI;43.0;;;;423.0;310.0;
|
||||
76th;USA;14245;Blue;Jack Fisher;;41.0;31.0;(50.0);25.0;(70.0);46.0;36.0;36.0;48.0;37.0;;;;420.0;300.0;
|
||||
39th;USA;20005;Blue;Peter Foley;;30.0;45.0;27.0;26.0;6.0;(60.0);35.0;47.0;9.0;(69.0);;;;354.0;225.0;
|
||||
48th;USA;15552;White;Ben Foox;;(55.0);43.0;51.0;49.0;13.0;(55.0);31.0;10.0;29.0;16.0;;;;352.0;242.0;
|
||||
98th;USA;20809;Blue;John Franco;;(67.0);(68.0);66.0;47.0;45.0;42.0;63.0;58.0;56.0;7.0;;;;519.0;384.0;
|
||||
26th;USA;14246;Blue;Brandon Geller;;22.0;34.0;46.0;40.0;(54.0);(61.0);16.0;12.0;12.0;12.0;;;;309.0;194.0;
|
||||
116th;USA;20785;Blue;Niko Georgiev;;56.0;(62.0);57.0;(66.0);56.0;57.0;57.0;53.0;48.0;49.0;;;;561.0;433.0;
|
||||
25th;USA;7444;Blue;Griffin Gigliotti;;2.0;39.0;28.0;12.0;(52.0);(44.0);27.0;31.0;13.0;40.0;;;;288.0;192.0;
|
||||
126th;USA;17145;Blue;Will Glasson;;62.0;(74.0);68.0;59.0;37.0;53.0;(74.0);74.0;67.0;46.0;;;;614.0;466.0;
|
||||
71st;USA;12218;Red;Meghan Gonzalez;;26.0;23.0;14.0;(34.0);23.0;4.0;72.0;45.0;62.0;60.0;(77.0);;;440.0;329.0;
|
||||
8th;USA;20116;Red;Nick Graziano;;43.0;29.0;(78.0 RET);12.0;(50.0);6.0;8.0;33.0;17.0 DPI;9.0;;;;285.0;157.0;
|
||||
86th;USA;18402;White;Kaitlyn Hamilton;;52.0;38.0;(61.0);51.0;(66.0);46.0;42.0;37.0;46.0;14.0;;;;453.0;326.0;
|
||||
125th;USA;18025;Red;Jeffrey Hartwyk;;65.0;56.0;(72.0);63.0;56.0;40.0;(70.0);56.0;69.0;56.0;;;;603.0;461.0;
|
||||
36th;USA;20234;Red;Rebecca Hillestad;;21.0;(59.0);14.0;32.0;33.0;24.0;40.0;28.0;30.0;(41.0);;;;322.0;222.0;
|
||||
132nd;USA;19257;White;Sydney Holder;;72.0;61.0;(75.0);60.0;69.0;57.0;49.0;49.0;(75.0);64.0;;;;631.0;481.0;
|
||||
22nd;USA;16731;Red;Callista Hopkins;;27.0;23.0;(53.0);(38.0);26.0;26.0;20.0;35.0;21.0;9.0;;;;278.0;187.0;
|
||||
34th;USA;15531;Blue;Robert Hopkins;;21.0;(55.0);35.0;33.0;23.0;(44.0);19.0;30.0;34.0;19.0;;;;313.0;214.0;
|
||||
124th;USA;17989;White;Adra Ivancich;;(75.0);69.0;60.0;61.0;(74.0);56.0;66.0;72.0;50.0;27.0;;;;610.0;461.0;
|
||||
104th;USA;14135;Red;Ryan Janov;;61.0;57.0;48.0;(73.0);21.0;59.0;60.0;(67.0);57.0;46.0;;;;549.0;409.0;
|
||||
130th;USA;20494;Red;Kyle Jezak;;68.0;(71.0);(70.0);48.0;39.0;69.0;64.0;64.0;70.0;52.0;;;;615.0;474.0;
|
||||
59th;USA;19343;White;Peter Joslin;;44.0;(70.0);42.0;56.0;(61.0);29.0;3.0;11.0;54.0;20.0;;;;390.0;259.0;
|
||||
150th;USA;20808;Blue;Charles Keldsen;;(78.0 DNC);(78.0 DNF);71.0;76.0;76.0;70.0;75.0;75.0;74.0;70.0;;;;743.0;587.0;
|
||||
129th;USA;20186;Red;Cole Korchek;;64.0;63.0;(78.0 OCS);60.0;(78.0 UFD);59.0;32.0;59.0;72.0;65.0;;;;630.0;474.0;
|
||||
16th;USA;18923;White;Vanessa Lahrkamp;;31.0;13.0;23.0;(40.0);40.0;(63.0);12.0;21.0;36.0;5.0;;;;284.0;181.0;
|
||||
13th;Bermuda;BER 1099;Red;Adam Larson;;12.0;8.0;(34.0);11.0;9.0;14.0;(33.0);9.0;25.0;10.0;8.0;;;173.0;106.0;
|
||||
99th;USA;18101;Blue;Svenja Leonard;;(66.0);26.0;41.0;63.0;57.0;63.0;62.0;(65.0);49.0;26.0;;;;518.0;387.0;
|
||||
96th;USA;13295;Blue;Justin Lim;;(69.0);62.0;56.0;(67.0);62.0;33.0;47.0;34.0;57.0;27.0;;;;514.0;378.0;
|
||||
128th;USA;8998;Blue;Sophie Lusty;;68.0;(75.0);50.0;62.0;(72.0);63.0;63.0;57.0;56.0;54.0;;;;620.0;473.0;
|
||||
55th;USA;20975;Blue;Connor Macken;;(63.0);43.0;48.0;23.0;(62.0);33.0;16.0;36.0;32.0;23.0;;;;379.0;254.0;
|
||||
144th;USA;239;White;Matias Martin;;70.0;65.0;67.0;(78.0 DNC);65.0;71.0;71.0;64.0;(73.0);65.0;;;;689.0;538.0;
|
||||
50th;USA;17096;Blue;Matty Matich;;32.0;40.0;(58.0);39.0;41.0;38.0;14.0;15.0;(51.0);29.0;;;;357.0;248.0;
|
||||
42nd;USA;18811;White;Enzo Menditto;;2.0;(32.0);29.0;24.0;15.0;21.0;30.0;36.0;32.0;38.0;(64.0);;;323.0;227.0;
|
||||
84th;USA;20221;Blue;Ellie Menszer;;41.0;50.0;48.0;22.0;(60.0);53.0;29.0;(68.0);30.0;44.0;;;;445.0;317.0;
|
||||
121st;USA;19244;Blue;Will Michels;;67.0;(74.0);(73.0);65.0;73.0;68.0;34.0;61.0;54.0;31.0;;;;600.0;453.0;
|
||||
61st;USA;15566;Blue;Conrad Miller;;25.0;29.0;(78.0 DNC);51.0;(53.0);42.0;17.0;48.0;8.0;42.0;;;;393.0;262.0;
|
||||
88th;USA;19709;Blue;Will Moller;;66.0;(67.0);26.0;63.0;64.0;(69.0);38.0;32.0;4.0;36.0;;;;465.0;329.0;
|
||||
115th;USA;8239;Blue;Cade Morrell;;60.0;46.0;54.0;45.0;(68.0);61.0;48.0;(65.0);62.0;55.0;;;;564.0;431.0;
|
||||
66th;USA;18156;Red;Matthew Morrell;;(63.0);54.0;55.0;33.0;31.0;48.0;22.0;25.0;15.0;(57.0);;;;403.0;283.0;
|
||||
151st;USA;999966;Red;Cade Morris;;(78.0 DNC);(78.0 DNC);78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;78.0 DNC;;;;780.0;624.0;
|
||||
80th;USA;20783;Blue;Michael Moss;;55.0;(63.0);21.0;49.0;50.0;53.0;27.0;(70.0);13.0;41.0;;;;442.0;309.0;
|
||||
60th;USA;2404;White;Benjamin Mueller;;49.0;37.0;(50.0);16.0;25.0;43.0;2.0;54.0;34.0;(63.0);;;;373.0;260.0;
|
||||
10th;USA;18058;Blue;Katie Nelson;;28.0;30.0;(44.0);37.0;7.0;27.0;(45.0);7.0;25.0;6.0;;;;256.0;167.0;
|
||||
143rd;USA;18417;Red;Carter Nestell;;69.0;64.0;(71.0);59.0;63.0;67.0;73.0;74.0;60.0;(78.0 BFD);;;;678.0;529.0;
|
||||
119th;USA;20266;Red;Margot Okuno;;(71.0);(73.0);68.0;39.0;49.0;60.0;50.0;62.0;62.0;50.0;;;;584.0;440.0;
|
||||
63rd;USA;15027;Blue;Dane Petrakis;;17.0;18.0;18.0;14.0;18.0;(22.0);52.0;44.0;(72.0);67.0;59.0;;;401.0;307.0;
|
||||
72nd;Canada;CAN 1458;Blue;Peach Phillips;;(65.0);46.0;47.0;15.0;27.0;(66.0);43.0;48.0;26.0;42.0;;;;425.0;294.0;
|
||||
20th;USA;19603;Blue;Casey Pickett;;44.0;40.0;39.0;(47.0);10.0;(52.0);10.0;27.0;5.0;8.0;;;;282.0;183.0;
|
||||
37th;USA;19819;Blue;Luke Pond;;5.0;15.0;(45.0);27.0;24.0;22.0;14.0;26.0;52.0;(78.0);22.0;;;330.0;207.0;
|
||||
79th;USA;18422;Blue;Hanna Progelhof;;45.0;(53.0);24.0;46.0;(52.0);35.0;25.0;39.0;51.0;40.0;;;;410.0;305.0;
|
||||
41st;Bahamas;BAH 111;Red;Tahj Ramirez;;(59.0);(49.0);49.0;28.0;38.0;48.0;17.0;30.0;14.0;3.0;;;;335.0;227.0;
|
||||
32nd;USA;19490;Red;Bastien Rasse;;(56.0);44.0;(49.0);11.0;13.0;39.0;28.0;2.0;40.0;34.0;;;;316.0;211.0;
|
||||
114th;Bahamas;BAH 197;Blue;Blake Roberts;;59.0;58.0;(70.0);37.0;65.0;31.0;60.0;57.0;(75.0);63.0;;;;575.0;430.0;
|
||||
149th;USA;15665;White;Tenaya Romero;;67.0;66.0;70.0;61.0;(74.0);69.0;75.0;75.0;68.0;(78.0 DNC);;;;703.0;551.0;
|
||||
43rd;USA;21122;Blue;Ben Rosenberg;;30.0;20.0;8.0;(75.0);22.0;18.0;23.0;(75.0);53.0;46.0;15.0;;;385.0;235.0;
|
||||
17th;USA;12802;Red;Denver Rozzo;;18.0;35.0;25.0;16.0;42.0;(78.0 UFD);6.0;23.0;(44.0);16.0;;;;303.0;181.0;
|
||||
70th;USA;18371;White;Richard Rychlik;;(58.0);42.0;(53.0);52.0;19.0;46.0;46.0;6.0;37.0;45.0;;;;404.0;293.0;
|
||||
135th;USA;18496;Blue;Peter Sangmeister;;68.0;35.0;65.0;71.0;68.0;(78.0 BFD);59.0;55.0;64.0;(78.0 BFD);;;;641.0;485.0;
|
||||
85th;USA;8;Blue;Daren Sathasivam;;57.0;(59.0);59.0;46.0;33.0;38.0;33.0;9.0;44.0;(78.0 BFD);;;;456.0;319.0;
|
||||
89th;USA;20302;White;Ryan Satterberg;;(58.0);45.0;53.0;51.0;36.0;54.0;37.0;9.0;(58.0);48.0;;;;449.0;333.0;
|
||||
140th;USA;18953;Blue;Cameron Scheiblauer;;61.0;67.0;63.0;(74.0);69.0;(78.0 BFD);51.0;66.0;66.0;66.0;;;;661.0;509.0;
|
||||
120th;USA;20058;Blue;Brooke Schmelz;;42.0;(66.0);60.0;52.0;45.0;62.0;54.0;66.0;61.0;(78.0 RET);;;;586.0;442.0;
|
||||
141st;USA;20510;White;Becky Schmitz;;39.0;72.0;72.0;(75.0);71.0;65.0;(73.0);73.0;63.0;68.0;;;;671.0;523.0;
|
||||
81st;USA;11539;Blue;Sara Schumann;;63.0;(64.0);55.0;46.0;16.0;(78.0 BFD);54.0;17.0;39.0;19.0;;;;451.0;309.0;
|
||||
52nd;USA;19033;Blue;Fritz Sellig;;5.0;21.0;3.0;21.0;17.0;(28.0);27.0;66.0;(76.0);72.0;34.0;;;370.0;266.0;
|
||||
111th;USA;19411;Blue;Reed Shachoy;;60.0;(71.0);61.0;56.0;(72.0);56.0;56.0;43.0;53.0;38.0;;;;566.0;423.0;
|
||||
108th;USA;19300;Red;Elizabeth Shanahan;;57.0;58.0;52.0;58.0;(73.0);41.0;58.0;34.0;(71.0);59.0;;;;561.0;417.0;
|
||||
92nd;USA;17767;Blue;Kieran Shocklee;;41.0;48.0;(57.0);50.0;51.0;(66.0);49.0;41.0;49.0;22.0;;;;474.0;351.0;
|
||||
30th;USA;19978;White;Jonathan Siegel;;29.0;28.0;(47.0);31.0;(51.0);37.0;15.0;38.0;5.0;26.0;;;;307.0;209.0;
|
||||
113th;USA;19742;Red;Madeline Simms;;(73.0);55.0;67.0;43.0;30.0;(78.0 BFD);72.0;51.0;55.0;55.0;;;;579.0;428.0;
|
||||
52nd;USA;15606;Red;Justin Skene;;36.0;27.0;36.0;45.0;(47.0);39.0;40.0;13.0;(47.0);15.0;;;;345.0;251.0;
|
||||
28th;USA;19636;White;Tony Slowik;;8.0;(49.0);(38.0);38.0;26.0;29.0;11.0;37.0;26.0;28.0;;;;290.0;203.0;
|
||||
68th;USA;8221;Blue;Shell Smith;;(70.0);63.0;51.0;(68.0);61.0;56.0;28.0;16.0;12.0;2.0;;;;427.0;289.0;
|
||||
65th;USA;13450;Red;Kirby Smith;;(34.0);19.0;16.0;28.0;22.0;23.0;64.0;(72.0);70.0;32.0;46.0;;;426.0;320.0;
|
||||
131st;USA;17705;White;Delaney Smith;;59.0;67.0;67.0;(72.0);60.0;67.0;(72.0);56.0;45.0;54.0;;;;619.0;475.0;
|
||||
14th;USA;18843;Blue;Shea Smith;;19.0;24.0;(38.0);36.0;34.0;(38.0);32.0;7.0;2.0;25.0;;;;255.0;179.0;
|
||||
137th;USA;16151;White;Camille Sole';;39.0;(74.0);(73.0);67.0;64.0;55.0;66.0;69.0;65.0;66.0;;;;638.0;491.0;
|
||||
134th;USA;17237;White;Charlie Sole';;53.0;60.0;64.0;(74.0);67.0;59.0;59.0;63.0;59.0;(68.0);;;;626.0;484.0;
|
||||
118th;;17795;Blue;George Soliman;;49.0;69.0;(78.0 DNF);48.0;71.0;39.0;69.0;41.0;52.0;(78.0 BFD);;;;594.0;438.0;
|
||||
145th;USA;20818;White;Sebastian Spinelli-Sax;;(72.0);68.0;62.0;70.0;63.0;68.0;71.0;70.0;(73.0);69.0;;;;686.0;541.0;
|
||||
110th;Bahamas;BAH 151;Blue;Richard Spurlock;;53.0;58.0;57.0;(73.0);64.0;29.0;68.0;(69.0);68.0;25.0;;;;564.0;422.0;
|
||||
37th;USA;19598;Blue;Grace Squires;;25.0;41.0;39.0;(58.0);25.0;(45.0);29.0;26.0;22.0;17.0;;;;327.0;224.0;
|
||||
22nd;Bermuda;BER 1121;Blue;Tayte Stefaniuk;;7.0;8.0;(19.0);19.0;3.0;15.0;28.0;23.0;7.0;20.0;(70.0);;;219.0;130.0;
|
||||
139th;USA;CAN 1448;Red;Kaelin Stock;;(77.0);(76.0);66.0;59.0;48.0;64.0;74.0;71.0;67.0;58.0;;;;660.0;507.0;
|
||||
90th;USA;15588;White;Oliver Stokke;;(70.0);38.0;18.0;56.0;59.0;(61.0);52.0;39.0;28.0;49.0;;;;470.0;339.0;
|
||||
21st;USA;17130;Red;Sean Tallman;;(48.0);32.0;(62.0);48.0;9.0;32.0;13.0;11.0;20.0 DPI;18.0;;;;293.0;183.0;
|
||||
62nd;USA;18255;Blue;Emma Tallman;;(78.0 OCS);11.0;58.0;60.0;25.0;58.0;7.0;14.0;33.0;(78.0 BFD);;;;422.0;266.0;
|
||||
75th;USA;17375;Red;Ian Thomas;;(54.0);(69.0);40.0;54.0;42.0;50.0;26.0;29.0;11.0;47.0;;;;422.0;299.0;
|
||||
148th;USA;21040;Blue;Andrew Vandling;;76.0;(78.0);71.0;67.0;75.0;(78.0 UFD);65.0;71.0;70.0;52.0;;;;703.0;547.0;
|
||||
122nd;USA;18192;Red;Kyle Vaughn;;(78.0 OCS);72.0;51.0;74.0;58.0;(78.0 BFD);19.0;60.0;61.0;61.0;;;;612.0;456.0;
|
||||
106th;USA;13060;Red;Alexis Westland;;50.0;(68.0);54.0;42.0;59.0;54.0;(62.0);60.0;50.0;43.0;;;;542.0;412.0;
|
||||
136th;USA;20004;Red;Whit Whittall;;(78.0 DSQ);61.0;68.0;69.0;(70.0);51.0;56.0;50.0;66.0;67.0;;;;636.0;488.0;
|
||||
15th;USA;12617;Blue;Huck Whittemore;;(48.0);7.0;42.0;(55.0);37.0;37.0;23.0;27.0;3.0;4.0;;;;283.0;180.0;
|
||||
33rd;Bermuda;BER 1101;Red;Mikey Wollmann;;15.0;9.0;12.0;10.0;(18.0);13.0;(60.0);55.0;46.0;4.0;18.0;;;260.0;182.0;
|
||||
67th;USA;11553;Blue;Sarah Young;;(61.0);52.0;35.0;41.0;42.0;(58.0);39.0;46.0;20.0;13.0;;;;407.0;288.0;
|
||||
27th;USA;13580;Red;Tommy Young;;38.0;32.0;(49.0);36.0;35.0;(67.0);22.0;12.0;15.0;12.0;;;;318.0;202.0;
|
||||
127th;USA;16424;Blue;Preston Zeigler;;66.0;47.0;(74.0);69.0;69.0;(71.0);69.0;49.0;40.0;64.0;;;;618.0;473.0;
|
||||
117th;USA;16937;Red;Harrison Zeigler;;56.0;62.0;(65.0);50.0;48.0;(64.0);55.0;50.0;64.0;48.0;;;;562.0;433.0;
|
||||
91st;USA;15673;White;Noah Zittrer;;54.0;(70.0);69.0;(71.0);39.0;45.0;35.0;40.0;17.0;51.0;;;;491.0;350.0;
|
||||
40th;USA;19984;Blue;Gavin Meese;;20.0;(30.0);12.0 DPI;4.0;8.0;19.0;29.0;12.0;(67.0);54.0;63.0;;;318.0;221.0;
|
||||
+27
@@ -32,6 +32,7 @@ import com.sap.sse.common.impl.MillisecondsTimePoint;
|
||||
public class ParserTest {
|
||||
private static final String SAMPLE_INPUT_NAME_49er = "49er_R1-6.csv";
|
||||
private static final String SAMPLE_INPUT_NAME_49er_WithSpacesBetweenScoreAndMaxPointsReason = "49er_R1-7-with-blanks-between-score-and-maxpointreason.csv";
|
||||
private static final String SAMPLE_INPUT_NAME_USODA = "2014_usoda_nats_v2.txt";
|
||||
private static final String SAMPLE_INPUT_NAME_49erFX = "49erFX_R1-6.csv";
|
||||
private static final String SAMPLE_INPUT_NAME_505 = "505_SouthAfrica.csv";
|
||||
private static final String RESOURCES = "resources/";
|
||||
@@ -52,6 +53,7 @@ public class ParserTest {
|
||||
List<ResultDocumentDescriptor> result = new ArrayList<>();
|
||||
TimePoint now = MillisecondsTimePoint.now();
|
||||
result.add(new ResultDocumentDescriptorImpl(getInputStream(SAMPLE_INPUT_NAME_49er), SAMPLE_INPUT_NAME_49er, now));
|
||||
result.add(new ResultDocumentDescriptorImpl(getInputStream(SAMPLE_INPUT_NAME_USODA), SAMPLE_INPUT_NAME_USODA, now));
|
||||
result.add(new ResultDocumentDescriptorImpl(getInputStream(SAMPLE_INPUT_NAME_49er_WithSpacesBetweenScoreAndMaxPointsReason), SAMPLE_INPUT_NAME_49er_WithSpacesBetweenScoreAndMaxPointsReason, now));
|
||||
result.add(new ResultDocumentDescriptorImpl(getInputStream(SAMPLE_INPUT_NAME_49erFX), SAMPLE_INPUT_NAME_49erFX, now));
|
||||
result.add(new ResultDocumentDescriptorImpl(getInputStream(SAMPLE_INPUT_NAME_505), SAMPLE_INPUT_NAME_505, now));
|
||||
@@ -69,6 +71,10 @@ public class ParserTest {
|
||||
SAMPLE_INPUT_NAME_49er, MillisecondsTimePoint.now()).parseResults();
|
||||
assertNotNull(parseResults49er);
|
||||
|
||||
RegattaResults parseResultsUsodaNats = CsvParserFactory.INSTANCE.createParser(getInputStream(SAMPLE_INPUT_NAME_USODA),
|
||||
SAMPLE_INPUT_NAME_USODA, MillisecondsTimePoint.now()).parseResults();
|
||||
assertNotNull(parseResultsUsodaNats);
|
||||
|
||||
RegattaResults parseResults49erWithSpacesBetweenScoreAndMaxPointsReason = CsvParserFactory.INSTANCE.createParser(getInputStream(SAMPLE_INPUT_NAME_49er_WithSpacesBetweenScoreAndMaxPointsReason),
|
||||
SAMPLE_INPUT_NAME_49er_WithSpacesBetweenScoreAndMaxPointsReason, MillisecondsTimePoint.now()).parseResults();
|
||||
assertNotNull(parseResults49erWithSpacesBetweenScoreAndMaxPointsReason);
|
||||
@@ -102,6 +108,27 @@ public class ParserTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testScoreCorrectionProviderUsodaNats() throws Exception {
|
||||
ScoreCorrectionProviderImpl scoreCorrectionProvider = new ScoreCorrectionProviderImpl(getTestDocumentProvider(),
|
||||
CsvParserFactory.INSTANCE);
|
||||
Map<String, Set<com.sap.sse.common.Util.Pair<String, TimePoint>>> hasResultsFor = scoreCorrectionProvider.getHasResultsForBoatClassFromDateByEventName();
|
||||
RegattaScoreCorrections resultUsoda = scoreCorrectionProvider.getScoreCorrections(SAMPLE_INPUT_NAME_USODA,
|
||||
"Opti", hasResultsFor.get(SAMPLE_INPUT_NAME_USODA).iterator().next().getB());
|
||||
assertNotNull(resultUsoda);
|
||||
Iterable<ScoreCorrectionsForRace> scoreCorrectionsForRaces = resultUsoda.getScoreCorrectionsForRaces();
|
||||
assertNotNull(scoreCorrectionsForRaces);
|
||||
assertEquals(11, Util.size(scoreCorrectionsForRaces)); // 11 races filled only, although header says 13 races
|
||||
assertEquals(232, scoreCorrectionsForRaces.iterator().next().getSailIDs().size()); // 232 competitors
|
||||
{
|
||||
final ScoreCorrectionsForRace resultsForF1 = Util.get(scoreCorrectionsForRaces, 6);
|
||||
assertEquals(2, resultsForF1.getScoreCorrectionForCompetitor("USA 19781").getPoints(), 0.00000001);
|
||||
assertEquals(78, resultsForF1.getScoreCorrectionForCompetitor("USA 18943").getPoints(), 0.00000001);
|
||||
assertSame(MaxPointsReason.BFD, resultsForF1.getScoreCorrectionForCompetitor("USA 18943").getMaxPointsReason());
|
||||
assertEquals("Jamie Paul+", resultsForF1.getScoreCorrectionForCompetitor("USA 18943").getCompetitorName()); // empty crew name
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testScoreCorrectionProvider49erWithSpacesBetweenScoreAndMaxPointsReason() throws Exception {
|
||||
ScoreCorrectionProviderImpl scoreCorrectionProvider = new ScoreCorrectionProviderImpl(getTestDocumentProvider(),
|
||||
|
||||
+8
-7
@@ -7,6 +7,8 @@ import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import com.sap.sailing.resultimport.CompetitorEntry;
|
||||
import com.sap.sailing.resultimport.CompetitorRow;
|
||||
@@ -49,6 +51,7 @@ public class CsvParserImpl implements CsvParser {
|
||||
|
||||
@Override
|
||||
public RegattaResults parseResults() throws Exception {
|
||||
final Pattern totalRankPattern = Pattern.compile("([0-9]+)((st)|(nd)|(rd)|(th))?");
|
||||
final List<CompetitorRow> competitorRows = new ArrayList<>();
|
||||
|
||||
// Sample line for a couple of races
|
||||
@@ -78,14 +81,14 @@ public class CsvParserImpl implements CsvParser {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
// check for valid race row
|
||||
Integer.parseInt(firstEntry);
|
||||
|
||||
// check for valid race row; SailWave supports two ways of representing the rank: either as
|
||||
// 1st, 2nd, 3rd, 4th, ... or as 1, 2, 3, 4, ... We try to handle both:
|
||||
final Matcher totalRankMatcher = totalRankPattern.matcher(firstEntry);
|
||||
if (totalRankMatcher.matches()) {
|
||||
String[] splittedRow = line.split(SEPARATOR);
|
||||
String sailID = splittedRow[1] + " " + splittedRow[2];
|
||||
|
||||
Integer totalRank = Integer.parseInt(splittedRow[0]);
|
||||
Integer totalRank = Integer.parseInt(totalRankMatcher.group(1));
|
||||
List<String> names = new ArrayList<String>();
|
||||
List<CompetitorEntry> rankAndMaxPointsReasonAndPointsAndDiscarded = new ArrayList<>();
|
||||
|
||||
@@ -132,8 +135,6 @@ public class CsvParserImpl implements CsvParser {
|
||||
CompetitorRow competitorRow = new CompetitorRowImpl(totalRank, sailID, names, null, null,
|
||||
rankAndMaxPointsReasonAndPointsAndDiscarded);
|
||||
competitorRows.add(competitorRow);
|
||||
} catch (NumberFormatException e) {
|
||||
// ignore lines with no rank at the beginning
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user