<commit_before><!doctype html>

<!-- Written and Designed by <NAME> -->
<!-- Because I got sick of doing it by hand... -->

<html>
	<head>
		<!-- META -->
		<meta charset='utf-8'/>
		<meta name="author" content="<NAME>">
		<meta name="description" content="Lumber Segmentation Calculator - A tool for efficiently cutting wood">
		<meta name="keywords" content="lumber, calculator, wood, cut, calculate, layout">
		
		<title>Lumber Segmenter</title>
		<link rel='shortcut icon' type='image/png' href='favicon.png'>

		<!-- CSS -->
		<link rel='stylesheet' type='text/css' href='css/reset.css'>
		<link rel='stylesheet' type='text/css' href='css/style.css'>

		<!-- JS -->
		<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
		<script src='js/util.js'></script>
		<script src='js/solve.js'></script>
		<script src='js/fast_solve_1.js'></script>
		<script src='js/fast_solve_2.js'></script>
		<script src='js/segmenter.js'></script>
		<script src='js/main.js'></script> <!-- $(window).load() -->

		<!--[if lt IE 9]>
			<script type="text/javascript" src="js/html5shiv.js"></script>
		<![endif]-->

	</head>
	<body onunload=''>
		<aside>
			<h1>Lumber Segmenter</h1>
			<p>
				Calculates cuts of lumber that minimize loss. Enter your lengths and quantities below, and a cut pattern will be generated.
			</p>
			<p>
			 	If a source quantity is left blank, it will be treated as an unlimited resource. Fractional length measurements such as "34 1/2" are welcome.
			</p>

			<h2>Settings</h2>
			<table>
				<tbody>
					<tr>
						<th>Saw Kerf</th>
						<td><input type="input"/></td> <!-- kerf -->
					</tr>
				</tbody>
				<tbody>
					<tr>
						<th>Mode</th>
						<td>
							<select name="mode" id="mode">
								<option selected="selected">Auto</option>
								<option>Optimal (Slow)</option>
								<option>Sub-Optimal 1</option>
								<option>Sub-Optimal 2</option>
							</select>
						</td>
					</tr>
				</tbody>
			</table>			

			<h2>Source Material<button id="add-source">+</button></h2>
			<table id="sources">
				<thead>
					<tr>
						<th>Length</th>
						<th>Quantity</th>
						<th></th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td><input class="length" type="input"/></td>
						<td><input class="quantity" type="number" min="0"/></td>
						<td><button class="delete">X</button></td>
					</tr>
				</tbody>
			</table>

			<h2>Cuts<button id="add-desire">+</button></h2>
			<table id="desires">
				<thead>
					<tr>
						<th>Length</th>
						<th>Quantity</th>
						<th></th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td><input class="length" type="input"/></td>
						<td><input class="quantity" type="number" min="0"/></td>
						<td><button class="delete">X</button></td>
					</tr>
				</tbody>
			</table>
		</aside>
		<section id="output">
			<header>
				<button>Run</button>
			</header>
		</section>



		<!--
		<section>
			<h1>Lumber Segmenter</h1>
		</section>
		<section id="header" class="dark">
				<div id="settings">
					<div class="left">
						<span>Saw kerf:</span>
						<select name="kerf" id="kerf">
							<option>0"</option>
							<option>1/16"</option>
							<option selected="selected">1/8"</option>
							<option>1/4"</option>
							<option>1/2"</option>
						</select>
					</div>
					<div class="right">
						<span>Mode:</span>
						<select name="mode" id="mode">
							<option selected="selected">Auto</option>
							<option>Optimal (Slow)</option>
							<option>Sub-Optimal 1</option>
							<option>Sub-Optimal 2</option>
						</select>
					</div>
					<br/>
					<button id="run" type="button">Run</button>
				</div>
				<div id="instructions">
					<p>
						Calculates cuts of lumber that minimize loss. Enter your lengths and quantities below, and a cut pattern will be generated.
					</p>
					<br/>
					<p>
					 	<span class="b">If a source quantity is left blank, it will be treated as an unlimited resource.</span> Fractional length measurements such as "34 1/2" are welcome.
					</p>
				</div>
		</section>
		<section id="main">
			<div>
				<h2>What you HAVE</h2>
				<ul id="have">
					<li>
						<span class="">Length:</span>
						<input class="length" type="input" name="length"/>
						<span class="spacer">Quantity:</span>
						<input class="quantity" type="number" name="quantity"/>
						<a href="" class="button remove spacer linkDisable">X</a>
					</li>
					<li class="add">
						<a href="" class="button add">Add</a>
					</li>
				</ul>
			</div>
			<div>
				<h2>What you WANT</h2>
				<ul id="need">
					<li>
						<span class="colorCode"></span>
						<span class="spacer">Length:</span>
						<input class="length" type="input" name="length"/>
						<span class="spacer">Quantity:</span>
						<input class="quantity" type="number" name="quantity"/>
						<a href="" class="button remove spacer linkDisable">X</a>
					</li>
					<li class="add">
						<a href="" class="button add">Add</a>
					</li>
				</ul>
			</div>
		</section>
		<section id="error" class="hide">
				<h2>Error</h2>
		</section>
		<section id="done" class="hide">
				<h2>Complete</h2>
		</section>
		<section class="result dark">
				<h1></h1>
				<canvas height='20' width='666'></canvas>
		</section>
		-->
	</body>
 </html><commit_msg>dumped old html<commit_after><!doctype html>

<!--
	Written and Designed by <NAME>
	because I got sick of doing it by hand...
-->

<html>
	<head>
		<!-- META -->
		<meta charset='utf-8'/>
		<meta name="author" content="<NAME>">
		<meta name="description" content="Lumber Segmentation Calculator - A tool for efficiently cutting wood">
		<meta name="keywords" content="lumber, calculator, wood, cut, calculate, layout">
		
		<title>Lumber Segmenter</title>
		<link rel='shortcut icon' type='image/png' href='favicon.png'>

		<!-- CSS -->
		<link rel='stylesheet' type='text/css' href='css/reset.css'>
		<link rel='stylesheet' type='text/css' href='css/style.css'>

		<!-- JS -->
		<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
		<script src='js/util.js'></script>
		<script src='js/solve.js'></script>
		<script src='js/fast_solve_1.js'></script>
		<script src='js/fast_solve_2.js'></script>
		<script src='js/segmenter.js'></script>
		<script src='js/main.js'></script> <!-- $(window).load() -->

		<!--[if lt IE 9]>
			<script type="text/javascript" src="js/html5shiv.js"></script>
		<![endif]-->

	</head>
	<body onunload=''>
		<aside>
			<h1>Lumber Segmenter</h1>
			<p>
				Calculates cuts of lumber that minimize loss. Enter your lengths and quantities below, and a cut pattern will be generated.
			</p>
			<p>
			 	If a source quantity is left blank, it will be treated as an unlimited resource. Fractional length measurements such as "34 1/2" are welcome.
			</p>

			<h2>Settings</h2>
			<table>
				<tbody>
					<tr>
						<th>Saw Kerf</th>
						<td><input type="input"/></td> <!-- kerf -->
					</tr>
					<tr>
						<th>Mode</th>
						<td>
							<select name="mode" id="mode">
								<option selected="selected">Auto</option>
								<option>Optimal (Slow)</option>
								<option>Sub-Optimal 1</option>
								<option>Sub-Optimal 2</option>
							</select>
						</td>
					</tr>
				</tbody>
			</table>			

			<h2>Source Material<button id="add-source">+</button></h2>
			<table id="sources">
				<thead>
					<tr>
						<th>Length</th><th>Quantity</th><th></th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td><input class="length" type="input"/></td>
						<td><input class="quantity" type="number" min="0"/></td>
						<td><button class="delete">X</button></td>
					</tr>
				</tbody>
			</table>

			<h2>Cuts<button id="add-desire">+</button></h2>
			<table id="desires">
				<thead>
					<tr>
						<th>Length</th><th>Quantity</th><th></th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td><input class="length" type="input"/></td>
						<td><input class="quantity" type="number" min="0"/></td>
						<td><button class="delete">X</button></td>
					</tr>
				</tbody>
			</table>
		</aside>
		<section id="output">
			<header>
				<button>Run</button>
			</header>
		</section>


		<!--
		<section id="error" class="hide">
				<h2>Error</h2>
		</section>
		<section id="done" class="hide">
				<h2>Complete</h2>
		</section>
		<section class="result dark">
				<h1></h1>
				<canvas height='20' width='666'></canvas>
		</section>
		-->
	</body>
 </html>
{'fraction_non_alphanumeric': 0.20898530109056423, 'fraction_numerical': 0.010905642484589853, 'mean_word_length': 2.766517857142857, 'pattern_counts': {'":': 0, '<': 420, '<?xml version=': 0, '>': 420, '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': '4953751', 'n_tokens_mistral': 3946, 'n_tokens_neox': 2980, 'n_words': 661}