<commit_before><!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="height=device-height, width=device-width, initial-scale=1.0">
    <meta name="description" content="smartX: S.M.A.R.T. information from ESXi server">
    <meta name="author" content="djey">
    <meta charset="UTF-8">

    <link href="assets/css/main.css" rel="stylesheet">
    <link href="assets/css/smartx.css" rel="stylesheet">

    <link rel="shortcut icon" type="image/png" href="favicon.png">

    <title>smartX - home</title>
</head>
<body>
<div class="container">
    <!-- Static navbar -->
    <div class="navbar navbar-default" role="navigation">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="smartx.html">smartX</a>
        </div>
        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li class="active"><a href="#">Home</a></li>
                <li><a href="about.html">About</a></li>
            </ul>
        </div><!--/.nav-collapse -->
    </div>

    <!-- Main component -->
    <div id="mainPage" class="container">
        <div class="row">
            <h3><span class="label label-primary">S.M.A.R.T. information from ESXi server</span></h3>
        </div>

        <div class="row">
            <em>
                Results are actualized every <span class="badge" data-bind="text: refreshFrequency()"></span> second(s).
            </em>
        </div>

        <div class="row">
            &nbsp;
        </div>
        <div class="row">
            <span class="label label-default" data-bind="visible: refreshing">Refreshing, please wait...</span>
        </div>

        <div class="table-responsive">
            <table class="table table-hover">
                <thead>
                <tr>
                    <th>#</th>
					<th>Brand</th>
                    <th>Model</th>
                    <th>Revision</th>
                    <th>Disk size</th>
                    <th>Temperature</th>
                    <th>Status</th>
                </tr>
                </thead>
                <tbody data-bind="foreach: disks">
                <tr data-bind="click: $root.showSmartDetails">
                    <td data-bind="text: id"></td>
					<td data-bind="text: $root.brand($data.model)"></td>
					<td data-bind="text: model"></td>
                    <td data-bind="text: revision"></td>
                    <td>
						<span data-bind="text: size_gigabytes"></span>&nbsp;GB</td>
                    <td>
						<span class="label label-default" data-bind="css: $root.statusCssClass($root.tempStatus($data.id).peek())">
                        	<span data-bind="text: $root.temperatureCelsius($data.id)"></span>°C&nbsp;/&nbsp;<span data-bind="text: $root.temperatureFahrenheit($data.id)"></span>°F
						</span>
                    </td>
                    <td>
						<span class="label label-default" data-bind="css: $root.statusCssClass($root.global_status($data.id).peek()), text: $root.global_status($data.id)"></span>
					</td>
                </tr>
                </tbody>
            </table>
        </div>

        <div class="row">
            Please select any line to get S.M.A.R.T details.
        </div>

    </div>

    <!-- SMART details popup -->
    <div class="modal fade" id="smartPopup" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">S.M.A.R.T details</h4>
                </div>

                <div class="modal-body">
                    <div class="row">
                        <div class="alert alert-warning">
                            <strong>WARNING!</strong> Values below may be non-standard, normalized depending on manufacturer.
                        </div>
                    </div>
                    <div class="row">
                       <span class="label label-info">
                           Disk: (<span data-bind="text: currentDisk().id"></span>)&nbsp;<span data-bind="text: currentDisk().model"></span>
                       </span>
                    </div>

                    <div class="table-responsive">
                        <table class="table table-striped">
                            <thead>
                            <tr>
                                <th>#</th>
                                <th>Attribute</th>
                                <th>Value</th>
                                <th>Worst</th>
                                <th>Threshold</th>
                                <th>Status</th>
                            </tr>
                            </thead>
                            <tbody data-bind="foreach: items">
                            <tr>
                                <td data-bind="text: id"></td>
                                <td data-bind="text: label"></td>
                                <td data-bind="text: value"></td>
                                <td data-bind="text: worst"></td>
                                <td data-bind="text: threshold"></td>
                                <td><span data-bind="css: $root.statusCssClass($data.status), text: $root.statusLabelText($data.status)"></span></td>
                            </tr>
                          </tbody>
                        </table>
                    </div>
                </div>

                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->
</div>

<!-- Scripting -->
<script data-main="assets/js/config" src="bower_components/requirejs/require.js"></script>

</body>
</html><commit_msg>[] fix incorrect closing tag<commit_after><!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="height=device-height, width=device-width, initial-scale=1.0">
    <meta name="description" content="smartX: S.M.A.R.T. information from ESXi server">
    <meta name="author" content="djey">
    <meta charset="UTF-8">

    <link href="assets/css/main.css" rel="stylesheet">
    <link href="assets/css/smartx.css" rel="stylesheet">

    <link rel="shortcut icon" type="image/png" href="favicon.png">

    <title>smartX - home</title>
</head>
<body>
<div class="container">
    <!-- Static navbar -->
    <div class="navbar navbar-default" role="navigation">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="smartx.html">smartX</a>
        </div>
        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li class="active"><a href="#">Home</a></li>
                <li><a href="about.html">About</a></li>
            </ul>
        </div><!--/.nav-collapse -->
    </div>

    <!-- Main component -->
    <div id="mainPage" class="container">
        <div class="row">
            <h3><span class="label label-primary">S.M.A.R.T. information from ESXi server</span></h3>
        </div>

        <div class="row">
            <em>
                Results are actualized every <span class="badge" data-bind="text: refreshFrequency()"></span> second(s).
            </em>
        </div>

        <div class="row">
            &nbsp;
        </div>
        <div class="row">
            <span class="label label-default" data-bind="visible: refreshing">Refreshing, please wait...</span>
        </div>

        <div class="table-responsive">
            <table class="table table-hover">
                <thead>
                <tr>
                    <th>#</th>
					<th>Brand</th>
                    <th>Model</th>
                    <th>Revision</th>
                    <th>Disk size</th>
                    <th>Temperature</th>
                    <th>Status</th>
                </tr>
                </thead>
                <tbody data-bind="foreach: disks">
                <tr data-bind="click: $root.showSmartDetails">
                    <td data-bind="text: id"></td>
					<td data-bind="text: $root.brand($data.model)"></td>
					<td data-bind="text: model"></td>
                    <td data-bind="text: revision"></td>
                    <td>
						<span data-bind="text: size_gigabytes"></span>&nbsp;GB</td>
                    <td>
						<span class="label label-default" data-bind="css: $root.statusCssClass($root.tempStatus($data.id).peek())">
                        	<span data-bind="text: $root.temperatureCelsius($data.id)"></span>°C&nbsp;/&nbsp;<span data-bind="text: $root.temperatureFahrenheit($data.id)"></span>°F
						</span>
                    </td>
                    <td>
						<span class="label label-default" data-bind="css: $root.statusCssClass($root.global_status($data.id).peek()), text: $root.global_status($data.id)"></span>
					</td>
                </tr>
                </tbody>
            </table>
        </div>

        <div class="row">
            Please select any line to get S.M.A.R.T details.
        </div>

    </div>

    <!-- SMART details popup -->
    <div class="modal fade" id="smartPopup" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">S.M.A.R.T details</h4>
                </div>

                <div class="modal-body">
                    <div class="row">
                        <div class="alert alert-warning">
                            <strong>WARNING!</strong> Values below may be non-standard, normalized depending on manufacturer.
                        </div>
                    </div>
                    <div class="row">
                       <span class="label label-info">
                           Disk: (<span data-bind="text: currentDisk().id"></span>)&nbsp;<span data-bind="text: currentDisk().model"></span>
                       </span>
                    </div>

                    <div class="table-responsive">
                        <table class="table table-striped">
                            <thead>
                            <tr>
                                <th>#</th>
                                <th>Attribute</th>
                                <th>Value</th>
                                <th>Worst</th>
                                <th>Threshold</th>
                                <th>Status</th>
                            </tr>
                            </thead>
                            <tbody data-bind="foreach: items">
                            <tr>
                                <td data-bind="text: id"></td>
                                <td data-bind="text: label"></td>
                                <td data-bind="text: value"></td>
                                <td data-bind="text: worst"></td>
                                <td data-bind="text: threshold"></td>
                                <td><span data-bind="css: $root.statusCssClass($data.status), text: $root.statusLabelText($data.status)"></span></td>
                            </tr>
                          </tbody>
                        </table>
                    </div>
                </div>

                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->
</div>

<!-- Scripting -->
<script data-main="assets/js/config" src="bower_components/requirejs/require.js"></script>

</body>
</html>
{'fraction_non_alphanumeric': 0.1680520702634881, 'fraction_numerical': 0.0012547051442910915, 'mean_word_length': 1.4176303317535546, 'pattern_counts': {'":': 0, '<': 399, '<?xml version=': 0, '>': 399, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6850858', 'n_tokens_mistral': 3738, 'n_tokens_neox': 3443, 'n_words': 651}