<commit_before><div class="table-responsive">
  <table class="table table-striped table-hover table-condensed" frable="tableParams">
    <tr ng-repeat="visit in $data">

      <td ng-show="fields.visitDate.enabled" data-title="strings.visitDate" data-sortable="'visitDate'">
        <a ng-click="tableFilter('visitDate', visit._source.visitDate)">{{visit._source.visitDate | date}}</a>
      </td>

      <!-- Unlike other fields which can be seen via the form, this one can't be since it's non-editable -->
      <!-- TODO combine edit form and "record investigation" usecase into coherent UI -->
      <td ng-show="fields.submissionDate.enabled" data-title="strings.submissionDate" data-sortable="'submissionDate'">
        <a ng-click="tableFilter('submissionDate', visit._source.submissionDate)">
          {{visit._source.submissionDate | date}}
        </a>
      </td>

      <td ng-show="fields['medicalFacility'].enabled" data-title="strings.facility"
          data-sortable="'medicalFacility'">
        <a ng-click="tableFilter('medicalFacility.name', visit._source.medicalFacility.name)">
          {{visit._source.medicalFacility.name | truncate:30}}
        </a>
      </td>

      <td ng-show="fields['patient.sex'].enabled" data-title="strings.sex" data-sortable="'patient.sex'">
        <a ng-click="tableFilter('patient.sex', visit._source.patient.sex)">{{visit._source.patient.sex}}</a>
      </td>
      <td ng-show="fields['patient.age'].enabled" data-title="strings.age" data-sortable="'patient.age.years'">
        <a ng-click="tableFilter('patientAge', visit._source.patient.age.years)">{{visit._source.patient.age.years}}</a>
      </td>

      <td ng-show="fields.symptoms.enabled" data-title="strings.symptoms">
        <a ng-click="tableFilter('symptoms', visit._source.symptoms)">
          {{visit._source.symptoms | pluck:'name' | join | truncate:30}}
        </a>
      </td>
      <td ng-show="fields.diagnoses.enabled" data-title="strings.diagnoses">
        <a ng-click="tableFilter('diagnoses', visit._source.diagnoses)">
          {{visit._source.diagnoses | pluck:'name' | join | truncate:30}}
        </a>
      </td>

      <td ng-show="fields.disposition.enabled" data-title="strings.disposition">
        <a ng-click="tableFilter('disposition', visit._source.disposition)">
          {{visit._source.disposition | join | truncate:30}}
        </a>
      </td>

      <td ng-show="fields['antiviral.name'].enabled" data-title="strings.antiviral" data-sortable="'antiviral.name'"><commit_msg>Fix disposition rendering<commit_after><div class="table-responsive">
  <table class="table table-striped table-hover table-condensed" frable="tableParams">
    <tr ng-repeat="visit in $data">

      <td ng-show="fields.visitDate.enabled" data-title="strings.visitDate" data-sortable="'visitDate'">
        <a ng-click="tableFilter('visitDate', visit._source.visitDate)">{{visit._source.visitDate | date}}</a>
      </td>

      <!-- Unlike other fields which can be seen via the form, this one can't be since it's non-editable -->
      <!-- TODO combine edit form and "record investigation" usecase into coherent UI -->
      <td ng-show="fields.submissionDate.enabled" data-title="strings.submissionDate" data-sortable="'submissionDate'">
        <a ng-click="tableFilter('submissionDate', visit._source.submissionDate)">
          {{visit._source.submissionDate | date}}
        </a>
      </td>

      <td ng-show="fields['medicalFacility'].enabled" data-title="strings.facility"
          data-sortable="'medicalFacility'">
        <a ng-click="tableFilter('medicalFacility.name', visit._source.medicalFacility.name)">
          {{visit._source.medicalFacility.name | truncate:30}}
        </a>
      </td>

      <td ng-show="fields['patient.sex'].enabled" data-title="strings.sex" data-sortable="'patient.sex'">
        <a ng-click="tableFilter('patient.sex', visit._source.patient.sex)">{{visit._source.patient.sex}}</a>
      </td>
      <td ng-show="fields['patient.age'].enabled" data-title="strings.age" data-sortable="'patient.age.years'">
        <a ng-click="tableFilter('patientAge', visit._source.patient.age.years)">{{visit._source.patient.age.years}}</a>
      </td>

      <td ng-show="fields.symptoms.enabled" data-title="strings.symptoms">
        <a ng-click="tableFilter('symptoms', visit._source.symptoms)">
          {{visit._source.symptoms | pluck:'name' | join | truncate:30}}
        </a>
      </td>
      <td ng-show="fields.diagnoses.enabled" data-title="strings.diagnoses">
        <a ng-click="tableFilter('diagnoses', visit._source.diagnoses)">
          {{visit._source.diagnoses | pluck:'name' | join | truncate:30}}
        </a>
      </td>

      <td ng-show="fields.disposition.enabled" data-title="strings.disposition">
        <a ng-click="tableFilter('disposition', visit._source.disposition)">
          {{visit._source.disposition | pluck:'name' | join | truncate:30}}
        </a>
      </td>

      <td ng-show="fields['antiviral.name'].enabled" data-title="strings.antiviral" data-sortable="'antiviral.name'">
{'fraction_non_alphanumeric': 0.17756825770968376, 'fraction_numerical': 0.003142801021410332, 'mean_word_length': 3.4863436123348017, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '5280061', 'n_tokens_mistral': 1635, 'n_tokens_neox': 1526, 'n_words': 254}