<commit_before><div>
  <table class="table versions-grid table-bordered table-condensed table-striped">
    <thead>
      <tr>
        <th>
          <label tooltip="Tags from Docker repository">
            Version
          </label>
          <span class="glyphicon pull-right"
                [ngClass]="getIconClass('name')"
                (click)="clickSortColumn('name')">
          </span>
        </th>
        <th>
          <label tooltip="Git branches/tags: The selected reference and tag will be used
                       to populate the info tab including 'launch with'">
            Git Reference
          </label>
          <span class="glyphicon pull-right"
                [ngClass]="getIconClass('reference')"
                (click)="clickSortColumn('reference')">
          </span>
        </th>

        <th>
          <label tooltip="Tool paths for given version">Tool Path</label>
          <span class="glyphicon pull-right"
                [ngClass]="getIconClass('name')"
                (click)="clickSortColumn('name')">
          </span>
        </th>

        <th>
          <label tooltip="Date of last build of the Docker image">Date Built</label>
          <span class="glyphicon pull-right"
                [ngClass]="getIconClass('last_modified')"
                (click)="clickSortColumn('last_modified')">
          </span>
        </th>

        <th>
          <label tooltip="A version is valid if it has at least one valid descriptor file and Dockerfile">
            Valid
          </label>
          <span class="glyphicon pull-right"
                [ngClass]="getIconClass('valid')"
                (click)="clickSortColumn('valid')">
          </span>
        </th>

        <th>
          <label tooltip="A version is verified if it has been verified to work by a person/group">
            Verified
          </label>
        </th>

        <th>
          <label tooltip="View more information about the given version">
            Actions
          </label>
        </th>
      </tr>
    </thead>
    <tbody>
      <tr *ngIf="versions.length === 0">
        <td colspan="7">
          <div class="text-center">No Records Found</div>
        </td>
      </tr>
      <tr *ngFor="let version of versions | orderBy : convertSorting()">
        <td>{{ version.name }}</td>
        <td>
          <input class="radio-button-reference" *ngIf="!publicPage && version.name !== 'latest'" type="radio" name="defaultVersion"
                     [(ngModel)]="defaultVersion" [value]="version.reference" (click)="updateDefaultVersion(version.reference)"
                     tooltip="Set as default branch"/>
                     {{ version.reference || 'n/a' }}</td>
        <td>
          <div>
            {{ version.cwl_path }}
            <hr>
            {{ version.wdl_path }}
            <hr>
            {{ version.dockerfile_path }}
            <hr>
          </div>
        </td>
        <td>{{ getDateTimeString(version.last_modified) }}</td>
        <td>
          <span class="glyphicon glyphicon-ok" *ngIf="version.valid"></span>
          <span class="glyphicon glyphicon-remove" *ngIf="!version.valid"></span>
        </td>
        <td>
          <a href={{verifiedLink}}>
            <span class="glyphicon glyphicon-ok" *ngIf="version.verified" tooltip="{{getVerifiedSource(version.name)}}"></span>
          </a>
          <span class="glyphicon glyphicon-remove" *ngIf="!version.verified"></span>
        </td>
        <td class="tag-actions">
          <app-view-container [version]="version"></app-view-container>
        </td>
      </tr>
    </tbody>
  </table>
  <app-version-modal></app-version-modal>
</div>
<div class="row pull-right">
  <app-add-tag *ngIf="!publicPage"></app-add-tag>
</div><commit_msg>Use version name instead of version git reference for default branch … (#89)<commit_after><div>
  <table class="table versions-grid table-bordered table-condensed table-striped">
    <thead>
      <tr>
        <th>
          <label tooltip="Tags from Docker repository">
            Version
          </label>
          <span class="glyphicon pull-right" [ngClass]="getIconClass('name')" (click)="clickSortColumn('name')">
          </span>
        </th>
        <th>
          <label tooltip="Git branches/tags: The selected reference and tag will be used
                       to populate the info tab including 'launch with'">
            Git Reference
          </label>
          <span class="glyphicon pull-right" [ngClass]="getIconClass('reference')" (click)="clickSortColumn('reference')">
          </span>
        </th>
        <th>
          <label tooltip="Tool paths for given version">Tool Path</label>
          <span class="glyphicon pull-right" [ngClass]="getIconClass('name')" (click)="clickSortColumn('name')">
          </span>
        </th>
        <th>
          <label tooltip="Date of last build of the Docker image">Date Built</label>
          <span class="glyphicon pull-right" [ngClass]="getIconClass('last_modified')" (click)="clickSortColumn('last_modified')">
          </span>
        </th>
        <th>
          <label tooltip="A version is valid if it has at least one valid descriptor file and Dockerfile">
            Valid
          </label>
          <span class="glyphicon pull-right" [ngClass]="getIconClass('valid')" (click)="clickSortColumn('valid')">
          </span>
        </th>
        <th>
          <label tooltip="A version is verified if it has been verified to work by a person/group">
            Verified
          </label>
        </th>
        <th>
          <label tooltip="View more information about the given version">
            Actions
          </label>
        </th>
      </tr>
    </thead>
    <tbody>
      <tr *ngIf="versions.length === 0">
        <td colspan="7">
          <div class="text-center">No Records Found</div>
        </td>
      </tr>
      <tr *ngFor="let version of versions | orderBy : convertSorting()">
        <td>
          <input class="radio-button-reference" *ngIf="!publicPage && version.name !== 'latest'" type="radio" name="defaultVersion" [(ngModel)]="defaultVersion"
            [value]="version.name" (click)="updateDefaultVersion(version.name)" tooltip="Set as default branch" /> {{ version.name }}
        </td>
        <td>
          {{ version.reference || 'n/a' }}</td>
        <td>
          <div>
            {{ version.cwl_path }}
            <hr> {{ version.wdl_path }}
            <hr> {{ version.dockerfile_path }}
            <hr>
          </div>
        </td>
        <td>{{ getDateTimeString(version.last_modified) }}</td>
        <td>
          <span class="glyphicon glyphicon-ok" *ngIf="version.valid"></span>
          <span class="glyphicon glyphicon-remove" *ngIf="!version.valid"></span>
        </td>
        <td>
          <a href= {{verifiedLink}}>
            <span class="glyphicon glyphicon-ok" *ngIf="version.verified" tooltip="{{getVerifiedSource(version.name)}}"></span>
          </a>
          <span class="glyphicon glyphicon-remove" *ngIf="!version.verified"></span>
        </td>
        <td class="tag-actions">
          <app-view-container [version]="version"></app-view-container>
        </td>
      </tr>
    </tbody>
  </table>
  <app-version-modal></app-version-modal>
</div>
<div class="row pull-right">
  <app-add-tag *ngIf="!publicPage"></app-add-tag>
</div>
{'fraction_non_alphanumeric': 0.15526351442893918, 'fraction_numerical': 0.0008128979813033464, 'mean_word_length': 1.992298338062424, 'pattern_counts': {'":': 0, '<': 191, '<?xml version=': 0, '>': 191, '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': '524001', 'n_tokens_mistral': 2176, 'n_tokens_neox': 2093, 'n_words': 490}