<commit_before>(function($) {
  return $.fn.noiseGen = function(options) {
    var defaultOptions = {
      width: 32,
      height: 32,
      opacity: 0.2,
      fallbackImage: false,
      depth: 60
    },
    canvas = document.createElement("canvas"),
    options = $.extend(defaultOptions, options);
    if (!canvas.getContext || !canvas.getContext("2d")) {
      // Canvas not supported :(
      if (!!options.fallbackImage) {
        // Fallback image provided, set it as background
        return this.css("background-image", "url(" + options.fallbackImage + ")");
      } else {
        // Fallback background image not provided, just return maintaining chainability
        return this;
      }
    } else {
      // Canvas supported :)
      var ctx = canvas.getContext("2d"),
      x = 0,
      y = 0;
      canvas.width = options.width;
      canvas.height = options.height;
      while (x < canvas.width) {
        y = 0;
        while (y < canvas.height) {
          number = Math.floor(Math.random() * options.depth);
          ctx.fillStyle = "rgba(" + number + "," + number + "," + number + "," + options.opacity + ")";
          ctx.fillRect(x, y, 1, 1);
          y++;
        }
        x++;<commit_msg>Correct bug in var declarations<commit_after>(function($) {
  return $.fn.noiseGen = function(options) {
    var defaultOptions = {
      width: 32,
      height: 32,
      opacity: 0.2,
      fallbackImage: false,
      depth: 60
    },
    canvas = document.createElement("canvas");
    options = $.extend(defaultOptions, options);
    if (!canvas.getContext || !canvas.getContext("2d")) {
      // Canvas not supported :(
      if (!!options.fallbackImage) {
        // Fallback image provided, set it as background
        return this.css("background-image", "url(" + options.fallbackImage + ")");
      } else {
        // Fallback background image not provided, just return maintaining chainability
        return this;
      }
    } else {
      // Canvas supported :)
      var ctx = canvas.getContext("2d"),
      x = 0,
      y = 0;
      canvas.width = options.width;
      canvas.height = options.height;
      while (x < canvas.width) {
        while (y < canvas.height) {
          var r = Math.floor(Math.random() * options.depth);
          ctx.fillStyle = "rgba(" + r + "," + r + "," + r + "," + options.opacity + ")";
          ctx.fillRect(x, y, 1, 1);
          y++;
        }
        y = 0;
        x++;
{'fraction_non_alphanumeric': 0.14799672935404742, 'fraction_numerical': 0.012264922322158627, 'mean_word_length': 2.05875, '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': '5745644', 'n_tokens_mistral': 732, 'n_tokens_neox': 707, 'n_words': 182}