<commit_before><form class="settings_form" data-bind="submit: save">
	<h2 data-bind="text: $root.settingsTitle"></h2>

	<!-- ko foreach: editFields -->
		<!-- ko if: $data && editable && visible -->
			<div data-bind="attr: {class: type}">
				<label data-bind="attr: {for: field_id}, text: title + ':'"></label>

			<!-- ko if: type === 'text' -->
				<!-- ko if: editable -->
					<div class="characters_left" data-bind="charactersLeft: {value: $root[field_name], limit: limit}"></div>
					<input type="text" data-bind="attr: {disabled: $root.freezeForm, id: field_id}, value: $root[field_name],
																			valueUpdate: 'afterkeydown', characterLimit: limit" />
				<!-- /ko -->
				<!-- ko ifnot: editable -->
					<div class="uneditable" data-bind="text: $root[field_name]()"></div>
				<!-- /ko -->
			<!-- /ko -->

			<!-- ko if: type === 'textarea' -->
				<!-- ko if: editable -->
					<div class="characters_left" data-bind="charactersLeft: {value: $root[field_name], limit: limit}"></div>
					<textarea data-bind="attr: {disabled: $root.freezeForm || !editable, id: field_id}, value: $root[field_name],
																		valueUpdate: 'afterkeydown', characterLimit: limit,
																		style: {height: height + 'px'}"></textarea>
				<!-- /ko -->
				<!-- ko ifnot: editable -->
					<div class="uneditable" data-bind="text: $root[field_name]"></div>
				<!-- /ko -->
			<!-- /ko -->

			<!-- ko if: type === 'wysiwyg' -->
				<textarea class="wysiwyg" data-bind="attr: {disabled: $root.freezeForm, id: field_id},
							wysiwyg: {value: $root[field_name], id: field_id}"></textarea>
			<!-- /ko -->

			<!-- ko if: type === 'markdown' -->
				<!-- ko if: editable -->
					<div class="markdown_container" data-bind="style: {height: height + 'px'}">
						<div class="characters_left" data-bind="charactersLeft: {value: $root[field_name], limit: limit}"></div>
						<textarea data-bind="attr: {disabled: $root.freezeForm, id: field_id}, characterLimit: limit,
																		value: $root[field_name], valueUpdate: 'afterkeydown'"></textarea>
						<div class="preview" data-bind="markdown: $root[field_name]"></div>
					</div>
				<!-- /ko -->
				<!-- ko ifnot: editable -->
					<div class="uneditable" data-bind="markdown: $root[field_name]"></div>
				<!-- /ko -->
			<!-- /ko -->

			<!-- ko if: type === 'number' -->
				<!-- ko if: editable -->
					<span class="symbol" data-bind="text: symbol"></span>
					<input type="text" data-bind="attr: {disabled: $root.freezeForm, id: field_id}, value: $root[field_name],
												number: {decimals: decimals, key: field_name, thousandsSeparator: thousands_separator,
														decimalSeparator: decimal_separator}" />
				<!-- /ko -->
				<!-- ko ifnot: editable --><commit_msg>Added missing 'password' field to settings view<commit_after><form class="settings_form" data-bind="submit: save">
	<h2 data-bind="text: $root.settingsTitle"></h2>

	<!-- ko foreach: editFields -->
		<!-- ko if: $data && editable && visible -->
			<div data-bind="attr: {class: type}">
				<label data-bind="attr: {for: field_id}, text: title + ':'"></label>

			<!-- ko if: type === 'text' -->
				<!-- ko if: editable -->
					<div class="characters_left" data-bind="charactersLeft: {value: $root[field_name], limit: limit}"></div>
					<input type="text" data-bind="attr: {disabled: $root.freezeForm, id: field_id}, value: $root[field_name],
																			valueUpdate: 'afterkeydown', characterLimit: limit" />
				<!-- /ko -->
				<!-- ko ifnot: editable -->
					<div class="uneditable" data-bind="text: $root[field_name]()"></div>
				<!-- /ko -->
			<!-- /ko -->

			<!-- ko if: type === 'textarea' -->
				<!-- ko if: editable -->
					<div class="characters_left" data-bind="charactersLeft: {value: $root[field_name], limit: limit}"></div>
					<textarea data-bind="attr: {disabled: $root.freezeForm || !editable, id: field_id}, value: $root[field_name],
																		valueUpdate: 'afterkeydown', characterLimit: limit,
																		style: {height: height + 'px'}"></textarea>
				<!-- /ko -->
				<!-- ko ifnot: editable -->
					<div class="uneditable" data-bind="text: $root[field_name]"></div>
				<!-- /ko -->
			<!-- /ko -->

			<!-- ko if: type === 'wysiwyg' -->
				<textarea class="wysiwyg" data-bind="attr: {disabled: $root.freezeForm, id: field_id},
							wysiwyg: {value: $root[field_name], id: field_id}"></textarea>
			<!-- /ko -->

			<!-- ko if: type === 'markdown' -->
				<!-- ko if: editable -->
					<div class="markdown_container" data-bind="style: {height: height + 'px'}">
						<div class="characters_left" data-bind="charactersLeft: {value: $root[field_name], limit: limit}"></div>
						<textarea data-bind="attr: {disabled: $root.freezeForm, id: field_id}, characterLimit: limit,
																		value: $root[field_name], valueUpdate: 'afterkeydown'"></textarea>
						<div class="preview" data-bind="markdown: $root[field_name]"></div>
					</div>
				<!-- /ko -->
				<!-- ko ifnot: editable -->
					<div class="uneditable" data-bind="markdown: $root[field_name]"></div>
				<!-- /ko -->
			<!-- /ko -->

            <!-- ko if: type === 'password' -->
                <!-- ko if: editable -->
                    <div class="characters_left" data-bind="charactersLeft: {value: $root[field_name], limit: limit}"></div>
                    <input type="password" data-bind="attr: {disabled: $root.freezeForm, id: field_id}, value: $root[field_name],
                                                valueUpdate: 'afterkeydown', characterLimit: limit" />
                <!-- /ko -->
                <!-- ko ifnot: editable -->
                    <div class="uneditable" data-bind="text: '********'"></div>
                <!-- /ko -->
            <!-- /ko -->

			<!-- ko if: type === 'number' -->
				<!-- ko if: editable -->
					<span class="symbol" data-bind="text: symbol"></span>
					<input type="text" data-bind="attr: {disabled: $root.freezeForm, id: field_id}, value: $root[field_name],
												number: {decimals: decimals, key: field_name, thousandsSeparator: thousands_separator,
														decimalSeparator: decimal_separator}" />
				<!-- /ko -->
				<!-- ko ifnot: editable -->
{'fraction_non_alphanumeric': 0.21764989551519048, 'fraction_numerical': 0.0006429834431763383, 'mean_word_length': 2.653552554315913, 'pattern_counts': {'":': 0, '<': 130, '<?xml version=': 0, '>': 130, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6938369', 'n_tokens_mistral': 2444, 'n_tokens_neox': 1950, 'n_words': 445}