The first way is here.

The second way?

In an effort to ensure racial diversity, the school system here in northern Westchester County is set up in an unusual way, its six school buildings divided not by neighborhood but by grade level. So all of the second and third graders in the Ossining Union Free School District attend the Brookside School.

But some minority students, the black boys at Brookside, are set apart, in a way, by a special mentoring program that pairs them with black teachers for one-on-one guidance outside class, extra homework help, and cultural activities during the school day. “All the black boys used to end up in the office, so we had to do something,” said Lorraine Richardson, a second-grade teacher and mentor. “We wanted to teach them to help each other” instead of fight each other.

More here.

There used to be a big debate about this and I think in at least one instance the ACLU sued. But it is apparent to me that the gender gap in black communities goes the opposite way, and that policies should be designed to deal with this.