Ottawa has said for years that its software for sorting visa applications doesn’t change how immigration decisions get made. A new study based on more than 17,000 pages of internal government records argues that it does. Danièle Bélanger and Gabriel