...
If a person has attended a class within a specific product group less than X times, the badge “Beginner (group)” is shown. In other words - the person is new to the class and the product group.
If a person has attended equal to (or more) than X classes within the product group, but is new to this specific class, the badge “Beginner (class)” is shown. In other words - the person is new to the class but not the product group.
The value X is determined from the setting classesToAttendToNoLongerBeABeginner. The default value of this setting is 1.
...