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-09-15 08:52

-

../allcodes.txt

2017-09-15 08:51

-

schoolcodes.php

2017-09-15 08:52

-

../allcodes.csv

Test 1: Alphabetical Order in TXT File

 Error:  School code CBH is out of order compared to CBM in row 286
 Error:  School code CPO is out of order compared to CPP in row 441
 Error:  School code LYB is out of order compared to LYC in row 1247
 Error:  School code SKM is out of order compared to SKN in row 1945

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, 2421 rows, 0 errors found

Test 4: Comparing PHP to CSV school codes

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

CSV to PHP comparison complete, 2421 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 11041:  State 'XX' is not valid for 'Ken Hines' ADONU98D

State code check complete, 1 errors found in 31049 records

Summary

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