<commit_before>#!/usr/bin/env python

import datetime
import logging
import sys
import argparse

from api import (invert_related_vector,
                reverse_related,
                reduce_related,
                unify_related_lists,
                sort_related,
                SEARCHABLE_COLLECTIONS,
                logger,
                data_db,
                show_filter,
                get_bhp_related,
                get_item_name,
                enrich_item,<commit_msg>refactoring bhp_related, not done yet<commit_after>#!/usr/bin/env python

import datetime
import logging
import sys
import argparse

from bhs_common.utils import SEARCHABLE_COLLECTIONS
from bhs_api import (logger, data_db)
from bhs_api.item import (invert_related_vector, show_filter,
                get_bhp_related,
                reverse_related,
                reduce_related,
                unify_related_lists,
                sort_related,
                get_item_name,
                enrich_item,
{'fraction_non_alphanumeric': 0.045, 'fraction_numerical': 0.0, 'mean_word_length': 1.7883008356545962, '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': '458105', 'n_tokens_mistral': 286, 'n_tokens_neox': 263, 'n_words': 59}