Great Shots / Poor Shots Historical Data

How are these determined in historical data?