<commit_before>$.fn.awesomeRating = function(options) {
    //-- Normalize passed options
    options = options || {};
    //-----------------------------------------------
    //-- Options' Initialization can be done here.
    //-----------------------------------------------

    //-- Setup default initial values that will be overridden by passed options
    var defaultOptions = {
        values              : [ 1, 2, 3, 4, 5 ],
        valueInitial        : null,
        cssBase             : "rating-star fa",
        cssBaseSelected     : "fa-star",
        cssBaseUnselected   : "fa-star-o",
        cssValuesSelected   : [ "first-selected", "second-selected", "third-selected", "forth-selected", "fifth-selected" ],
        cssValuesUnselected : [ "first-unselected", "second-unselected", "third-unselected", "forth-unselected", "fifth-unselected" ],
        cssHover            : "rating-star-hover",
        cssFractional       : "rating-star-fractional",
        targetSelector      : null,
        htmlBase            : "<div></div>",
        htmlEvent           : "click",
        applyHoverCss       : false,
        readonly            : false,
        allowFractional     : false,
        calculateFractional : null,
        eventName           : "rated"
    };

    return this.each(function() {
        //-- Check if plugin is already initialized
        if (this._awesomeRatingApi) { return; }
<commit_msg>Apply hover behaviour by default<commit_after>$.fn.awesomeRating = function(options) {
    //-- Normalize passed options
    options = options || {};
    //-----------------------------------------------
    //-- Options' Initialization can be done here.
    //-----------------------------------------------

    //-- Setup default initial values that will be overridden by passed options
    var defaultOptions = {
        values              : [ 1, 2, 3, 4, 5 ],
        valueInitial        : null,
        cssBase             : "rating-star fa",
        cssBaseSelected     : "fa-star",
        cssBaseUnselected   : "fa-star-o",
        cssValuesSelected   : [ "first-selected", "second-selected", "third-selected", "forth-selected", "fifth-selected" ],
        cssValuesUnselected : [ "first-unselected", "second-unselected", "third-unselected", "forth-unselected", "fifth-unselected" ],
        cssHover            : "rating-star-hover",
        cssFractional       : "rating-star-fractional",
        targetSelector      : null,
        htmlBase            : "<div></div>",
        htmlEvent           : "click",
        applyHoverCss       : true,
        readonly            : false,
        allowFractional     : false,
        calculateFractional : null,
        eventName           : "rated"
    };

    return this.each(function() {
        //-- Check if plugin is already initialized
        if (this._awesomeRatingApi) { return; }

{'fraction_non_alphanumeric': 0.1787204450625869, 'fraction_numerical': 0.0034770514603616135, 'mean_word_length': 1.5303430079155673, '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': '7351047', 'n_tokens_mistral': 751, 'n_tokens_neox': 726, 'n_words': 172}