<commit_before>package datastore

import "fmt"

type LockError struct {
	Item string
}

func (e *LockError) Error() string {
	return fmt.Sprintf("%s is locked", e.Item)
}

type UpdatePreemptionError struct {
	OldSerial int64
	NewSerial int64
}

func (e *UpdatePreemptionError) Error() string {
	return fmt.Sprintf("%d subsequent update(s) have occurred", e.NewSerial-e.OldSerial)
}

type ValidationError struct {
	ErrorString string
}

func (e *ValidationError) Error() string {
	return e.ErrorString
}<commit_msg>Removed datastore.LockError.<commit_after>package datastore

import "fmt"

type UpdatePreemptionError struct {
	OldSerial int64
	NewSerial int64
}

func (e *UpdatePreemptionError) Error() string {
	return fmt.Sprintf("%d subsequent update(s) have occurred", e.NewSerial-e.OldSerial)
}

type ValidationError struct {
	ErrorString string
}

func (e *ValidationError) Error() string {
	return e.ErrorString
}
{'fraction_non_alphanumeric': 0.09902067464635474, 'fraction_numerical': 0.008705114254624592, 'mean_word_length': 5.433566433566433, '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': '3347953', 'n_tokens_mistral': 301, 'n_tokens_neox': 289, 'n_words': 86}