<commit_before>require 'gds_api/rummager'
Frontend.mainstream_search_client = GdsApi::Rummager.new(Plek.current.find('search') + '/mainstream')
Frontend.detailed_guidance_search_client = GdsApi::Rummager.new(Plek.current.find('search') + '/detailed')
Frontend.government_search_client = GdsApi::Rummager.new(Plek.current.find('search') + '/government')<commit_msg>Allow rummager host to be overridden<commit_after>require 'gds_api/rummager'
rummager_host = ENV["RUMMAGER_HOST"] || Plek.current.find('search')
Frontend.mainstream_search_client = GdsApi::Rummager.new(rummager_host + '/mainstream')
Frontend.detailed_guidance_search_client = GdsApi::Rummager.new(rummager_host + '/detailed')
Frontend.government_search_client = GdsApi::Rummager.new(rummager_host + '/government')
{'fraction_non_alphanumeric': 0.1402831402831403, 'fraction_numerical': 0.0, 'mean_word_length': 9.95774647887324, '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': '6414811', 'n_tokens_mistral': 282, 'n_tokens_neox': 276, 'n_words': 29}