<commit_before><section class="fullWidth reportTools" id="reportBlocks">
  {{#view FLOW.ExportReportsAppletView}}
    <h1>{{t _data_cleaning}}</h1>

    {{#unless FLOW.projectControl.isLoading}}
      {{view FLOW.DataCleaningSurveySelectionView}}
    {{/unless}}

    {{#if FLOW.selectedControl.selectedSurveyGroup}}
      {{view Ember.Select
          contentBinding="FLOW.surveyControl.arrangedContent"
          selectionBinding="FLOW.selectedControl.selectedSurvey"
          optionLabelPath="content.code"
          optionValuePath="content.keyId"
          prompt=""
          promptBinding="Ember.STRINGS._select_form"}}

      {{#if FLOW.selectedControl.selectedSurvey}}
        {{view Ember.Select
            selectionBinding="FLOW.reportLanguageControl.selectedLanguage"
            optionLabelPath="content.label"
            optionValuePath="content.value"
            prompt=""
            promptBinding="Ember.STRINGS._select_language"}}
      {{/if}}
    {{/if}}

    <div class="rawDataReport block">
      <h3>{{t _export_raw_data_report}}</h3>
      <p>{{t _raw_data_report_applet_text_}}</p>
      <a {{action showRawDataReport target="this"}} class="standardBtn"> {{t _raw_data_report}} </a>
    </div>

    <div class="rawDataReport block">
      <h3>{{t _import_cleaned_survey_data}}</h3>
      <p>{{t _import_raw_data_applet_text_}}</p>
      {{#if FLOW.uploader.support}}
        <p><input id="raw-data-import-file" type="file"/></p>
        <a {{action importFile target="this"}} class="standardBtn"> {{t _import_clean_data}}</a>
        <div class="resumable-progress">
          <h5>{{t _progress}}</h5>
          <div class="progress-container"><div class="progress-bar"></div></div>
        </div>
        <ul class="resumable-list"></ul>
      {{else}}
       <div class="resumable-error">
        {{t _bulk_upload_unsupported_browser}}
       </div>
      {{/if}}
    </div><commit_msg>[#1160] Add date filtering to the Data Cleaning tab<commit_after><section class="fullWidth reportTools" id="reportBlocks">
  {{#view FLOW.ExportReportsAppletView}}
    <h1>{{t _data_cleaning}}</h1>

    {{#unless FLOW.projectControl.isLoading}}
      {{view FLOW.DataCleaningSurveySelectionView}}
    {{/unless}}

    {{#if FLOW.selectedControl.selectedSurveyGroup}}
      {{view Ember.Select
          contentBinding="FLOW.surveyControl.arrangedContent"
          selectionBinding="FLOW.selectedControl.selectedSurvey"
          optionLabelPath="content.code"
          optionValuePath="content.keyId"
          prompt=""
          promptBinding="Ember.STRINGS._select_form"}}

      {{#if FLOW.selectedControl.selectedSurvey}}
        {{view Ember.Select
            selectionBinding="FLOW.reportLanguageControl.selectedLanguage"
            optionLabelPath="content.label"
            optionValuePath="content.value"
            prompt=""
            promptBinding="Ember.STRINGS._select_language"}}
      {{/if}}
    {{/if}}

    <div class="rawDataReport block">
      <h3>{{t _export_raw_data_report}}</h3>
      <p>{{t _raw_data_report_applet_text_}}</p>
      <div class="dataCollectedDate">
          <label class="collectedFrom">
            <span>{{t _collected_from}}:</span> {{view FLOW.DateField minDate=false valueBinding="FLOW.dateControl.fromDate" elementId="from_date" placeholder="" placeholderBinding="Ember.STRINGS._collected_from" size=30}}
          </label>
          <label class="collectedTo">
            <span>{{t _to}}:</span> {{view FLOW.DateField minDate=false valueBinding="FLOW.dateControl.toDate" elementId="to_date" placeholder="" placeholderBinding="Ember.STRINGS._to" size=30}}
          </label>
      </div>
      <a {{action showRawDataReport target="this"}} class="standardBtn"> {{t _raw_data_report}} </a>
    </div>

    <div class="rawDataReport block">
      <h3>{{t _import_cleaned_survey_data}}</h3>
      <p>{{t _import_raw_data_applet_text_}}</p>
      {{#if FLOW.uploader.support}}
        <p><input id="raw-data-import-file" type="file"/></p>
        <a {{action importFile target="this"}} class="standardBtn"> {{t _import_clean_data}}</a>
        <div class="resumable-progress">
          <h5>{{t _progress}}</h5>
          <div class="progress-container"><div class="progress-bar"></div></div>
        </div>
        <ul class="resumable-list"></ul>
      {{else}}
       <div class="resumable-error">
        {{t _bulk_upload_unsupported_browser}}
       </div>
      {{/if}}
    </div>
{'fraction_non_alphanumeric': 0.15765866786274949, 'fraction_numerical': 0.005382372729311505, 'mean_word_length': 3.2035815268614516, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, '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': '371653', 'n_tokens_mistral': 1414, 'n_tokens_neox': 1365, 'n_words': 210}