<commit_before>package de.egga.leap_year;

public class LeapYearChecker {

    public boolean isLeapYear(int year) {
        if (isDivisibleBy400(year)) {
            return true;
        }
        if (isDivisibleBy100(year)) {
            return false;
        }
        if (isDivisibleBy4(year)) {
            return true;
        }
        return false;
    }

    private boolean isDivisibleBy400(int year) {
        return asd(year, 400);
    }

    private boolean isDivisibleBy100(int year) {
        return asd(year, 100);
    }

    private boolean isDivisibleBy4(int year) {
        return asd(year, 4);
    }

    private boolean asd(int year, int i) {
        return year % i == 0;
    }
}
<commit_msg>method naming<commit_after>package de.egga.leap_year;

public class LeapYearChecker {

    public boolean isLeapYear(int year) {
        if (isDivisibleBy400(year)) {
            return true;
        }
        if (isDivisibleBy100(year)) {
            return false;
        }
        if (isDivisibleBy4(year)) {
            return true;
        }
        return false;
    }

    private boolean isDivisibleBy400(int year) {
        return isDivisibleBy(year, 400);
    }

    private boolean isDivisibleBy100(int year) {
        return isDivisibleBy(year, 100);
    }

    private boolean isDivisibleBy4(int year) {
        return isDivisibleBy(year, 4);
    }

    private boolean isDivisibleBy(int year, int i) {
        return year % i == 0;
    }
}

{'fraction_non_alphanumeric': 0.09128065395095368, 'fraction_numerical': 0.02997275204359673, 'mean_word_length': 1.9736842105263157, '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': '5826376', 'n_tokens_mistral': 497, 'n_tokens_neox': 455, 'n_words': 109}