<commit_before>from __future__ import absolute_import
from celery import Celery

# TODO separate queues

app = Celery('mies',
             include=[
                 'mies.data_pipes.twitter_social_feed.pipe',
                 'mies.lifecycle_managers.daily_building.manager',
                 'mies.lifecycle_managers.residents_life.manager',
                 'mies.lifecycle_managers.health_monitoring.manager',
                 'mies.buildings.model',
                 'mies.senses.smell.smell_propagator',
                 'fconveys.actions.fetch_content.fetch_article',
                 'fconveys.actions.extract_metadata.extract_article_metadata',
             ])

app.config_from_object('mies.celery_config')<commit_msg>bug fix (forgot to add celery task imports)<commit_after>from __future__ import absolute_import
from celery import Celery

# TODO separate queues

app = Celery('mies',
             include=[
                 'mies.data_pipes.twitter_social_feed.pipe',
                 'mies.lifecycle_managers.daily_building.manager',
                 'mies.lifecycle_managers.residents_life.manager',
                 'mies.lifecycle_managers.health_monitoring.manager',
                 'mies.buildings.model',
                 'mies.senses.smell.smell_propagator',
                 'fconveys.actions.fetch_content.fetch_article',
                 'fconveys.actions.extract_metadata.extract_article_metadata',
                 'fconveys.actions.extract_concepts.extract_article_concepts',
             ])

app.config_from_object('mies.celery_config')
{'fraction_non_alphanumeric': 0.08957133717210493, 'fraction_numerical': 0.0, 'mean_word_length': 2.4074074074074074, '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': '78765', 'n_tokens_mistral': 454, 'n_tokens_neox': 431, 'n_words': 53}