<commit_before>var Httpreq = new XMLHttpRequest();

Httpreq.open("GET","https://api.github.com/repos/facebook/react",false);
Httpreq.send(null);
var reactJSON = JSON.parse(Httpreq.response);

Httpreq.open("GET","https://api.github.com/repos/angular/angular.js",false);
Httpreq.send(null);
var angularJSON = JSON.parse(Httpreq.response);

Httpreq.open("GET","https://api.github.com/repos/emberjs/ember.js",false);
Httpreq.send(null);
var emberJSON = JSON.parse(Httpreq.response);

Httpreq.open("GET","https://api.github.com/repos/vuejs/vue",false);
Httpreq.send(null);
var vueJSON = JSON.parse(Httpreq.response);

window.onload = function() {
//        //when the document is finished loading, replace everything
//        //between the <a ...> </a> tags with the value of splitText
//    document.getElementById("myLink").innerHTML='cat';
// }

  var table = document.getElementById("myTable");
  for (i = 1; i < 5; i++) {
    var row = table.insertRow(i);
      var cell1 = row.insertCell(0);
      var cell2 = row.insertCell(1);
      var cell3 = row.insertCell(2);
      var cell4 = row.insertCell(3);
      var cell5 = row.insertCell(4);
      cell1.innerHTML = "NEW CELL1";
      cell2.innerHTML = "NEW CELL2";
      cell3.innerHTML = "NEW CELL3";
      cell4.innerHTML = "NEW CELL4";
      cell5.innerHTML = "NEW CELL5";<commit_msg>stats table shows content<commit_after>var frameworks = []

var Httpreq = new XMLHttpRequest();

Httpreq.open("GET","https://api.github.com/repos/facebook/react",false);
Httpreq.send(null);
var reactJSON = JSON.parse(Httpreq.response);
frameworks[0] = reactJSON

Httpreq.open("GET","https://api.github.com/repos/angular/angular.js",false);
Httpreq.send(null);
var angularJSON = JSON.parse(Httpreq.response);
frameworks[1] = angularJSON

Httpreq.open("GET","https://api.github.com/repos/emberjs/ember.js",false);
Httpreq.send(null);
var emberJSON = JSON.parse(Httpreq.response);
frameworks[2] = emberJSON

Httpreq.open("GET","https://api.github.com/repos/vuejs/vue",false);
Httpreq.send(null);
var vueJSON = JSON.parse(Httpreq.response);
frameworks[3] = vueJSON

window.onload = function() {

  var table = document.getElementById("myTable");

  for (i = 0; i < 4; i++) {
    var row = table.insertRow(i+1);
    var cell1 = row.insertCell(0);
    var cell2 = row.insertCell(1);
    var cell3 = row.insertCell(2);
    var cell4 = row.insertCell(3);
    var cell5 = row.insertCell(4);
    cell1.innerHTML = "<img src=" + frameworks[i].owner.avatar_url + "width='42' height='42'>"
    cell2.innerHTML = frameworks[i].name;
    cell3.innerHTML = frameworks[i].subscribers_count.toString();
    cell4.innerHTML = frameworks[i].stargazers_count.toString();
    cell5.innerHTML = frameworks[i].forks.toString();
{'fraction_non_alphanumeric': 0.1718350966800438, 'fraction_numerical': 0.017511856986501276, 'mean_word_length': 4.313953488372093, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 6, 'https://': 8, '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': '2292939', 'n_tokens_mistral': 996, 'n_tokens_neox': 971, 'n_words': 166}