BALTIMORE — For years, this city had one of the worst school systems in the country. Fewer than half its students graduated, enrollment had fallen precipitously and proficiency levels were far below the national average.