<commit_before>from django.core.management.base import BaseCommand, CommandError
from xbrowse_server.base.models import Project
from django.core.exceptions import ObjectDoesNotExist

class Command(BaseCommand):
    help = 'Create a new project.'

    def add_arguments(self, parser):
        parser.add_argument('-i', '--project-id', help="Project id", required=True)

    def handle(self, *args, **options):
        project_id = options.get('project_id')
        print("Deleting project: %s" % project_id)
        try:
            proj = Project.objects.get(project_id=project_id)
        except ObjectDoesNotExist:
            raise CommandError("Project %s not found." % project_id)
<commit_msg>updated docs<commit_after>from django.core.management.base import BaseCommand, CommandError
from xbrowse_server.base.models import Project
from django.core.exceptions import ObjectDoesNotExist

class Command(BaseCommand):
    help = 'Delete project.'

    def add_arguments(self, parser):
        parser.add_argument('-i', '--project-id', help="Project id", required=True)

    def handle(self, *args, **options):
        project_id = options.get('project_id')
        print("Deleting project: %s" % project_id)
        try:
            proj = Project.objects.get(project_id=project_id)
        except ObjectDoesNotExist:
            raise CommandError("Project %s not found." % project_id)

{'fraction_non_alphanumeric': 0.10943124550035997, 'fraction_numerical': 0.0, 'mean_word_length': 3.6333333333333333, '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': '6949033', 'n_tokens_mistral': 403, 'n_tokens_neox': 393, 'n_words': 97}