<commit_before><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<meta name="author" content="@stephband" />
	<meta name="description" content="" />
	<meta name="viewport" content="width=device-width" />

	<title>Sparky</title>

	<script>document.documentElement.className = 'js loading';</script>

	<link rel="icon" type="image/png" href="images/favicon.png" />
	<link rel="apple-touch-icon" href="/apple-touch-icon.png" />

	<link rel="stylesheet" href="/bolt/package/css/bolt-0.9.8.css" />
	<link rel="stylesheet" href="css/grid.css" />
</head>

<body data-fn="test-scope">
	<select class="{[hello]}" id="test-select" name="name">
		<option data-fn="each" id="test-option"></option>
		<option value="{[key]}">{[value|multiply:7]}</option>
		<option value="1">one</option>
	</select>

	<p>{[name]}</p>

	<script src="modules/fn/polyfills/array.find.js"></script>
	<script src="modules/fn/polyfills/array.from.js"></script>
	<script src="modules/fn/polyfills/array.of.js"></script>
	<script src="modules/fn/polyfills/number.isnan.js"></script>
	<script src="modules/fn/polyfills/math.log10.js"></script>
	<script src="modules/fn/polyfills/symbol.js"></script>
	<script src="modules/fn/polyfills/promise.js"></script>
	<script src="modules/fn/polyfills/window.requestanimationframe.js"></script>
	<script src="modules/dom/polyfills/window.customevent.js"></script>
	<script src="modules/polyfills/window.performance.js"></script>
	<script src="modules/polyfills/window.console.group.js"></script>

	<script src="modules/fn/js/fn.js"></script>
	<script src="modules/fn/js/fn.observe.js"></script>
	<script src="modules/fn/js/events.js"></script>

	<script src="modules/dom/js/dom.js"></script>

	<script src="modules/collection/js/observe.js"></script>
	<script src="modules/collection/js/collection.js"></script>
	<script src="js/sparky.js"></script>
	<script src="js/sparky.observe.js"></script>
	<script src="js/sparky.render.js"></script>
	<script src="js/sparky.parse.js"></script>
	<script src="js/sparky.fn.js"></script>
	<script src="js/sparky.fn.each.js"></script>
	<script src="js/sparky.fn.value.js"></script>
	<script src="js/sparky.filters.js"></script>

	<script>
	var nothing = Fn.nothing;
	var noop    = Fn.noop;
	var curry   = Fn.curry;
	var apply   = Fn.apply;
	var get     = Fn.get;
	var set     = Fn.set;
	var each    = Fn.each;

	// Matches a sparky template tag, capturing (path, filter)
	var rtagstemplate = /({{0}})\s*([\w\-\.]+)\s*(?:\|([^\}]+))?\s*{{1}}/g;
	var rtags;

	// Matches a simple sparky template tag, capturing (path)
	var rsimpletagstemplate = /{{0}}\s*([\w\-\.\[\]]+)\s*{{1}}/g;
	var rsimpletags;

	// Matches tags plus any directly adjacent text
	var rclasstagstemplate = /[^\s]*{{0}}[^\}]+{{1}}[^\s]*/g;
	var rclasstags;

	// Matches filter string, capturing (filter name, filter parameter string)
	var rfilter = /\s*([a-zA-Z0-9_\-]+)\s*(?::(.+))?/;

	// Matches anything with a space
	var rspaces = /\s+/;

	// Matches anything that contains a non-space character
	var rtext = /\S/;

	// Matches the arguments list in the result of a fn.toString()
	var rarguments = /function(?:\s+\w+)?\s*(\([\w,\s]*\))/;




	var rpath   = /[\w\-\.]+/;
	var rstring = /".*?"|'.*?'/;
	var rnumber = /[+-]?(?:\d*\.)?\d+/;
	var rbool   = /true|false/;


	var rpathsplit = /["']?\](?:$|\.|\[["']?)|\[["']?/;
	var rtoken = /(\{\[)\s*(.*?)(?:\s*\|\s*(.*?))?\s*(\]\})/g;






	var Stream = Fn.Stream;
	var scopes = Stream.of({ name: [{a:1}, {a:2}, {a:3}] });
	var scope = {
		name: 'stephband'
	};

	var get    = Fn.get;
	var invoke = Fn.invoke;

	Sparky.fn['test-scope'] = function(node, scopes) {
		return Fn.of(scope);
	};

	function sanitise(node) {
		node.removeAttribute('id');
		node.removeAttribute('data-fn');<commit_msg>Format<commit_after><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<meta name="author" content="@stephband" />
	<meta name="description" content="" />
	<meta name="viewport" content="width=device-width" />

	<title>Sparky</title>

	<script>document.documentElement.className = 'js loading';</script>

	<link rel="icon" type="image/png" href="images/favicon.png" />
	<link rel="apple-touch-icon" href="/apple-touch-icon.png" />

	<link rel="stylesheet" href="/bolt/package/css/bolt-0.9.8.css" />
	<link rel="stylesheet" href="css/grid.css" />
</head>

<body data-fn="test-scope">
	<select class="{[hello]}" id="test-select" name="name">
		<option data-fn="each" id="test-option"></option>
		<option value="{[key]}">{[value|multiply:7]}</option>
		<option value="1">one</option>
	</select>

	<p>{[name]}</p>

	<script src="modules/fn/polyfills/array.find.js"></script>
	<script src="modules/fn/polyfills/array.from.js"></script>
	<script src="modules/fn/polyfills/array.of.js"></script>
	<script src="modules/fn/polyfills/number.isnan.js"></script>
	<script src="modules/fn/polyfills/math.log10.js"></script>
	<script src="modules/fn/polyfills/symbol.js"></script>
	<script src="modules/fn/polyfills/promise.js"></script>
	<script src="modules/fn/polyfills/window.requestanimationframe.js"></script>
	<script src="modules/dom/polyfills/window.customevent.js"></script>
	<script src="modules/polyfills/window.performance.js"></script>
	<script src="modules/polyfills/window.console.group.js"></script>

	<script src="modules/fn/js/fn.js"></script>
	<script src="modules/fn/js/fn.observe.js"></script>
	<script src="modules/fn/js/events.js"></script>

	<script src="modules/dom/js/dom.js"></script>

	<script src="modules/collection/js/observe.js"></script>
	<script src="modules/collection/js/collection.js"></script>
	<script src="js/sparky.js"></script>
	<script src="js/sparky.observe.js"></script>
	<script src="js/sparky.render.js"></script>
	<script src="js/sparky.parse.js"></script>
	<script src="js/sparky.fn.js"></script>
	<script src="js/sparky.fn.each.js"></script>
	<script src="js/sparky.fn.value.js"></script>
	<script src="js/sparky.filters.js"></script>

	<script>
	var nothing = Fn.nothing;
	var noop    = Fn.noop;
	var curry   = Fn.curry;
	var apply   = Fn.apply;
	var get     = Fn.get;
	var set     = Fn.set;
	var each    = Fn.each;

	// Matches a sparky template tag, capturing (path, filter)
	var rtagstemplate = /({{0}})\s*([\w\-\.]+)\s*(?:\|([^\}]+))?\s*{{1}}/g;
	var rtags;

	// Matches a simple sparky template tag, capturing (path)
	var rsimpletagstemplate = /{{0}}\s*([\w\-\.\[\]]+)\s*{{1}}/g;
	var rsimpletags;

	// Matches tags plus any directly adjacent text
	var rclasstagstemplate = /[^\s]*{{0}}[^\}]+{{1}}[^\s]*/g;
	var rclasstags;

	// Matches filter string, capturing (filter name, filter parameter string)
	var rfilter = /\s*([a-zA-Z0-9_\-]+)\s*(?::(.+))?/;

	// Matches anything with a space
	var rspaces = /\s+/;

	// Matches anything that contains a non-space character
	var rtext = /\S/;

	// Matches the arguments list in the result of a fn.toString()
	var rarguments = /function(?:\s+\w+)?\s*(\([\w,\s]*\))/;

	var rpath   = /[\w\-\.]+/;
	var rstring = /".*?"|'.*?'/;
	var rnumber = /[+-]?(?:\d*\.)?\d+/;
	var rbool   = /true|false/;


	var rpathsplit = /["']?\](?:$|\.|\[["']?)|\[["']?/;
	var rtoken = /(\{\[)\s*(.*?)(?:\s*\|\s*(.*?))?\s*(\]\})/g;






	var Stream = Fn.Stream;
	var scopes = Stream.of({ name: [{a:1}, {a:2}, {a:3}] });
	var scope = {
		name: 'stephband'
	};

	var get    = Fn.get;
	var invoke = Fn.invoke;

	Sparky.fn['test-scope'] = function(node, scopes) {
		return Fn.of(scope);
	};

	function sanitise(node) {
		node.removeAttribute('id');
		node.removeAttribute('data-fn');
{'fraction_non_alphanumeric': 0.24587985114300903, 'fraction_numerical': 0.005050505050505051, 'mean_word_length': 4.070754716981132, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 159, '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': '1725340', 'n_tokens_mistral': 3074, 'n_tokens_neox': 2874, 'n_words': 493}