San Francisco’s widely panned student assignment system needs a complete overhaul, and the process to change it starts now, the school board decided late Tuesday night.

The unanimous vote just before 11 p.m. set in motion the process to create a new procedure that would end the all-lottery system and make the assignment to schools more predictable and based on where students live, board members said.