Closed Maprunner closed 3 years ago
Problem is incorrect handling of status:
<SplitTime status="Missing">
<ControlCode>201</ControlCode>
</SplitTime>
This should be imported rather than ignored. Change is in resultparseriovv3.js, which has a nice comment explaining exactly why I got it wrong.
// only possible attributes are "Missing" and "Additional" so // if splitlist has attributes it is invalid and needs to be ignored if (splitlist[x].attributes.length === 0) {
Above changes have fixed it.
See Hankley Common Seems to be associated with the odd results file they used with "missing" missed controls. Root cause is that people who mispunched don't have 0 splits for missing controls, so the splits arrays are too short for some people.