<commit_before>from .java_executor import JavacExecutor
from judgeenv import env


class Executor(JavacExecutor):
    compiler = env['runtime'].get('javac')
    vm = env['runtime'].get('java')

    test_program = '''\
import java.io.IOException;
import java.util.Scanner;

public class self_test {
    public static void main(String[] args) {
        Runnable test = () -> {
            Scanner in = new Scanner(System.in);
            System.out.println(in.nextLine());
        };
        test.run();
    }
}'''


initialize = Executor.initialize<commit_msg>Forget that, I can't read; #42<commit_after>from .java_executor import JavacExecutor
from judgeenv import env


class Executor(JavacExecutor):
    compiler = env['runtime'].get('javac')
    vm = env['runtime'].get('java')

    test_program = '''\
public class self_test {
    public static void main(String[] args) throws java.io.IOException {
        byte[] buffer = new byte[4096];
        int read;
        while ((read = System.in.read(buffer)) >= 0)
            System.out.write(buffer, 0, read);
    }
}'''


initialize = Executor.initialize
{'fraction_non_alphanumeric': 0.13743218806509946, 'fraction_numerical': 0.007233273056057866, 'mean_word_length': 3.1152416356877324, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4355771', 'n_tokens_mistral': 345, 'n_tokens_neox': 330, 'n_words': 81}