<commit_before>package main

import (
	"sync"
)

type ProxyStats struct {
	sync.Mutex
	clientsServed uint64
	bytesServed   uint64
	Enable        bool
}

func (ps *ProxyStats) AddServed() {
	ps.Lock()
	defer ps.Unlock()
	ps.clientsServed += 1
}

func (ps *ProxyStats) AddBytes(bc int64) {
	ps.Lock()
	defer ps.Unlock()
	if bc <= 0 {
		return
	}
	ps.bytesServed += uint64(bc)
}

func (ps *ProxyStats) GetStats() (b uint64, c uint64) {
	return ps.clientsServed, ps.bytesServed
}
<commit_msg>enable isn't needed any longer<commit_after>package main

import (
	"sync"
)

type ProxyStats struct {
	sync.Mutex
	clientsServed uint64
	bytesServed   uint64
}

func (ps *ProxyStats) AddServed() {
	ps.Lock()
	defer ps.Unlock()
	ps.clientsServed += 1
}

func (ps *ProxyStats) AddBytes(bc int64) {
	ps.Lock()
	defer ps.Unlock()
	if bc <= 0 {
		return
	}
	ps.bytesServed += uint64(bc)
}

func (ps *ProxyStats) GetStats() (b uint64, c uint64) {
	return ps.clientsServed, ps.bytesServed
}

{'fraction_non_alphanumeric': 0.1264131551901336, 'fraction_numerical': 0.02877697841726619, 'mean_word_length': 3.8944723618090453, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7067945', 'n_tokens_mistral': 408, 'n_tokens_neox': 390, 'n_words': 98}