File Coverage

blib/lib/Sport/Analytics/NHL/Errors.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Sport::Analytics::NHL::Errors;
2              
3 50     50   300 use strict;
  50         106  
  50         1385  
4 50     50   214 use warnings FATAL => 'all';
  50         92  
  50         1448  
5              
6 50     50   227 use Sport::Analytics::NHL::Config;
  50         96  
  50         7826  
7              
8 50     50   301 use parent 'Exporter';
  50         97  
  50         285  
9              
10             our @EXPORT = qw(
11             %BROKEN_FILES %BROKEN_HEADERS
12             %BROKEN_COACHES %BROKEN_PLAYERS %BROKEN_EVENTS
13             %BROKEN_ROSTERS %BROKEN_PLAYER_IDS
14             %BROKEN_TIMES %BROKEN_COORDS
15             %NAME_TYPOS %NAME_VARIATIONS %REVERSE_NAME_TYPOS
16             %SPECIAL_EVENTS %FORCED_PUSH
17             %MISSING_EVENTS %MISSING_COACHES %MISSING_PLAYERS
18              
19             $INCOMPLETE $REPLICA $NO_EVENTS $UNSYNCHED $BROKEN
20             );
21              
22             our %NAME_TYPOS = (
23             'BRYCE VAN BRABRANT' => 'BRYCE VAN BRABANT',
24             'TOMMY WESTLUND' => 'TOMMY VESTLUND',
25             'MATTIAS JOHANSSON' => 'MATHIAS JOHANSSON',
26             'WESTLUND' => 'VESTLUND',
27             'T. WESTLUND' => 'T. VESTLUND',
28             'N. KRONVALL' => 'N. KRONWALL',
29             'S. KRONVALL' => 'S. KRONWALL',
30             'A. KASTSITSYN' => 'A. KOSTITSYN',
31             'F. MEYER IV' => 'F. MEYER',
32             'P/ BRISEBOIS' => 'P. BRISEBOIS',
33             'K. PUSHKARYOV' => 'K. PUSHKAREV',
34             'M. SATIN' => 'M. SATAN',
35             'B. RADIVOJEVICE' => 'B. RADIVOJEVIC',
36             'J. BULLIS' => 'J. BULIS',
37             'PJ. AXELSSON' => 'P.J. AXELSSON',
38             );
39             our %REVERSE_NAME_TYPOS = (
40             'KRONWALL' => 'KRONVALL',
41             );
42              
43             our %NAME_VARIATIONS = (
44             'CHRIS KENADY' => 'CHRISTOPHER KENADY',
45             'JOHN THOMAS' => 'S. THOMAS',
46             'BILLY TIBBETTS' => 'W. TIBBETTS',
47             'WILLIAM BOWLER' => 'B. BOWLER',
48             'BOBBY HOLIK' => 'R. HOLIK',
49             'RANDY MCKAY' => 'H. MCKAY',
50             );
51              
52             our %BROKEN_COACHES = (
53             STICKLE => 'BOB MURDOCH',
54             'CASHMAN/THIFFAULT' => 'MICHEL BERGERON',
55             'LEVER/SMITH' => 'TED SATOR',
56             'WILSON/RAEDER' => 'TOM WEBSTER',
57             'RAEDER/WILSON' => 'TOM WEBSTER',
58             'BAXTER/CHARRON' => 'DOUG RISEBROUGH',
59             'CHARRON/BAXTER' => 'GUY CHARRON',
60             'CHARON,BAXTER,HISLOP' => 'GUY CHARRON',
61             );
62              
63             our %BROKEN_PLAYER_IDS = (8445204 => 8445202);
64              
65             our %BROKEN_PLAYERS = (
66             BS => {
67             192730312 => { 8448095 => { number => 16, } },
68             196820129 => { 8449481 => { penaltyMinutes => 2,}},
69             197820329 => { 8446940 => { penaltyMinutes => 16,}},
70             198020400 => { 8448411 => { penaltyMinutes => 21,}},
71             198720798 => { 8449535 => { assists => 1, } },
72             199120753 => { 8448781 => { penaltyMinutes => 7 }},
73             199320074 => { 8455408 => { penaltyMinutes => 4 }},
74             199320640 => { 8455984 => { penaltyMinutes => 6 }},
75             200320009 => {
76             8467349 => { number => 8, position => 'D', goals => 1, },
77             8468789 => { number => 29, position => 'C', },
78             8464960 => { number => 21, position => 'C', },
79             },
80             200320013 => {
81             8467333 => { number => 9, position => 'R', },
82             },
83             200320019 => {
84             8466147 => { number => 17, position => 'C',},
85             },
86             200320104 => {
87             8467333 => { goals => 1, },
88             },
89             200320132 => {
90             8452578 => { number => 19, position => 'C', goals => 1},
91             },
92             200320248 => {
93             8468003 => {goals => 1,},
94             },
95             200320459 => {
96             8468083 => { goals => 1, assists => 2, number => 40 },
97             },
98             200820502 => { 8470201 => { penaltyMinutes => 2, }},
99             201520995 => { 8470602 => { penaltyMinutes => 6, }},
100             },
101             );
102              
103             our %FORCED_PUSH = (
104             PL => {
105             200820009 => { 82 => 1, 83 => 1, },
106             201020989 => { 346 => 1 },
107             201120094 => { 198 => 1 },
108             201320083 => { 351 => 1 },
109             201420921 => { 354 => 1 },
110             201520057 => { 150 => 1, 158 => 1, 197 => 1 },
111             201520064 => { 316 => 1 },
112             201520436 => { 176 => 1 },
113             201520518 => { 152 => 1 },
114             201520593 => { 273 => 1 },
115             201520741 => { 343 => 1, 344 => 1 },
116             201521035 => { 172 => 1 },
117             201530122 => { 347 => 1 },
118             201620161 => { 286 => 1 },
119             201620177 => { 197 => 1 },
120             201620321 => { 64 => 1 },
121             201620920 => { 296 => 1, 297 => 1 },
122             201621081 => { 101 => 1 },
123             201720176 => { 303 => 1, 304 => 1, 305 => 1, 306 => 1},
124             },
125             );
126              
127             our %BROKEN_ROSTERS = (
128             198720509 => [ [], [ { 'No.' => 0, number => 30 } ], ],
129             199020353 => [ [], [ { 'No.' => 0, number => 30 } ], ],
130             199020696 => [ [], [ { 'No.' => 0, number => 35 } ], ],
131             199120656 => [ [], [ { 'No.' => 16, penaltyMinutes => 4 }, ], ],
132             199120753 => [ [ { 'No.' => 26, penaltyMinutes => 7 }, ], [], ],
133             199120809 => [ [ { 'No.' => 5, penaltyMinutes => 2 }, ], [], ],
134             199120839 => [ [ { 'No.' => 11, penaltyMinutes => 12 }, ], [], ],
135             199120877 => [ [ { 'No.' => 27, penaltyMinutes => 18 }, ], [], ],
136             199220449 => [ [ { 'No.' => 29, penaltyMinutes => 18 }, ], [], ],
137             199220585 => [ [], [ { 'No.' => 39, penaltyMinutes => 17 }, ], ],
138             199320044 => [ [ { 'No.' => 26, penaltyMinutes => 4 }, ], [], ],
139             199320074 => [ [ { 'No.' => 27, penaltyMinutes => 4 }, ], [], ],
140             199320404 => [ [ { 'No.' => 29, penaltyMinutes => 19 }, ], [], ],
141             199320499 => [ [], [ { 'No.' => 32, penaltyMinutes => 2 }, ], ],
142             199320640 => [ [], [ { 'No.' => 12, penaltyMinutes => 6 }, ], ],
143             199520048 => [ [ { 'No.' => 12, penaltyMinutes => 2, }, ], [], ],
144             199520790 => [ [ { 'No.' => 12, penaltyMinutes => 6, }, ], [], ],
145             199530123 => [ [], [ { 'No.' => 23, penaltyMinutes => 14, }, ], ],
146             199620473 => [ [ { 'No.' => 27, penaltyMinutes => 2, }, ], [], ],
147             199620546 => [ [ { 'No.' => 17, penaltyMinutes => 2, }, ], [], ],
148             199620548 => [ [ { 'No.' => 33, penaltyMinutes => 23 }, ], [], ],
149             199620927 => [ [
150             { 'No.' => 20, penaltyMinutes => 2, },
151             { 'No.' => 77, penaltyMinutes => 2, },
152             ], [], ],
153             199630222 => [ [], [ { 'No.' => 18, penaltyMinutes => 2, }, ], ],
154             199720830 => [ [], [ { 'No.' => 35, 'EV' => '10 - 12' }, ], ],
155             199720876 => [ [], [ { 'No.' => 27, 'EV' => '11 - 14' }, ], ],
156             199720997 => [ [ { 'No.' => 31, 'SH' => '3 - 3' }, ], [], ],
157             199820004 => [ [], [ { 'No.' => 34, 'EV' => '26 - 28' }, ], ],
158             199820061 => [ [], [ { 'No.' => 35, 'EV' => '19 - 20' }, ], ],
159             200320027 => [ [], [ { 'No.' => 29, 'name' => 'JAMIE MCLENNAN' }, ], ],
160             200520312 => [ [ { 'No.' => 7, error => 1 } ], [] ],
161             );
162              
163             our %BROKEN_EVENTS = (
164             BS => {
165             195520195 => { 18 => { time => '10:06' },},
166             198320770 => {
167             20 => { time => '1:29' },
168             21 => { time => '1:29' },
169             },
170             198520010 => { 16 => { time => '7:48' }, },
171             198520611 => { 32 => { time => '10:09' }, },
172             198820689 => { 5 => { player2 => 8446637 }, 6 => { player2 => 8446637 }, },
173             198920567 => { 26 => { player1 => 8450167 }},
174             201021015 => { 345 => {en => 1}},
175             201621152 => { 9 => { assist2 => 8475209, assists => [8474141,8475209] }},
176             201621165 => { 43 => { player1 => 8465009, assists => [ 8478443, 8476374]}}
177             },
178             BH => {
179              
180             },
181             PL => {
182             200220255 => { 122 => { player2 => 29 } },
183             200220266 => {
184             81 => { player1 => 54 },
185             146 => { on_ice2 => [1, 54,21, 18, 11, 4, ] }
186             },
187             200321115 => { 10 => { player2 => 38 } },
188             200520084 => { 54 => { player1 => 35 } },
189             200520307 => { 176 => { player1 => 20 } },
190             200520312 => {
191             1 => {
192             id => 1, period => 1, time => '0:00', team => 'NSH',
193             strength => 'EV', shot_type => 'Snap',
194             distance => 18, type => 'GOAL', location => 'Off',
195             description => '22 JOHNSON, A: 20 SUTER, 7 UPSHALL, Snap, 18 ft',
196             old => 1, team1 => 'NSH', player1 => 22, assist1 => 20,
197             on_ice => [ [], [], ], special => 1, stage => 2, season => 2005,
198             },
199             },
200             200520314 => { 47 => { player1 => 20 } },
201             200520472 => { 107 => { player1 => 23 }},
202             200520473 => { 254 => 0, },
203             200520511 => { 247 => 0 },
204             200520873 => { 143 => 0 },
205             200520946 => { 211 => { player1 => 35 } },
206             200521044 => { 313 => { player1 => 19, }, },
207             200521114 => { 2 => 0 },
208             200620433 => { 132 => { player1 => 31 } },
209             200620597 => { 76 => 0, },
210             200620637 => { 123 => 0, 217 => 0 },
211             200620672 => { 131 => 0 },
212             200620681 => { 305 => 0, },
213             200620698 => { 234 => { player1 => 27 }},
214             200620765 => { 266 => 0, },
215             200621005 => { 180 => 0, },
216             200621019 => { 66 => 0, },
217             200621024 => { 139 => 0, 219 => { on_ice2 => [ 55, 47, 39, 3, 27, 94, ], }, 188 => 0, 194 => 0 },
218             200621062 => { 220 => 0, },
219             200621107 => { 151 => 0, },
220             200621145 => { 194 => 0, },
221             200720003 => { 275 => { description => 'CAR Team Too many men/ice - bench(2 min) Served By: #18 BAYDA, Neu. Zone', },
222             120 => { on_ice => [ [14,6,84,44,71,39], [17,11,13,2,5,30] ], }, },
223             200720014 => { 226 => { team1 => 'ARI', }, },
224             200720019 => { 203 => { team1 => 'DAL', }, },
225             200720026 => { 195 => { team1 => 'FLA', }, },
226             200720028 => { 269 => 0, },
227             200720039 => { 21 => { team1 => 'CAR', }, },
228             200720162 => { 281 => 0, },
229             200720199 => { 260 => 0, },
230             200720811 => { 344 => { on_ice2 => [ 35 ] }},
231             200730174 => {
232             221 => { on_ice => [ [15,25,6,33,41,29], [94,39,8,24,44,60] ]},
233             222 => { on_ice => [ [15,25,6,33,41,29], [94,39,8,24,44,60] ]},
234             223 => { on_ice => [ [15,25,6,33,41,29], [94,39,8,24,44,60] ]}
235             } ,
236             200820118 => { 4 => { winning_team => 'EDM', } },
237             200820332 => { 263 => { winning_team => 'DET', } },
238             200820444 => { 190 => { player1 => $UNKNOWN_PLAYER_ID } },
239             200820650 => { 37 => { winning_team => 'MIN', } },
240             200820749 => { 207 => { winning_team => 'TBL', } },
241             200820774 => { 92 => 0, 93 => {player1 => 17, }},
242             200820868 => { 299 => { length => 2, penalty => 'Instigator', description => 'EDM #18 MOREAU Instigator(2 min) Drawn By: DAL #29 OTT'}, },
243             200820900 => { 284 => { on_ice => [] }},
244             200820987 => { 284 => 0, },
245             200821191 => { 289 => { player1 => 20, team1 => 'NSH', player2 => 2, team2 => 'CHI' } },
246             200921066 => {
247             21 => { on_ice => [ [33,43,20,23,52,35], [17,38,40,3,29,1] ]},
248             },
249             200921217 => { 138 => 0, },
250             201020146 => { 311 => { player1 => 39, servedby => 26, }, },
251             201020596 => { 275 => 0, },
252             201020989 => { 346 => { reason => 'GOALIE STOPPED', description => 'GOALIE STOPPED', }, },
253             201120094 => { 198 => { reason => 'GOALIE STOPPED', description => 'GOALIE STOPPED', }, },
254             201120110 => {
255             89 => { on_ice => [ [81,84,19,2,51,50], [27,48,17,41,35] ]},
256             },
257             201120553 => { 294 => {
258             length => 10, penalty => 'Misconduct', misconduct => 1,
259             description => 'FLA #21 BARCH Game misconduct(10 min)',
260             } },
261             201220341 => { 301 => 0, },
262             201320971 => { 1 => {
263             id => 1, period => 1,
264             time => '0:00',
265             team => 'CBJ',
266             strength => 'EV',
267             shot_type => 'Snap',
268             distance => 18,
269             type => 'GOAL',
270             location => 'Off',
271             old => 1,
272             description => 'CBJ #8 HORTON(5), A: 11 CALVERT(4); 21 WISNIEWSKI(43), Snap, 18 ft',
273             team1 => 'NSH',
274             player1 => 8470596,
275             assist1 => 8476485,
276             assist2 => 8470222,
277             on_ice => [ [], [], ],
278             special => 1, en => 0, gwg => 0,
279             } },
280             201321139 => {
281             13 => { on_ice => [ [51,89,57,19,84,30], [8,19,88,7,61,31] ]},
282             },
283             201420600 => { 328 => 0 },
284             201420921 => { 354 => { reason => 'GOALIE STOPPED', description => 'GOALIE STOPPED', }, },
285             201521197 => {
286             27 => { on_ice => [ [ 21,10,15,5,6,1 ], [18,57,52,3,33,37] ] },
287             },
288             201621127 => { 311 => { description => 'BOS #55 ACCIARI Misconduct(10 min), Def. Zone' }},
289             201621229 => {
290             178 => { on_ice => [[15,21,73,6,53,32], [50,10,2,53,1]]},
291             },
292             },
293             GS => {
294             }
295             );
296              
297             our %BROKEN_TIMES = (
298              
299             );
300              
301             our %BROKEN_COORDS = (
302              
303             );
304              
305             our $INCOMPLETE = -1;
306             our $REPLICA = -2;
307             our $BROKEN = -3;
308             our $NO_EVENTS = -4;
309             our $UNSYNCHED = -5;
310              
311             our %BROKEN_FILES = (
312             191730211 => { BS => $UNSYNCHED},
313             191730212 => { BS => $UNSYNCHED},
314             191730213 => { BS => $UNSYNCHED},
315             191730214 => { BS => $UNSYNCHED},
316             191730215 => { BS => $UNSYNCHED},
317             191830211 => { BS => $UNSYNCHED},
318             191830212 => { BS => $UNSYNCHED},
319             191830213 => { BS => $UNSYNCHED},
320             191830214 => { BS => $UNSYNCHED},
321             191830215 => { BS => $UNSYNCHED},
322             191930211 => { BS => $UNSYNCHED},
323             191930212 => { BS => $UNSYNCHED},
324             191930213 => { BS => $UNSYNCHED},
325             191930214 => { BS => $UNSYNCHED},
326             191930215 => { BS => $UNSYNCHED},
327             192130211 => { BS => $UNSYNCHED},
328             192130212 => { BS => $UNSYNCHED},
329             192130213 => { BS => $UNSYNCHED},
330             192130214 => { BS => $UNSYNCHED},
331             192130215 => { BS => $UNSYNCHED},
332             192430311 => { BS => $UNSYNCHED},
333             192430312 => { BS => $UNSYNCHED},
334             192430313 => { BS => $UNSYNCHED},
335             192430314 => { BS => $UNSYNCHED},
336             192530311 => { BS => $UNSYNCHED},
337             192530312 => { BS => $UNSYNCHED},
338             192530313 => { BS => $UNSYNCHED},
339             192530314 => { BS => $UNSYNCHED},
340             195220105 => { BS => $NO_EVENTS },
341             195320012 => { BS => $NO_EVENTS },
342             195620210 => { BS => $UNSYNCHED},
343             195820138 => { BS => $UNSYNCHED},
344             196320003 => { BS => $NO_EVENTS },
345             196720356 => { BS => $NO_EVENTS },
346             197320520 => { BS => $NO_EVENTS },
347             197520138 => { BS => $NO_EVENTS },
348             197520379 => { BS => $NO_EVENTS },
349             197620012 => { BS => $NO_EVENTS },
350             197720070 => { BS => $NO_EVENTS },
351             197720469 => { BS => $NO_EVENTS },
352             197820577 => { BS => $NO_EVENTS },
353             197920370 => { BS => $NO_EVENTS },
354             197920492 => { BS => $NO_EVENTS },
355             198220019 => { BS => $NO_EVENTS },
356             198520534 => { BS => $NO_EVENTS },
357             198520592 => { BS => $NO_EVENTS },
358             198620125 => { BS => $NO_EVENTS },
359             198620163 => { BS => $NO_EVENTS },
360             198630152 => { BS => $NO_EVENTS },
361             199020225 => { BS => $NO_EVENTS },
362             199020623 => { BS => $NO_EVENTS },
363             199120627 => { BS => $NO_EVENTS },
364             199220004 => { BS => $NO_EVENTS },
365             199220082 => { BS => $NO_EVENTS },
366             199220242 => { BS => $NO_EVENTS },
367             199320538 => { BS => $NO_EVENTS },
368             199520135 => { BS => $NO_EVENTS },
369             199720946 => { BS => $NO_EVENTS },
370             199920029 => { ES => $REPLICA, GS => $REPLICA },
371             199920045 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
372             199920050 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
373             199920058 => { ES => $REPLICA, GS => $REPLICA },
374             199920071 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
375             199920072 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
376             199920081 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
377             199920109 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
378             199920130 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
379             199920323 => { ES => $REPLICA, GS => $REPLICA },
380             199920619 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
381             199920689 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
382             199920690 => { ES => $BROKEN, GS => $INCOMPLETE },
383             199920836 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
384             199921034 => { BH => $INCOMPLETE, ES => $INCOMPLETE, GS => $INCOMPLETE },
385             199930325 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
386             200020029 => { ES => $REPLICA, GS => $REPLICA },
387             200020038 => { ES => $REPLICA, GS => $REPLICA },
388             200020039 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
389             200020041 => { ES => $REPLICA, GS => $REPLICA },
390             200020042 => { ES => $REPLICA, GS => $REPLICA },
391             200020043 => { ES => $REPLICA, GS => $REPLICA },
392             200020044 => { ES => $REPLICA, GS => $REPLICA },
393             200020045 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
394             200020049 => { ES => $REPLICA, GS => $REPLICA },
395             200020067 => { ES => $REPLICA, GS => $REPLICA },
396             200020072 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
397             200020073 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
398             200020077 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
399             200020080 => { ES => $REPLICA, GS => $REPLICA },
400             200020081 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
401             200020083 => { ES => $REPLICA, GS => $REPLICA },
402             200020085 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
403             200020095 => { ES => $REPLICA, GS => $REPLICA },
404             200020096 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
405             200020102 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
406             200020112 => { ES => $REPLICA, GS => $REPLICA },
407             200020186 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
408             200020187 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
409             200020189 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
410             200020920 => { ES => $REPLICA, GS => $REPLICA },
411             200020916 => { PL => $INCOMPLETE },
412             200020921 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
413             200020924 => { ES => $REPLICA, GS => $REPLICA },
414             200020925 => { ES => $REPLICA, GS => $REPLICA },
415             200020926 => { ES => $REPLICA, GS => $REPLICA },
416             200020928 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
417             200020964 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
418             200020983 => { ES => $BROKEN },
419             200021165 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
420             200021166 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
421             200021167 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
422             200021171 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
423             200120012 => { BS => $NO_EVENTS },
424             200120974 => { BS => $NO_EVENTS },
425             200220396 => { BS => $NO_EVENTS },
426             200220414 => { BS => $NO_EVENTS },
427             200220645 => { BS => $NO_EVENTS },
428             200220916 => { PL => $INCOMPLETE },
429             200320191 => { GS => $INCOMPLETE },
430             200320257 => { BS => $NO_EVENTS },
431             200321205 => { ES => $INCOMPLETE, GS => $INCOMPLETE, PL => $INCOMPLETE },
432             200330134 => { PL => $BROKEN },
433             200520298 => { ES => $REPLICA },
434             200520458 => { ES => $BROKEN },
435             200520677 => { RO => $BROKEN },
436             200520679 => { RO => $BROKEN },
437             200520681 => { RO => $BROKEN },
438             200621024 => { ES => $INCOMPLETE, GS => $INCOMPLETE, PL => $BROKEN, },
439             200621024 => { ES => $INCOMPLETE, GS => $INCOMPLETE, PL => $BROKEN, },
440             200720262 => { BS => $NO_EVENTS, },
441             200720470 => { GS => $INCOMPLETE, },
442             200720483 => { GS => $INCOMPLETE, },
443             200721178 => { ES => $INCOMPLETE, GS => $INCOMPLETE, PL => $BROKEN, RO => $INCOMPLETE },
444             200820259 => { ES => $INCOMPLETE, GS => $INCOMPLETE, PL => $BROKEN, RO => $INCOMPLETE },
445             200820409 => { ES => $INCOMPLETE, GS => $INCOMPLETE, PL => $BROKEN, RO => $INCOMPLETE },
446             200821077 => { ES => $INCOMPLETE, GS => $INCOMPLETE, PL => $BROKEN, RO => $INCOMPLETE },
447             200920081 => { ES => $INCOMPLETE, GS => $INCOMPLETE, PL => $BROKEN, RO => $INCOMPLETE },
448             200920827 => { GS => $INCOMPLETE },
449             200920836 => { GS => $INCOMPLETE },
450             200920857 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
451             200920863 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
452             200920874 => { ES => $INCOMPLETE, GS => $INCOMPLETE, RO => $INCOMPLETE },
453             200920885 => { ES => $INCOMPLETE, RO => $INCOMPLETE },
454             201020429 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
455             201020575 => { BS => $NO_EVENTS },
456             201020704 => { BS => $NO_EVENTS },
457             201120259 => { ES => $INCOMPLETE, GS => $INCOMPLETE },
458             201320338 => { BS => $NO_EVENTS },
459             201320971 => { GS => $BROKEN },
460             201520079 => {BH => $INCOMPLETE},
461             201520120 => {BH => $INCOMPLETE},
462             201520168 => {BH => $INCOMPLETE},
463             201520214 => {BH => $INCOMPLETE},
464             201520307 => {BH => $INCOMPLETE},
465             201520476 => { BS => $NO_EVENTS },
466             201720639 => { BS => $NO_EVENTS },
467             );
468              
469             our %MANUAL_FIX = (
470             200120123 => { GS => 'Remove "2" throughout the file' },
471             200520094 => {
472             GS => 'Insert missing period for 15:35 penalty',
473             PL => 'Edited string with 00:28 penalty',
474             },
475             200520305 => { GS => 'Insert missing period for 5:13 penalty' },
476             200520233 => { GS => 'Add missing TBODY closing tag' },
477             200520264 => { GS => 'Fixed bogus on ice' },
478             200620071 => { PL => 'Aligned period for event #1' },
479             200620892 => { GS => 'Add missing TBODY closing tag' },
480             201320331 => { PL => 'Remove invalid tag at the 7:50 event' },
481             201720463 => { PL => 'Fixed time -16:0-1' },
482             );
483             our %BROKEN_HEADERS = (
484             200720295 => {
485             location => 'Scottrade Center',
486             },
487             );
488              
489             our %SPECIAL_EVENTS = (
490             200520312 => { 0 => 1 },
491             201320971 => { 0 => 1 },
492             );
493              
494             our %MISSING_EVENTS = (
495             198930176 => [
496             {
497             type => 'GOAL',
498             period => 5,
499             time => '03:14',
500             team1 => 'LAK',
501             assist1 => 8446494,
502             player1 => 8448566,
503             strength => 'EV',
504             shot_type => 'Unknown',
505             distance => 999,
506             location => 'Off',
507             },
508             ],
509             199020456 => [
510             {
511             type => 'PENL',
512             period => 4,
513             time => '03:41',
514             player1 => 8448449,
515             team1 => 'BUF',
516             length => 2,
517             penalty => 'Holding',
518             strength => 'EV',
519             location => 'Unk',
520             },
521             ],
522             199030242 => [
523             {
524             type => 'GOAL',
525             period => 5,
526             time => '04:48',
527             team1 => 'EDM',
528             player1 => 8448490,
529             assist1 => 8451905,
530             assist2 => 8449020,
531             shot_type => 'Unknown',
532             distance => 999,
533             location => 'Off',
534             strength => 'EV',
535             },
536             ],
537             199030243 => [
538             {
539             type => 'GOAL',
540             period => 5,
541             time => '00:48',
542             team1 => 'EDM',
543             player1 => 8451905,
544             assist1 => 8448490,
545             assist2 => 8448641,
546             shot_type => 'Unknown',
547             distance => 999,
548             location => 'Off',
549             strength => 'EV',
550             },
551             {
552             type => 'PENL',
553             period => 5,
554             time => '00:48',
555             player1 => 8450941,
556             team1 => 'LAK',
557             length => 10,
558             penalty => 'Misconduct',
559             misconduct => 1,
560             strength => 'EV',
561             location => 'Unk',
562             },
563             ],
564             199130002 => [
565             {
566             type => 'PENL',
567             period => 5,
568             time => '00:48',
569             player1 => 8450941,
570             team1 => 'LAK',
571             length => 10,
572             penalty => 'Misconduct',
573             misconduct => 1,
574             strength => 'EV',
575             location => 'Unk',
576             },
577             ],
578             199130117 => [
579             {
580             type => 'GOAL',
581             time => '05:26',
582             period => 5,
583             team1 => 'MTL',
584             strength => 'EV',
585             location => 'Off',
586             shot_type => 'Unknown',
587             distance => 999,
588             player1 => 8446208,
589             assist1 => 8446167,
590             assist2 => 8446415,
591             },
592             ],
593             199130163 => [
594             {
595             type => 'GOAL',
596             time => '03:33',
597             period => 5,
598             team1 => 'STL',
599             strength => 'EV',
600             location => 'Off',
601             shot_type => 'Unknown',
602             distance => 999,
603             player1 => 8448091,
604             assist1 => 8445281,
605             assist2 => 8451793,
606             },
607             ],
608             199230142 => [
609             {
610             type => 'GOAL',
611             time => '14:50',
612             period => 5,
613             team1 => 'NYI',
614             strength => 'EV',
615             location => 'Off',
616             shot_type => 'Unknown',
617             distance => 999,
618             player1 => 8449742,
619             assist1 => 8446823,
620             assist2 => 8446838,
621             },
622             ],
623             199230144 => [
624             {
625             type => 'GOAL',
626             time => '05:40',
627             period => 5,
628             team1 => 'NYI',
629             strength => 'EV',
630             location => 'Off',
631             shot_type => 'Unknown',
632             distance => 999,
633             player1 => 8446823,
634             assist1 => 8448870,
635             assist2 => 8446830,
636             },
637             ],
638             199230231 => [
639             {
640             type => 'GOAL',
641             time => '03:16',
642             period => 5,
643             team1 => 'TOR',
644             strength => 'EV',
645             location => 'Off',
646             shot_type => 'Unknown',
647             distance => 999,
648             player1 => 8447206,
649             assist1 => 8447187,
650             assist2 => 8449009,
651             },
652             ],
653             199230232 => [
654             {
655             type => 'GOAL',
656             time => '03:03',
657             period => 5,
658             team1 => 'STL',
659             strength => 'EV',
660             location => 'Off',
661             shot_type => 'Unknown',
662             distance => 999,
663             player1 => 8445700,
664             assist1 => 8446675,
665             assist2 => 8448222,
666             },
667             ],
668             199230245 => [
669             {
670             type => 'GOAL',
671             time => '06:31',
672             period => 5,
673             team1 => 'LAK',
674             strength => 'EV',
675             location => 'Off',
676             shot_type => 'Unknown',
677             distance => 999,
678             player1 => 8458020,
679             assist1 => 8450941,
680             assist2 => 8448569,
681             },
682             ],
683             199230312 => [
684             {
685             type => 'GOAL',
686             time => '06:21',
687             period => 5,
688             team1 => 'MTL',
689             strength => 'EV',
690             location => 'Off',
691             shot_type => 'Unknown',
692             distance => 999,
693             player1 => 8448719,
694             assist1 => 8446303,
695             assist2 => 8445739,
696             },
697             ],
698             199330136 => [
699             {
700             type => 'GOAL',
701             time => '05:43',
702             period => 7,
703             team1 => 'BUF',
704             strength => 'EV',
705             location => 'Off',
706             shot_type => 'Unknown',
707             distance => 999,
708             player1 => 8447515,
709             assist1 => 8458549,
710             assist2 => 8450523,
711             },
712             {
713             type => 'PENL',
714             period => 6,
715             time => '00:00',
716             player1 => 8450678,
717             team1 => 'BUF',
718             length => 10,
719             penalty => 'Misconduct',
720             misconduct => 1,
721             strength => 'EV',
722             location => 'Unk',
723             },
724             {
725             type => 'PENL',
726             period => 6,
727             time => '12:10',
728             player1 => $BENCH_PLAYER_ID,
729             team1 => 'NJD',
730             length => 2,
731             penalty => 'Too many men/ice',
732             strength => 'EV',
733             location => 'Unk',
734             servedby => 8450825,
735             },
736             ],
737             199330167 => [
738             {
739             type => 'GOAL',
740             time => '02:20',
741             period => 5,
742             team1 => 'VAN',
743             strength => 'EV',
744             location => 'Off',
745             shot_type => 'Unknown',
746             distance => 999,
747             player1 => 8455738,
748             assist1 => 8445700,
749             assist2 => 8445208,
750             },
751             ],
752             199330311 => [
753             {
754             type => 'GOAL',
755             time => '15:23',
756             period => 5,
757             team1 => 'NJD',
758             strength => 'EV',
759             location => 'Off',
760             shot_type => 'Unknown',
761             distance => 999,
762             player1 => 8450825,
763             assist1 => 8445977,
764             },
765             {
766             type => 'PENL',
767             period => 5,
768             time => '04:14',
769             player1 => 8451905,
770             team1 => 'NYR',
771             length => 2,
772             penalty => 'Unsportsmanlike conduct',
773             strength => 'EV',
774             location => 'Unk',
775             },
776             {
777             type => 'PENL',
778             period => 5,
779             time => '04:14',
780             player1 => 8445461,
781             team1 => 'NYR',
782             length => 2,
783             penalty => 'Roughing',
784             location => 'Unk',
785             strength => 'EV',
786             },
787             {
788             type => 'PENL',
789             period => 5,
790             time => '04:14',
791             player1 => 8448772,
792             team1 => 'NJD',
793             length => 2,
794             penalty => 'Unsportsmanlike conduct',
795             location => 'Unk',
796             strength => 'EV',
797             },
798             {
799             type => 'PENL',
800             period => 5,
801             time => '04:14',
802             player1 => 8450825,
803             team1 => 'NJD',
804             length => 2,
805             penalty => 'Roughing',
806             location => 'Unk',
807             strength => 'EV',
808             },
809             ],
810             199330313 => [
811             {
812             type => 'GOAL',
813             time => '06:13',
814             period => 5,
815             team1 => 'NYR',
816             strength => 'EV',
817             location => 'Off',
818             shot_type => 'Unknown',
819             distance => 999,
820             player1 => 8449295,
821             },
822             ],
823             199330317 => [
824             {
825             type => 'GOAL',
826             time => '04:24',
827             period => 5,
828             team1 => 'NYR',
829             strength => 'EV',
830             location => 'Off',
831             shot_type => 'Unknown',
832             distance => 999,
833             player1 => 8449295,
834             assist1 => 8451905,
835             },
836             ],
837             199330325 => [
838             {
839             type => 'GOAL',
840             time => '00:14',
841             period => 5,
842             team1 => 'VAN',
843             strength => 'EV',
844             location => 'Off',
845             shot_type => 'Unknown',
846             distance => 999,
847             player1 => 8444894,
848             assist1 => 8445208,
849             assist2 => 8448825,
850             },
851             ],
852             199430167 => [
853             {
854             type => 'GOAL',
855             time => '01:54',
856             period => 5,
857             team1 => 'SJS',
858             strength => 'EV',
859             location => 'Off',
860             shot_type => 'Unknown',
861             distance => 999,
862             player1 => 8458537,
863             assist1 => 8448669,
864             assist2 => 8449163,
865             },
866             ],
867             199430323 => [
868             {
869             type => 'GOAL',
870             time => '09:25',
871             period => 5,
872             team1 => 'DET',
873             strength => 'EV',
874             location => 'Off',
875             shot_type => 'Unknown',
876             distance => 999,
877             player1 => 8456870,
878             assist1 => 8446789,
879             },
880             ],
881             199430325 => [
882             {
883             type => 'GOAL',
884             time => '02:25',
885             period => 5,
886             team1 => 'DET',
887             strength => 'EV',
888             location => 'Off',
889             shot_type => 'Unknown',
890             distance => 999,
891             player1 => 8456887,
892             assist1 => 8446788,
893             assist2 => 8445730,
894             },
895             ],
896             199530124 => [
897             {
898             type => 'GOAL',
899             time => '19:15',
900             period => 7,
901             team1 => 'PIT',
902             strength => 'PP',
903             location => 'Off',
904             shot_type => 'Unknown',
905             distance => 999,
906             player1 => 8449807,
907             assist1 => 8458494,
908             assist2 => 8448208,
909             },
910             {
911             type => 'PENL',
912             period => 5,
913             time => '04:33',
914             player1 => 8458179,
915             team1 => 'PIT',
916             length => 2,
917             penalty => 'Roughing',
918             location => 'Unk',
919             strength => 'EV',
920             },
921             {
922             type => 'PENL',
923             period => 5,
924             time => '04:33',
925             player1 => 8445575,
926             team1 => 'WSH',
927             length => 2,
928             penalty => 'Roughing',
929             location => 'Unk',
930             strength => 'EV',
931             },
932             {
933             type => 'PENL',
934             period => 6,
935             time => '03:24',
936             player1 => 8448380,
937             team1 => 'PIT',
938             length => 2,
939             penalty => 'Slashing',
940             location => 'Unk',
941             strength => 'EV',
942             },
943             {
944             type => 'PENL',
945             period => 6,
946             time => '04:36',
947             player1 => 8446181,
948             team1 => 'WSH',
949             length => 2,
950             location => 'Unk',
951             penalty => 'Tripping - Obstruction',
952             strength => 'PP',
953             },
954             {
955             type => 'PENL',
956             period => 6,
957             time => '19:17',
958             player1 => 8456150,
959             team1 => 'PIT',
960             length => 2,
961             penalty => 'Slashing',
962             location => 'Unk',
963             strength => 'EV',
964             },
965             {
966             type => 'PENL',
967             period => 7,
968             time => '17:21',
969             player1 => 8448303,
970             team1 => 'WSH',
971             length => 2,
972             penalty => 'Hooking',
973             location => 'Unk',
974             strength => 'EV',
975             },
976             ],
977             199530174 => [
978             {
979             type => 'GOAL',
980             time => '10:02',
981             period => 6,
982             team1 => 'CHI',
983             strength => 'EV',
984             location => 'Off',
985             shot_type => 'Unknown',
986             distance => 999,
987             player1 => 8449751,
988             assist1 => 8446217,
989             },
990             ],
991             199530215 => [
992             {
993             type => 'GOAL',
994             time => '08:05',
995             period => 5,
996             team1 => 'FLA',
997             strength => 'EV',
998             location => 'Off',
999             shot_type => 'Unknown',
1000             distance => 999,
1001             player1 => 8447985,
1002             assist1 => 8451427,
1003             assist2 => 8448092,
1004             },
1005             ],
1006             199530237 => [
1007             {
1008             type => 'GOAL',
1009             time => '01:15',
1010             period => 5,
1011             team1 => 'DET',
1012             strength => 'EV',
1013             location => 'Off',
1014             shot_type => 'Unknown',
1015             distance => 999,
1016             player1 => 8452578,
1017             assist1 => 8456870,
1018             },
1019             ],
1020             199530244 => [
1021             {
1022             type => 'GOAL',
1023             time => '04:33',
1024             period => 6,
1025             team1 => 'COL',
1026             strength => 'EV',
1027             location => 'Off',
1028             shot_type => 'Unknown',
1029             distance => 999,
1030             player1 => 8451101,
1031             assist1 => 8447363,
1032             assist2 => 8450817,
1033             },
1034             {
1035             type => 'PENL',
1036             period => 5,
1037             time => '19:38',
1038             player1 => 8448772,
1039             location => 'Unk',
1040             team1 => 'COL',
1041             length => 2,
1042             penalty => 'Roughing',
1043             strength => 'EV',
1044             },
1045             {
1046             type => 'PENL',
1047             period => 5,
1048             time => '19:38',
1049             player1 => 8450561,
1050             location => 'Unk',
1051             team1 => 'CHI',
1052             length => 2,
1053             penalty => 'Cross checking',
1054             strength => 'PP',
1055             },
1056             ],
1057             199530246 => [
1058             {
1059             type => 'GOAL',
1060             time => '05:18',
1061             period => 5,
1062             team1 => 'COL',
1063             strength => 'EV',
1064             location => 'Off',
1065             shot_type => 'Unknown',
1066             distance => 999,
1067             player1 => 8458544,
1068             assist1 => 8456770,
1069             assist2 => 8451101,
1070             },
1071             ],
1072             199530414 => [
1073             {
1074             type => 'GOAL',
1075             time => '04:31',
1076             period => 6,
1077             team1 => 'COL',
1078             strength => 'EV',
1079             location => 'Off',
1080             shot_type => 'Unknown',
1081             distance => 999,
1082             player1 => 8448554,
1083             },
1084             {
1085             type => 'PENL',
1086             period => 5,
1087             time => '09:57',
1088             player1 => 8448772,
1089             team1 => 'COL',
1090             location => 'Unk',
1091             length => 2,
1092             penalty => 'Roughing',
1093             strength => 'EV',
1094             },
1095             {
1096             type => 'PENL',
1097             period => 5,
1098             time => '09:57',
1099             player1 => 8451427,
1100             team1 => 'FLA',
1101             length => 2,
1102             location => 'Unk',
1103             penalty => 'Slashing',
1104             strength => 'EV',
1105             },
1106             ],
1107             199630114 => [
1108             {
1109             type => 'GOAL',
1110             time => '07:37',
1111             period => 6,
1112             team1 => 'MTL',
1113             strength => 'EV',
1114             location => 'Off',
1115             shot_type => 'Unknown',
1116             distance => 999,
1117             player1 => 8445739,
1118             assist1 => 8459442,
1119             assist2 => 8445734,
1120             },
1121             ],
1122             199630153 => [
1123             {
1124             type => 'GOAL',
1125             time => '11:03',
1126             period => 5,
1127             team1 => 'CHI',
1128             strength => 'EV',
1129             location => 'Off',
1130             shot_type => 'Unknown',
1131             distance => 999,
1132             player1 => 8458949,
1133             assist1 => 8446295,
1134             },
1135             {
1136             type => 'PENL',
1137             location => 'Unk',
1138             period => 5,
1139             time => '06:09',
1140             player1 => 8452353,
1141             team1 => 'CHI',
1142             length => 2,
1143             penalty => 'Holding',
1144             strength => 'EV',
1145             },
1146             {
1147             type => 'PENL',
1148             location => 'Unk',
1149             period => 5,
1150             time => '06:09',
1151             player1 => 8450561,
1152             team1 => 'CHI',
1153             length => 10,
1154             penalty => 'Misconduct',
1155             misconduct => 1,
1156             strength => 'EV',
1157             },
1158             ],
1159             199630165 => [
1160             {
1161             type => 'GOAL',
1162             time => '00:22',
1163             period => 5,
1164             team1 => 'EDM',
1165             strength => 'EV',
1166             location => 'Off',
1167             shot_type => 'Unknown',
1168             distance => 999,
1169             player1 => 8460496,
1170             assist1 => 8459429,
1171             assist2 => 8458963,
1172             },
1173             ],
1174             199630242 => [
1175             {
1176             type => 'GOAL',
1177             time => '01:31',
1178             period => 6,
1179             team1 => 'DET',
1180             strength => 'PP',
1181             location => 'Off',
1182             shot_type => 'Unknown',
1183             distance => 999,
1184             player1 => 8456887,
1185             assist1 => 8456870,
1186             assist2 => 8446789,
1187             },
1188             {
1189             type => 'PENL',
1190             period => 6,
1191             time => '01:03',
1192             player1 => 8446286,
1193             location => 'Unk',
1194             team1 => 'ANA',
1195             length => 2,
1196             penalty => 'Hooking',
1197             strength => 'EV',
1198             },
1199             ],
1200             199630244 => [
1201             {
1202             type => 'GOAL',
1203             time => '17:03',
1204             period => 5,
1205             team1 => 'DET',
1206             strength => 'EV',
1207             location => 'Off',
1208             shot_type => 'Unknown',
1209             distance => 999,
1210             player1 => 8451302,
1211             assist1 => 8458524,
1212             assist2 => 8452578,
1213             },
1214             {
1215             type => 'PENL',
1216             period => 5,
1217             time => '10:52',
1218             player1 => 8446789,
1219             location => 'Unk',
1220             team1 => 'DET',
1221             length => 2,
1222             penalty => 'Hi-sticking',
1223             strength => 'EV',
1224             },
1225             ],
1226             199720894 => [
1227             {
1228             id => 999,
1229             type => 'GOAL',
1230             period => 4,
1231             time => '04:39',
1232             location => 'Off',
1233             team1 => 'PHI',
1234             shot_type => 'Unknown',
1235             strength => 'EV',
1236             player1 => 8457704,
1237             assist1 => 8456849,
1238             assist2 => 8459458,
1239             },
1240             ],
1241             199730142 => [
1242             {
1243             type => 'GOAL',
1244             time => '00:54',
1245             period => 5,
1246             team1 => 'BOS',
1247             strength => 'EV',
1248             location => 'Off',
1249             shot_type => 'Unknown',
1250             distance => 999,
1251             player1 => 8459249,
1252             assist1 => 8459439,
1253             assist2 => 8448484,
1254             },
1255             ],
1256             199730143 => [
1257             {
1258             type => 'GOAL',
1259             time => '06:31',
1260             period => 5,
1261             team1 => 'WSH',
1262             strength => 'EV',
1263             location => 'Off',
1264             shot_type => 'Unknown',
1265             distance => 999,
1266             player1 => 8456760,
1267             assist1 => 8449951,
1268             assist2 => 8445417,
1269             },
1270             ],
1271             199730223 => [
1272             {
1273             type => 'GOAL',
1274             time => '01:24',
1275             period => 5,
1276             team1 => 'BUF',
1277             strength => 'EV',
1278             location => 'Off',
1279             shot_type => 'Unknown',
1280             distance => 999,
1281             player1 => 8458976,
1282             assist1 => 8458347,
1283             assist2 => 8460579,
1284             },
1285             ],
1286             199730243 => [
1287             {
1288             type => 'GOAL',
1289             time => '11:12',
1290             period => 5,
1291             team1 => 'DET',
1292             strength => 'EV',
1293             location => 'Off',
1294             shot_type => 'Unknown',
1295             distance => 999,
1296             player1 => 8451302,
1297             assist1 => 8448669,
1298             assist2 => 8457063,
1299             },
1300             ],
1301             199830122 => [
1302             {
1303             type => 'GOAL',
1304             time => '10:35',
1305             period => 5,
1306             team1 => 'BUF',
1307             strength => 'EV',
1308             location => 'Off',
1309             shot_type => 'Unknown',
1310             distance => 999,
1311             player1 => 8459534,
1312             assist1 => 8458454,
1313             assist2 => 8456760,
1314             },
1315             ],
1316             199830135 => [
1317             {
1318             type => 'GOAL',
1319             time => '14:45',
1320             period => 5,
1321             team1 => 'BOS',
1322             strength => 'EV',
1323             location => 'Off',
1324             shot_type => 'Unknown',
1325             distance => 999,
1326             player1 => 8459156,
1327             assist1 => 8466138,
1328             assist2 => 8445621,
1329             },
1330             ],
1331             199830154 => [
1332             {
1333             type => 'GOAL',
1334             time => '17:34',
1335             period => 6,
1336             team1 => 'DAL',
1337             strength => 'EV',
1338             location => 'Off',
1339             shot_type => 'Unknown',
1340             distance => 999,
1341             player1 => 8449893,
1342             assist1 => 8458494,
1343             assist2 => 8445423,
1344             },
1345             {
1346             type => 'PENL',
1347             period => 6,
1348             time => '07:46',
1349             player1 => 8459640,
1350             team1 => 'EDM',
1351             location => 'Unk',
1352             length => 2,
1353             penalty => 'Boarding',
1354             strength => 'EV',
1355             },
1356             ],
1357             199830416 => [
1358             {
1359             type => 'GOAL',
1360             time => '14:51',
1361             period => 6,
1362             team1 => 'DAL',
1363             strength => 'EV',
1364             location => 'Off',
1365             shot_type => 'Unknown',
1366             distance => 999,
1367             player1 => 8448091,
1368             assist1 => 8459024,
1369             assist2 => 8449645,
1370             },
1371             ],
1372             200210427 => [
1373             {
1374             'period' => 3,
1375             'team' => 'PHI',
1376             'str' => 'EV',
1377             'player2' => 8465200,
1378             'penalty' => 'Game Misconduct',
1379             'length' => '10',
1380             'id' => 143,
1381             'location' => 'Unk',
1382             'type' => 'PENL',
1383             'description' => '97 ROENICK, Charging (maj), 5 min, Served By 29 FEDORUK',
1384             'old' => 1,
1385             'team2' => 'TOR',
1386             'team1' => 'PHI',
1387             'time' => '07:33',
1388             'player1' => 8459078,
1389             servedby => 8462292,
1390             misconduct => 1,
1391             },
1392             ],
1393             );
1394              
1395             our %MISSING_COACHES = (
1396             198720094 => [
1397             'Terry Simpson',
1398             'John Brophy',
1399             ],
1400             198720190 => [
1401             "Terry O'Reilly",
1402             'Dan Maloney',
1403             ],
1404             198820044 => [
1405             "Terry O'Reilly",
1406             'Pierre Page',
1407             ],
1408             198820695 => [
1409             'George Armstrong',
1410             'Larry Pleau',
1411             ],
1412             199220021 => [
1413             'John Muckler',
1414             'Paul Holmgren',
1415             ],
1416             200220148 => [
1417             'Andy Murray',
1418             'Brian Sutter',
1419             ],
1420             200320732 => [
1421             'Peter Laviolette',
1422             'Bob Hartley',
1423             ],
1424             );
1425              
1426             our %MISSING_PLAYERS = (
1427             192330311 => [
1428             [
1429             {
1430             _id => 8400001,
1431             position => 'G',
1432             decision => 'L',
1433             timeOnIce => '60:00',
1434             name => 'CHARLIE REID',
1435             number => 1,
1436             pim => 0,
1437             goals => 0,
1438             assists => 0,
1439             },
1440             ],
1441             [],
1442             ],
1443             192330312 => [
1444             [
1445             {
1446             _id => 8400001,
1447             position => 'G',
1448             decision => 'L',
1449             timeOnIce => '60:00',
1450             name => 'CHARLIE REID',
1451             number => 1,
1452             pim => 0,
1453             goals => 0,
1454             assists => 0,
1455             },
1456             ],
1457             [],
1458             ],
1459             199920450 => [
1460             [
1461             {
1462             _id => 8459457,
1463             number => 15,
1464             position => 'L',
1465             timeOnIce => '00:27',
1466             name => 'JAMIE LANGENBRUNNER',
1467             penaltyMinutes => 0,
1468             goals => 0,
1469             assists => 0,
1470             missing => 1,
1471             }
1472             ],
1473             [],
1474             ],
1475             );
1476              
1477             =head1 NAME
1478              
1479             Sport::Analytics::NHL::Errors - Hard fixes to errors in the NHL reports
1480              
1481             =head1 SYNOPSYS
1482              
1483             Hard fixes to errors in the NHL reports
1484              
1485             Provides hard-coded corrections to the errors in the NHL reports or marks certain files as broken and unoperatable
1486              
1487             This list shall expand as the release grows.
1488              
1489             use Sport::Analytics::NHL::Errors;
1490             # TBA
1491              
1492             =cut
1493              
1494             1;
1495              
1496             =head1 AUTHOR
1497              
1498             More Hockey Stats, C<< >>
1499              
1500             =head1 BUGS
1501              
1502             Please report any bugs or feature requests to C, or through
1503             the web interface at L. I will be notified, and then you'll
1504             automatically be notified of progress on your bug as I make changes.
1505              
1506              
1507             =head1 SUPPORT
1508              
1509             You can find documentation for this module with the perldoc command.
1510              
1511             perldoc Sport::Analytics::NHL::Errors
1512              
1513              
1514             You can also look for information at:
1515              
1516             =over 4
1517              
1518             =item * RT: CPAN's request tracker (report bugs here)
1519              
1520             L
1521              
1522             =item * AnnoCPAN: Annotated CPAN documentation
1523              
1524             L
1525              
1526             =item * CPAN Ratings
1527              
1528             L
1529              
1530             =item * Search CPAN
1531              
1532             L
1533              
1534             =back
1535