Expand description
Capacity estimation and chi-square detectability analysis.
Pure domain logic — no I/O, no file system, no async runtime.
Functions§
- chi_
square_ score - Chi-square statistic on byte value distribution.
- classify_
risk - Classify detectability risk from a chi-square score in dB.
- estimate_
capacity - Estimate embedding capacity for a cover/technique pair.
- recommended_
payload - Compute recommended max payload bytes for a given capacity and risk.