<commit_before>$(function() {
  $('a[href*=#]:not([href=#])').click(function() {
    if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') || location.hostname == this.hostname) {

      var target = $(this.hash);
      target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
      if (target.length) {
        $('html,body').animate({
          scrollTop: target.offset().top
        }, 1000);
        return false;
      }
    }
  });

  $("#hmda-lar-fields tbody").each(function () {
    var $body = $(this);

    var ajax = $.ajax({
      url: "static/hmda_lar.json",
      dataType: "json"
    });

    ajax.done(function (data) {
      var fields = data['fields'];
      var fieldNames = _(fields).keys().sort();

      _(fieldNames).each(function (fieldName) {
        var info = fields[fieldName];
        var $row = $("<tr></tr>");
        $row.
          append("<td>" + fieldName + "</td>").
          append("<td>" + info['description'] + "</td>").
          append("<td>" + info['type'] + "</td>").
          append("<td>" + (info['indexed'] ? "true" : "false") + "</td>");
        $body.append($row);
      });
    });
  });
});<commit_msg>formatted field name column to add code tag to field names<commit_after>$(function() {
  $('a[href*=#]:not([href=#])').click(function() {
    if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') || location.hostname == this.hostname) {

      var target = $(this.hash);
      target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
      if (target.length) {
        $('html,body').animate({
          scrollTop: target.offset().top
        }, 1000);
        return false;
      }
    }
  });

  $("#hmda-lar-fields tbody").each(function () {
    var $body = $(this);

    var ajax = $.ajax({
      url: "static/hmda_lar.json",
      dataType: "json"
    });

    ajax.done(function (data) {
      var fields = data['fields'];
      var fieldNames = _(fields).keys().sort();

      _(fieldNames).each(function (fieldName) {
        var info = fields[fieldName];
        var $row = $("<tr></tr>");
        $row.
          append("<td><code>" + fieldName + "</code></td>").
          append("<td>" + info['description'] + "</td>").
          append("<td>" + info['type'] + "</td>").
          append("<td>" + (info['indexed'] ? "true" : "false") + "</td>");
        $body.append($row);
      });
    });
  });
});
{'fraction_non_alphanumeric': 0.2452907452907453, 'fraction_numerical': 0.004095004095004095, 'mean_word_length': 2.355769230769231, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '7349431', 'n_tokens_mistral': 806, 'n_tokens_neox': 781, 'n_words': 144}