<commit_before>Taskar.Graphics = {
  Colors: {
  	gradients: {
  		green: 	['#88bb00', '#c9ff00'],
  		yellow: ['#fffc00', '#ffa200'],
  		red: 	  ['#f70000', '#b71200'],
  		blue: 	['#3fcbff', '#2671e6']
  	},
  	buildGradient: function(angle, color){
  	  var mask = this.gradients[color];
  	  return angle + "-" + mask[0] + "-" + mask[1];
  	}
  },
  createPieChart: (function(){
    var tooltip = Taskar.UI.TooltipBubble;
    
    function mouseover(e){
      tooltip.show(e, this.title);
      this.animate({scale: this.paper.overScale}, 500, "elastic");
    }

    function mouseout(){
      tooltip.show(e, this.title);
      this.animate({scale: this.paper.outScale}, 500, "elastic");
    }
  
    function createPieChart(seeder){
      var colors    = seeder.select('[data-color]').invoke('getAttribute', 'data-color'),
          labels    = seeder.select('strong').pluck('innerHTML'),
          values	  = seeder.select('em').map(function(element){ return parseInt(element.innerHTML, 10); }).reject(function(v){ return v <= 0; }),
          total     = values.reduce(function(total, value){ return total + value }),
          size      = seeder.up('li').getWidth(),
          holder    = new Element('div'),<commit_msg>fix a typo<commit_after>Taskar.Graphics = {
  Colors: {
  	gradients: {
  		green: 	['#88bb00', '#c9ff00'],
  		yellow: ['#fffc00', '#ffa200'],
  		red: 	  ['#f70000', '#b71200'],
  		blue: 	['#3fcbff', '#2671e6']
  	},
  	buildGradient: function(angle, color){
  	  var mask = this.gradients[color];
  	  return angle + "-" + mask[0] + "-" + mask[1];
  	}
  },
  createPieChart: (function(){
    var tooltip = Taskar.UI.TooltipBubble;
    
    function mouseover(e){
      tooltip.show(e, this.title);
      this.animate({scale: this.paper.overScale}, 500, "elastic");
    }

    function mouseout(){
      tooltip.hide();
      this.animate({scale: this.paper.outScale}, 500, "elastic");
    }
  
    function createPieChart(seeder){
      var colors    = seeder.select('[data-color]').invoke('getAttribute', 'data-color'),
          labels    = seeder.select('strong').pluck('innerHTML'),
          values	  = seeder.select('em').map(function(element){ return parseInt(element.innerHTML, 10); }).reject(function(v){ return v <= 0; }),
          total     = values.reduce(function(total, value){ return total + value }),
          size      = seeder.up('li').getWidth(),
          holder    = new Element('div'),
{'fraction_non_alphanumeric': 0.18576104746317512, 'fraction_numerical': 0.031914893617021274, 'mean_word_length': 2.9245585874799356, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4872113', 'n_tokens_mistral': 896, 'n_tokens_neox': 839, 'n_words': 148}