<commit_before>package stats

import "github.com/shirou/gopsutil/host"

// GetUsageStats returns system utilization stats.
func GetUsageStats() (int32, int32) {
	return getCPUPercent(), getMemoryPercent()
}

// GetHostStats returns system information.
func GetHostStats() (*host.InfoStat, error) {
	info, err := host.Info()
	if err != nil {
		return nil, err
	}
	return info, nil
}<commit_msg>chore(stats): shorter version of stats<commit_after>package stats

import "github.com/shirou/gopsutil/host"

// GetUsageStats returns system utilization stats.
func GetUsageStats() (int32, int32) {
	return getCPUPercent(), getMemoryPercent()
}

// GetHostStats returns system information.
func GetHostStats() (*host.InfoStat, error) {
	return host.Info()
}
{'fraction_non_alphanumeric': 0.12016021361815754, 'fraction_numerical': 0.010680907877169559, 'mean_word_length': 5.25, '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': '1157107', 'n_tokens_mistral': 245, 'n_tokens_neox': 232, 'n_words': 66}