<commit_before>package error

import (
	"net/http"

	"github.com/bborbe/log"
	"gopkg.in/square/go-jose.v1/json"
)

var logger = log.DefaultLogger

type object struct {
	status  int
	message string
}

func NewError(status int) *object {
	return NewErrorMessage(status, http.StatusText(status))<commit_msg>fix import<commit_after>package error

import (
	"net/http"

	"encoding/json"
	"github.com/bborbe/log"
)

var logger = log.DefaultLogger

type object struct {
	status  int
	message string
}

func NewError(status int) *object {
	return NewErrorMessage(status, http.StatusText(status))
{'fraction_non_alphanumeric': 0.11073253833049404, 'fraction_numerical': 0.0017035775127768314, 'mean_word_length': 4.821782178217822, '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': '4487492', 'n_tokens_mistral': 212, 'n_tokens_neox': 209, 'n_words': 46}