<commit_before>// import Postgrest from 'mithril-postgrest';
const testToken = "<PASSWORD>";
const nContributions = 20;
const apiMeta = document.createElement('meta');
const apiPrefix = 'https://api.catarse.me'
apiMeta.content = apiPrefix;
apiMeta.name = 'api-host';
document.getElementsByTagName('head')[0].appendChild(apiMeta);

const ApiMomentsMeta = document.createElement('meta');
ApiMomentsMeta.content = 'https://api-moments.catarse.me';
ApiMomentsMeta.name = 'api-moments-host';

document.getElementsByTagName('head')[0].appendChild(commonPaymentApiMeta);
const commonPaymentApiMeta = document.createElement('meta');
commonPaymentApiMeta.content = 'https://payment.common.io';
commonPaymentApiMeta.name = 'common-payment-api-host';
document.getElementsByTagName('head')[0].appendChild(commonPaymentApiMeta);

const commonProjectApiMeta = document.createElement('meta');
commonProjectApiMeta.content = 'https://project.common.io';
commonProjectApiMeta.name = 'common-project-api-host';
document.getElementsByTagName('head')[0].appendChild(commonProjectApiMeta);

const commonAnalyticsApiMeta = document.createElement('meta');
commonAnalyticsApiMeta.content = 'https://analytics.common.io';
commonAnalyticsApiMeta.name = 'common-analytics-api-host';
document.getElementsByTagName('head')[0].appendChild(commonAnalyticsApiMeta);

const commonNotificationApiMeta = document.createElement('meta');
commonNotificationApiMeta.content = 'https://notification.common.io';
commonNotificationApiMeta.name = 'common-notification-api-host';
document.getElementsByTagName('head')[0].appendChild(commonNotificationApiMeta);

const commonRecommenderApiMeta = document.createElement('meta');
commonRecommenderApiMeta.content = 'https://recommender.common.io';
commonRecommenderApiMeta.name = 'common-recommender-api-host';
document.getElementsByTagName('head')[0].appendChild(commonRecommenderApiMeta);

// const apiPrefix = "https://api.catarse.me";
// catarse.init(apiPrefix, {method: "GET", url: "/api_token"});<commit_msg>fix specs<commit_after>// import Postgrest from 'mithril-postgrest';
const testToken = "<PASSWORD>";
const nContributions = 20;
const apiMeta = document.createElement('meta');
const apiPrefix = 'https://api.catarse.me'
apiMeta.content = apiPrefix;
apiMeta.name = 'api-host';
document.getElementsByTagName('head')[0].appendChild(apiMeta);

const ApiMomentsMeta = document.createElement('meta');
ApiMomentsMeta.content = 'https://api-moments.catarse.me';
ApiMomentsMeta.name = 'api-moments-host';
document.getElementsByTagName('head')[0].appendChild(ApiMomentsMeta);

const commonPaymentApiMeta = document.createElement('meta');
commonPaymentApiMeta.content = 'https://payment.common.io';
commonPaymentApiMeta.name = 'common-payment-api-host';
document.getElementsByTagName('head')[0].appendChild(commonPaymentApiMeta);

const commonProjectApiMeta = document.createElement('meta');
commonProjectApiMeta.content = 'https://project.common.io';
commonProjectApiMeta.name = 'common-project-api-host';
document.getElementsByTagName('head')[0].appendChild(commonProjectApiMeta);

const commonAnalyticsApiMeta = document.createElement('meta');
commonAnalyticsApiMeta.content = 'https://analytics.common.io';
commonAnalyticsApiMeta.name = 'common-analytics-api-host';
document.getElementsByTagName('head')[0].appendChild(commonAnalyticsApiMeta);

const commonNotificationApiMeta = document.createElement('meta');
commonNotificationApiMeta.content = 'https://notification.common.io';
commonNotificationApiMeta.name = 'common-notification-api-host';
document.getElementsByTagName('head')[0].appendChild(commonNotificationApiMeta);

const commonRecommenderApiMeta = document.createElement('meta');
commonRecommenderApiMeta.content = 'https://recommender.common.io';
commonRecommenderApiMeta.name = 'common-recommender-api-host';
document.getElementsByTagName('head')[0].appendChild(commonRecommenderApiMeta);

// const apiPrefix = "https://api.catarse.me";
// catarse.init(apiPrefix, {method: "GET", url: "/api_token"});
{'fraction_non_alphanumeric': 0.147117296222664, 'fraction_numerical': 0.0044731610337972166, 'mean_word_length': 8.722222222222221, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 16, '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': '7237212', 'n_tokens_mistral': 1182, 'n_tokens_neox': 1161, 'n_words': 156}