<commit_before>// hello runs the hello command
package bobby

import (
	"fmt"
	"os"
	"strings"

	"github.com/mohae/contour"
)

func Hello(words ...string) (string, error) {
	logger.Tracef("Entering Hello with: %v\n", words)

	h := "Hello"
	if len(words) == 0 {
		logger.Tracef("exiting Hello: h  = %v, err=nil\n", h)
		return h, nil
	}

	for _, word := range words {
		h += " " + word
	}

	if os.Getenv("lower") == "true" {
		h = strings.ToLower(h)
	}

	// Print out the current settings.
//	var b bool

	v, err := contour.GetString("configfilename")
	if err != nil {
		logger.Critical("configfilename not found in AppConfig")
	} else {
		fmt.Printf("config: %s\n", v)
	}
/*
	b, err = contour.GetBool("lower")
	if err != nil {
		logger.Critical("lower not found in AppConfig")
	} else {
		fmt.Printf("lower: %v\n", b)
	}


	b, err = contour.GetBool("logging")
	if err != nil {
		logger.Critical("logging not found in AppConfig")
	} else {
		fmt.Printf("logging: %v\n", b)
	}
*/
	v, err = contour.GetString("logconfigfilename")
	if err != nil {
		logger.Critical("logconfigfilename not found in AppConfig")
	} else {
		fmt.Printf("logconfigfilename: %s\n", v)
	}

        fmt.Printf("config: %s\n", os.Getenv("configfilename"))
        fmt.Printf("lower: %v\n", os.Getenv("lower"))
        fmt.Printf("logging: %v\n", os.Getenv("logging"))
        fmt.Printf("logconfig: %s\n", os.Getenv("logconfigfilename"))


	// This will go to their defined locations
	logger.Trace("This is an example TRACE message\n")
	logger.Debug("This is an example DEBUG message\n")
	logger.Info("This is an example INFO message\n")
	logger.Warn("This is an example WARN message\n")
	logger.Error("This is an example ERROR message\n")
	logger.Critical("This is an example CRITICAL message\n")
	logger.Tracef("exiting Hello\n", h)
	return h, nil
}
<commit_msg>quine running commands...need to add filters for flags<commit_after>// hello runs the hello command
package bobby

import (
	"fmt"
	"os"
	"strings"

	"github.com/mohae/contour"
)

func Hello(words ...string) (string, error) {
	logger.Tracef("Entering Hello with: %v\n", words)

	h := "Hello"
	if len(words) == 0 {
		logger.Tracef("exiting Hello: h  = %v, err=nil\n", h)
		return h, nil
	}

	for _, word := range words {
		h += " " + word
	}

	if os.Getenv("lower") == "true" {
		h = strings.ToLower(h)
	}

	fmt.Println(h)

	// Print out the current settings.
//	var b bool

	v, err := contour.GetString("configfilename")
	if err != nil {
		logger.Critical("configfilename not found in AppConfig")
	} else {
		fmt.Printf("config: %s\n", v)
	}
/*
	b, err = contour.GetBool("lower")
	if err != nil {
		logger.Critical("lower not found in AppConfig")
	} else {
		fmt.Printf("lower: %v\n", b)
	}


	b, err = contour.GetBool("logging")
	if err != nil {
		logger.Critical("logging not found in AppConfig")
	} else {
		fmt.Printf("logging: %v\n", b)
	}
*/
	v, err = contour.GetString("logconfigfilename")
	if err != nil {
		logger.Critical("logconfigfilename not found in AppConfig")
	} else {
		fmt.Printf("logconfigfilename: %s\n", v)
	}

        fmt.Printf("config: %s\n", os.Getenv("configfilename"))
        fmt.Printf("lower: %v\n", os.Getenv("lower"))
        fmt.Printf("logging: %v\n", os.Getenv("logging"))
        fmt.Printf("logconfig: %s\n", os.Getenv("logconfigfilename"))


	// This will go to their defined locations
	logger.Trace("This is an example TRACE message\n")
	logger.Debug("This is an example DEBUG message\n")
	logger.Info("This is an example INFO message\n")
	logger.Warn("This is an example WARN message\n")
	logger.Error("This is an example ERROR message\n")
	logger.Critical("This is an example CRITICAL message\n")
	logger.Tracef("exiting Hello\n", h)
	return h, nil
}

{'fraction_non_alphanumeric': 0.16523605150214593, 'fraction_numerical': 0.000536480686695279, 'mean_word_length': 3.5754601226993863, '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': '4351234', 'n_tokens_mistral': 1397, 'n_tokens_neox': 1335, 'n_words': 362}