Algorithms and artificial intelligence are playing ever larger roles in our daily lives, from Google searches and Facebook feeds to self-driving cars and sentencing convicted criminals. It’s ...