<commit_before>// Copyright 2016 Google, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Package config provides variables used in configuring the behavior of the app.
package config

import (
	"golang.org/x/oauth2"
)

const (
	// GCRCredHelperClientID is the client_id to be used when performing the
	// OAuth2 Authorization Code grant flow.
	// See https://developers.google.com/identity/protocols/OAuth2InstalledApp
	GCRCredHelperClientID = "99426463878-o7n0bshgue20tdpm25q4at0vs2mr4utq.apps.googleusercontent.com"

	// GCRCredHelperClientNotSoSecret is the client_secret to be used when
	// performing the OAuth2 Authorization Code grant flow.
	// See https://developers.google.com/identity/protocols/OAuth2InstalledApp
	GCRCredHelperClientNotSoSecret = "<KEY>"

	// From http://semver.org/
	// MAJOR version when you make incompatible API changes,
	// MINOR version when you add functionality in a backwards-compatible manner, and
	// PATCH version when you make backwards-compatible bug fixes.

	// MajorVersion is the credential helper's major version number.
	MajorVersion = 1
	// MinorVersion is the credential helper's minor version number.
	MinorVersion = 4
	// PatchVersion is the credential helper's patch version number.
	PatchVersion = 0
)

// SupportedGCRRegistries maps registry URLs to a bool representing whether
// or not the GCR credentials can be used to authenticate requests for that
// repository.
var SupportedGCRRegistries = map[string]bool{<commit_msg>1.4.0 -> 1.4.1<commit_after>// Copyright 2016 Google, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Package config provides variables used in configuring the behavior of the app.
package config

import (
	"golang.org/x/oauth2"
)

const (
	// GCRCredHelperClientID is the client_id to be used when performing the
	// OAuth2 Authorization Code grant flow.
	// See https://developers.google.com/identity/protocols/OAuth2InstalledApp
	GCRCredHelperClientID = "99426463878-o7n0bshgue20tdpm25q4at0vs2mr4utq.apps.googleusercontent.com"

	// GCRCredHelperClientNotSoSecret is the client_secret to be used when
	// performing the OAuth2 Authorization Code grant flow.
	// See https://developers.google.com/identity/protocols/OAuth2InstalledApp
	GCRCredHelperClientNotSoSecret = "<KEY>"

	// From http://semver.org/
	// MAJOR version when you make incompatible API changes,
	// MINOR version when you add functionality in a backwards-compatible manner, and
	// PATCH version when you make backwards-compatible bug fixes.

	// MajorVersion is the credential helper's major version number.
	MajorVersion = 1
	// MinorVersion is the credential helper's minor version number.
	MinorVersion = 4
	// PatchVersion is the credential helper's patch version number.
	PatchVersion = 1
)

// SupportedGCRRegistries maps registry URLs to a bool representing whether
// or not the GCR credentials can be used to authenticate requests for that
// repository.
var SupportedGCRRegistries = map[string]bool{
{'fraction_non_alphanumeric': 0.07798050487378155, 'fraction_numerical': 0.019995001249687578, 'mean_word_length': 3.952970297029703, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '2077362', 'n_tokens_mistral': 1156, 'n_tokens_neox': 1094, 'n_words': 446}