<commit_before>#!/bin/bash

HOST="http://localhost:5984"
echo "couch version :"
curl -X GET $HOST
echo "adding admin :"
curl -X PUT $HOST/_config/admins/admin -d '"admin"'
echo "=_=_=_=_=_printing logs=_=_=_=_=_"
# curl -X GET $HOST/_config
echo /var/log/couchdb/couch.log<commit_msg>more testing in setup_couch.sh, re #5923<commit_after>#!/bin/bash

HOST="http://localhost:5984"
echo "couch version :"
curl -X GET $HOST
echo "adding admin :"
curl -X PUT $HOST/_config/admins/admin -d '"admin"'
echo "=_=_=_=_=_printing logs=_=_=_=_=_"
# curl -X GET $HOST/_config
cat /var/log/couchdb/couch.log
{'fraction_non_alphanumeric': 0.1835016835016835, 'fraction_numerical': 0.020202020202020204, 'mean_word_length': 4.891089108910891, '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': '1200670', 'n_tokens_mistral': 248, 'n_tokens_neox': 247, 'n_words': 58}