<commit_before>= render 'heading'

- if @import.working?
  .progress.progress-striped.active
    #progress-text.progress-bar.progress-bar-green{ style: "width: #{@import.row_progress}%; min-width:5%" }

  :javascript
    var current_status = #{ json_escape @import.status.to_json };
    var delay = 2000;
    var previousCount = 0;<commit_msg>Fix issue with js on CSV import page<commit_after>= render 'heading'

- if @import.working?
  .progress.progress-striped.active
    #progress-text.progress-bar.progress-bar-green{ style: "width: #{@import.row_progress}%; min-width:5%" }

  :javascript
    var current_status = #{ raw json_escape @import.status.to_json };
    var delay = 2000;
    var previousCount = 0;
{'fraction_non_alphanumeric': 0.1402524544179523, 'fraction_numerical': 0.016830294530154277, 'mean_word_length': 4.0638297872340425, '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': '4547160', 'n_tokens_mistral': 242, 'n_tokens_neox': 225, 'n_words': 51}