<commit_before><div class="list-group">
    <table class="table table-striped table-hover">
        <thead>
            <tr>
                <th class="col-md-1"><p></p></th>
                <th class="col-md-5"><p> Name </p></th>
                <th class="col-md-2"><p> Status</p></th>
                <th class="col-md-2"><p> Time since created</p></th>
                <th class="col-md-2"><p> Access URL</p></th>
            </tr>
        </thead>
        <tbody>
            <tr *ngFor="let deploy of deployments | async">
                <td><img src="{{ deploy.app_version_details?.application?.icon_url }}"  style="max-width: 64px; max-height: 64px;" /></td>
                <td>
                    <p><strong>{{ deploy.name }}</strong></p>
                    <p>
                    <span class="col-xs-12 col-md-6">
                        <span class="text-muted">Appliance:</span> {{ deploy.app_version_details?.application?.name }}
                    </span>
                    <span class="col-xs-12 col-md-6">
                        <span class="text-muted">Version:</span> {{ deploy.app_version_details?.version }}
                    </span><br />
                    <span class="col-xs-12 col-md-12">
                        <span class="text-muted">Cloud:</span> {{ deploy.target_cloud }}
                    </span>
                    </p>
                </td>
                <td class="text-left">
                    <div [ngSwitch]="deploy.task_status.status">
                      <p *ngSwitchCase="'SUCCESS'" class="text-success">SUCCESS</p>
                      <p *ngSwitchCase="'FAILURE'" class="text-danger">FAILURE</p>
                      <p *ngSwitchCase="'UNKNOWN'" class="text-warning">FAILURE</p>
                      <p *ngSwitchCase="'PENDING'" class="text-info">PENDING</p>
                      <p *ngSwitchCase="'PROGRESSING'" class="text-info"><i class="fa fa-cog fa-spin fa-fw"></i> PROGRESSING
                        <br />{{ deploy.task_status?.result?.action }}
                      </p>
                    </div>
                </td>
                <td>{{  calculateUptime(deploy, currentTimer | async) }}</td>
                <td *ngIf="deploy.task_result?.cloudLaunch?.applicationURL">
                    <a class="btn-link" href="{{ deploy.task_result?.cloudLaunch?.applicationURL }}" target="_blank">
                        <span #inputTarget>{{ deploy.task_result?.cloudLaunch?.applicationURL }}</span>
                    </a>
                    <br/><button *ngIf=deploy.task_result?.cloudLaunch?.publicIP class="btn btn-sm" type="button" [ngxClipboard]="inputTarget">Copy URL</button>
                </td>
                <td *ngIf="!deploy.task_result?.cloudLaunch?.applicationURL">
                    <a class="btn-link" href="{{ deploy.task_result?.cloudLaunch?.publicIP }}" target="_blank">
                        <span #inputTarget>{{ deploy.task_result?.cloudLaunch?.publicIP }}</span>
                    </a>
                    <br/><button *ngIf=deploy.task_result?.cloudLaunch?.publicIP class="btn btn-sm" type="button" [ngxClipboard]="inputTarget">Copy URL</button>
                </td>
            </tr>
        </tbody>
    </table>

</div>
<commit_msg>Temporary measure to improve error messages<commit_after><div class="list-group">
    <table class="table table-striped table-hover">
        <thead>
            <tr>
                <th class="col-md-1"><p></p></th>
                <th class="col-md-5"><p> Name </p></th>
                <th class="col-md-2"><p> Status</p></th>
                <th class="col-md-2"><p> Time since created</p></th>
                <th class="col-md-2"><p> Access URL</p></th>
            </tr>
        </thead>
        <tbody>
            <tr *ngFor="let deploy of deployments | async">
                <td><img src="{{ deploy.app_version_details?.application?.icon_url }}"  style="max-width: 64px; max-height: 64px;" /></td>
                <td>
                    <p><strong>{{ deploy.name }}</strong></p>
                    <p>
                    <span class="col-xs-12 col-md-6">
                        <span class="text-muted">Appliance:</span> {{ deploy.app_version_details?.application?.name }}
                    </span>
                    <span class="col-xs-12 col-md-6">
                        <span class="text-muted">Version:</span> {{ deploy.app_version_details?.version }}
                    </span><br />
                    <span class="col-xs-12 col-md-12">
                        <span class="text-muted">Cloud:</span> {{ deploy.target_cloud }}
                    </span>
                    </p>
                </td>
                <td class="text-left">
                    <div [ngSwitch]="deploy.task_status.status">
                      <p *ngSwitchCase="'SUCCESS'" class="text-success">SUCCESS</p>
                      <p *ngSwitchCase="'FAILURE'" class="text-danger">FAILURE
                         <br />{{ deploy.task_status?.result?.exc_message }}
                      </p>
                      <p *ngSwitchCase="'UNKNOWN'" class="text-warning">FAILURE
                         <br />{{ deploy.task_status?.result?.exc_message }}
                      </p>
                      <p *ngSwitchCase="'PENDING'" class="text-info">PENDING</p>
                      <p *ngSwitchCase="'PROGRESSING'" class="text-info"><i class="fa fa-cog fa-spin fa-fw"></i> PROGRESSING
                        <br />{{ deploy.task_status?.result?.action }}
                      </p>
                    </div>
                </td>
                <td>{{  calculateUptime(deploy, currentTimer | async) }}</td>
                <td *ngIf="deploy.task_result?.cloudLaunch?.applicationURL">
                    <a class="btn-link" href="{{ deploy.task_result?.cloudLaunch?.applicationURL }}" target="_blank">
                        <span #inputTarget>{{ deploy.task_result?.cloudLaunch?.applicationURL }}</span>
                    </a>
                    <br/><button *ngIf=deploy.task_result?.cloudLaunch?.publicIP class="btn btn-sm" type="button" [ngxClipboard]="inputTarget">Copy URL</button>
                </td>
                <td *ngIf="!deploy.task_result?.cloudLaunch?.applicationURL">
                    <a class="btn-link" href="{{ deploy.task_result?.cloudLaunch?.publicIP }}" target="_blank">
                        <span #inputTarget>{{ deploy.task_result?.cloudLaunch?.publicIP }}</span>
                    </a>
                    <br/><button *ngIf=deploy.task_result?.cloudLaunch?.publicIP class="btn btn-sm" type="button" [ngxClipboard]="inputTarget">Copy URL</button>
                </td>
            </tr>
        </tbody>
    </table>

</div>

{'fraction_non_alphanumeric': 0.16983938132064247, 'fraction_numerical': 0.005651397977394408, 'mean_word_length': 1.5865384615384615, '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': '983606', 'n_tokens_mistral': 1965, 'n_tokens_neox': 1830, 'n_words': 309}