<commit_before><html ng-app="itubApp">
<head>
   <link rel="stylesheet" type="text/css" href="/static/style.css"></link>
   <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
   <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>

   <script src="static/js/app.js"></script>

</head>
<body ng-controller="itubController">
<span class="title">iTub Hot Tub Controller</span><br/>
<table ng-show="loaded">
<tr><td class="label">Heat:</td><td><select ng-change="onchangeHeater()" ng-model="heater" ng-options="option.value as option.label for option in [{'label': 'On', 'value': 1}, {'label': 'Off', 'value': 0}]"></select></td></tr>
<tr><td class="label">Main Pump:</td><td><select ng-change="onchangePump1()" ng-model="pump1" ng-options="option.value as option.label for option in [{'label': 'Off', 'value': 0}, {'label': 'Low', 'value': 1}, {'label': 'High', 'value': 2}]"></select></td></tr>
<tr><td class="label">Second Pump:</td><td><select ng-change="onchangePump2()" ng-model="pump2" ng-options="option.value as option.label for option in [{'label': 'Off', 'value': 0}, {'label': 'On', 'value': 1}]"></select></td></tr>
<tr><td class="label">Air temp:</td><td>{{ tempAir | number: 1 }}</td></tr>
<tr><td class="label">Water temp into heater</td><td>{{ tempIn | number: 1 }}</td></tr>
<tr><td class="label">Water temp out of heater</td><td>{{ tempOut | number: 1 }}</td></tr>
<tr ng-show="freeze_status !== 0"><td colspan="2>Freeze control: RUNNING</td></tr><
<tr ng-show="filter_status !== 0"><td colspan="2">Filter is on</td></tr>
</table>
<div ng-show="!loaded">Loading...</div>
</body>
</html><commit_msg>Fix display of freeze and filter status<commit_after><html ng-app="itubApp">
<head>
   <link rel="stylesheet" type="text/css" href="/static/style.css"></link>
   <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
   <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>

   <script src="static/js/app.js"></script>

</head>
<body ng-controller="itubController">
<span class="title">iTub Hot Tub Controller</span><br/>
<table ng-show="loaded">
<tr><td class="label">Heat:</td><td><select ng-change="onchangeHeater()" ng-model="heater" ng-options="option.value as option.label for option in [{'label': 'On', 'value': 1}, {'label': 'Off', 'value': 0}]"></select></td></tr>
<tr><td class="label">Main Pump:</td><td><select ng-change="onchangePump1()" ng-model="pump1" ng-options="option.value as option.label for option in [{'label': 'Off', 'value': 0}, {'label': 'Low', 'value': 1}, {'label': 'High', 'value': 2}]"></select></td></tr>
<tr><td class="label">Second Pump:</td><td><select ng-change="onchangePump2()" ng-model="pump2" ng-options="option.value as option.label for option in [{'label': 'Off', 'value': 0}, {'label': 'On', 'value': 1}]"></select></td></tr>
<tr><td class="label">Air temp:</td><td>{{ tempAir | number: 1 }}</td></tr>
<tr><td class="label">Water temp into heater</td><td>{{ tempIn | number: 1 }}</td></tr>
<tr><td class="label">Water temp out of heater</td><td>{{ tempOut | number: 1 }}</td></tr>
</table>
<div class="label" ng-show="loaded && freeze_status !== 0">Freeze control: RUNNING</div>
<div class="label" ng-show="loaded && filter_status !== 0">Filter is on</td></div>
<div ng-show="!loaded">Loading...</div>
</body>
</html>
{'fraction_non_alphanumeric': 0.26364963503649635, 'fraction_numerical': 0.014014598540145985, 'mean_word_length': 6.078512396694215, 'pattern_counts': {'":': 0, '<': 143, '<?xml version=': 0, '>': 142, 'https://': 4, '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': '5160185', 'n_tokens_mistral': 1247, 'n_tokens_neox': 1186, 'n_words': 259}