<commit_before>$(document).ready(function(){

  $('#tmpltzr').width( window.innerWidth - 400 );



  // header fade in and out
  function fadeSwitchElements(id1, id2, fade_time, cycle)
  {
    var element1 = $('.' + id1);
    var element2 = $('.' + id2);

    if(element1.is(':visible'))
    {
      element1.fadeToggle(fade_time);
      element2.fadeToggle(fade_time);
    }
    else
    {
      element2.fadeToggle(fade_time, function() {
        element1.fadeToggle(fade_time);
      });
    }
    setTimeout(function(){
      fadeSwitchElements(id2, id1, fade_time, cycle);
    }, cycle);
  }

  fadeSwitchElements('full', 'hash', 2000, 5000);


  // Gradient background<commit_msg>end loop on title fade, do it just once<commit_after>$(document).ready(function(){

  $('#tmpltzr').width( window.innerWidth - 400 );




  // program list runs across top



  // header fade in and out
  function fadeSwitchElements(id1, id2, fade_time, cycle)
  {
    var element1 = $('.' + id1);
    var element2 = $('.' + id2);

    if(element1.is(':visible'))
    {
      element1.fadeToggle(fade_time);
      element2.fadeToggle(fade_time);
    }
    else
    {
      element2.fadeToggle(fade_time, function() {
        element1.fadeToggle(fade_time);
      });
    }
    if(cycle > 0){
      setTimeout(function(){
        fadeSwitchElements(id2, id1, fade_time, cycle);
      }, cycle);
    }
  }
  //start the title fade after 3s
  setTimeout(function(){
    fadeSwitchElements('full', 'hash', 2000, 0);//only do once
  }, 3000);



  // Gradient background
{'fraction_non_alphanumeric': 0.15344938749194068, 'fraction_numerical': 0.03288201160541586, 'mean_word_length': 2.803921568627451, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '1756344', 'n_tokens_mistral': 559, 'n_tokens_neox': 498, 'n_words': 102}