<commit_before># coding=utf-8

from django.http import HttpResponseRedirect

# Create your views here.

from django.http import HttpResponse
import json
import os
import shutil
import uuid
import time

# patron_dir = "C:/etc/patron"
patron_dir = os.path.dirname(os.path.abspath(__file__)) + "\\..\\etc\\patron"
command_dir = os.path.dirname(os.path.abspath(__file__)) + "\\..\\etc\\commands"

admin_tenant_id = "admin"


def get_403_error():
    return "ERROR (Forbidden): Policy doesn't allow this operation to be performed. (HTTP 403) (Request-ID: req-%s)" % uuid.uuid4()
<commit_msg>Use "/" as path separator.<commit_after># coding=utf-8

from django.http import HttpResponseRedirect

# Create your views here.

from django.http import HttpResponse
import json
import os
import shutil
import uuid
import time

# patron_dir = "C:/etc/patron"
patron_dir = os.path.dirname(os.path.abspath(__file__)) + "/../etc/patron"
command_dir = os.path.dirname(os.path.abspath(__file__)) + "/../etc/commands"

admin_tenant_id = "admin"


def get_403_error():
    return "ERROR (Forbidden): Policy doesn't allow this operation to be performed. (HTTP 403) (Request-ID: req-%s)" % uuid.uuid4()

{'fraction_non_alphanumeric': 0.13740458015267176, 'fraction_numerical': 0.013570822731128074, 'mean_word_length': 4.539906103286385, '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': '3470931', 'n_tokens_mistral': 409, 'n_tokens_neox': 397, 'n_words': 107}