<commit_before>package main

type ChunkMask interface {
	IsMasked(x, z int) bool
}

type RectangeChunkMask struct {
	x0, z0, x1, z1 int
}

func (m *RectangeChunkMask) IsMasked(x, z int) bool {
	return x <= m.x0 || x > m.x1 || z <= m.z0 || z > m.z1
}

type AllChunksMask struct{}

func (m *AllChunksMask) IsMasked(x, z int) bool {
	return false
}<commit_msg>Fix bug: square not centered on -cx -cz (off by one)<commit_after>package main

type ChunkMask interface {
	IsMasked(x, z int) bool
}

type RectangeChunkMask struct {
	x0, z0, x1, z1 int
}

func (m *RectangeChunkMask) IsMasked(x, z int) bool {
	return x < m.x0 || x >= m.x1 || z < m.z0 || z >= m.z1
}

type AllChunksMask struct{}

func (m *AllChunksMask) IsMasked(x, z int) bool {
	return false
}
{'fraction_non_alphanumeric': 0.13147410358565736, 'fraction_numerical': 0.021248339973439574, 'mean_word_length': 3.8025477707006368, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2792640', 'n_tokens_mistral': 312, 'n_tokens_neox': 309, 'n_words': 100}