Skip to content

Commit 15dc8dc

Browse files
committed
- amend data quality dimensions assigned to data quality tests (adding in accuracy in place of validity)
1 parent dae6183 commit 15dc8dc

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

scripts/helpers/housing_gx_dq_inputs.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,31 +34,31 @@
3434
'expect_asset_id_not_to_be_null': 'COMPLETENESS',
3535
'expect_asset_type_not_to_be_null': 'COMPLETENESS',
3636
'expect_asset_type_values_to_be_in_set': 'CONSISTENCY',
37-
'expect_block_ref_no_column_values_to_match_regex': 'VALIDITY',
37+
'expect_block_ref_no_column_values_to_match_regex': 'ACCURACY',
3838
'expect_column_value_lengths_to_be_between': 'VALIDITY',
3939
'expect_column_values_to_be_in_set': 'CONSISTENCY',
4040
'expect_column_values_to_be_unique': 'UNIQUENESS',
41-
'expect_column_values_to_match_regex': 'VALIDITY',
41+
'expect_column_values_to_match_regex': 'ACCURACY',
4242
'expect_column_values_to_not_be_null': 'COMPLETENESS',
4343
'expect_contact_type_column_values_to_be_in_set': 'CONSISTENCY',
4444
'expect_contact_type_column_values_to_not_be_null': 'COMPLETENESS',
4545
'expect_contact_value_column_values_to_be_unique': 'UNIQUENESS',
4646
'expect_contact_value_column_values_to_not_be_null': 'COMPLETENESS',
4747
'expect_date_of_birth_column_values_to_not_be_null': 'COMPLETENESS',
48-
'expect_date_of_birth_to_be_between': 'TIMELINESS',
48+
'expect_date_of_birth_to_be_between': 'VALIDITY',
4949
'expect_description_values_to_be_in_set': 'CONSISTENCY',
50-
'expect_estate_ref_no_column_values_to_match_regex': 'VALIDITY',
51-
'expect_first_name_column_value_length': 'VALIDITY',
50+
'expect_estate_ref_no_column_values_to_match_regex': 'ACCURACY',
51+
'expect_first_name_column_value_length': 'ACCURACY',
5252
'expect_is_organisation_column_values_to_not_be_null': 'COMPLETENESS',
5353
'expect_is_organisation_values_to_be_in_set': 'CONSISTENCY',
5454
'expect_llpg_and_prop_ref_column_values_to_be_unique_within_record': 'UNIQUENESS',
5555
'expect_llpg_column_value_lengths_between': 'VALIDITY',
5656
'expect_llpg_column_values_to_be_unique': 'UNIQUENESS',
57-
'expect_llpg_column_values_to_match_regex': 'VALIDITY',
57+
'expect_llpg_column_values_to_match_regex': 'ACCURACY',
5858
'expect_llpg_column_values_to_not_be_null': 'COMPLETENESS',
5959
'expect_member_full_name_column_value_lengths_between': 'VALIDITY',
6060
'expect_member_is_responsible_values_to_be_in_set': 'CONSISTENCY',
61-
'expect_payment_ref_no_column_values_to_match_regex': 'VALIDITY',
61+
'expect_payment_ref_no_column_values_to_match_regex': 'ACCURACY',
6262
'expect_payment_reference_column_not_to_be_null': 'COMPLETENESS',
6363
'expect_person_id_and_payment_reference_column_values_to_be_unique_within_record': 'UNIQUENESS',
6464
'expect_person_id_and_property_reference_column_values_to_be_unique_within_record': 'UNIQUENESS',
@@ -69,15 +69,15 @@
6969
'expect_prop_no_and_payment_ref_column_values_to_be_unique_within_record': 'UNIQUENESS',
7070
'expect_prop_no_column_values_to_be_unique': 'UNIQUENESS',
7171
'expect_prop_no_column_values_to_not_be_null': 'COMPLETENESS',
72-
'expect_prop_no_no_column_values_to_match_regex': 'VALIDITY',
72+
'expect_prop_no_no_column_values_to_match_regex': 'ACCURACY',
7373
'expect_property_ref_column_values_to_not_be_null': 'COMPLETENESS',
7474
'expect_select_column_values_to_be_unique_within_record': 'UNIQUENESS',
7575
'expect_start_of_tenure_date_column_not_to_be_null': 'COMPLETENESS',
7676
'expect_end_of_tenure_date_column_to_be_null': 'COMPLETENESS',
7777
'expect_sub_type_column_values_to_be_in_set': 'CONSISTENCY',
7878
'expect_sub_type_column_values_to_not_be_null': 'COMPLETENESS',
79-
'expect_surname_column_value_length': 'VALIDITY',
80-
'expect_firstname_column_value_length': 'VALIDITY',
79+
'expect_surname_column_value_length': 'ACCURACY',
80+
'expect_firstname_column_value_length': 'ACCURACY',
8181
'expect_tag_ref_column_not_to_be_null': 'COMPLETENESS',
8282
'expect_target_id_and_value_column_values_to_be_unique_within_record': 'UNIQUENESS',
8383
'expect_target_id_column_values_to_not_be_null': 'COMPLETENESS',
@@ -88,8 +88,8 @@
8888
'expect_tenure_code_column_not_to_be_null': 'COMPLETENESS',
8989
'expect_tenure_type_column_values_to_be_in_set': 'CONSISTENCY',
9090
'expect_tenure_code_values_to_be_in_set': 'CONSISTENCY',
91-
'expect_uprn_column_value_lengths_between': 'ACCURACY',
92-
'expect_uprn_column_values_to_match_regex': 'VALIDITY',
91+
'expect_uprn_column_value_lengths_between': 'VALIDITY',
92+
'expect_uprn_column_values_to_match_regex': 'ACCURACY',
9393
'expect_uprn_column_values_to_not_be_null': 'COMPLETENESS',
9494
'expect_uprn_not_to_be_null': 'COMPLETENESS',
9595
'expect_tag_ref_column_values_to_be_unique': 'UNIQUENESS',
@@ -99,7 +99,7 @@
9999
'expect_tenure_not_to_be_null': 'COMPLETENESS',
100100
'expect_saff_rent_acc_not_to_be_null': 'COMPLETENESS',
101101
'expect_rent_group_ref_not_to_be_null': 'COMPLETENESS',
102-
'expect_eo_t_to_be_between': 'ACCURACY',
103-
'expect_co_t_to_be_between': 'ACCURACY',
102+
'expect_eo_t_to_be_between': 'VALIDITY',
103+
'expect_co_t_to_be_between': 'VALIDITY',
104104
'expect_prop_ref_column_values_to_be_unique': 'UNIQUENESS',
105105
'expect_arr_patch_not_to_be_null': 'COMPLETENESS'}

0 commit comments

Comments
 (0)