Add hints test group distinction comments

This commit is contained in:
Matt Lott 2016-08-24 12:05:40 -07:00
parent 22e3f445c0
commit f391030b44

View file

@ -196,8 +196,8 @@ module.exports = class User extends CocoModel
group = me.get('testGroupNumber') % 3
@hintsGroup = switch group
when 0 then 'no-hints'
when 1 then 'hints'
when 2 then 'hintsB'
when 1 then 'hints' # Automatically created code, doled out line-by-line, without full solutions
when 2 then 'hintsB' # Manually created FAQ-style hints, reusable across levels
@hintsGroup = 'hints' if me.isAdmin()
application.tracker.identify hintsGroup: @hintsGroup unless me.isAdmin()
@hintsGroup