<commit_before>package medias

// MediasConfig encapsulates all configuration data
//
// swagger:model
type Configuration struct {
	LastID int     `json:"lastid"`
	Medias []Media `json:"medias"`
}

func NewConfiguration() *Configuration {
	var configuration = new(Configuration)

	configuration.LastID = 0
	configuration.Medias = []Media{}

	return configuration
}

// Media represents a media configuration
//
// swagger:model
type Media struct {
	// the id for this media
	//
	// required: true
	// unique: true
	// min: 1
	ID          int                    `json:"id"`
	Name        string                 `json:"name"`<commit_msg>[Add] IsActive attribute<commit_after>package medias

// MediasConfig encapsulates all configuration data
//
// swagger:model
type Configuration struct {
	LastID int     `json:"lastid"`
	Medias []Media `json:"medias"`
}

func NewConfiguration() *Configuration {
	var configuration = new(Configuration)

	configuration.LastID = 0
	configuration.Medias = []Media{}

	return configuration
}

// Media represents a media configuration
//
// swagger:model
type Media struct {
	// the id for this media
	//
	// required: true
	// unique: true
	// min: 1
	ID          int                    `json:"id"`
	Name        string                 `json:"name"`
	IsActive    bool                   `json:"isactive"`
{'fraction_non_alphanumeric': 0.11177794448612154, 'fraction_numerical': 0.003000750187546887, 'mean_word_length': 2.625, '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': '885278', 'n_tokens_mistral': 382, 'n_tokens_neox': 367, 'n_words': 114}