<commit_before>var slides = ["slide3-01.png",
			  "slide3-02.png",
			  "slide3-03.png",
			  "slide3-06.png",
			  "slide3-07.png",
			  "slide3-08.png"]
var index = 0

window.onload = function() {
	changeSlides()
}

function keyEvent(event) {
	if (event.keyCode == 37) {
		if (index > 0) {
			index--;
			changeSlides()
		}
	} else if (event.keyCode == 39) {
		if (index < slides.length - 1) {
			index++;
			changeSlides()
		}
	}
}

function changeSlides() {
	var slideDiv = document.getElementById("slides")
	if (slideDiv.children[0] != null) {
		slideDiv.removeChild(slideDiv.children[0])
	}

	var img = document.createElement("img")
	img.setAttribute("src", slides[index])

	slideDiv.appendChild(img)
}<commit_msg>Convert indentation to spaces<commit_after>var slides = ["slide3-01.png",
              "slide3-02.png",
              "slide3-03.png",
              "slide3-06.png",
              "slide3-07.png",
              "slide3-08.png"]
var index = 0

window.onload = function() {
    changeSlides()
}

function keyEvent(event) {
    if (event.keyCode == 37) {
        if (index > 0) {
            index--;
            changeSlides()
        }
    } else if (event.keyCode == 39) {
        if (index < slides.length - 1) {
            index++;
            changeSlides()
        }
    }
}

function changeSlides() {
    var slideDiv = document.getElementById("slides")
    if (slideDiv.children[0] != null) {
        slideDiv.removeChild(slideDiv.children[0])
    }

    var img = document.createElement("img")
    img.setAttribute("src", slides[index])

    slideDiv.appendChild(img)
}
{'fraction_non_alphanumeric': 0.1575984990619137, 'fraction_numerical': 0.03377110694183865, 'mean_word_length': 2.397027600849257, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1721122', 'n_tokens_mistral': 599, 'n_tokens_neox': 541, 'n_words': 101}