<commit_before>package edu.stanford.junction.sample.helloworld;

import java.net.URI;

import org.jivesoftware.smack.XMPPConnection;

import edu.stanford.junction.JunctionMaker;
import edu.stanford.junction.impl.xmpp.XMPPSwitchboardConfig;

public class HelloWorld {
	
	
	public static void main(String argv[]) {
		try {
			URI JX_URI = new URI("junction://prpl.stanford.edu/23917312j31hlks");
			
			Receiver receiver = new Receiver();
			Sender sender = new Sender();
			
			XMPPSwitchboardConfig config = new XMPPSwitchboardConfig("prpl.stanford.edu");
			JunctionMaker jm = JunctionMaker.getInstance(config);
			jm.newJunction(JX_URI, receiver);
			jm.newJunction(JX_URI, sender);
			
			// keepalive sleep.
			Object sleep = new Object();
			synchronized(sleep) {
				sleep.wait();
			}
		} catch (Exception e) {<commit_msg>Added Junction Maker to Hello Junction Demo<commit_after>package edu.stanford.junction.sample.helloworld;

import java.net.URI;

import org.jivesoftware.smack.XMPPConnection;

import edu.stanford.junction.JunctionMaker;
import edu.stanford.junction.impl.xmpp.XMPPSwitchboardConfig;

public class HelloWorld {
	
	
	public static void main(String argv[]) {
		try {
			URI JX_URI = new URI("junction://prpl.stanford.edu/23917312j31hlks");
			
			Receiver receiver = new Receiver();
			Sender sender = new Sender();
			
			XMPPSwitchboardConfig config = new XMPPSwitchboardConfig("prpl.stanford.edu");
			JunctionMaker jm1 = JunctionMaker.getInstance(config);
			jm1.newJunction(JX_URI, receiver);
			
			JunctionMaker jm2 = JunctionMaker.getInstance(config);
			jm2.newJunction(JX_URI, sender);
			
			// keepalive sleep.
			Object sleep = new Object();
			synchronized(sleep) {
				sleep.wait();
			}
		} catch (Exception e) {
{'fraction_non_alphanumeric': 0.11009697661152311, 'fraction_numerical': 0.013690815744438107, 'mean_word_length': 4.204747774480712, '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': '6441069', 'n_tokens_mistral': 705, 'n_tokens_neox': 596, 'n_words': 115}