<commit_before>function readURL(input) {
    if (input.files && input.files[0]) {
        var reader = new FileReader();
        reader.onload = function (e) {
            $('#img-preview').css("background","url('" +
                e.target.result + "') 50% 50% no-repeat");
         }
        reader.readAsDataURL(input.files[0]);
    }
}

$(function() {<commit_msg>RLY, SRSLY, FIX #3<commit_after>function readURL(input) {
    if (input.files && input.files[0]) {
        var reader = new FileReader();
        reader.onload = function (e) {
            $('#img-preview').css(
                "background","url('" + e.target.result + "') 50% 50% no-repeat").css(
                'background-size','contain'); // don't know how to set both in one go :(
         }
        reader.readAsDataURL(input.files[0]);
    }
}

$(function() {
{'fraction_non_alphanumeric': 0.18323353293413175, 'fraction_numerical': 0.015568862275449102, 'mean_word_length': 2.227799227799228, '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': '5176692', 'n_tokens_mistral': 274, 'n_tokens_neox': 262, 'n_words': 52}