scripts/stats: include let … in … doctests, and fudge type operators