Closed SLornieCYC closed 1 year ago
for some reason, on the merge, when testing using an xml, s47 and ass merge even when there is no ass. module in the original xml. Also, if you run on CIN_Census_2021.xml, the assessments df comes through as the cin details df
An interesting additional thing is that the errors are being pushed to flag on the "CINdetailsID" column which doesn't exist on the user interface. It is an internal column only. Changing it to flag on "LAchildID" will make the positions pop up in the user interface.
Describe the bug Rule is returning no errors in CIN Validator whereas I get 58 errors in DFE portal from the same data.
Proposed fix (Optional) No idea what is causing my issue as described above but there are two things that jump out at me as queries from the rule coding (which are probably red herrings):
https://github.com/data-to-insight/CIN-validator/blob/dc4559d2362e0efacfe47ebb9b4b3d538c7d0094/cin_validator/rules/cin2022_23/rule_2991Q.py#L37-L44
ROW_ID_ass
rather thanROW_ID_S47
?https://github.com/data-to-insight/CIN-validator/blob/dc4559d2362e0efacfe47ebb9b4b3d538c7d0094/cin_validator/rules/cin2022_23/rule_2991Q.py#L52-L57