<commit_before>
// check parameters to customise this by team:
var team = $.url().param("team");
var validTeams = ['moco', 'qa', 'coding', 'mofo', 'opennews', 'webmaker'];

var GRAPH_DATA = "http://gitribution2.herokuapp.com/api/2014/all/";
var TARGET = 20000;
var TITLE = 'All Mozilla';

if (team && ($.inArray(team, validTeams) > -1)) {
  GRAPH_DATA = "http://gitribution2.herokuapp.com/api/2014/" + team;
  if (team === 'moco') {
    TARGET = 10000;
    TITLE = 'Mozilla Corporation';

  } else if (team === 'mofo') {
    TARGET = 10000;
    TITLE = 'Mozilla Foundation';

  } else if (team === 'webmaker') {
    TARGET = 10000;
    TITLE = 'Webmaker';

  } else if (team === 'opennews') {
    TARGET = 500;
    TITLE = 'OpenNews';

  } else if (team === 'qa') {
    TARGET = 3000;
    TITLE = 'QA';
  }
}

$('#teamName').text(TITLE);

// Graph settings
var Y_SCALE_MAX_DEFAULT = TARGET * 1.25;
var TARGET_25_percent = Math.round(TARGET * 0.25),
    TARGET_50_percent = Math.round(TARGET * 0.5),
    TARGET_75_percent = Math.round(TARGET * 0.75);

var margin = {top: 20, right: 80, bottom: 80, left: 100};
  margin.vertical = margin.top + margin.bottom;
  margin.horizontal = margin.left + margin.right;

var width = 900 - margin.horizontal,
    height = 500 - margin.vertical;

var VIEWBOX = "0 0 " + (width + margin.horizontal) + " " + (height + margin.vertical);

var TICK_VALUES = [TARGET_25_percent, TARGET_50_percent, TARGET_75_percent, TARGET, Y_SCALE_MAX_DEFAULT];
<commit_msg>coding team<commit_after>
// check parameters to customise this by team:
var team = $.url().param("team");
var validTeams = ['moco', 'qa', 'coding', 'mofo', 'opennews', 'webmaker'];

var GRAPH_DATA = "http://gitribution2.herokuapp.com/api/2014/all/";
var TARGET = 20000;
var TITLE = 'All Mozilla';

if (team && ($.inArray(team, validTeams) > -1)) {
  GRAPH_DATA = "http://gitribution2.herokuapp.com/api/2014/" + team;
  if (team === 'moco') {
    TARGET = 10000;
    TITLE = 'Mozilla Corporation';

  } else if (team === 'mofo') {
    TARGET = 10000;
    TITLE = 'Mozilla Foundation';

  } else if (team === 'webmaker') {
    TARGET = 10000;
    TITLE = 'Webmaker';

  } else if (team === 'opennews') {
    TARGET = 500;
    TITLE = 'OpenNews';

  } else if (team === 'qa') {
    TARGET = 1500;
    TITLE = 'QA';

  } else if (team === 'coding') {
    TARGET = 1000;
    TITLE = 'QA';
  }
}

$('#teamName').text(TITLE);

// Graph settings
var Y_SCALE_MAX_DEFAULT = TARGET * 1.25;
var TARGET_25_percent = Math.round(TARGET * 0.25),
    TARGET_50_percent = Math.round(TARGET * 0.5),
    TARGET_75_percent = Math.round(TARGET * 0.75);

var margin = {top: 20, right: 80, bottom: 80, left: 100};
  margin.vertical = margin.top + margin.bottom;
  margin.horizontal = margin.left + margin.right;

var width = 900 - margin.horizontal,
    height = 500 - margin.vertical;

var VIEWBOX = "0 0 " + (width + margin.horizontal) + " " + (height + margin.vertical);

var TICK_VALUES = [TARGET_25_percent, TARGET_50_percent, TARGET_75_percent, TARGET, Y_SCALE_MAX_DEFAULT];

{'fraction_non_alphanumeric': 0.17104399212081417, 'fraction_numerical': 0.05252790544977019, 'mean_word_length': 3.5342261904761907, 'pattern_counts': {'":': 0, '<': 3, '<?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': '282235', 'n_tokens_mistral': 1270, 'n_tokens_neox': 1099, 'n_words': 275}