<commit_before><!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>smiley-slider</title>
<style type="text/css">

</style>

<script src="https://raw.github.com/dglittle/smiley-slider/master/smiley-slider.js"></script>
<script>

function onLoad() {
    var overrideImageSrc = "https://raw.github.com/dglittle/smiley-slider/master/smiley-slider.png"
    
    var s = new SmileySlider(document.getElementById("slider"), overrideImageSrc)
    
    s.position(0) // make it sad
    s.position(1) // make it happy
    
    var p = s.position() // get it's position
    s.position(p / 2) // make it half as happy
    
    s.position(function (p) {
        // do something when it changes
    })
}

</script>

<!-- Google Analytics -->
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-3118247-1']);
  _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 onload="onLoad">

<a href="https://github.com/dglittle/smiley-slider">source code</a>
<div id="slider" style="margin:100px"></div>

</body>
</html>
<commit_msg>improves visuals<commit_after><!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>smiley-slider</title>
<style type="text/css">

</style>

<script src="https://raw.github.com/dglittle/smiley-slider/master/smiley-slider.js"></script>
<script>

function onLoad() {
    var overrideImageSrc = "https://raw.github.com/dglittle/smiley-slider/master/smiley-slider.png"
    
    var s = new SmileySlider(document.getElementById("slider"), overrideImageSrc)
    
    s.position(0) // make it sad
    s.position(1) // make it happy
    
    var p = s.position() // get it's position
    s.position(p / 2) // make it half as happy
    
    s.position(function (p) {
        // do something when it changes
    })
}

</script>

<!-- Google Analytics -->
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-3118247-1']);
  _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 onload="onLoad()">

<table style="width:329px;margin-left:auto;margin-right:auto">
    <tr><td><div id="slider" style="margin-top:100px;margin-bottom:100px;"></div></td></tr>
    <tr><td align="center"><small><a href="https://github.com/dglittle/smiley-slider">source code</a></small></td></tr>
</table>

</body>
</html>

{'fraction_non_alphanumeric': 0.20204081632653062, 'fraction_numerical': 0.01292517006802721, 'mean_word_length': 3.7435483870967743, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, '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': '555292', 'n_tokens_mistral': 1055, 'n_tokens_neox': 1029, 'n_words': 191}