If the weather is as bad as being forecast Valverde is very unlikely to even finish the race.I still think Valverde rode a good race and will be a danger at the Worlds. Mas was also good without threatening the podium. Contador is a big believer in his talent. Whether Mas can get the results of Bernal or Pogacar remains to be seen. Pogacar already has two podiums !
I agree with perico that it appears Mas had his confidence shaken some. Also Mas still has some things to learn like how to limit time losses. Mas talked about that being a lesson Valverde taught him during this Tour. So I think in some aspects he still has a lot to learn about how to race for GC, however, he has a great teacher/coach and he wants to learn.