<commit_before>$(function(){

  function scrollToBottomAnimated() {
    $("html,body").animate({scrollTop: document.body.scrollHeight}, "slow");
  };

  function sendFormData() {
    var name = $('#namae');
    var message = $('#message');
    var sendData = {
      "name": name.val(),
      "msg": message.val(),
    };
    socket.emit('msg send', sendData);
    $.cookie("name", name.val()); // store the name value
    message.val('');        // clear message
  };
  
  // check the cookie to recall name
  if ($.cookie("name")) {
    $('input[name="namae"]').val($.cookie("name"));
  }

  var socket = io.connect(location.href);

  socket.on('connect', function() {
    socket.emit('msg update');<commit_msg>#24: disabling cookie to store name<commit_after>$(function(){

  function scrollToBottomAnimated() {
    $("html,body").animate({scrollTop: document.body.scrollHeight}, "slow");
  };

  function sendFormData() {
    var name = $('#namae');
    var message = $('#message');
    var sendData = {
      "name": name.val(),
      "msg": message.val(),
    };
    socket.emit('msg send', sendData);
    // $.cookie("name", name.val()); // store the name value
    message.val('');        // clear message
  };
  
  // check the cookie to recall name
  // if ($.cookie("name")) {
  //   $('input[name="namae"]').val($.cookie("name"));
  // }

  var socket = io.connect(location.href);

  socket.on('connect', function() {
    socket.emit('msg update');
{'fraction_non_alphanumeric': 0.21232876712328766, 'fraction_numerical': 0.0013698630136986301, 'mean_word_length': 3.103932584269663, 'pattern_counts': {'":': 4, '<': 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': '4597032', 'n_tokens_mistral': 467, 'n_tokens_neox': 452, 'n_words': 100}