School Codes Test

This server script verifies the NWSRS school code files by comparing the TXT master file to the contents of PHP and CSV files. This report is running on hardware named Chocolate.

File Date Summary

2017-11-22 21:52

-

../allcodes.txt

2017-11-22 21:50

-

schoolcodes.php

2017-11-22 21:52

-

../allcodes.csv

Test 1: Alphabetical Order in TXT File

 Error:  School code CBH is out of order compared to CBM in row 289
 Error:  School code CPO is out of order compared to CPP in row 445
 Error:  School code LYB is out of order compared to LYC in row 1256
 Error:  School code SKM is out of order compared to SKN in row 1958

Please fix these errors first, as they may cause subsequent tests to fail.

Test 2: Deleted Schools

Success! Number of schools missing from the TXT file: 0

Test 3: Comparing TXT to CSV school codes

Success! TXT to CSV comparison complete, 2435 rows, 0 errors found

Test 4: Comparing PHP to CSV school codes

 Error:  mismatch in CSV line 1881, should be 'MS' but contains ' MS'

CSV to PHP comparison complete, 2435 rows, 1 errors found

Test 5: Check State Codes

Each player has a state that should be a member of:
WA OR ID BC OT CA GA IL MA MI MO NJ NM NV NY TX VA

Opening TXT file: ../ratings.txt

 Error in line 11278:  State 'XX' is not valid for 'Ken Hines' ADONU98D

State code check complete, 1 errors found in 31671 records

Summary

School code test complete, 2 errors found.
This test was run on web server CHOCOLATE (66.199.186.161)