(text)
| 187 | |
| 188 | |
| 189 | def compression_ratio(text) -> float: |
| 190 | text_bytes = text.encode("utf-8") |
| 191 | return len(text_bytes) / len(zlib.compress(text_bytes)) |
| 192 | |
| 193 | |
| 194 | def format_timestamp( |
nothing calls this directly
no test coverage detected
searching dependent graphs…