<commit_before><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>timer</title>
    <style>

        body {
            background-color: #eee;
        }

        html, body, .timer {
            height: calc(100% - 20px);
            padding: 0;
            margin: 0;
        }

        .timer {
            overflow: hidden;
            margin: 20px auto;
        }

        .timer .rotate {
            width: 100%;
            height: 100%;
            display: block;
        }

        .timer .rotate #loader {
            fill: #egegeg;
        }
    </style>
</head>

<body>
<div class="timer">
    <svg class="rotate" viewbox="0 0 250 250">
        <path id="loader" transform="translate(125, 125)"/>
    </svg>
</div>
<script>


    var
            index = 0
            , seconds = [5, 8, 7, 3]
            , resolution = 20
            , loader = document.getElementById('loader')
            , α = 0
            , π = Math.PI
            , t = (seconds[index] / 360) * 1000;

    cycle();

    function cycle() {
        var length = seconds[index] * 1000;
        index++;
        if (index >= seconds.length) {
            index = 0;
        }
        console.log(length);
        doTimer(<commit_msg>intervals<commit_after><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>timer</title>
    <style>

        body {
            background-color: #eee;
        }

        html, body, .timer {
            height: calc(100% - 20px);
            padding: 0;
            margin: 0;
        }

        .timer {
            overflow: hidden;
            margin: 20px auto;
        }

        .timer .rotate {
            width: 100%;
            height: 100%;
            display: block;
        }

        .timer .rotate #loader {
            fill: #egegeg;
        }
    </style>
</head>

<body>
<div class="timer">
    <svg class="rotate" viewbox="0 0 250 250">
        <path id="loader" transform="translate(125, 125)"/>
    </svg>
</div>
<script>


    var
            index = 0
            , seconds = [20, 60]
            , resolution = 20
            , loader = document.getElementById('loader')
            , α = 0
            , π = Math.PI
            , t = (seconds[index] / 360) * 1000;

    cycle();

    function cycle() {
        var length = seconds[index] * 1000;
        index++;
        if (index >= seconds.length) {
            index = 0;
        }
        console.log(length);
        doTimer(
{'fraction_non_alphanumeric': 0.13821138211382114, 'fraction_numerical': 0.04065040650406504, 'mean_word_length': 1.2682027649769585, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 37, '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': '5640636', 'n_tokens_mistral': 844, 'n_tokens_neox': 726, 'n_words': 183}