<commit_before>// Accommodations count publications
Meteor.publish('campingRegistrantAccommodationCount', function() {
    Counts.publish(this, 'campingRegistrantAccommodationCount', Registrants.find({'accommodations': 'camping'}));
});
Meteor.publish('semiprivateRegistrantAccommodationCount', function() {
    Counts.publish(this, 'semiprivateRegistrantAccommodationCount', Registrants.find({'accommodations': 'semiprivate'}));
});
Meteor.publish('privateRegistrantAccommodationCount', function() {
    Counts.publish(this, 'privateRegistrantAccommodationCount', Registrants.find({'accommodations': 'private'}));
});
Meteor.publish('jymRegistrantAccommodationCount', function() {
    Counts.publish(this, 'jymRegistrantAccommodationCount', Registrants.find({'accommodations': 'jym'}));
});
Meteor.publish('yafRegistrantAccommodationCount', function() {
    Counts.publish(this, 'yafRegistrantAccommodationCount', Registrants.find({'accommodations': 'yaf'}));
});
<commit_msg>Removed Private. Added Dorm Proximate and Distant.<commit_after>/*
* These publications provide a count of various Accommodations options chosen by registrants.
*/

// Accommodations count publications
Meteor.publish('campingRegistrantAccommodationCount', function() {
    Counts.publish(this,
                   'campingRegistrantAccommodationCount',
                   Registrants.find({'accommodations': 'camping'}));
});

Meteor.publish('dormDistantRegistrantAccommodationCount', function() {
    Counts.publish(this,
                   'dormDistantRegistrantAccommodationCount',
                   Registrants.find({'accommodations': 'dorm-distant-bathroom'}));
});

Meteor.publish('dormProximateRegistrantAccommodationCount', function() {
    Counts.publish(this,
                   'dormProximateRegistrantAccommodationCount',
                   Registrants.find({"accommodations": "dorm-proximate-bathroom"}));
});

Meteor.publish('semiprivateRegistrantAccommodationCount', function() {
    Counts.publish(this,
                   'semiprivateRegistrantAccommodationCount',
                   Registrants.find({'accommodations': 'semiprivate'}));
});

Meteor.publish('jymRegistrantAccommodationCount', function() {
    Counts.publish(this,
                   'jymRegistrantAccommodationCount',
                   Registrants.find({'accommodations': 'jym'}));
});

Meteor.publish('yafRegistrantAccommodationCount', function() {
    Counts.publish(this,
                   'yafRegistrantAccommodationCount',
                   Registrants.find({'accommodations': 'yaf'}));
});

{'fraction_non_alphanumeric': 0.133203125, 'fraction_numerical': 0.0, 'mean_word_length': 4.794117647058823, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6075767', 'n_tokens_mistral': 810, 'n_tokens_neox': 789, 'n_words': 92}