<commit_before>package org.robotframework.rappio.agent;

import java.awt.Frame;
import java.lang.instrument.Instrumentation;
import java.lang.management.ManagementFactory;
import java.lang.management.ThreadInfo;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;

import org.robotframework.remoteserver.RemoteServer;
import org.robotframework.swing.SwingLibrary;

public class TestJavaAgent {
	static ScheduledExecutorService executor = Executors.newScheduledThreadPool(1);

	public static void premain(String agentArgument, Instrumentation instrumentation){
		System.out.println("Java Agent! "+ManagementFactory.getRuntimeMXBean().getVmVersion());
		RemoteServer.configureLogging();
		RemoteServer server = new RemoteServer();
		server.putLibrary("/RPC2", new SwingLibrary());
		server.setPort(8181);
		server.setAllowStop(true);
		final Instrumentation inst = instrumentation;
		try {
			server.start();
		} catch (Exception e) {
			System.out.println("TODODOODODODODOODODODODO!!!");
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
                System.out.println("Frames: "+Frame.getFrames().length);
                for (Frame frame: Frame.getFrames()) {
                        System.out.println(""+frame.getTitle());
                }

                for(long id: ManagementFactory.getThreadMXBean().getAllThreadIds()){
                        ThreadInfo ti = ManagementFactory.getThreadMXBean().getThreadInfo(id);
                        System.out.println("Thread: "+ti.getThreadName());
                }
	}

}
<commit_msg>still passing on windows<commit_after>package org.robotframework.rappio.agent;

import java.awt.Frame;
import java.lang.instrument.Instrumentation;
import java.lang.management.ManagementFactory;
import java.lang.management.ThreadInfo;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;

import org.robotframework.remoteserver.RemoteServer;
import org.robotframework.swing.SwingLibrary;

public class TestJavaAgent {
	static ScheduledExecutorService executor = Executors.newScheduledThreadPool(1);

	public static void premain(String agentArgument, Instrumentation instrumentation){
		System.out.println("Java Agent! "+ManagementFactory.getRuntimeMXBean().getVmVersion());
		RemoteServer.configureLogging();
		RemoteServer server = new RemoteServer();
		server.putLibrary("/RPC2", new SwingLibrary());
		server.setPort(8181);
		server.setAllowStop(true);
		final Instrumentation inst = instrumentation;
		try {
			server.start();
		} catch (Exception e) {
			System.out.println("TODODOODODODODOODODODODO!!!");
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
                System.out.println("Frames: "+Frame.getFrames().length);
                for (Frame frame: Frame.getFrames()) {
                        System.out.println(""+frame.getTitle());
                }

	}

}

{'fraction_non_alphanumeric': 0.11380225613802256, 'fraction_numerical': 0.003981420039814201, 'mean_word_length': 3.9834710743801653, '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': '4229804', 'n_tokens_mistral': 896, 'n_tokens_neox': 822, 'n_words': 149}