<commit_before><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <title>playlists by date</title>
    <style>
        body {
            font-family: sans-serif;
            font-size: 100%;
        }

        #scroller {
            height: 500px;
            overflow: auto;
        }

        #playlists_by_date header {
            margin: 2em 0 0 0;
            padding: 2px;
            background: #000;
            color: #fff;
            font-size: 1em;
        }

        #playlists_by_date ul {
            /*margin: 0;
            padding: 0;
            list-style: none;*/
        }
    </style>
</head>
<body>
    <div id="scroller">
        <div id="playlists_by_date">
        </div>
    </div>

    <script src="wuvt/static/js/jquery.js"></script>
    <script src="wuvt/static/js/moment.min.js"></script>
<script>
var spacePerDay = 527;
//var displayDays = 30;

// number of days to display each time we scroll
var displayDays = 5;

// days of overlap on each side
var overlapDays = 1;

// we subtract these so the current day is really the last overlap day
var absoluteEnd = moment().endOf('day').subtract(overlapDays, 'days');
var absoluteStart = moment("2014-12-05");
//var start = moment("2007-09-07");

var displayEnd = absoluteEnd;
var displayStart = null;

var padTop = 0;
var padBottom = 0;

function updateData(end, displayDays, overlapDays, direction) {
    direction = typeof direction !== 'undefined' ? direction : 'down';

    var dates = [];<commit_msg>clean up variables a bit<commit_after><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <title>playlists by date</title>
    <style>
        body {
            font-family: sans-serif;
            font-size: 100%;
        }

        #scroller {
            height: 500px;
            overflow: auto;
        }

        #playlists_by_date header {
            margin: 2em 0 0 0;
            padding: 2px;
            background: #000;
            color: #fff;
            font-size: 1em;
        }

        #playlists_by_date ul {
            /*margin: 0;
            padding: 0;
            list-style: none;*/
        }
    </style>
</head>
<body>
    <div id="scroller">
        <div id="playlists_by_date">
        </div>
    </div>

    <script src="wuvt/static/js/jquery.js"></script>
    <script src="wuvt/static/js/moment.min.js"></script>
<script>
// an estimate of how much space each day takes
var spacePerDay = 527;

// number of days to display each time we scroll
var displayDays = 5;

// days of overlap on each side
var overlapDays = 1;

// we subtract these so the current day is really the last overlap day
var absoluteEnd = moment().endOf('day').subtract(overlapDays, 'days');
//var absoluteStart = moment("2014-12-05");
var absoluteStart = moment("2007-09-07");

// leave these alone
var displayEnd = absoluteEnd;
var displayStart = null;
var padTop = 0;
var padBottom = 0;

function updateData(end, displayDays, overlapDays, direction) {
    direction = typeof direction !== 'undefined' ? direction : 'down';

    var dates = [];
{'fraction_non_alphanumeric': 0.1318609938291653, 'fraction_numerical': 0.027281584930172135, 'mean_word_length': 2.1752577319587627, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '79515', 'n_tokens_mistral': 1038, 'n_tokens_neox': 938, 'n_words': 279}