The same deliveries can be measured in days or in weeks. Before you run the code, decide what that does to each number.
Measure the same deliveries in weeks instead of days. What happens to the entropy and the KL?
def normal_entropy(sigma): return 0.5 * np.log(2 * np.pi * np.e * sigma**2) def kl_normal(mu1, s1, mu2, s2): return np.log(s2 / s1) + (s1**2 + (mu1 - mu2) ** 2) / (2 * s2**2) - 0.5 for unit, scale in (("days", 1), ("weeks", 7)): print(f"in {unit}: entropy {normal_entropy(s_p / scale):.3f}, " f"KL {kl_normal(mu_p / scale, s_p / scale, mu_q / scale, s_q / scale):.4f}")
in days: entropy 1.601, KL 0.0987 in weeks: entropy -0.345, KL 0.0987
A continuous entropy depends on the units, and a normal's goes negative once its spread is under about 0.24 of a unit. The KL divergence doesn't depend on the units and never goes negative, so it's the number to compare.