Implement cached version of score_data_grid for dd