<commit_before>package main

import (
// "testing"
)

func ExampleCliNoArguments() {
	repos := map[string]Repo{
		"zathura": Repo{},
		"test":    Repo{},
		"gamma":   Repo{},
	}

	app := BuildCLI(repos)
	args := make([]string, 1)

	app.Run(args)
	// Output: gamma
	// test
	// zathura
}

func ExampleCliPrintItem() {
	repos := map[string]Repo{
		"joanjett": Repo{
			Info: map[string]Info{
				"bad_reputation": Info{
					Body: "I don't give a damn about my bad reputation!",
				},
			},
		},
	}

	app := BuildCLI(repos)
	args := []string{"/go/bin/sagacity", "joanjett", "bad_reputation"}<commit_msg>Fix test rot in cli_test<commit_after>package main

import (
// "testing"
)

func ExampleCliNoArguments() {
	repos := map[string]Repo{
		"zathura": Repo{},
		"test":    Repo{},
		"gamma":   Repo{},
	}

	app := BuildCLI(repos, Config{})
	args := make([]string, 1)

	app.Run(args)
	// Output: gamma
	// test
	// zathura
}

func ExampleCliPrintItem() {
	repos := map[string]Repo{
		"joanjett": Repo{
			Info: map[string]Info{
				"bad_reputation": Info{
					Type: "info",
					Body: "I don't give a damn about my bad reputation!",
				},
			},
		},
	}

	app := BuildCLI(repos, Config{})
	args := []string{"/go/bin/sagacity", "joanjett", "bad_reputation"}
{'fraction_non_alphanumeric': 0.18660287081339713, 'fraction_numerical': 0.001594896331738437, 'mean_word_length': 3.482142857142857, 'pattern_counts': {'":': 10, '<': 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': 2, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2581083', 'n_tokens_mistral': 553, 'n_tokens_neox': 490, 'n_words': 107}