<commit_before>// For now, hard-code some examples files here for testing
// the "files from the web"
ispy.web_files = [
  "./data/ack.ig",
  "./data/4lepton.ig",
  "./data/Mu.ig",
  "./data/Electron.ig"
];

ispy.ig_data = null;

ispy.openDialog = function(id) {
  $(id).modal('show');
}

ispy.closeDialog = function(id) {
  $(id).modal('hide');
}

ispy.hasFileAPI = function() {
  if ( window.FileReader ) {
    return true;
  } else {
    console.log("FileReader", window.FileReader);
    console.log("File", window.File);
    console.log("FileList", window.FileList);
    console.log("FileSystem", window.FileSystem);
    return false;
  }
}

ispy.clearTable = function(id) {
  var tbl = document.getElementById(id);
  while (tbl.rows.length > 0) {<commit_msg>rm test file<commit_after>// For now, hard-code some examples files here for testing
// the "files from the web"
ispy.web_files = [
  "./data/4lepton.ig",
  "./data/Mu.ig",
  "./data/Electron.ig"
];

ispy.ig_data = null;

ispy.openDialog = function(id) {
  $(id).modal('show');
}

ispy.closeDialog = function(id) {
  $(id).modal('hide');
}

ispy.hasFileAPI = function() {
  if ( window.FileReader ) {
    return true;
  } else {
    console.log("FileReader", window.FileReader);
    console.log("File", window.File);
    console.log("FileList", window.FileList);
    console.log("FileSystem", window.FileSystem);
    return false;
  }
}

ispy.clearTable = function(id) {
  var tbl = document.getElementById(id);
  while (tbl.rows.length > 0) {
{'fraction_non_alphanumeric': 0.1799468791500664, 'fraction_numerical': 0.0026560424966799467, 'mean_word_length': 3.5119760479041915, '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': '6216573', 'n_tokens_mistral': 544, 'n_tokens_neox': 544, 'n_words': 107}