<commit_before><div class="modal fade">
	<div class="modal-dialog">
		<!-- Nav tabs -->
		<ul class="nav nav-tabs" role="tablist">
			<li role="presentation" class="active"><a href="#download" role="tab" data-toggle="tab">Files</a></li>
			<li role="presentation"><a href="#upload" role="tab" data-toggle="tab">Upload</a></li>
			<li role="presentation"><a href="#fetch" role="tab" data-toggle="tab">Fetch</a></li>
		</ul>
		<!-- Tab panes -->
		<div class="tab-content">
			<div role="tabpanel" class="tab-pane active" id="download">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close">&times;</button>
						<h4 class="modal-title">Select file</h4>
					</div>

					<div class="modal-body">
						<div class="file-selector">
							<table>
								<thead>
									<td class="name-header">Name</td>
									<td class="name-header">By</td>
								</thead>
								{{#each files}}
								<tr class="file-row{{#if selected}} selected{{/if}}" data-name="{{name}}">
									<td class="name">{{name}}</td>
									<td class="">{{creator}}</td>
								</tr>
								{{else}}
								<tr class="file-row">
									<td class="name">No files found</td>
								</tr>
								{{/each}}
							</table>
						</div>
					</div>

					<div class="modal-footer">
						<form class="form-inline">
						<div class="buttons">
							<input id="file-url"
								class="form-control pull-left"
								size="45"
								type="text"
								value="{{original}}"
								placeholder=""/>
						</div>
						</form>
					</div>
				</div><!-- /.modal-content -->
			</div>
			<div role="tabpanel" class="tab-pane" id="upload">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close">&times;</button>
						<h4 class="modal-title">Upload</h4>
					</div>

					<div class="modal-body">
						<form method="post" action="/graph" class="form-inline">
							<input type="file" name="graphFile"/>
							<input type="submit" value="Upload"/>
						</form>
				  	</div>
					<div class="modal-footer">
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane" id="fetch">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close">&times;</button>
						<h4 class="modal-title">Fetch</h4>
					</div>

					<div class="modal-body">
			  			<p>Not yet implemented</p>
			  		</div>
					<div class="modal-footer">
					</div>
				</div>
			</div>
		</div>
	</div><!-- /.modal-dialog -->
</div><!-- /.modal --><commit_msg>Changed the form action to /upload/graph<commit_after><div class="modal fade">
	<div class="modal-dialog">
		<!-- Nav tabs -->
		<ul class="nav nav-tabs" role="tablist">
			<li role="presentation" class="active"><a href="#download" role="tab" data-toggle="tab">Files</a></li>
			<li role="presentation"><a href="#upload" role="tab" data-toggle="tab">Upload</a></li>
			<li role="presentation"><a href="#fetch" role="tab" data-toggle="tab">Fetch</a></li>
		</ul>
		<!-- Tab panes -->
		<div class="tab-content">
			<div role="tabpanel" class="tab-pane active" id="download">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close">&times;</button>
						<h4 class="modal-title">Select file</h4>
					</div>

					<div class="modal-body">
						<div class="file-selector">
							<table>
								<thead>
									<td class="name-header">Name</td>
									<td class="name-header">By</td>
								</thead>
								{{#each files}}
								<tr class="file-row{{#if selected}} selected{{/if}}" data-name="{{name}}">
									<td class="name">{{name}}</td>
									<td class="">{{creator}}</td>
								</tr>
								{{else}}
								<tr class="file-row">
									<td class="name">No files found</td>
								</tr>
								{{/each}}
							</table>
						</div>
					</div>

					<div class="modal-footer">
						<form class="form-inline">
						<div class="buttons">
							<input id="file-url"
								class="form-control pull-left"
								size="45"
								type="text"
								value="{{original}}"
								placeholder=""/>
						</div>
						</form>
					</div>
				</div><!-- /.modal-content -->
			</div>
			<div role="tabpanel" class="tab-pane" id="upload">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close">&times;</button>
						<h4 class="modal-title">Upload</h4>
					</div>

					<div class="modal-body">
						<form method="post" action="/upload/graph" class="form-inline">
							<input type="file" name="graphFile"/>
							<input type="submit" value="Upload"/>
						</form>
				  	</div>
					<div class="modal-footer">
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane" id="fetch">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close">&times;</button>
						<h4 class="modal-title">Fetch</h4>
					</div>

					<div class="modal-body">
			  			<p>Not yet implemented</p>
			  		</div>
					<div class="modal-footer">
					</div>
				</div>
			</div>
		</div>
	</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
{'fraction_non_alphanumeric': 0.2249034749034749, 'fraction_numerical': 0.003088803088803089, 'mean_word_length': 2.512542372881356, 'pattern_counts': {'":': 0, '<': 199, '<?xml version=': 0, '>': 199, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3420495', 'n_tokens_mistral': 2447, 'n_tokens_neox': 1710, 'n_words': 337}