<commit_before>package admin

import (
	"model"
)

func CreateSeasonSchedule(season *model.Season, conferenceCount int, divisionCount int, weeksCount int, playoffs int, players []model.Player) {

}


func CreateConferences(season *model.Season, conferenceCount int, divisionCount int, players []model.Player) {
	
}<commit_msg>Added in a function to get player lists by faction<commit_after>package admin

import (
	"model"
)

// Creates and saves the season schedule as passed in.
func CreateSeasonSchedule(season *model.Season, conferenceCount int, divisionCount int, weeksCount int, playoffs int, players []model.Player) {

}

// Creates the season conferences, placing them on the modified season entity.  Note that this does NOT save the conferences or the entity.
func CreateConferences(season *model.Season, conferenceCount int, divisionCount int, players []model.Player) {
	
}


// Creates a map of the players by faction.
func playersByFaction(players []model.Player) map[string][]model.Player {
	playersByFaction := make(map[string][]model.Player)
	for _, p := range players {
		playersByFaction[p.Faction] = append(playersByFaction[p.Faction], p)
	}
	return playersByFaction
}
{'fraction_non_alphanumeric': 0.09527824620573355, 'fraction_numerical': 0.0, 'mean_word_length': 5.451086956521739, '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': '3683554', 'n_tokens_mistral': 351, 'n_tokens_neox': 332, 'n_words': 115}