> Communism was considered more successful than capitalism for a large chunk of the 20th century (because it was)
According to whom?
Then the soviet system stagnated hard under Brezhnev while the Chinese pivoted under Deng. But those first gains definitely happened under full communism and no capitalist economy has modernized faster.