<commit_before><!-- wrapped in a .row -->
<% try { %>
<div class="panel">
    <div class="panel-heading">
        <span>
            <div class="row">
                <div class="glyphicon glyphicon-cog col-xs-8" aria-hidden="true"> Asset ID# <%= id %></div>
            <p class="text-right">
            <button id="assetEditorBtn" type="button" class="btn btn-primary btn-xs" data-toggle="modal" data-target="#assetEditorModal">Edit Asset</button>
            </p>
        </div>
        </span>
    </div>
    <div class="panel-body">
        <!-- tabs -->
        <ul class="nav nav-tabs" role="tablist">
            <li role="presentation" class="active"><a href="#overview" aria-controls="overview" role="tab" data-toggle="tab">Overview</a></li>
            <li role="presentation"><a href="#metaData" aria-controls="metaData" data-toggle="tab">Meta Data</a></li>
            <li role="presentation"><a href="#assetAquisitionInfo" aria-controls="assetAquisitionInfo" data-toggle="tab">Aquisition Data</a></li>
        </ul>
        <!-- tab-panes -->
        <div class="tab-content">
            <div role="tabpanel" class="tab-pane active" id="overview">
                <dl class="dl-horizontal">
                    <dt>Name</dt>
                    <dd><%= assetInfo.name %></dd>
                </dl>
                <dl class="dl-horizontal">
                    <dt>Description</dt>
                    <dd><%= assetInfo.description %></dd>
                </dl>
                <dl class="dl-horizontal">
                    <dt>Owner</dt>
                    <dd><%= assetInfo.owner %></dd>
                </dl>
                <dl class="dl-horizontal">
                    <dt>Type</dt>
                    <dd><%= assetInfo.type %></dd>
                </dl>
                <dl class="dl-horizontal">
                    <dt>Class</dt>
                    <dd><%= asset_class %></dd>
                </dl>
                <dl class="dl-horizontal">
                    <dt>Class Code</dt>
                    <dd><%= classCode %></dd>
                </dl>
                <hr/>
                <dl class="dl-horizontal">
                    <dt>Notes</dt>
                    <dd><%= notes %></dd>
                </dl>
            </div>
            <div role="tabpanel" class="tab-pane" id="metaData">
                <table class="table table-striped">
                    <thead>
                        <tr>
                            <th>Key</th>
                            <th>Value</th>
                        </tr>
                    </thead>
                    <tbody>
                        <% _.each(metaData, function(row) { %>
                        <tr>
                            <td><%= row.key %></td>
                            <td><%= row.value %></td>
                        </tr>
                        <% }); %>
                    </tbody>
                </table>
            </div>
            <div role="tabpanel" class="tab-pane" id="assetAquisitionInfo">
                <dl>
                    <dt>Manufacture Information</dt>
                </dl>
                <dl>
                    <dt>Purchase and Delivery Information</dt>
                    <dd><%= purchaseAndDeliveryInfo %></dd><commit_msg>Physical info and PO and Delivery info for asset inspector.<commit_after><!-- wrapped in a .row -->
<% try { %>
<div class="panel">
    <div class="panel-heading">
        <span>
            <div class="row">
                <div class="glyphicon glyphicon-cog col-xs-8" aria-hidden="true"> Asset ID# <%= id %></div>
            <p class="text-right">
            <button id="assetEditorBtn" type="button" class="btn btn-primary btn-xs" data-toggle="modal" data-target="#assetEditorModal">Edit Asset</button>
            </p>
        </div>
        </span>
    </div>
    <div class="panel-body">
        <!-- tabs -->
        <ul class="nav nav-tabs" role="tablist">
            <li role="presentation" class="active"><a href="#overview" aria-controls="overview" role="tab" data-toggle="tab">Overview</a></li>
            <li role="presentation"><a href="#metaData" aria-controls="metaData" data-toggle="tab">Meta Data</a></li>
            <li role="presentation"><a href="#assetAquisitionInfo" aria-controls="assetAquisitionInfo" data-toggle="tab">Aquisition Data</a></li>
        </ul>
        <!-- tab-panes -->
        <div class="tab-content">
            <div role="tabpanel" class="tab-pane active" id="overview">
                <dl class="dl-horizontal">
                    <dt>Name</dt>
                    <dd><%= assetInfo.name %></dd>
                </dl>
                <dl class="dl-horizontal">
                    <dt>Description</dt>
                    <dd><%= assetInfo.description %></dd>
                </dl>
                <dl class="dl-horizontal">
                    <dt>Owner</dt>
                    <dd><%= assetInfo.owner %></dd>
                </dl>
                <dl class="dl-horizontal">
                    <dt>Type</dt>
                    <dd><%= assetInfo.type %></dd>
                </dl>
                <dl class="dl-horizontal">
                    <dt>Class</dt>
                    <dd><%= asset_class %></dd>
                </dl>
                <dl class="dl-horizontal">
                    <dt>Class Code</dt>
                    <dd><%= classCode %></dd>
                </dl>
                <hr/>
                <dl class="dl-horizontal">
                    <dt>Notes</dt>
                    <dd><%= notes %></dd>
                </dl>
            </div>
            <div role="tabpanel" class="tab-pane" id="metaData">
                <table class="table table-striped">
                    <thead>
                        <tr>
                            <th>Key</th>
                            <th>Value</th>
                        </tr>
                    </thead>
                    <tbody>
                        <% _.each(metaData, function(row) { %>
                        <tr>
                            <td><%= row.key %></td>
                            <td><%= row.value %></td>
                        </tr>
                        <% }); %>
                    </tbody>
                </table>
            </div>
            <div role="tabpanel" class="tab-pane" id="assetAquisitionInfo">
                <dl>
                    <dt>Manufacture Information</dt>
                    <dd>
                        <% if ( manufactureInfo.manufacturer ) { %>
                            <dl class="dl-horizontal">
                                <dt> Manufacturer: </dt>
                                <dd>
                                <%=  manufactureInfo.manufacturer %>
                                </dd>
                            </dl>
                        <% } %>
                        <% if ( manufactureInfo.modelNumber ) { %>
                            <dl class="dl-horizontal">
                                <dt> Model #: </dt>
                                <dd>
                                <%=  manufactureInfo.modelNumber %>
                                </dd>
                            </dl>
                        <% } %>
                        <% if ( manufactureInfo.serialNumber ) { %>
                            <dl class="dl-horizontal">
                                <dt> S/N : </dt>
                                <dd>
                                <%=  manufactureInfo.serialNumber %>
                                </dd>
                            </dl>
                        <% } %>
                    </dd>
                </dl>
                <dl>
                    <dt>Purchase and Delivery Information</dt>
                    <dd>
                        <% if (purchaseAndDeliveryInfo.purchaseOrderNumber ) { %>
                            <dl class="dl-horizontal">
                                <dt> PO #: </dt>
                                <dd>
                                <%= purchaseAndDeliveryInfo.purchaseOrderNumber %>
                                </dd>
                            </dl>
                        <% } %>
                        <% if (purchaseAndDeliveryInfo.purchaseCost ) { %>
                            <dl class="dl-horizontal">
                                <dt> Cost: </dt>
                                <dd>
                                <%= purchaseAndDeliveryInfo.purchaseCost %>
                                </dd>
                            </dl>
                        <% } %>
                        <% if (purchaseAndDeliveryInfo.purchaseDate ) { %>
                            <dl class="dl-horizontal">
                                <dt> PO Date: </dt>
                                <dd>
                                <%= purchaseAndDeliveryInfo.purchaseDate %>
                                </dd>
                            </dl>
                        <% } %>
                        <% if (purchaseAndDeliveryInfo.deliveryOrderNumber || purchaseAndDeliveryInfo.deliveryDat) { %>
                        <hr>
                        <% } %>
                        <% if (purchaseAndDeliveryInfo.deliveryOrderNumber ) { %>
                            <dl class="dl-horizontal">
                                <dt> Delivery Order #: </dt>
                                <dd>
                                <%= purchaseAndDeliveryInfo.deliveryOrderNumber %>
                                </dd>
                            </dl>
                        <% } %>
                        <% if (purchaseAndDeliveryInfo.deliveryDate ) { %>
                            <dl class="dl-horizontal">
                                <dt> Delivery Date: </dt>
                                <dd>
                                <%= Date(purchaseAndDeliveryInfo.deliveryDate) %>
                                </dd>
                            </dl>
                        <% } %>
                    </dd>
{'fraction_non_alphanumeric': 0.1417, 'fraction_numerical': 0.0002, 'mean_word_length': 0.899886018237082, 'pattern_counts': {'":': 0, '<': 321, '<?xml version=': 0, '>': 321, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4431136', 'n_tokens_mistral': 2648, 'n_tokens_neox': 2362, 'n_words': 438}