Some research code for computing rectangular promotions and related statistics.