ratios list -> ratios dict