<commit_before>var MISSING_QUOTES = "MissingQuotes";
var URL = window.URL || window.webkitURL;
var diff = {};

$("#the-client-file-input").change(function() {

  if(this.files[0]) {
    if(URL){
      var fileUrl = URL.createObjectURL(this.files[0]);
    }
  }

  var psv = d3.dsv(";", "text/plain");

  psv(fileUrl, function(row) {
      return {
        oid: +row.oid,
        uid: +row.uid,
        pid: +row.pid,
        sku: +row.sku,
        price: +row.price,
        quantity: +row.quantity,
        //Check if locale need to be changed
        timestamp: moment.utc(row.timestamp, ["YYYY-MM-DD HH:mm:SS", moment.ISO_8601])
      };
    }, function(data) {
      diff.clientData = data;
    }
  );

  $("#report-progress").attr('aria-valuenow','33');
  $("#report-progress").css('width','33%');
});

$("#the-platform-file-input").change(function() {
  if(this.files[0]) {
    if(URL){
      var fileUrl = URL.createObjectURL(this.files[0]);<commit_msg>heroku and url test<commit_after>var MISSING_QUOTES = "MissingQuotes";
var URL = window.URL || window.webkitURL;
var diff = {};

$("#the-client-file-input").change(function() {

  if(this.files[0]) {
    if(URL){
      var fileUrl = URL.createObjectURL(this.files[0]);
      console.log(fileUrl);
    }
  }

  var psv = d3.dsv(";", "text/plain");

  psv(fileUrl, function(row) {
      return {
        oid: +row.oid,
        uid: +row.uid,
        pid: +row.pid,
        sku: +row.sku,
        price: +row.price,
        quantity: +row.quantity,
        //Check if locale need to be changed
        timestamp: moment.utc(row.timestamp, ["YYYY-MM-DD HH:mm:SS", moment.ISO_8601])
      };
    }, function(data) {
      diff.clientData = data;
    }
  );

  $("#report-progress").attr('aria-valuenow','33');
  $("#report-progress").css('width','33%');
});

$("#the-platform-file-input").change(function() {
  if(this.files[0]) {
    if(URL){
      var fileUrl = URL.createObjectURL(this.files[0]);
{'fraction_non_alphanumeric': 0.19754350051177072, 'fraction_numerical': 0.01330603889457523, 'mean_word_length': 2.7887596899224807, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5167196', 'n_tokens_mistral': 722, 'n_tokens_neox': 705, 'n_words': 117}