Every year, an algorithm assigns thousands of medical students to residencies they can’t leave, can’t negotiate with, and can ...