<commit_before>#!/usr/bin/python
# coding: utf-7

import sys
import json
import requests
import pprint
import unittest
import string
import random

pp = pprint.PrettyPrinter(depth=6)

def random_title(length):
    words = ['Foo', 'Bar', 'Linux', 'Something', 'Yeah', 'Nope', 'Random']
    s = ' '.join(random.choice(words) for _ in range(5))
    return s

def add_n(n):
    url = 'http://localhost:5000/api/v1/object'
    data = dict()<commit_msg>make test title more random<commit_after>#!/usr/bin/python
# coding: utf-7

import sys
import json
import requests
import pprint
import unittest
import string
import random

pp = pprint.PrettyPrinter(depth=6)

def random_title(length):
    words = ['Foo', 'Bar', 'Linux', 'Something', 'Yeah', 'Nope', 'Random', "REST", "IPv6"]
    s = ' '.join(random.choice(words) for _ in range(5))
    return s

def add_n(n):
    url = 'http://localhost:5000/api/v1/object'
    data = dict()
{'fraction_non_alphanumeric': 0.15584415584415584, 'fraction_numerical': 0.0183982683982684, 'mean_word_length': 4.2259887005649714, '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': '1075863', 'n_tokens_mistral': 336, 'n_tokens_neox': 320, 'n_words': 89}