From cognitive bias to algorithmic racism