Brazil built an artificial-intelligence system to make its social security process faster and less bureaucratic, and in many cases it has. But the same tool is now accused of wrongly rejecting the claims of the people who can least afford to be turned away.

The problem lies in the complexity of real life. Automated systems work well with clear-cut cases, but many applicants have irregular work histories, incomplete records, or circumstances that fall outside the rules the algorithm was trained on. When those cases are flagged and dismissed, vulnerable people lose benefits they are entitled to, and often have no idea why.

Appealing a decision made by a machine is difficult, especially for those with little education or access to legal help. The system was meant to reduce bureaucracy, but for many Brazilians it has added a new layer of frustration. The lesson is familiar and uncomfortable: efficiency and fairness are not the same thing, and one should never be mistaken for the other.