<commit_before>function show_commits(project) {
  project = project.replace(/\s+/g, '');
  var url = "../Jsons/"+project+".json";
  $.getJSON(url, function(json) {
    $('#page-wrapper').html('');
    $('#page-wrapper').append('<div class="row"> <div class="col-lg-12"> <h1 class="page-header">Commits - '+project+'</h1> </div></div>');
    $('#page-wrapper').append('<div class="row"><div class="col-lg-12"> <div class="panel panel-primary"> <div class="panel-heading"> <NAME>varez (IsmaelAlvarez)<div class="pull-right">Total: 1</div> </div><div class="panel-body"> <p>message: Solucionado problema con gradle/maven<br>time: 2016-04-27 19:05:00<br>url: <a target="_blank" href="https://github.com/IsmaelAlvarez/logisim/commit/0953d5355dca7044b651c1f246314842af7d1674">https://github.com/IsmaelAlvarez/logisim/commit/0953d5355dca7044b651c1f246314842af7d1674</a></p></div></div></div></div>')
  })
}

function general_view(project) {
  project = project.replace(/\s+/g, '');
  var url = "../Jsons/"+project+".json";
  $.getJSON(url, function(json) {
    $('#page-wrapper').html('');
    $('#page-wrapper').append('<div class="row"> <div class="col-lg-12"> <h1 class="page-header">Review - '+project+'</h1> </div></div>');
    $('#page-wrapper').append('<div id="bar"></div>');
    Morris.Bar({
      element: 'bar',
      data: [
      { user: 'Ismael', commits: 1, issues: 3, comments: 2 },
      { user: 'Rodrigo', commits: 2,  issues: 5, comments: 0 },
      { user: 'Ana', commits: 2,  issues: 3, comments: 0 },
      { user: 'Patricio', commits: 5,  issues: 2, comments: 0 },
      { user: 'Matias', commits: 0,  issues: 0, comments: 1 },
      { user: 'Matilde', commits: 1,  issues: 2, comments: 1 },
      { user: 'Andrea', commits: 2, issues: 4, comments: 1 }
      ],
      xkey: 'user',
      ykeys: ['commits', 'issues', 'comments'],
      labels: ['Commits', 'Issues', 'Comentarios'],
      stacked: true,
      resize:true
    });
  });
}<commit_msg>graphs shows real data<commit_after>function show_commits(project) {
  project = project.replace(/\s+/g, '');
  var url = "../Jsons/"+project+".json";
  $.getJSON(url, function(json) {
    $('#page-wrapper').html('');
    $('#page-wrapper').append('<div class="row"> <div class="col-lg-12"> <h1 class="page-header">Commits - '+project+'</h1> </div></div>');
    $('#page-wrapper').append('<div class="row"><div class="col-lg-12"> <div class="panel panel-primary"> <div class="panel-heading"> Ismael Alvarez (IsmaelAlvarez)<div class="pull-right">Total: 1</div> </div><div class="panel-body"> <p>message: Solucionado problema con gradle/maven<br>time: 2016-04-27 19:05:00<br>url: <a target="_blank" href="https://github.com/IsmaelAlvarez/logisim/commit/0953d5355dca7044b651c1f246314842af7d1674">https://github.com/IsmaelAlvarez/logisim/commit/0953d5355dca7044b651c1f246314842af7d1674</a></p></div></div></div></div>')
  })
}

function general_view(project) {
  project = project.replace(/\s+/g, '');
  var url = "../Jsons/"+project+".json";
  $.getJSON(url, function(json) {
    $('#page-wrapper').html('');
    $('#page-wrapper').append('<div class="row"> <div class="col-lg-12"> <h1 class="page-header">Review - '+project+'</h1> </div></div>');
    $('#page-wrapper').append('<div id="bar"></div>');
    var datas = [];
    for (var i in json) {
      var d = {user: json[i].user, commits: json[i].commits.length, issues: json[i].issues.length, comments: json[i].comments.length};
      data.push(d);
    }
    Morris.Bar({
      element: 'bar',
      data: datas,
      xkey: 'user',
      ykeys: ['commits', 'issues', 'comments'],
      labels: ['Commits', 'Issues', 'Comentarios'],
      stacked: true,
      resize:true
    });
  });
}
{'fraction_non_alphanumeric': 0.2351511879049676, 'fraction_numerical': 0.051565874730021596, 'mean_word_length': 4.174581005586592, 'pattern_counts': {'":': 0, '<': 68, '<?xml version=': 0, '>': 68, 'https://': 4, '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': '3352175', 'n_tokens_mistral': 1469, 'n_tokens_neox': 1340, 'n_words': 237}