<commit_before>Template.betsList.helpers({
  bets: function() {
    var current_status = Session.get( "status" );

    return Bets.find({ $and:
      [ { status: current_status },
        { bettors: Session.get( "user" ) }
    ]});
  }
});

Template.betsList.events({
  "click .open-button" : function() {
    Session.set( "user", Meteor.user().username )
    Session.set( "status", "open" )
  },

  "click .pending-button" : function() {
    Session.set( "user", Meteor.user().username )
    Session.set( "status", "pending" )
  },

  "click .completed-button" : function() {
    Session.set( "user", Meteor.user().username )
    Session.set( "status", "completed" )
  }
})<commit_msg>betsList added semicolons to template betsList helper<commit_after>Template.betsList.helpers({
  bets: function() {
    var current_status = Session.get( "status" );

    return Bets.find({ $and:
      [ { status: current_status },
        { bettors: Session.get( "user" ) }
    ]});
  }
});

Template.betsList.events({
  "click .open-button" : function() {
    Session.set( "user", Meteor.user().username );
    Session.set( "status", "open" );
  },

  "click .pending-button" : function() {
    Session.set( "user", Meteor.user().username );
    Session.set( "status", "pending" );
  },

  "click .completed-button" : function() {
    Session.set( "user", Meteor.user().username );
    Session.set( "status", "completed" );
  }
})
{'fraction_non_alphanumeric': 0.1918194640338505, 'fraction_numerical': 0.0, 'mean_word_length': 3.2106824925816024, 'pattern_counts': {'":': 0, '<': 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': '2239683', 'n_tokens_mistral': 493, 'n_tokens_neox': 477, 'n_words': 92}