You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to #45. The tool should probably flag up validations that have not run because the applicable data was not provided.
For example if the user accidentally misses out the OC3 csv entirely they might like to know that rules 131-133 (etc) could not be tested, rather than being left with the impression there are no errors with their data. Similarly for rules that depend on previous year data it would be useful to remind/highlight that those validations haven't been run when the relevant previous year data has not been loaded.
On the other hand I can see benefits to being able to intentionally upload only a single file or subset of files/data for validation so would not like to see any changes which would prevent that behaviour. Maybe any such warnings (this or #45) should be in expandable panes like the existing selection list of validation rules?
def _validate(dfs):
if 'Episodes' not in dfs:
return {} # This is where we discover the relevant file/data isn't available.
The text was updated successfully, but these errors were encountered:
Otherwise we could update the ErrorDefinition class to also include the required tables. Bit of a tedious copy/pasting job, and we'd have to make a note to add that to all future rules, but certainly doable.
It'll also take a bit of thought to figure out how best to display this in the frontend. It would be cool to be able to group select/deselect the rules in the 'Validation Rules' & 'Filter' dropdowns based on the affected tables and/or fields
Related to #45. The tool should probably flag up validations that have not run because the applicable data was not provided.
For example if the user accidentally misses out the OC3 csv entirely they might like to know that rules 131-133 (etc) could not be tested, rather than being left with the impression there are no errors with their data. Similarly for rules that depend on previous year data it would be useful to remind/highlight that those validations haven't been run when the relevant previous year data has not been loaded.
On the other hand I can see benefits to being able to intentionally upload only a single file or subset of files/data for validation so would not like to see any changes which would prevent that behaviour. Maybe any such warnings (this or #45) should be in expandable panes like the existing selection list of validation rules?
The text was updated successfully, but these errors were encountered: