Reduce complexity in run_quality.
Merge pull request #5810 from edx/benp/improve-run-quality

Reduce complexity in run_quality.