<commit_before>package helloworld;

import java.util.Arrays;
import java.util.Calendar;

/**
 * Hello world!
 * @author <NAME>
 */
public class HelloWorld {
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        int hour = Calendar.getInstance().get(Calendar.HOUR_OF_DAY);
        
        if (5 <= hour && hour < 12) {
            System.out.println("Good morning!");
        } else if (hour == 12) {
            System.out.println("Noon time!");
        } else if (12 < hour && hour < 17) {
            System.out.println("Good afternoon!");
        } else if (17 <= hour && hour < 19) {
            System.out.println("Good evening!");
        } else {
            System.out.println("Good night!");
        }
        
        int[][] chessBoard = new int[8][];
        
        Book harryPotterBook = new Book("Harry Potter and the Half-Blood Prince", "<NAME>", 2005);
        Book harryPotterBook2 = new Book("Harry Potter and the Half-Blood Prince", "<NAME>", 2005);
        Book orwellBook = new Book("1984", "<NAME>", 1949);
        
        System.out.println(harryPotterBook.equals(orwellBook));
        System.out.println(harryPotterBook.equals(harryPotterBook2));
        
        DayOfWeek dayOfWeek = DayOfWeek.WEDNESDAY;
        
        if (dayOfWeek == DayOfWeek.MONDAY) {
            System.out.println("Today is Monday!");
        } else {
            System.out.println("Today is not Monday :(");
        }
        
        int[] cubes = new int[10];
        int sum = 0;
        for (int i = 0; i < 10; i++) {
            cubes[i] = (int) Math.pow(i + 1, 3);
            sum += cubes[i];
        }
        
        System.out.println(Arrays.toString(cubes));
        System.out.println(sum);
    }<commit_msg>HelloWorld: Comment sections<commit_after>package helloworld;

import java.util.Arrays;
import java.util.Calendar;

/**
 * Hello world!
 * @author <NAME>
 */
public class HelloWorld {
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // if-else statements
        int hour = Calendar.getInstance().get(Calendar.HOUR_OF_DAY);
        
        if (5 <= hour && hour < 12) {
            System.out.println("Good morning!");
        } else if (hour == 12) {
            System.out.println("Noon time!");
        } else if (12 < hour && hour < 17) {
            System.out.println("Good afternoon!");
        } else if (17 <= hour && hour < 19) {
            System.out.println("Good evening!");
        } else {
            System.out.println("Good night!");
        }
        
        // Multi-dimensional arrays
        int[][] chessBoard = new int[8][];
        
        // Object creation
        Book harryPotterBook = new Book("Harry Potter and the Half-Blood Prince", "<NAME>", 2005);
        Book harryPotterBook2 = new Book("Harry Potter and the Half-Blood Prince", "<NAME>", 2005);
        Book orwellBook = new Book("1984", "<NAME>", 1949);
        
        // .equals (*not* ==)
        System.out.println(harryPotterBook.equals(orwellBook));
        System.out.println(harryPotterBook.equals(harryPotterBook2));
        
        // Enums
        DayOfWeek dayOfWeek = DayOfWeek.WEDNESDAY;
        
        if (dayOfWeek == DayOfWeek.MONDAY) {
            System.out.println("Today is Monday!");
        } else {
            System.out.println("Today is not Monday :(");
        }
        
        // for loops
        int[] cubes = new int[10];
        int sum = 0;
        for (int i = 0; i < 10; i++) {
            cubes[i] = (int) Math.pow(i + 1, 3);
            sum += cubes[i];
        }
        
        System.out.println(Arrays.toString(cubes));
        System.out.println(sum);
    }
{'fraction_non_alphanumeric': 0.14323748668796593, 'fraction_numerical': 0.021299254526091587, 'mean_word_length': 1.8723241590214068, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 11, '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': '5192327', 'n_tokens_mistral': 1196, 'n_tokens_neox': 1098, 'n_words': 273}