(self)
| 123 | """ |
| 124 | |
| 125 | def test_hash16_pinned(self) -> None: |
| 126 | # SHA-256("hello").hexdigest()[:16] |
| 127 | assert hash16("hello") == "2cf24dba5fb0a30e" |
| 128 | # Empty string is a meaningful input — pin it explicitly. |
| 129 | assert hash16("") == "e3b0c44298fc1c14" |
| 130 | |
| 131 | def test_normalize_messages_to_hashes_pinned(self) -> None: |
| 132 | messages = [{"role": "user", "content": "hello"}] |