<commit_before><!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="description" content="">
		<meta name="author" content="">
		<link rel="shortcut icon" href="/assets/favicon.ico">
		<title>Mailrouter</title>
		<link href="/assets/bootstrap.min.css" rel="stylesheet">
		<link href="/assets/mailrouter.css" rel="stylesheet">
		<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!--[if lt IE 9]>
		<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
		<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
		<![endif]-->
	</head>
	<body>

		<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
			<div class="container-fluid">
				<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="#">Mailrouter</a>
				</div>
				<div class="navbar-collapse collapse">
					<ul class="nav navbar-nav navbar-left">
						<li><a href="/">Dashboard</a></li>
						<li><a href="/filters/">Filters</a></li>
						<li><a href="/routes/">Routes</a></li>
					</ul>
				</div>
			</div>
		</div>

		<div class="container-fluid">
			<div class="row">
				<div class="main">
					<h1 class="page-header">Filters</h1>
					<div class="well">
						<form class="form-horizontal" role="form" id="filter-form" accept-charset="UTF-8" method="post" action="/filters/{{.id}}">
							<legend>{{if .edit}}Edit{{else}}Add{{end}} Filter</legend>
							<div class="row">
<commit_msg>Make the filter form actually save<commit_after><!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="description" content="">
		<meta name="author" content="">
		<link rel="shortcut icon" href="/assets/favicon.ico">
		<title>Mailrouter</title>
		<link href="/assets/bootstrap.min.css" rel="stylesheet">
		<link href="/assets/mailrouter.css" rel="stylesheet">
		<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!--[if lt IE 9]>
		<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
		<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
		<![endif]-->
	</head>
	<body>

		<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
			<div class="container-fluid">
				<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="#">Mailrouter</a>
				</div>
				<div class="navbar-collapse collapse">
					<ul class="nav navbar-nav navbar-left">
						<li><a href="/">Dashboard</a></li>
						<li><a href="/filters/">Filters</a></li>
						<li><a href="/routes/">Routes</a></li>
					</ul>
				</div>
			</div>
		</div>

		<div class="container-fluid">
			<div class="row">
				<div class="main">
					<h1 class="page-header">Filters</h1>
					<div class="well">
						<form class="form-horizontal" role="form" id="filter-form" accept-charset="UTF-8" method="post" action="/filters/{{.id}}">
							<input name="_method" value="save" type="hidden" />
							<legend>{{if .edit}}Edit{{else}}Add{{end}} Filter</legend>
							<div class="row">

{'fraction_non_alphanumeric': 0.21754746023601848, 'fraction_numerical': 0.008722421754746024, 'mean_word_length': 3.8434782608695652, 'pattern_counts': {'":': 0, '<': 136, '<?xml version=': 0, '>': 136, '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': '7086606', 'n_tokens_mistral': 1625, 'n_tokens_neox': 1324, 'n_words': 251}