Code and data for generalized Frechet bounds