Scoring for a class that inherits another should depend on inheritance distance