<commit_before>package models

import (
	opentracing "github.com/opentracing/opentracing-go"
)

type MetaTagRecordUpsert struct {
	MetaTags  []string `json:"metaTags" binding:"Required"`
	Queries   []string `json:"queries" binding:"Required"`
	Propagate bool     `json:"propagate"`
}

func (m MetaTagRecordUpsert) Trace(span opentracing.Span) {
	span.SetTag("metaTags", m.MetaTags)
	span.SetTag("queries", m.Queries)
	span.SetTag("propagate", m.Propagate)
}

func (m MetaTagRecordUpsert) TraceDebug(span opentracing.Span) {
}

type MetaTagRecordUpsertResultByNode struct {
	Local       MetaTagRecordUpsertResult
	PeerResults map[string]MetaTagRecordUpsertResult `json:"peerResults"`
	PeerErrors  map[string]string                    `json:"peerErrors`
}

//go:generate msgp
type MetaTagRecordUpsertResult struct {
	MetaTags []string `json:"metaTags"`
	Queries  []string `json:"queries"`
	Created  bool     `json:"created"`
}

type IndexMetaTagRecordUpsert struct {
	OrgId    uint32   `json:"orgId" binding:"Required"`
	MetaTags []string `json:"metaTags" binding:"Required"`
	Queries  []string `json:"queries" binding:"Required"`
}

func (m IndexMetaTagRecordUpsert) Trace(span opentracing.Span) {
	span.SetTag("org", m.OrgId)
	span.SetTag("metaTags", m.MetaTags)
	span.SetTag("queries", m.Queries)
}

func (m IndexMetaTagRecordUpsert) TraceDebug(span opentracing.Span) {
}<commit_msg>typo mc typo face<commit_after>package models

import (
	opentracing "github.com/opentracing/opentracing-go"
)

type MetaTagRecordUpsert struct {
	MetaTags  []string `json:"metaTags" binding:"Required"`
	Queries   []string `json:"queries" binding:"Required"`
	Propagate bool     `json:"propagate"`
}

func (m MetaTagRecordUpsert) Trace(span opentracing.Span) {
	span.SetTag("metaTags", m.MetaTags)
	span.SetTag("queries", m.Queries)
	span.SetTag("propagate", m.Propagate)
}

func (m MetaTagRecordUpsert) TraceDebug(span opentracing.Span) {
}

type MetaTagRecordUpsertResultByNode struct {
	Local       MetaTagRecordUpsertResult
	PeerResults map[string]MetaTagRecordUpsertResult `json:"peerResults"`
	PeerErrors  map[string]string                    `json:"peerErrors"`
}

//go:generate msgp
type MetaTagRecordUpsertResult struct {
	MetaTags []string `json:"metaTags"`
	Queries  []string `json:"queries"`
	Created  bool     `json:"created"`
}

type IndexMetaTagRecordUpsert struct {
	OrgId    uint32   `json:"orgId" binding:"Required"`
	MetaTags []string `json:"metaTags" binding:"Required"`
	Queries  []string `json:"queries" binding:"Required"`
}

func (m IndexMetaTagRecordUpsert) Trace(span opentracing.Span) {
	span.SetTag("org", m.OrgId)
	span.SetTag("metaTags", m.MetaTags)
	span.SetTag("queries", m.Queries)
}

func (m IndexMetaTagRecordUpsert) TraceDebug(span opentracing.Span) {
}
{'fraction_non_alphanumeric': 0.1280201947349441, 'fraction_numerical': 0.00144248106743599, 'mean_word_length': 5.765853658536585, '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': '4196157', 'n_tokens_mistral': 945, 'n_tokens_neox': 965, 'n_words': 185}