<commit_before>(function($) {

    var defaultSettings = {
        highlightImageName: 'circle',
        arrowImageName: 'arrow',
        imagesPath: '/img/',
        verticalPosition: 'top',
        horizontalPosition: 'left',
        arrowDimensions: {width: 80, height: 80},
        helptextDimensions: null, // {width, height}
        helptextOffset: null, // {left/right, top/bottom}
        visible: true,
        text: null,
        extra_id: null
    };

    $.fn.guides = function(settings) {
        settings = jQuery.extend(settings, jQuery.extend({}, defaultSettings, settings));

        this.each(function() {
            var guideLayerObj = $('<div class="guide_layer" />');
            if (!settings.visible)
                guideLayerObj.css('display', 'none');
            var $this = $(this);
            $this.css({'z-index': 2, position: 'relative'});
            $this.find('a').css({'z-index': 2, position: 'relative'});
            var guideRelativeLayerObj = $('<div style="position: relative;" />');
            var offset = $this.offset();
            var this_top = offset.top;
            var this_left = offset.left;
            if (settings.highlightImageName === null)
                var highlighterDimensions = {width: $this.outerWidth(), height: $this.outerHeight()};
            else
                var highlighterDimensions = {width: $this.outerWidth() + 10, height: $this.outerHeight() + 10};
            var highlighterOffset = {};
            var arrowOffset = {};
            var helptextOffset = settings.helptextOffset;
            if (settings.helptextOffset === null)
                helptextOffset = {};
            var layerDimensions = {
                width: (settings.arrowDimensions.width + highlighterDimensions.width * 0.8),
                height: (settings.arrowDimensions.height + highlighterDimensions.height * 0.8)
            };
            var layerOffset = {};
            switch (settings.verticalPosition) {
                case 'top':
                    layerOffset['top'] = -settings.arrowDimensions.height + highlighterDimensions.height * 0.1;<commit_msg>smallfix<commit_after>(function($) {

    var defaultSettings = {
        highlightImageName: 'circle',
        arrowImageName: 'arrow',
        imagesPath: '/img/',
        verticalPosition: 'top',
        horizontalPosition: 'left',
        arrowDimensions: {width: 80, height: 80},
        helptextDimensions: null, // {width, height}
        helptextOffset: null, // {left/right, top/bottom}
        visible: true,
        text: null,
        extra_id: null
    };

    $.fn.guide = function(settings) {
        settings = jQuery.extend(settings, jQuery.extend({}, defaultSettings, settings));

        this.each(function() {
            var guideLayerObj = $('<div class="guide_layer" />');
            if (!settings.visible)
                guideLayerObj.css('display', 'none');
            var $this = $(this);
            $this.css({'z-index': 2, position: 'relative'});
            $this.find('a').css({'z-index': 2, position: 'relative'});
            var guideRelativeLayerObj = $('<div style="position: relative;" />');
            var offset = $this.offset();
            var this_top = offset.top;
            var this_left = offset.left;
            if (settings.highlightImageName === null)
                var highlighterDimensions = {width: $this.outerWidth(), height: $this.outerHeight()};
            else
                var highlighterDimensions = {width: $this.outerWidth() + 10, height: $this.outerHeight() + 10};
            var highlighterOffset = {};
            var arrowOffset = {};
            var helptextOffset = settings.helptextOffset;
            if (settings.helptextOffset === null)
                helptextOffset = {};
            var layerDimensions = {
                width: (settings.arrowDimensions.width + highlighterDimensions.width * 0.8),
                height: (settings.arrowDimensions.height + highlighterDimensions.height * 0.8)
            };
            var layerOffset = {};
            switch (settings.verticalPosition) {
                case 'top':
                    layerOffset['top'] = -settings.arrowDimensions.height + highlighterDimensions.height * 0.1;
{'fraction_non_alphanumeric': 0.1353135313531353, 'fraction_numerical': 0.007543611504007544, 'mean_word_length': 2.072411296162201, 'pattern_counts': {'":': 0, '<': 7, '<?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': '5409444', 'n_tokens_mistral': 1158, 'n_tokens_neox': 1115, 'n_words': 243}