<commit_before>package utils

import (
	"errors"
	"log"
	"os"
	"os/exec"
	"path/filepath"
	"runtime"
	"strings"
)

func Check(err error) {
	if err != nil {
		log.Fatalf("fatal: %v\n", err)
	}<commit_msg>Print error to stderr instead of using log<commit_after>package utils

import (
	"errors"
	"fmt"
	"os"
	"os/exec"
	"path/filepath"
	"runtime"
	"strings"
)

func Check(err error) {
	if err != nil {
		fmt.Fprintln(os.Stderr, err)
		os.Exit(1)
	}
{'fraction_non_alphanumeric': 0.16367713004484305, 'fraction_numerical': 0.002242152466367713, 'mean_word_length': 3.806451612903226, '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': '2076632', 'n_tokens_mistral': 200, 'n_tokens_neox': 197, 'n_words': 45}