<commit_before>package colony

import (
	"encoding/gob"
)

var _ AnimateObject = &Queen{}

func init() {
	gob.Register(&Queen{})
}

type Queen struct {
	Ant
	Colony *Colony
}

func NewQueen(c *Colony) *Queen {
	return &Queen{
		Ant:    *NewAnt(c.O, 7),
		Colony: c,
	}
}

func (q *Queen) Owner() Owner {
	return q.Ant.Owner()
}

func (q *Queen) Tick() {
	q.Ant.Tick()
}

func (q *Queen) Dead() bool {
	return q.Ant.Dead()
}

func (q *Queen) View(o Owner) *ObjectView {
	view := q.Ant.View(o)
	view.Type = "queen"
	return view
}
<commit_msg>Queens can only go 15 steps.<commit_after>package colony

import (
	"encoding/gob"
)

var _ AnimateObject = &Queen{}

func init() {
	gob.Register(&Queen{})
}

type Queen struct {
	Ant
	Colony *Colony
}

func NewQueen(c *Colony) *Queen {
	q := &Queen{
		Ant:    *NewAnt(c.O, 7),
		Colony: c,
	}
	q.Ant.Endurance = 15
	return q
}

func (q *Queen) Owner() Owner {
	return q.Ant.Owner()
}

func (q *Queen) Tick() {
	q.Ant.Tick()
}

func (q *Queen) Dead() bool {
	return q.Ant.Dead()
}

func (q *Queen) View(o Owner) *ObjectView {
	view := q.Ant.View(o)
	view.Type = "queen"
	return view
}

{'fraction_non_alphanumeric': 0.17244444444444446, 'fraction_numerical': 0.005333333333333333, 'mean_word_length': 3.4156862745098038, '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': '6496803', 'n_tokens_mistral': 518, 'n_tokens_neox': 483, 'n_words': 125}