A word used to describe a negative consequence that someone has earned through previous bad behavior of some kind, an event that feels to others like just what the person deserved. For example, Roger Ebert's review of Gone With The Wind describes the ending as "Scarlett gets her comeuppance at last."