* Structural checksum for large transform outputs. Snapshotting a 100k-point * result verbatim would create megabyte snapshot files; this digest is small * but still detects any numeric or structural drift, including changes in * floating-point summation order.
| 5 | * floating-point summation order. |
| 6 | */ |
| 7 | interface Digest { |
| 8 | type: string; |
| 9 | size?: number; |
| 10 | keys?: string[]; |
| 11 | numberCount?: number; |
| 12 | numberSum?: string; |
| 13 | first?: unknown; |
| 14 | last?: unknown; |
| 15 | } |
| 16 | |
| 17 | const collectNumbers = ( |
| 18 | value: unknown, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…