<commit_before>// Copyright 2016 Factom Foundation
// Use of this source code is governed by the MIT
// license that can be found in the LICENSE file.

package factom_test

import (
	"testing"

	"github.com/FactomProject/factom"
)

func TestGetTPS(t *testing.T) {
	instant, total, err := factom.GetTPS()
	if err != nil {
		t.Error(err)
	}
	t.Logf("Instant: %f, Total %f\n", instant, total)
}<commit_msg>spelling<commit_after>// Copyright 2016 Factom Foundation
// Use of this source code is governed by the MIT
// license that can be found in the LICENSE file.

package factom_test

import (
	"testing"

	"github.com/FactomProject/factom"
)

func TestGetTPS(t *testing.T) {
	instant, total, err := factom.GetTPS()
	if err != nil {
		t.Error(err)
	}
	t.Logf("Instant: %f, Total: %f\n", instant, total)
}
{'fraction_non_alphanumeric': 0.128428927680798, 'fraction_numerical': 0.00997506234413965, 'mean_word_length': 3.8666666666666667, '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': '3040113', 'n_tokens_mistral': 305, 'n_tokens_neox': 287, 'n_words': 92}