There are a few old references to PHUIBadgeView::COMMON and similar in PHUIBadgeExample.
They should be updated to use PhabricatorBadgesQuality methods/constants.
You can run this example by visiting /uiexample/view/PHUIBadgeExample/ in the web UI locally. It should render some examples of the badge view element when working correctly.