<commit_before><!DOCTYPE HTML>
<html lang="en">

<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

	<title>Graphr - The JavaScript Graphing Calculator</title>

	<link rel="stylesheet" type="text/css" href="jsgcalc.css" />

	<script type="text/javascript" src="http://www.yerich.net/jquery.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/1.3.0/math.min.js"></script>
	<script type="text/javascript" src="calc.js"></script>
	<script type="text/javascript" src="jsgcalc.js"></script>
	<script type="text/javascript" src="jsgui.js"></script>

	<script type="text/javascript">

	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', 'UA-405998-11']);
	  _gaq.push(['_trackPageview']);

	  (function() {
	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	  })();

	</script>
	
	<script type="text/javascript">
	/* <![CDATA[ */
	    (function() {
	        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];

	        s.type = 'text/javascript';
	        s.async = true;
	        s.src = 'http://api.flattr.com/js/0.5.0/load.js?mode=auto';

	        t.parentNode.insertBefore(s, t);
	    })();
	/* ]]> */
	</script>
</head>

<body>

<div id="wrapper">

<div id="hideSidebar"><a href="javascript:void(0)" onclick="jsgui.hideSidebar()">&raquo;</a></div>
<div id="showSidebar"><a href="javascript:void(0)" onclick="jsgui.showSidebar()">&laquo;</a></div>

<div id="toolbar">
	<div id="tool_select">
		<a href="javascript:void(0)" onclick="jsgui.setTool('pointer')" id="tool_select_pointer" class="toolbar_option toolbar_selected">
		<img src="images/pointer.png" alt="Pointer" title="Pointer"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('trace')" id="tool_select_trace" class="toolbar_option">
		<img src="images/trace.png" alt="Trace" title="Trace"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('vertex')" id="tool_select_vertex" class="toolbar_option">
		<img src="images/minmax.png" alt="Local Minima/Maxima" title="Local Minima/Maxima"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('root')" id="tool_select_root" class="toolbar_option">
		<img src="images/root.png" alt="Root" title="Root"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('intersect')" id="tool_select_intersect" class="toolbar_option">
		<img src="images/intersect.png" alt="Intersect" title="Intersect"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('derivative')" id="tool_select_derivative" class="toolbar_option">
		<img src="images/derivative.png" alt="Derivative" title="Derivative"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('zoombox')" id="tool_select_zoombox" class="toolbar_option">
		<img src="images/zoombox.png" alt="ZoomBox" title="ZoomBox"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('zoomin')" id="tool_select_zoomin" class="toolbar_option">
		<img src="images/zoomin.png" alt="Zoom In" title="Zoom In"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('zoomout')" id="tool_select_zoomout" class="toolbar_option">
		<img src="images/zoomout.png" alt="Zoom Out" title="Zoom Out"/></a>
	</div>
</div>

<div id="toolboxes">
	<div class="toolbox" id="toolbox_zoombox">
		<div class="toolbox_header">
			<div class="toolbox_close"><a href="javascript: void(0)">close</a></div>
			Window Options
		</div>
		
		<div class="toolbox_main">
			<table>
				<tr>
					<td></td>
					<td align="center">y-max: <input id="toolbox_zoombox_ymax" class="jsgcalc_ymax" type="text" size="4" /></td>
					<td></td>
				</tr>
				<tr>
					<td>x-min:<br /><input id="toolbox_zoombox_xmin" class="jsgcalc_xmin" type="text" size="4" /></td>
					<td align="center"><img src="graph.png" style="width: 70px;"/></td>
					<td>x-max:<br /><input id="toolbox_zoombox_xmax" class="jsgcalc_xmax" type="text" size="4" /></td>
				</tr>
				<tr>
					<td></td>
					<td align="center">y-min: <input id="toolbox_zoombox_ymin" class="jsgcalc_ymin" type="text" size="4" /></td>
					<td></td>
				</tr>
			</table>
			
			<a class="fancybutton" href="javascript: void(0)" 
				onclick="jsgcalc.setWindow($('#toolbox_zoombox_xmin').val(), $('#toolbox_zoombox_xmax').val(), $('#toolbox_zoombox_ymin').val(), $('#toolbox_zoombox_ymax').val())">
					Apply</a>
			<br /><br />
			<a href="javascript: void(0);" onclick="jsgcalc.resetZoom()">Reset View</a>
		</div>
	</div>
	
	<div class="toolbox" id="toolbox_trace">
		<div class="toolbox_header">
			<div class="toolbox_close"><a href="javascript: void(0)">close</a></div>
			Trace
		</div>
		
		<div class="toolbox_main">
			x: <input id="toolbox_trace_input" class="jsgcalc_trace_input" type="text" size="20" style="width: 95%" /><br />
			y: <input id="toolbox_trace_output" class="jsgcalc_trace_output" type="text" size="20" style="width: 95%" /><br /><br />
			
			<a class="fancybutton" href="javascript: void(0)" onclick="jsgui.doTrace($('#toolbox_trace_input').val())">Trace</a><br />
		</div>
	</div>
</div>

<div id="sidewrapper">
	<div id="graph_sidebar">
		<h1 style="font-family: Lato, Arial, sans-serif; font-style: italic; font-size: 28pt; color: #3d94f6; text-shadow: 1px 1px #FFF ">Graphr</h1>
		<span style="font-size: 90%; position: relative; bottom: 4px;"><em>The JavaScript Graphing Calculator</em>
		</span><br /><br />

		<div id="graph_inputs">
			
		</div>
		<br />
		<div id="buttonbar">
			<a class="fancybutton" href="javascript:void(0)" onclick="jsgui.evaluate()">Evaluate</a>
			<a class="fancybutton" href="javascript:void(0)" onclick="jsgui.addInput()">+</a>
			<a class="fancybutton greybutton" href="javascript:void(0)" id="settings_button" onclick="$('#settings').toggle(400)"><img src='images/settings.png' alt='Settings' /></a><br /><br />
		</div>

		<div id="settings">
			<div id="angle_select" class="options_list">
				<a href="javascript:void(0)" onclick="jsgui.setAngles('degrees')" id="angle_select_degrees" class="option">DEG</a>
				<a href="javascript:void(0)" onclick="jsgui.setAngles('radians')" id="angle_select_radians" class="option option_selected">RAD</a>
				<a href="javascript:void(0)" onclick="jsgui.setAngles('gradians')" id="angle_select_gradians" class="option">GRAD</a>
			</div>
	
			<div id="gridlines_select" class="options_list">
				Gridlines:
				<a href="javascript:void(0)" onclick="jsgui.setGridlines('normal')" id="gridlines_select_normal" class="option option_selected">NORMAL</a>
				<a href="javascript:void(0)" onclick="jsgui.setGridlines('less')" id="gridlines_select_less" class="option">LESS</a>
				<a href="javascript:void(0)" onclick="jsgui.setGridlines('off')" id="gridlines_select_off" class="option">OFF</a>
			</div>
	
			<div id="quality_select" class="options_list">
				Precision:
				<a href="javascript:void(0)" onclick="jsgui.setQuality(0.1)" id="quality_select_01" class="option">LOW</a>
				<a href="javascript:void(0)" onclick="jsgui.setQuality(0.5)" id="quality_select_05" class="option">MED</a>
				<a href="javascript:void(0)" onclick="jsgui.setQuality(1)" id="quality_select_1" class="option option_selected">HIGH</a>
				<a href="javascript:void(0)" onclick="jsgui.setQuality(5)" id="quality_select_5" class="option">ULTRA</a>
			</div>
		</div>
		
		<a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://www.graphr.org/"></a>

		<p>By <a href="http://www.yerich.net"><NAME></a> | 
		<a href="javascript: void(0);" onclick="about()">Disclaimer</a> | <a href="https://github.com/yerich/Graphr">GitHub</a><br />
		<span style="color: #999">Development (version 0.4)</span></p>
		
	</div>
</div>
<commit_msg>rm flattr<commit_after><!DOCTYPE HTML>
<html lang="en">

<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

	<title>Graphr - The JavaScript Graphing Calculator</title>

	<link rel="stylesheet" type="text/css" href="jsgcalc.css" />

	<script type="text/javascript" src="http://www.yerich.net/jquery.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/1.3.0/math.min.js"></script>
	<script type="text/javascript" src="calc.js"></script>
	<script type="text/javascript" src="jsgcalc.js"></script>
	<script type="text/javascript" src="jsgui.js"></script>

	<script type="text/javascript">

	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', 'UA-405998-11']);
	  _gaq.push(['_trackPageview']);

	  (function() {
	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	  })();

	</script>
</head>

<body>

<div id="wrapper">

<div id="hideSidebar"><a href="javascript:void(0)" onclick="jsgui.hideSidebar()">&raquo;</a></div>
<div id="showSidebar"><a href="javascript:void(0)" onclick="jsgui.showSidebar()">&laquo;</a></div>

<div id="toolbar">
	<div id="tool_select">
		<a href="javascript:void(0)" onclick="jsgui.setTool('pointer')" id="tool_select_pointer" class="toolbar_option toolbar_selected">
		<img src="images/pointer.png" alt="Pointer" title="Pointer"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('trace')" id="tool_select_trace" class="toolbar_option">
		<img src="images/trace.png" alt="Trace" title="Trace"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('vertex')" id="tool_select_vertex" class="toolbar_option">
		<img src="images/minmax.png" alt="Local Minima/Maxima" title="Local Minima/Maxima"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('root')" id="tool_select_root" class="toolbar_option">
		<img src="images/root.png" alt="Root" title="Root"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('intersect')" id="tool_select_intersect" class="toolbar_option">
		<img src="images/intersect.png" alt="Intersect" title="Intersect"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('derivative')" id="tool_select_derivative" class="toolbar_option">
		<img src="images/derivative.png" alt="Derivative" title="Derivative"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('zoombox')" id="tool_select_zoombox" class="toolbar_option">
		<img src="images/zoombox.png" alt="ZoomBox" title="ZoomBox"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('zoomin')" id="tool_select_zoomin" class="toolbar_option">
		<img src="images/zoomin.png" alt="Zoom In" title="Zoom In"/></a>
		<a href="javascript:void(0)" onclick="jsgui.setTool('zoomout')" id="tool_select_zoomout" class="toolbar_option">
		<img src="images/zoomout.png" alt="Zoom Out" title="Zoom Out"/></a>
	</div>
</div>

<div id="toolboxes">
	<div class="toolbox" id="toolbox_zoombox">
		<div class="toolbox_header">
			<div class="toolbox_close"><a href="javascript: void(0)">close</a></div>
			Window Options
		</div>
		
		<div class="toolbox_main">
			<table>
				<tr>
					<td></td>
					<td align="center">y-max: <input id="toolbox_zoombox_ymax" class="jsgcalc_ymax" type="text" size="4" /></td>
					<td></td>
				</tr>
				<tr>
					<td>x-min:<br /><input id="toolbox_zoombox_xmin" class="jsgcalc_xmin" type="text" size="4" /></td>
					<td align="center"><img src="graph.png" style="width: 70px;"/></td>
					<td>x-max:<br /><input id="toolbox_zoombox_xmax" class="jsgcalc_xmax" type="text" size="4" /></td>
				</tr>
				<tr>
					<td></td>
					<td align="center">y-min: <input id="toolbox_zoombox_ymin" class="jsgcalc_ymin" type="text" size="4" /></td>
					<td></td>
				</tr>
			</table>
			
			<a class="fancybutton" href="javascript: void(0)" 
				onclick="jsgcalc.setWindow($('#toolbox_zoombox_xmin').val(), $('#toolbox_zoombox_xmax').val(), $('#toolbox_zoombox_ymin').val(), $('#toolbox_zoombox_ymax').val())">
					Apply</a>
			<br /><br />
			<a href="javascript: void(0);" onclick="jsgcalc.resetZoom()">Reset View</a>
		</div>
	</div>
	
	<div class="toolbox" id="toolbox_trace">
		<div class="toolbox_header">
			<div class="toolbox_close"><a href="javascript: void(0)">close</a></div>
			Trace
		</div>
		
		<div class="toolbox_main">
			x: <input id="toolbox_trace_input" class="jsgcalc_trace_input" type="text" size="20" style="width: 95%" /><br />
			y: <input id="toolbox_trace_output" class="jsgcalc_trace_output" type="text" size="20" style="width: 95%" /><br /><br />
			
			<a class="fancybutton" href="javascript: void(0)" onclick="jsgui.doTrace($('#toolbox_trace_input').val())">Trace</a><br />
		</div>
	</div>
</div>

<div id="sidewrapper">
	<div id="graph_sidebar">
		<h1 style="font-family: Lato, Arial, sans-serif; font-style: italic; font-size: 28pt; color: #3d94f6; text-shadow: 1px 1px #FFF ">Graphr</h1>
		<span style="font-size: 90%; position: relative; bottom: 4px;"><em>The JavaScript Graphing Calculator</em>
		</span><br /><br />

		<div id="graph_inputs">
			
		</div>
		<br />
		<div id="buttonbar">
			<a class="fancybutton" href="javascript:void(0)" onclick="jsgui.evaluate()">Evaluate</a>
			<a class="fancybutton" href="javascript:void(0)" onclick="jsgui.addInput()">+</a>
			<a class="fancybutton greybutton" href="javascript:void(0)" id="settings_button" onclick="$('#settings').toggle(400)"><img src='images/settings.png' alt='Settings' /></a><br /><br />
		</div>

		<div id="settings">
			<div id="angle_select" class="options_list">
				<a href="javascript:void(0)" onclick="jsgui.setAngles('degrees')" id="angle_select_degrees" class="option">DEG</a>
				<a href="javascript:void(0)" onclick="jsgui.setAngles('radians')" id="angle_select_radians" class="option option_selected">RAD</a>
				<a href="javascript:void(0)" onclick="jsgui.setAngles('gradians')" id="angle_select_gradians" class="option">GRAD</a>
			</div>
	
			<div id="gridlines_select" class="options_list">
				Gridlines:
				<a href="javascript:void(0)" onclick="jsgui.setGridlines('normal')" id="gridlines_select_normal" class="option option_selected">NORMAL</a>
				<a href="javascript:void(0)" onclick="jsgui.setGridlines('less')" id="gridlines_select_less" class="option">LESS</a>
				<a href="javascript:void(0)" onclick="jsgui.setGridlines('off')" id="gridlines_select_off" class="option">OFF</a>
			</div>
	
			<div id="quality_select" class="options_list">
				Precision:
				<a href="javascript:void(0)" onclick="jsgui.setQuality(0.1)" id="quality_select_01" class="option">LOW</a>
				<a href="javascript:void(0)" onclick="jsgui.setQuality(0.5)" id="quality_select_05" class="option">MED</a>
				<a href="javascript:void(0)" onclick="jsgui.setQuality(1)" id="quality_select_1" class="option option_selected">HIGH</a>
				<a href="javascript:void(0)" onclick="jsgui.setQuality(5)" id="quality_select_5" class="option">ULTRA</a>
			</div>
		</div>
		
		<p>By <a href="http://www.yerich.net"><NAME></a> | 
		<a href="javascript: void(0);" onclick="about()">Disclaimer</a> | <a href="https://github.com/yerich/Graphr">GitHub</a><br />
		<span style="color: #999">Development (version 0.4)</span></p>
		
	</div>
</div>

{'fraction_non_alphanumeric': 0.2196984279756176, 'fraction_numerical': 0.012191209496310555, 'mean_word_length': 5.721000431220354, 'pattern_counts': {'":': 0, '<': 404, '<?xml version=': 0, '>': 404, 'https://': 8, 'lorem ipsum': 0, 'www.': 7, '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': '6012307', 'n_tokens_mistral': 6208, 'n_tokens_neox': 5587, 'n_words': 890}