<commit_before>if ($('#hive').length) {
  var hive = new Snap('#hive');
  var img_width = $('#hive').width();
  var left_pos = img_width * .5;

  var pixelated = hive.path("M12.4,20.3v31.8l28,15.8l28-15.8V20.3l-28-15.8L12.4,20.3z M39.2,56.4l-16.3-9V27.9l16.3,9.3L39.2,56.4z M57.7,47.4l-16.1,9l0-19.2l16.1-9.4V47.4z M57.7,25.2L40.4,35.5L22.9,25.2l17.5-9.4L57.7,25.2z").transform("translate(319, 50)").attr("fill", "#908e8e");
  var all = hive.group().transform("matrix(2, 0, 0, 2, "+(left_pos - 950)+", -40)");

  var height = 50;
  var width = 58;
  var rows = $(window).height() / height;
  var cols = (($(window).width() / width) / 2) + 1;

  for (var j = 0; j < rows; j++) {
    for (var i = 0; i < cols; i++) {
      x = i * width + (j%2*width/2);
      y = j * height;
      all.add(pixelated.clone().transform("translate("+x+","+y+")"));
    }
  }

  all.add(pixelated);

  var brightenLogo = function () {
    var glowPosition = Math.floor(Math.random()*rows*cols);

    all[glowPosition].animate({fill: "#FFF"}, 1000, function() {
      darkenLogo(all[glowPosition]);
    });
  };

  var darkenLogo = function (el) {
    el.animate({fill: "#908e8e"}, 1000, brightenLogo);<commit_msg>Fixed interstitial resizing<commit_after>if ($('#hive').length) {
  var hive = new Snap('#hive');
  var img_width = $('#hive').width();
  var left_pos = img_width * .5;

  var pixelated = hive.path("M12.4,20.3v31.8l28,15.8l28-15.8V20.3l-28-15.8L12.4,20.3z M39.2,56.4l-16.3-9V27.9l16.3,9.3L39.2,56.4z M57.7,47.4l-16.1,9l0-19.2l16.1-9.4V47.4z M57.7,25.2L40.4,35.5L22.9,25.2l17.5-9.4L57.7,25.2z").transform("translate(319, 50)").attr("fill", "#908e8e");
  var all = hive.group().transform("matrix(2, 0, 0, 2, -100, -100)");

  var height = 50;
  var width = 58;
  var rows = (($(window).height() / height) / 2) + 1;
  var cols = (($(window).width() / width) / 2) + 1;


  for (var j = 0; j < rows; j++) {
    for (var i = 0; i < cols; i++) {
      x = i * width + (j%2*width/2);
      y = j * height;
      all.add(pixelated.clone().transform("translate("+x+","+y+")"));
    }
  }

  all.add(pixelated);

  var brightenLogo = function () {
    var glowPosition = Math.floor(Math.random()*rows*cols);

    all[glowPosition].animate({fill: "#FFF"}, 1000, function() {
      darkenLogo(all[glowPosition]);
    });
  };

  var darkenLogo = function (el) {
    el.animate({fill: "#908e8e"}, 1000, brightenLogo);
{'fraction_non_alphanumeric': 0.23475355054302421, 'fraction_numerical': 0.12573099415204678, 'mean_word_length': 3.269162210338681, 'pattern_counts': {'":': 0, '<': 7, '<?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': '2259567', 'n_tokens_mistral': 1214, 'n_tokens_neox': 1057, 'n_words': 178}