Pre-trial justice group gives Texas a D rating