<commit_before>package nl.wiegman.sensortag;

import net.sf.expectit.Expect;
import net.sf.expectit.ExpectBuilder;
import net.sf.expectit.Result;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.concurrent.TimeUnit;

import static net.sf.expectit.filter.Filters.removeColors;
import static net.sf.expectit.filter.Filters.removeNonPrintable;
import static net.sf.expectit.matcher.Matchers.*;

@Component
public class SensorTagReader {

    private static final Logger LOG = LoggerFactory.getLogger(OldSensorTagReader.class);

    @Autowired
    private KlimaatReadingPersister klimaatReadingPersister;

    @Value("${sensortag.bluetooth.address}")
    private String sensortagBluetoothAddress;

    @Value("${sensortag.probetime.seconds}")<commit_msg>Clean up old class and fix logger<commit_after>package nl.wiegman.sensortag;

import net.sf.expectit.Expect;
import net.sf.expectit.ExpectBuilder;
import net.sf.expectit.Result;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.concurrent.TimeUnit;

import static net.sf.expectit.filter.Filters.removeColors;
import static net.sf.expectit.filter.Filters.removeNonPrintable;
import static net.sf.expectit.matcher.Matchers.*;

@Component
public class SensorTagReader {

    private static final Logger LOG = LoggerFactory.getLogger(SensorTagReader.class);

    @Autowired
    private KlimaatReadingPersister klimaatReadingPersister;

    @Value("${sensortag.bluetooth.address}")
    private String sensortagBluetoothAddress;

    @Value("${sensortag.probetime.seconds}")
{'fraction_non_alphanumeric': 0.09795530194959581, 'fraction_numerical': 0.0019020446980504042, 'mean_word_length': 6.084175084175084, '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': '6983731', 'n_tokens_mistral': 628, 'n_tokens_neox': 635, 'n_words': 113}