<commit_before>package util

import (
	"bufio"
	"errors"
	"fmt"
	"image"
	"io"
	"math"
	"os/exec"
	"runtime"
	"strings"
	"time"

	"github.com/ninjasphere/go-ninja/config"
	"github.com/tarm/serial"
)

var ledPath = config.String("/dev/tty.ledmatrix", "led.tty")

var cmdWriteBuffer byte = 1<commit_msg>Revert "Switch to tarm"<commit_after>package util

import (
	"bufio"
	"errors"
	"fmt"
	"image"
	"io"
	"math"
	"os/exec"
	"runtime"
	"strings"
	"time"

	"github.com/ninjasphere/go-ninja/config"
	"github.com/ninjasphere/goserial"
)

var ledPath = config.String("/dev/tty.ledmatrix", "led.tty")

var cmdWriteBuffer byte = 1
{'fraction_non_alphanumeric': 0.1706924315619968, 'fraction_numerical': 0.00322061191626409, 'mean_word_length': 4.362068965517241, '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': '3657601', 'n_tokens_mistral': 280, 'n_tokens_neox': 274, 'n_words': 48}