<commit_before>package login

import (
	"bytes"
	"context"
	"encoding/json"
	"fmt"
	"net/http"

	"github.com/almighty/almighty-core/errors"
	"github.com/almighty/almighty-core/log"
	"github.com/almighty/almighty-core/rest"
)

const ImageURLAttributeName = "ImageURL"
const BioAttributeName = "Bio"
const URLAttributeName = "URL"
const CompanyAttributeName = "company"
const ApprovedAttributeName = "approved"

// KeycloakUserProfile represents standard Keycloak User profile api request payload<commit_msg>Use lower case for user profile attributes in keycloak (#1213)<commit_after>package login

import (
	"bytes"
	"context"
	"encoding/json"
	"fmt"
	"net/http"

	"github.com/almighty/almighty-core/errors"
	"github.com/almighty/almighty-core/log"
	"github.com/almighty/almighty-core/rest"
)

const ImageURLAttributeName = "imageURL"
const BioAttributeName = "bio"
const URLAttributeName = "url"
const CompanyAttributeName = "company"
const ApprovedAttributeName = "approved"

// KeycloakUserProfile represents standard Keycloak User profile api request payload
{'fraction_non_alphanumeric': 0.10650329877474081, 'fraction_numerical': 0.003770028275212064, 'mean_word_length': 5.8076923076923075, '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': '1151759', 'n_tokens_mistral': 378, 'n_tokens_neox': 347, 'n_words': 78}