<commit_before><div>
    <h1>Dashboard</h1>


    <h2>Blueprints</h2>
    <table class="table table-striped">
        <thead>
        <tr>
            <td>Type</td>
            <td>Max life-time</td>
            <td></td>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="blueprint in blueprints | filter : { is_enabled: 'true' }">
            <td>{{blueprint.name}}</td>
            <td><lifetime seconds="{{ blueprint.max_lifetime }}"/></td>
            <td>
                <button ng-click="provision(blueprint)" type="submit" class="btn btn-default" ng-disabled="!keypair_exists()">Launch</button>
                <span ng-show="keypairs && !keypair_exists()">To launch instances, first <a href="/#/account">add SSH keys</a>.</span>
            </td>
        </tr>
        <tr ng-hide="(blueprints | filter : {is_enabled: 'true'}).length">
            <td colspan="3">No blueprints available</td>
        </tbody>
    </table>
    <h2>Instances</h2>
    <table class="table table-striped">
        <thead>
        <tr>
            <td>name</td>
            <td>state</td>
            <td ng-show="isAdmin()">user</td>
            <td>public IP</td>
            <td>Life-time left</td>
            <td>actions</td>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="instance in instances">
            <td><a href="#/instance_details/{{ instance.id }}"> {{instance.name}}</a></td>
            <td>{{instance.state}} {{ instance.error_msg ? " ("+instance.error_msg+")" : "" }}</td>
            <td ng-show="isAdmin()">{{instance.user.email}}</td>
            <td>{{instance.public_ip}}</td>
            <td><lifetime seconds="{{instance.lifetime_left}}"/></td>
            <td>
                <button ng-click="deprovision(instance)" type="submit" class="btn btn-danger" ng-disabled="instance.state=='deleting'" >Destroy</button>
            </td>
        </tr>
        <tr ng-hide="instances.length">
            <td colspan="5">No instances running</td>
        </tbody>

        </tbody>
    </table>
</div><commit_msg>fixed correct colspan<commit_after><div>
    <h1>Dashboard</h1>


    <h2>Blueprints</h2>
    <table class="table table-striped">
        <thead>
        <tr>
            <td>Type</td>
            <td>Max life-time</td>
            <td></td>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="blueprint in blueprints | filter : { is_enabled: 'true' }">
            <td>{{blueprint.name}}</td>
            <td><lifetime seconds="{{ blueprint.max_lifetime }}"/></td>
            <td>
                <button ng-click="provision(blueprint)" type="submit" class="btn btn-default" ng-disabled="!keypair_exists()">Launch</button>
                <span ng-show="keypairs && !keypair_exists()">To launch instances, first <a href="/#/account">add SSH keys</a>.</span>
            </td>
        </tr>
        <tr ng-hide="(blueprints | filter : {is_enabled: 'true'}).length">
            <td colspan="3">No blueprints available</td>
        </tbody>
    </table>
    <h2>Instances</h2>
    <table class="table table-striped">
        <thead>
        <tr>
            <td>name</td>
            <td>state</td>
            <td ng-show="isAdmin()">user</td>
            <td>public IP</td>
            <td>Life-time left</td>
            <td>actions</td>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="instance in instances">
            <td><a href="#/instance_details/{{ instance.id }}"> {{instance.name}}</a></td>
            <td>{{instance.state}} {{ instance.error_msg ? " ("+instance.error_msg+")" : "" }}</td>
            <td ng-show="isAdmin()">{{instance.user.email}}</td>
            <td>{{instance.public_ip}}</td>
            <td><lifetime seconds="{{instance.lifetime_left}}"/></td>
            <td>
                <button ng-click="deprovision(instance)" type="submit" class="btn btn-danger" ng-disabled="instance.state=='deleting'" >Destroy</button>
            </td>
        </tr>
        <tr ng-hide="instances.length">
            <td colspan="6">No instances running</td>
        </tbody>

        </tbody>
    </table>
</div>
{'fraction_non_alphanumeric': 0.19478008699855, 'fraction_numerical': 0.0038666022232962784, 'mean_word_length': 1.9627773801002149, 'pattern_counts': {'":': 0, '<': 169, '<?xml version=': 0, '>': 169, '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': '2228067', 'n_tokens_mistral': 1349, 'n_tokens_neox': 1293, 'n_words': 225}