<commit_before>$(function () {

    // Initialize date pickers
    $('input[data-provides="anomaly.field_type.datetime"][name$="[date]"]:not([data-initialized])').each(function () {

        var input = $(this);

        input.prev('.icon').click(function () {
            input.focus();
        });

        input
            .attr('data-initialized', '')
            .datepicker({
                dateFormat: $(this).data('date-format'),
                yearRange: $(this).data('year-range'),
                minDate: $(this).data('min'),
                maxDate: $(this).data('max'),
                selectOtherMonths: true,
                showOtherMonths: true,
                changeMonth: true,
                changeYear: true
            });
    });

    // Initialize time pickers
    $('input[data-provides="anomaly.field_type.datetime"][name$="[time]:not([data-initialized])').each(function () {
<commit_msg>Fix JS issue<commit_after>$(function () {

    // Initialize date pickers
    $('input[data-provides="anomaly.field_type.datetime"][name$="[date]"]:not([data-initialized])').each(function () {

        var input = $(this);

        input.prev('.icon').click(function () {
            input.focus();
        });

        input
            .attr('data-initialized', '')
            .datepicker({
                dateFormat: $(this).data('date-format'),
                yearRange: $(this).data('year-range'),
                minDate: $(this).data('min'),
                maxDate: $(this).data('max'),
                selectOtherMonths: true,
                showOtherMonths: true,
                changeMonth: true,
                changeYear: true
            });
    });

    // Initialize time pickers
    $('input[data-provides="anomaly.field_type.datetime"][name$="[time]"]:not([data-initialized])').each(function () {

{'fraction_non_alphanumeric': 0.1792504073872895, 'fraction_numerical': 0.0, 'mean_word_length': 1.975767366720517, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2810457', 'n_tokens_mistral': 525, 'n_tokens_neox': 495, 'n_words': 68}