Upload validation/phase4_validation.json with huggingface_hub
Browse files
validation/phase4_validation.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rule_1_product_has_one_variant": {
|
| 3 |
+
"description": "Every product has exactly one variant_id",
|
| 4 |
+
"products": 4440,
|
| 5 |
+
"unique_variant_ids_per_product": 1,
|
| 6 |
+
"pass": true
|
| 7 |
+
},
|
| 8 |
+
"rule_2_variant_belongs_to_one_group": {
|
| 9 |
+
"description": "Every variant belongs to exactly one group_id",
|
| 10 |
+
"variants": 4299,
|
| 11 |
+
"unique_groups_per_variant": 1,
|
| 12 |
+
"pass": true
|
| 13 |
+
},
|
| 14 |
+
"rule_3_no_product_multiple_variants": {
|
| 15 |
+
"description": "No product maps to multiple variant_ids",
|
| 16 |
+
"products_with_multiple_variants": 0,
|
| 17 |
+
"pass": true
|
| 18 |
+
},
|
| 19 |
+
"rule_4_variant_count": {
|
| 20 |
+
"description": "Variant count in mapping equals variant table",
|
| 21 |
+
"mapping_variants": 4299,
|
| 22 |
+
"table_variants": 4299,
|
| 23 |
+
"pass": true
|
| 24 |
+
},
|
| 25 |
+
"rule_5_all_products_have_group": {
|
| 26 |
+
"description": "All products have group_id",
|
| 27 |
+
"null_group_ids": 0,
|
| 28 |
+
"pass": true
|
| 29 |
+
},
|
| 30 |
+
"rule_6_all_products_have_variant": {
|
| 31 |
+
"description": "All products have variant_id",
|
| 32 |
+
"null_variant_ids": 0,
|
| 33 |
+
"pass": true
|
| 34 |
+
},
|
| 35 |
+
"overall": {
|
| 36 |
+
"result": "PASS"
|
| 37 |
+
}
|
| 38 |
+
}
|