<commit_before>// Copyright 2017 <NAME>, All rights reserved.
//
// Use of this source code is governed by an Apache 2.0 license that can be
// found in the LICENSE file in the root of the source tree.

package defs

// These are the STIX timestamp formats.
// TIME_RFC_3339 is the general purpose timestamp.
// TIME_RFC_3339_MICRO is the timestamp for the created and modified properties.
const (
	STIX_MEDIA_TYPE    = "application/stix+json"
	STIX_VERSION       = "2.1"
	TAXII_MEDIA_TYPE   = "application/taxii+json"
	TAXII_VERSION      = "2.1"
	CONTENT_TYPE_STIX  = STIX_MEDIA_TYPE + "; version=" + STIX_VERSION + "; charset=utf-8"
	CONTENT_TYPE_TAXII = TAXII_MEDIA_TYPE + "; version=" + TAXII_VERSION + "; charset=utf-8"
	CONTENT_TYPE_JSON  = "application/json; charset=utf-8"
	CONTENT_TYPE_HTML  = "text/html; charset=utf-8"

	TIME_RFC_3339       = "2006-01-02T15:04:05Z07:00"
	TIME_RFC_3339_MILLI = "2006-01-02T15:04:05.999Z07:00"
	TIME_RFC_3339_MICRO = "2006-01-02T15:04:05.999999Z07:00"
)<commit_msg>cleaned up media type checks<commit_after>// Copyright 2017 <NAME>, All rights reserved.
//
// Use of this source code is governed by an Apache 2.0 license that can be
// found in the LICENSE file in the root of the source tree.

package defs

// These are the STIX timestamp formats.
// TIME_RFC_3339 is the general purpose timestamp.
// TIME_RFC_3339_MICRO is the timestamp for the created and modified properties.
const (
	STIX_MEDIA_TYPE      = "application/stix+json"
	STIX_VERSION         = "2.1"
	TAXII_MEDIA_TYPE     = "application/taxii+json"
	TAXII_VERSION        = "2.1"
	CONTENT_TYPE_STIX21  = STIX_MEDIA_TYPE + "; version=2.1; charset=utf-8"
	CONTENT_TYPE_TAXII21 = TAXII_MEDIA_TYPE + "; version=2.1; charset=utf-8"
	CONTENT_TYPE_JSON    = "application/json; charset=utf-8"
	CONTENT_TYPE_HTML    = "text/html; charset=utf-8"

	TIME_RFC_3339       = "2006-01-02T15:04:05Z07:00"
	TIME_RFC_3339_MILLI = "2006-01-02T15:04:05.999Z07:00"
	TIME_RFC_3339_MICRO = "2006-01-02T15:04:05.999999Z07:00"
)
{'fraction_non_alphanumeric': 0.10834990059642147, 'fraction_numerical': 0.10039761431411531, 'mean_word_length': 4.045112781954887, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2518948', 'n_tokens_mistral': 896, 'n_tokens_neox': 771, 'n_words': 180}