Nevertheless, it has made a catalogue of errors and is now languishing in the middle income trap. The country ranks 120 in the World Bank’s Ease of Doing Business index, with catastrophic scores for infrastructure, enforcement of contracts and starting a company. The PT has back-pedaled on reforms under Mrs Rousseff, holding down prices artificially and tinkering with protectionism, though the rot set in long before she took office.