<commit_before>package org.uio.autoscale.service;

import java.io.IOException;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * The runnable instance of Autoscale, for external usage.
 * @author toraba
 *
 */

//@Singleton
public class AutoscaleDaemon implements Runnable {
	private static Logger LOG = LoggerFactory.getLogger(AutoscaleDaemon.class);
    private static final AutoscaleDaemon instance = new AutoscaleDaemon();
    
    
	
	public AutoscaleDaemon() {
		LOG.debug("************** Autoscale Daemon Initialized **********");
		System.out.println("***************** AUTOSCALE *****************");
		Thread thread = new Thread(instance);
		thread.setDaemon(true);
		thread.setName("Autoscale daemon");
		thread.start();
	}

	@Override
	public void run() {
		LOG.debug("************** Autoscale Daemon Initialized RUN **********");
		System.out.println("***************** AUTOSCALE RUN *****************");
		try {
			Thread.sleep(1000);
			instance;
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		//LOG.debug("Run something here");<commit_msg>small change<commit_after>package org.uio.autoscale.service;

import java.io.IOException;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * The runnable instance of Autoscale, for external usage.
 * @author toraba
 *
 */

//@Singleton
public class AutoscaleDaemon implements Runnable {
	private static Logger LOG = LoggerFactory.getLogger(AutoscaleDaemon.class);
    private static final AutoscaleDaemon instance = new AutoscaleDaemon();
    
    
	
	public AutoscaleDaemon() {
		LOG.debug("************** Autoscale Daemon Initialized **********");
		System.out.println("***************** AUTOSCALE *****************");
		Thread thread = new Thread(instance);
		thread.setDaemon(true);
		thread.setName("Autoscale daemon");
		thread.start();
	}

	@Override
	public void run() {
		LOG.debug("************** Autoscale Daemon Initialized RUN **********");
		System.out.println("***************** AUTOSCALE RUN *****************");
		try {
			Thread.sleep(1000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		//LOG.debug("Run something here");
{'fraction_non_alphanumeric': 0.21375807940904895, 'fraction_numerical': 0.00554016620498615, 'mean_word_length': 4.856756756756757, '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': '7319315', 'n_tokens_mistral': 702, 'n_tokens_neox': 659, 'n_words': 147}