<commit_before>'use strict';
/* globals $, features */

var $table = $('table');

features.sort(function (a, b) {
  return a.user - b.user;
});

features.forEach(function (feature) {
  var $row = $('<tr>');
  $row.append(
    $('<td>').html(feature.name).addClass('feature')
  );

  for (var i = 0; i < 3; i++) {
    var $td = $('<td>');
    // use this if we reverse order of columns
    if (i > feature.user - 1) {
    //if ((2 - i) >= feature.user) {
      $td.html('&#10004;').addClass();
    } else {
      $td.html(' ').addClass();
    }
    $row.append($td);
  }

  $table.append($row);
});

var $backers = $('.backers');

backers.forEach(function (backer) {
  var $a = $('<a>');
  $a.attr('href', backer.url);
  var $img = $('<img>');
  $img.attr('src', backer.image);
  $a.html($img);
  $backers.append($a);
});<commit_msg>give backer image a class to overwite styles<commit_after>'use strict';
/* globals $, features */

var $table = $('table');

features.sort(function (a, b) {
  return a.user - b.user;
});

features.forEach(function (feature) {
  var $row = $('<tr>');
  $row.append(
    $('<td>').html(feature.name).addClass('feature')
  );

  for (var i = 0; i < 3; i++) {
    var $td = $('<td>');
    // use this if we reverse order of columns
    if (i > feature.user - 1) {
    //if ((2 - i) >= feature.user) {
      $td.html('&#10004;').addClass();
    } else {
      $td.html(' ').addClass();
    }
    $row.append($td);
  }

  $table.append($row);
});

var $backers = $('.backers');

backers.forEach(function (backer) {
  var $a = $('<a>');
  $a.attr('href', backer.url);
  var $img = $('<img>');
  $img.attr('src', backer.image).addClass('backer-img');
  $a.html($img);
  $backers.append($a);
});
{'fraction_non_alphanumeric': 0.2549476135040745, 'fraction_numerical': 0.010477299185098952, 'mean_word_length': 3.0163551401869158, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 17, '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': '6592552', 'n_tokens_mistral': 677, 'n_tokens_neox': 655, 'n_words': 145}