Thrive’s team developed software that uses an algorithm to compare a school district’s actual spending with an index of best practices that would produce the most equitable outcomes.