<commit_before>(function($) {
  'use strict';

  /**
   * Getting application base url
   * @return {string} application base url
   */
  // function baseUrl(){
  //   var l = window.location;
  //   return l.protocol + '//' + l.host + '/';
  // }
  // var BASE_URL = baseUrl();

  /**
   *  Calling fastclick in application
   */
  var FastClick = window.FastClick || {},
      $window = $(window)
  ;

  FastClick.attach(document.body);

  //  Add target blank in realtime for htmllint validation
  $('a[rel="external"], .external').attr('target','_blank');

  $('#menu-close, #menu-toggle, .sidebar-nav li a[data-animation="scroll"]').click(function(e) {
    e.preventDefault();
    $('#sidebar-wrapper').toggleClass('active');
  });

  if ( $('.nav-tabs')[0] ) {
    var date = new Date(),
      month = date.getMonth(),
      day = date.getDate(),
      year = date.getYear(),
      $navTabs = $('.nav-tabs')
    ;
    if (year !== 116 || month < 2 || (month === 2 && day <= 15)) {
      $navTabs.find('a[href="#tab1"]').trigger('click');
    } else if (month === 2 && day === 16) {
      $navTabs.find('a[href="#tab2"]').trigger('click');
    } else if (month === 2 && day === 17) {
      $navTabs.find('a[href="#tab3"]').trigger('click');
    } else {
      $navTabs.find('a[href="#tab4"]').trigger('click');
    }
  }

  /**
   * Sponsors
   */
  if ( $window.width() >= 886) {
    $('.thumbnail').hover(
      function(){
        $(this).find('.caption').slideDown(250); //.fadeIn(250)
      },
      function(){
        $(this).find('.caption').slideUp(250); //.fadeOut(205)
      }<commit_msg>Fix dates logic<commit_after>(function($) {
  'use strict';

  /**
   * Getting application base url
   * @return {string} application base url
   */
  // function baseUrl(){
  //   var l = window.location;
  //   return l.protocol + '//' + l.host + '/';
  // }
  // var BASE_URL = baseUrl();

  /**
   *  Calling fastclick in application
   */
  var FastClick = window.FastClick || {},
      $window = $(window)
  ;

  FastClick.attach(document.body);

  //  Add target blank in realtime for htmllint validation
  $('a[rel="external"], .external').attr('target','_blank');

  $('#menu-close, #menu-toggle, .sidebar-nav li a[data-animation="scroll"]').click(function(e) {
    e.preventDefault();
    $('#sidebar-wrapper').toggleClass('active');
  });

  if ( $('.nav-tabs')[0] ) {
    var date = new Date(),
      month = date.getMonth(),
      day = date.getDate(),
      year = date.getYear(),
      $navTabs = $('.nav-tabs')
    ;
    if (year !== 116 || month < 2 || (month === 2 && day <= 16)) {
      $navTabs.find('a[href="#tab1"]').trigger('click');
    } else if (month === 2 && day === 17) {
      $navTabs.find('a[href="#tab2"]').trigger('click');
    } else if (month === 2 && day === 18) {
      $navTabs.find('a[href="#tab3"]').trigger('click');
    } else {
      $navTabs.find('a[href="#tab4"]').trigger('click');
    }
  }

  /**
   * Sponsors
   */
  if ( $window.width() >= 886) {
    $('.thumbnail').hover(
      function(){
        $(this).find('.caption').slideDown(250); //.fadeIn(250)
      },
      function(){
        $(this).find('.caption').slideUp(250); //.fadeOut(205)
      }
{'fraction_non_alphanumeric': 0.2336448598130841, 'fraction_numerical': 0.020560747663551402, 'mean_word_length': 2.6200676437429538, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '4358620', 'n_tokens_mistral': 1145, 'n_tokens_neox': 1079, 'n_words': 204}