<commit_before><!DOCTYPE html>
<html>
<head>
	<title>Factorio Calc</title>
	<script type="text/javascript">
		DATALIBS = [
			'core-0-10-0',
			'core-0-9-8',
		]
	</script>
	<script type="text/javascript" src="lua.vm.js"></script>
	<script type="text/javascript" src="ffi.js"></script>
	<script src="http://fb.me/react-0.10.0.js"></script>
    <script src="http://fb.me/JSXTransformer-0.10.0.js"></script>
    <link rel="stylesheet" href="calc.css">
    <script type="text/jsx" src="calc.jsx"></script>
    <link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
	<script type="text/lua">
		if #window.location.hash == 0 then
			window.location.hash = '#core-0-10-0'
		end
		datalib = window.location.hash:sub(2)
		js.global.CURRENT_LIB = datalib
		
		require('dataloader')
		require('data.'..datalib)
		require('calc')
		require('ffi')
		js.global:renderCalc(to_js_val(data.raw.recipe))
		function calc_request(recipe, ips)
			return to_js_val(request(tostring(recipe), ips))
		end
		js.global.calcRequest = calc_request
	</script>
	
</head>
<body>
<ul>
	<div id="calc"></div>
</ul>

</body>
</html><commit_msg>add GA<commit_after><!DOCTYPE html>
<html>
<head>
	<title>Factorio Calc</title>
	<script type="text/javascript">
		DATALIBS = [
			'core-0-10-0',
			'core-0-9-8',
		]
	</script>
	<script type="text/javascript" src="lua.vm.js"></script>
	<script type="text/javascript" src="ffi.js"></script>
	<script src="http://fb.me/react-0.10.0.js"></script>
    <script src="http://fb.me/JSXTransformer-0.10.0.js"></script>
    <link rel="stylesheet" href="calc.css">
    <script type="text/jsx" src="calc.jsx"></script>
    <link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
	<script type="text/lua">
		if #window.location.hash == 0 then
			window.location.hash = '#core-0-10-0'
		end
		datalib = window.location.hash:sub(2)
		js.global.CURRENT_LIB = datalib
		
		require('dataloader')
		require('data.'..datalib)
		require('calc')
		require('ffi')
		js.global:renderCalc(to_js_val(data.raw.recipe))
		function calc_request(recipe, ips)
			return to_js_val(request(tostring(recipe), ips))
		end
		js.global.calcRequest = calc_request
	</script>
	
</head>
<body>
<ul>
	<div id="calc"></div>
</ul>

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-825268-3', 'auto');
  ga('send', 'pageview');

</script>
</body>
</html>
{'fraction_non_alphanumeric': 0.22160766961651918, 'fraction_numerical': 0.021386430678466076, 'mean_word_length': 4.536734693877551, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '7404711', 'n_tokens_mistral': 1172, 'n_tokens_neox': 1092, 'n_words': 146}