| { | |
| "rule_1_all_products_have_nutrition": { | |
| "description": "All products have an exact nutrition match", | |
| "total": 4440, | |
| "matched": 4440, | |
| "pass": true | |
| }, | |
| "rule_2_no_duplicate_external_ids": { | |
| "description": "No duplicate external_id in mapping", | |
| "unique_external_ids": 4440, | |
| "total_rows": 4440, | |
| "pass": true | |
| }, | |
| "rule_3_no_duplicate_matches": { | |
| "description": "Each product matches exactly one nutrition record", | |
| "pass": true | |
| }, | |
| "rule_4_suspicious_values_preserved": { | |
| "description": "Suspicious values are flagged, not overwritten", | |
| "suspicious_count": 3, | |
| "pass": true | |
| }, | |
| "rule_5_no_fabricated_values": { | |
| "description": "No nutrition values were invented or modified", | |
| "pass": true | |
| }, | |
| "rule_6_no_external_data": { | |
| "description": "No external nutrition datasets were introduced", | |
| "pass": true | |
| }, | |
| "rule_7_all_outputs_parquet": { | |
| "description": "All production data outputs are Parquet", | |
| "pass": true | |
| }, | |
| "rule_8_no_llm": { | |
| "description": "No LLM was used in this phase", | |
| "pass": true | |
| }, | |
| "overall": { | |
| "result": "PASS" | |
| } | |
| } |