<commit_before>(function($) {
    'use strict';

    if(typeof $ !== 'undefined') {
        var body;
        var site_holder;
        var fixed_top_auto;

        $(document).ready(function() {
            body = $('body');
            site_holder = $('.site');
            if(site_holder.length === 0) {
                site_holder = body;
            }
            fixed_top_auto = $('.navbar.fixed-top.auto-padding');
            $('.btn-scroll-top').pandoOnClickScrollTop();
            fixedCheck();
        });

        $(window).on('load', function() {
            fixedCheck();
        }).on('scroll', function() {
            scrollCheck();
        });

        var fixedCheck = function() {
            if(typeof site_holder === 'undefined') {
                return;
            }
            if(fixed_top_auto.length > 0) {
                site_holder.css('padding-top', fixed_top_auto.outerHeight(true));
            }
        };

        var scrollCheck = function() {
            if(typeof body === 'undefined') {
                return;
            }
            var scroll_top = $(window).scrollTop();
            if(scroll_top > 5) {
                body.addClass('is-scrolled');
            } else {<commit_msg>scrollcheck fix<commit_after>(function($) {
    'use strict';

    if(typeof $ !== 'undefined') {
        var body;
        var site_holder;
        var fixed_top_auto;

        $(document).ready(function() {
            body = $('body');
            site_holder = $('.site');
            if(site_holder.length === 0) {
                site_holder = body;
            }
            fixed_top_auto = $('.navbar.fixed-top.auto-padding');
            $('.btn-scroll-top').pandoOnClickScrollTop();
            fixedCheck();
            scrollCheck();
        });

        $(window).on('load', function() {
            fixedCheck();
        }).on('scroll', function() {
            scrollCheck();
        });

        var fixedCheck = function() {
            if(typeof site_holder === 'undefined') {
                return;
            }
            if(fixed_top_auto.length > 0) {
                site_holder.css('padding-top', fixed_top_auto.outerHeight(true));
            }
        };

        var scrollCheck = function() {
            if(typeof body === 'undefined') {
                return;
            }
            var scroll_top = $(window).scrollTop();
            if(scroll_top > 5) {
                body.addClass('is-scrolled');
            } else {
{'fraction_non_alphanumeric': 0.14893617021276595, 'fraction_numerical': 0.0024086712163789645, 'mean_word_length': 1.4217687074829932, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4880131', 'n_tokens_mistral': 680, 'n_tokens_neox': 645, 'n_words': 112}