<commit_before>from django_cron import CronJobBase, Schedule


class PublicationUpdateCronJob(CronJobBase):
    RUN_EVERY_MINS = 360 # every 6 hours

    schedule = Schedule(run_every_mins=RUN_EVERY_MINS)
    code = 'publications.publication_update_cron_job'    # a unique code

    def do(self):
        pass    # do your thing here<commit_msg>cron squeleton bigger<commit_after>from django_cron import CronJobBase, Schedule
from publications.models import Publication


class PublicationUpdateCronJob(CronJobBase):
    RUN_EVERY_MINS = 360 # every 6 hours

    schedule = Schedule(run_every_mins=RUN_EVERY_MINS)
    code = 'publications.publication_update_cron_job'    # a unique code

    def update_adding_peer_to_peer_review(self, publications):
        # check if there is enough reviewer (and 1 week) then change the status
        pass

    def update_peer_review_to_correction(self, publications):
        # check the time period is over 3 week ?then change the status and update the users
        pass

    def update_correction_to_validation(self, publications):
        # check if the period is over 3 week ? then change the status
        pass

    def update_validation_to_evaluation(self, publications):
        # check if the period is over 1 week ? then change the status
        pass

    def update_evaluation_to_published(self, publications):
        # check if the period is over 1 week ? then change the status
        pass

    def do(self):
        pass    # do your thing here
{'fraction_non_alphanumeric': 0.05063291139240506, 'fraction_numerical': 0.008660892738174551, 'mean_word_length': 3.4437869822485205, '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': '6192327', 'n_tokens_mistral': 446, 'n_tokens_neox': 413, 'n_words': 142}