minima_to_cv returns a named tuple now