<commit_before>package helpers

import (
	"os"
	"path"
	"path/filepath"
)

type Assets struct {
	ServiceBroker      string
	SecurityRules      string
	EmptySecurityRules string
}

func NewAssets() Assets {
	pwd, err := os.Getwd()
	if err != nil {
		panic(err.Error())
	}
	return Assets{
		ServiceBroker:      filepath.ToSlash(path.Join(pwd, "../../assets/service_broker")),
		SecurityRules:      filepath.ToSlash(path.Join(pwd, "../../assets/security_groups/security-rules.json")),
		EmptySecurityRules: filepath.ToSlash(path.Join(pwd, "../../assets/security_groups/empty-security-rules.json")),
	}
}<commit_msg>Change from ToSlash to FromSlash.<commit_after>package helpers

import (
	"os"
	"path"
	"path/filepath"
)

type Assets struct {
	ServiceBroker      string
	SecurityRules      string
	EmptySecurityRules string
}

func NewAssets() Assets {
	pwd, err := os.Getwd()
	if err != nil {
		panic(err.Error())
	}
	return Assets{
		ServiceBroker:      filepath.FromSlash(path.Join(pwd, "../../assets/service_broker")),
		SecurityRules:      filepath.FromSlash(path.Join(pwd, "../../assets/security_groups/security-rules.json")),
		EmptySecurityRules: filepath.FromSlash(path.Join(pwd, "../../assets/security_groups/empty-security-rules.json")),
	}
}
{'fraction_non_alphanumeric': 0.1544, 'fraction_numerical': 0.0, 'mean_word_length': 3.88671875, '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': '5128587', 'n_tokens_mistral': 445, 'n_tokens_neox': 441, 'n_words': 76}