<commit_before>const SERVER_URL =
    'https://chaynssvcqa.tobit.com/AccountService/v1.0/General/PersonKeyValue/signature';
// const SERVER_URL = 'https://webapi.tobit.com/AccountService/v1.0/General/PersonKeyValue/signature';

export const getUserSignature = async () => {
    if (!chayns.env.user.isAuthenticated) {
        return null;
    }

    try {
        const response = await fetch(SERVER_URL, {
            method: 'GET',
            headers: {
                accept: 'application/json',
                authorization: `bearer ${chayns.env.user.tobitAccessToken}`,
            },
        });

        if (response.status === 200) {<commit_msg>Fix wrong url for signature api<commit_after>const SERVER_URL =
    'https://webapi.tobit.com/AccountService/v1.0/General/PersonKeyValue/signature';

export const getUserSignature = async () => {
    if (!chayns.env.user.isAuthenticated) {
        return null;
    }

    try {
        const response = await fetch(SERVER_URL, {
            method: 'GET',
            headers: {
                accept: 'application/json',
                authorization: `bearer ${chayns.env.user.tobitAccessToken}`,
            },
        });

        if (response.status === 200) {
{'fraction_non_alphanumeric': 0.13011456628477905, 'fraction_numerical': 0.009819967266775777, 'mean_word_length': 2.2269129287598943, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 3, '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': '5440702', 'n_tokens_mistral': 377, 'n_tokens_neox': 367, 'n_words': 62}