<commit_before><html>
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">  

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script type="text/javascript" src="lib/protovis-3.2/protovis-d3.2.js"></script>
<script type="text/javascript" charset="utf-8" src="utils.js"></script>
<script type="text/javascript" charset="utf-8" src="lib/lodash.underscore.min.js"></script>
<script type="text/javascript" charset="utf-8" src="radars/radarData.js"></script>

<style type="text/css" media="screen">
  
#fig {
  height: 1000px;
  width: 1200px;
}

</style>
<script type="text/javascript" src="radar.js" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">

</script>

</head>

<body onload="init(h,w);">
<h1 id="title" style="text-align: center;"></h1>
<div id="radar"></div>
<div>
<p>^ Item in dispute, additional discussion and context to be provided.</p>
</div>
</body>
</html>
<commit_msg>minimal reading of excel sheet<commit_after><html>
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">  

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script type="text/javascript" src="lib/protovis-3.2/protovis-d3.2.js"></script>
<script type="text/javascript" charset="utf-8" src="utils.js"></script>
<script type="text/javascript" charset="utf-8" src="lib/lodash.underscore.min.js"></script>
<script type="text/javascript" charset="utf-8" src="lib/js-xlsx/dist/xlsx.core.min.js"></script>
<script type="text/javascript" charset="utf-8" src="radars/radarData.js"></script>

<style type="text/css" media="screen">
  
#fig {
  height: 1000px;
  width: 1200px;
}

</style>
<script type="text/javascript" src="radar.js" charset="utf-8"></script>

</head>

<body onload="init(h,w);">
<h1 id="title" style="text-align: center;"></h1>
<input type="file" id="files" name="files[]" />
<div id="radar"></div>
<div>
<p>^ Item in dispute, additional discussion and context to be provided.</p>
</div>
</body>

<script type="text/javascript" charset="utf-8">

function handleFile(e) {
  var files = e.target.files;
  var i,f;
  for (i = 0, f = files[i]; i != files.length; ++i) {
    var reader = new FileReader();
    var name = f.name;
    reader.onload = function(e) {
      var data = e.target.result;

      var workbook = XLSX.read(data, {type: 'binary'});

      /* DO SOMETHING WITH workbook HERE */
      console.log("Ready to start");
      var first_sheet_name = workbook.SheetNames[0];
      var worksheet = workbook.Sheets[first_sheet_name];
      console.log("A1 is " + worksheet['A1']);
    };
    reader.readAsBinaryString(f);
  }
}
document.getElementById('files').addEventListener('change', handleFile, false);

</script>
</html>

{'fraction_non_alphanumeric': 0.20798848506657072, 'fraction_numerical': 0.019071608492263404, 'mean_word_length': 4.815899581589958, 'pattern_counts': {'":': 0, '<': 68, '<?xml version=': 0, '>': 68, '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': '589858', 'n_tokens_mistral': 1044, 'n_tokens_neox': 1002, 'n_words': 193}