Science of the perfect chocolate-chip cookie

I like the Cook’s Illustrated recipe for white cake, though I sub plain soy milk for for the cow milk. It still tastes great, though it’s not as white as it ought to be.