<commit_before>from celery.schedules import crontab
from celery.task.base import periodic_task

from corehq.preindex.accessors import index_design_doc, get_preindex_designs


@periodic_task(run_every=crontab(minute=0), queue='background_queue')<commit_msg>Run preindex every 5 minutes<commit_after>from celery.schedules import crontab
from celery.task.base import periodic_task

from corehq.preindex.accessors import index_design_doc, get_preindex_designs


@periodic_task(run_every=crontab(minute='*/5'), queue='background_queue')
{'fraction_non_alphanumeric': 0.08286252354048965, 'fraction_numerical': 0.005649717514124294, 'mean_word_length': 9.64, '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': '322434', 'n_tokens_mistral': 174, 'n_tokens_neox': 164, 'n_words': 33}