<commit_before>package fact;

import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;
import java.net.InetAddress;
import java.net.Socket;
import java.util.Scanner;

public class FactClient {

	public class Listen extends Thread {

		Socket socket;
		InputStream sInput;

		public Listen(Socket socket) {
			try {
				this.socket = socket;
				sInput  = socket.getInputStream();
			} catch (Exception e) {}
		}

		@SuppressWarnings("resource")
		public void run() {
			Scanner sc = new Scanner(sInput);
			while (true) {
				if (sc.hasNext()) {
					String msg = sc.nextLine();
					System.out.println(msg);
				}
			}
		}
	}

	public void run() {
		InetAddress address;
		Socket socket;
		Listen listen;
		Scanner scanner;
		String msg;

		try {
			address = InetAddress.getLocalHost();
			socket = new Socket(address, 50000);
			listen = new Listen(socket);
			listen.start();
			PrintStream output = new PrintStream(socket.getOutputStream());
			scanner = new Scanner(System.in);
			while (true) {
				msg = scanner.nextLine();
				output.println(msg);
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

	public static void main(String argv[]) {
		try {
			FactClient c = new FactClient();
			c.run();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
<commit_msg>Refactoring variable peu explicite<commit_after>package fact;

import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;
import java.net.InetAddress;
import java.net.Socket;
import java.util.Scanner;

public class FactClient {

	public class Listen extends Thread {

		Socket socket;
		InputStream sInput;

		public Listen(Socket socket) {
			try {
				this.socket = socket;
				sInput  = socket.getInputStream();
			} catch (Exception e) {}
		}

		@SuppressWarnings("resource")
		public void run() {
			Scanner sc = new Scanner(sInput);
			while (true) {
				if (sc.hasNext()) {
					String msg = sc.nextLine();
					System.out.println(msg);
				}
			}
		}
	}

	public void run() {
		InetAddress address;
		Socket socket;
		Listen listen;
		Scanner scanner;
		String msg;

		try {
			address = InetAddress.getLocalHost();
			socket = new Socket(address, 50000);
			listen = new Listen(socket);
			listen.start();
			PrintStream output = new PrintStream(socket.getOutputStream());
			scanner = new Scanner(System.in);
			while (true) {
				msg = scanner.nextLine();
				output.println(msg);
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

	public static void main(String argv[]) {
		try {
			FactClient client = new FactClient();
			client.run();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}

{'fraction_non_alphanumeric': 0.12448443944506937, 'fraction_numerical': 0.0037495313085864268, 'mean_word_length': 3.248407643312102, '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': '6944758', 'n_tokens_mistral': 1036, 'n_tokens_neox': 853, 'n_words': 219}