<commit_before>#!/usr/bin/env python3

import atexit
from concurrent.futures import ThreadPoolExecutor
import glob
import json
import logging
import math
import serial
import sys
import termios
import time


logger = logging.getLogger('app.smoothie_pyserial')


class Smoothie(object):
    _dict = {
        'absoluteMove' : "G90\r\nG0",
        'relativeMove' : "G91\r\nG0",
        'home' : "G28",
        'setupFeedback' : "M62",
        'off' : "M112",
        'on' : "M999",
        'speed_xyz' : "G0F",
        'speed_a' : "G0a",
        'speed_b' : "G0b",
        'speed_c' : "G0c",
        'reset' : 'reset'
    }

    theState = {
        'x': 0,
        'y': 0,
        'z': 0,
        'a': 0,
        'b': 0,
        'c': 0,
        'direction': {
            'x': 0,<commit_msg>removing termios import<commit_after>#!/usr/bin/env python3

import atexit
from concurrent.futures import ThreadPoolExecutor
import glob
import json
import logging
import math
import serial
import sys
import time


logger = logging.getLogger('app.smoothie_pyserial')


class Smoothie(object):
    _dict = {
        'absoluteMove' : "G90\r\nG0",
        'relativeMove' : "G91\r\nG0",
        'home' : "G28",
        'setupFeedback' : "M62",
        'off' : "M112",
        'on' : "M999",
        'speed_xyz' : "G0F",
        'speed_a' : "G0a",
        'speed_b' : "G0b",
        'speed_c' : "G0c",
        'reset' : 'reset'
    }

    theState = {
        'x': 0,
        'y': 0,
        'z': 0,
        'a': 0,
        'b': 0,
        'c': 0,
        'direction': {
            'x': 0,
{'fraction_non_alphanumeric': 0.15873015873015872, 'fraction_numerical': 0.035555555555555556, 'mean_word_length': 1.9348230912476723, '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': '3294192', 'n_tokens_mistral': 629, 'n_tokens_neox': 596, 'n_words': 133}