<commit_before>package main

import (
	"time"
)

type Message struct {
	ClientId string
	Type     string // better way to persist type info?
	Data     interface{}
}

type ZoneInfo struct {
	x int
	y int
}

type Zone struct {
	Id    int
	Name  string
	State *ZoneInfo
}

type PlayerInfo struct {
	Name     string
	ClientId string
}

type Players []PlayerInfo

type PlayerState struct {
	ClientId    string
	X           float64
	Y           float64
	AvatarId    string `json:",omitempty"`
	AvatarState int64  `json:",omitempty"`
}

type PlayerAuthInfo struct {
	Name     string `bson:"user"`
	Password string `bson:"password"`
}

type Heartbeat struct {
	ClientId  string
	Timestamp time.Time
}

/* Players coming in and out */
type PlayerPassport struct {
	Action string
	Avatar string
}

type ErrorMessage string

type ChatMessage struct {
	Sender  string
	Message string
}<commit_msg>Add Name to PlayerState<commit_after>package main

import (
	"time"
)

type Message struct {
	ClientId string
	Type     string // better way to persist type info?
	Data     interface{}
}

type ZoneInfo struct {
	x int
	y int
}

type Zone struct {
	Id    int
	Name  string
	State *ZoneInfo
}

type PlayerInfo struct {
	Name     string
	ClientId string
}

type Players []PlayerInfo

type PlayerState struct {
	ClientId    string
	Name        string `json:",omitempty"`
	X           float64
	Y           float64
	AvatarId    string `json:",omitempty"`
	AvatarState int64  `json:",omitempty"`
}

type PlayerAuthInfo struct {
	Name     string `bson:"user"`
	Password string `bson:"password"`
}

type Heartbeat struct {
	ClientId  string
	Timestamp time.Time
}

/* Players coming in and out */
type PlayerPassport struct {
	Action string
	Avatar string
}

type ErrorMessage string

type ChatMessage struct {
	Sender  string
	Message string
}
{'fraction_non_alphanumeric': 0.06923076923076923, 'fraction_numerical': 0.006593406593406593, 'mean_word_length': 3.1862068965517243, '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': '5591675', 'n_tokens_mistral': 573, 'n_tokens_neox': 563, 'n_words': 202}