<commit_before><!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		
		<link rel="stylesheet" href="../../public/css/jquery-ui-smoothness/jquery-ui-1.10.4.custom.min.css" />
		<link rel="stylesheet" href="../../public/css/window-content.css" />
		<script type="text/javascript" src="../../public/javascript/jquery-ui/jquery-1.10.2.js"></script>
		<script type="text/javascript" src="../../public/javascript/jquery-ui/jquery-ui-1.10.4.custom.min.js"></script>
		<script type="text/javascript" src="../../public/javascript/knockout/knockout-3.1.0.js"></script>
		<!--
		<link rel="stylesheet" href="public/css/jquery-ui-smoothness/jquery-ui-1.10.4.custom.min.css" />
		<link rel="stylesheet" href="public/css/window-content.css" />
		<script type="text/javascript" src="public/javascript/jquery-ui/jquery-1.10.2.js"></script>
		<script type="text/javascript" src="public/javascript/jquery-ui/jquery-ui-1.10.4.custom.min.js"></script>
		<script type="text/javascript" src="public/javascript/knockout/knockout-3.1.0.js"></script>
		-->
	</head>
	<body>
		<div id="smsView">
			<div class="toolbar">
				<form class="search-wrapper cf">
					<input type="text" required="required">
					<button type="submit" class="btn">Recherche</button>
				</form>
				<button class="btn del">Supprimer</button>
				<button class="btn">Actualiser</button>
				<button class="btn" data-bind="click: setNewSmsMode">Nouveau message</button>
			</div>
			<div class="sidebar">
				<ul id="smsList" data-bind="foreach: threads">
					<li>
						<p class="sms-item" data-bind="click: $parent.selectThread, css: { selected: $data == $parent.selectedThread() }">
							<img data-bind="attr: { src: img }"/>
							<span data-bind="text: name"></span>
						</p>
					</li>
				</ul>
			</div>
			<div class="main" data-bind="with: currentChat">
				<div>
					<label for="tags">To : </label>
					<!-- ko if: $root.currentMode() === $root.modeEnum.NEW_SMS -->
						<input id="tags" data-bind="jqAuto: { autoFocus: true }, jqAutoSource: $root.contacts, jqAutoQuery: searchContacts, jqAutoSourceLabel: 'displayName', jqAutoSourceInputValue: 'name', jqAutoSourceValue: 'guid'">
					<!-- /ko -->
					<!-- ko if: $root.currentMode() === $root.modeEnum.READ_THREAD -->
						<div data-bind="with: $root.selectedThread">
							<span data-bind="text: name"></span>
						</div>
					<!-- /ko -->
					<!-- ko if: $root.currentMode() === $root.modeEnum.NEW_SMS -->
						<button data-bind="jqAutoCombo: 'auto'">+</button>
					<!-- /ko -->
				</div>
				<div></div>
				<ol class="chat" data-bind="foreach: messages">
					<li data-bind="attr: { class: sent ? 'me' : 'them'}">
						<blockquote data-bind="text: message"></blockquote>
					</li>
				</ol>
				<form data-bind="submit: $parent.submitSms">
					<textarea name="smsText" id="smsText" placeholder="write a message"></textarea>
					<input type="submit" value="Envoyer">
				</form>
			</div>
		</div>
		<script type="text/javascript" src="public/javascript/app-window/sms.js"></script>
	</body>
</html><commit_msg>Fix null contact on sidebar (remplace contact name null by phone number)<commit_after><!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		
		<link rel="stylesheet" href="../../public/css/jquery-ui-smoothness/jquery-ui-1.10.4.custom.min.css" />
		<link rel="stylesheet" href="../../public/css/window-content.css" />
		<script type="text/javascript" src="../../public/javascript/jquery-ui/jquery-1.10.2.js"></script>
		<script type="text/javascript" src="../../public/javascript/jquery-ui/jquery-ui-1.10.4.custom.min.js"></script>
		<script type="text/javascript" src="../../public/javascript/knockout/knockout-3.1.0.js"></script>
		<!--
		<link rel="stylesheet" href="public/css/jquery-ui-smoothness/jquery-ui-1.10.4.custom.min.css" />
		<link rel="stylesheet" href="public/css/window-content.css" />
		<script type="text/javascript" src="public/javascript/jquery-ui/jquery-1.10.2.js"></script>
		<script type="text/javascript" src="public/javascript/jquery-ui/jquery-ui-1.10.4.custom.min.js"></script>
		<script type="text/javascript" src="public/javascript/knockout/knockout-3.1.0.js"></script>
		-->
	</head>
	<body>
		<div id="smsView">
			<div class="toolbar">
				<form class="search-wrapper cf">
					<input type="text" required="required">
					<button type="submit" class="btn">Recherche</button>
				</form>
				<button class="btn del">Supprimer</button>
				<button class="btn">Actualiser</button>
				<button class="btn" data-bind="click: setNewSmsMode">Nouveau message</button>
			</div>
			<div class="sidebar">
				<ul id="smsList" data-bind="foreach: threads">
					<li>
						<p class="sms-item" data-bind="click: $parent.selectThread, css: { selected: $data == $parent.selectedThread() }">
							<img data-bind="attr: { src: img }"/>
                            <!-- ko if: name == "null" -->
    							<span data-bind="text: addr"></span>
                            <!-- /ko -->
                            <!-- ko if: name != "null" -->
                                <span data-bind="text: name"></span>
                            <!-- /ko -->
						</p>
					</li>
				</ul>
			</div>
			<div class="main" data-bind="with: currentChat">
				<div>
					<label for="tags">To : </label>
					<!-- ko if: $root.currentMode() === $root.modeEnum.NEW_SMS -->
						<input id="tags" data-bind="jqAuto: { autoFocus: true }, jqAutoSource: $root.contacts, jqAutoQuery: searchContacts, jqAutoSourceLabel: 'displayName', jqAutoSourceInputValue: 'name', jqAutoSourceValue: 'guid'">
					<!-- /ko -->
					<!-- ko if: $root.currentMode() === $root.modeEnum.READ_THREAD -->
						<div data-bind="with: $root.selectedThread">
                            <!-- ko if: name == "null" -->
                            <span data-bind="text: addr"></span>
                            <!-- /ko -->
                            <!-- ko if: name != "null" -->
                            <span data-bind="text: name"></span>
                            <!-- /ko -->
						</div>
					<!-- /ko -->
					<!-- ko if: $root.currentMode() === $root.modeEnum.NEW_SMS -->
						<button data-bind="jqAutoCombo: 'auto'">+</button>
					<!-- /ko -->
				</div>
				<div></div>
				<ol class="chat" data-bind="foreach: messages">
					<li data-bind="attr: { class: sent ? 'me' : 'them'}">
						<blockquote data-bind="text: message"></blockquote>
					</li>
				</ol>
				<form data-bind="submit: $parent.submitSms">
					<textarea name="smsText" id="smsText" placeholder="write a message"></textarea>
					<input type="submit" value="Envoyer">
				</form>
			</div>
		</div>
		<script type="text/javascript" src="public/javascript/app-window/sms.js"></script>
	</body>
</html>
{'fraction_non_alphanumeric': 0.21551724137931033, 'fraction_numerical': 0.009215219976218787, 'mean_word_length': 2.7867191896454697, 'pattern_counts': {'":': 0, '<': 185, '<?xml version=': 0, '>': 185, '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': '7228942', 'n_tokens_mistral': 2632, 'n_tokens_neox': 2215, 'n_words': 384}