{"id":"zip-truncation-risk","text":"If `keys` and `values` lists passed to `_serialize_leaf` have mismatched lengths, `zip` silently truncates to the shorter list while `num_keys` in the header reflects the longer, producing a corrupt page","truth_value":"IN","source":"entries/2026/05/28/b-tree-storage-engine-btree-_serialize_leaf.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"zip-truncation-risk","truth_value":"IN","reason":"premise"}]}}