<commit_before># This is an auto-generated Django model module.
# You'll have to do the following manually to clean this up:
#     * Rearrange models' order
#     * Make sure each model has one field with primary_key=True
# Feel free to rename the models, but don't rename db_table values or field names.
#
# Also note: You'll have to insert the output of 'django-admin.py sqlcustom [appname]'
# into your database.
from __future__ import unicode_literals

from django.db import models

class Appruncount(models.Model):
    idappruncount = models.AutoField(primary_key=True)
    pid = models.ForeignKey('Projects', db_column='pid')
    appversion = models.CharField(max_length=45L, blank=True)
    runcount = models.BigIntegerField(null=True, blank=True)
    class Meta:
        db_table = 'appruncount'

class Appstatistics(models.Model):
    idappstatistics = models.AutoField(primary_key=True)
    iderror = models.ForeignKey('Errors', db_column='iderror')
    appversion = models.CharField(max_length=10L)
    count = models.IntegerField()
    class Meta:
        db_table = 'appstatistics'

class AuthGroup(models.Model):
    id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=80L, unique=True)
    class Meta:
        db_table = 'auth_group'

class AuthGroupPermissions(models.Model):
    id = models.AutoField(primary_key=True)
    group = models.ForeignKey(AuthGroup)
    permission = models.ForeignKey('AuthPermission')
    class Meta:
        db_table = 'auth_group_permissions'

class AuthPermission(models.Model):
    id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=50L)
    content_type = models.ForeignKey('DjangoContentType')
    codename = models.CharField(max_length=100L)
    class Meta:
        db_table = 'auth_permission'

class AuthUser(models.Model):
    id = models.AutoField(primary_key=True)
    password = models.CharField(max_length=128L)
    last_login = models.DateTimeField()
    is_superuser = models.IntegerField()
    username = models.CharField(max_length=30L, unique=True)
    first_name = models.CharField(max_length=30L)
    last_name = models.CharField(max_length=30L)
    email = models.CharField(max_length=75L)
    is_staff = models.IntegerField()
    is_active = models.IntegerField()
    date_joined = models.DateTimeField()
    class Meta:
        db_table = 'auth_user'

class AuthUserGroups(models.Model):
    id = models.AutoField(primary_key=True)
    user = models.ForeignKey(AuthUser)
    group = models.ForeignKey(AuthGroup)
    class Meta:
        db_table = 'auth_user_groups'

class AuthUserUserPermissions(models.Model):
    id = models.AutoField(primary_key=True)
    user = models.ForeignKey(AuthUser)
    permission = models.ForeignKey(AuthPermission)
    class Meta:
        db_table = 'auth_user_user_permissions'

class Comments(models.Model):
    idcomment = models.AutoField(primary_key=True)
    uid = models.ForeignKey(AuthUser, db_column='uid')
    iderror = models.ForeignKey('Errors', db_column='iderror')
    datetime = models.DateTimeField()
    user = models.CharField(max_length=45L)
    comment = models.CharField(max_length=200L)
    class Meta:
        db_table = 'comments'

class Countrystatistics(models.Model):
    idcountrystatistics = models.AutoField(primary_key=True)
    iderror = models.ForeignKey('Errors', db_column='iderror')
    countryname = models.CharField(max_length=45L)
    count = models.IntegerField()
    class Meta:
        db_table = 'countrystatistics'

class Devicestatistics(models.Model):
    iddevicestatistics = models.AutoField(primary_key=True)
    iderror = models.ForeignKey('Errors', db_column='iderror')
    devicename = models.CharField(max_length=45L)
    count = models.IntegerField()
    class Meta:
        db_table = 'devicestatistics'

class DjangoContentType(models.Model):
    id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=100L)
    app_label = models.CharField(max_length=100L)
    model = models.CharField(max_length=100L)
    class Meta:
        db_table = 'django_content_type'

class DjangoSession(models.Model):
    session_key = models.CharField(max_length=40L, primary_key=True)
    session_data = models.TextField()
    expire_date = models.DateTimeField()
    class Meta:
        db_table = 'django_session'

class DjangoSite(models.Model):
    id = models.AutoField(primary_key=True)
    domain = models.CharField(max_length=100L)
    name = models.CharField(max_length=50L)
    class Meta:
        db_table = 'django_site'

class Errors(models.Model):
    iderror = models.AutoField(primary_key=True)
    pid = models.ForeignKey('Projects', db_column='pid')
    rank = models.IntegerField()
    autodetermine = models.IntegerField()
    status = models.IntegerField(null=True, blank=True)
    numofinstances = models.IntegerField()
    createdate = models.DateTimeField()
    lastdate = models.DateTimeField()
    callstack = models.TextField()
    errorname = models.CharField(max_length=45L)
    errorclassname = models.CharField(max_length=45L)
    linenum = models.CharField(max_length=45L)
    errorweight = models.IntegerField(null=True, blank=True)
    recur = models.IntegerField(null=True, blank=True)
    eventpath = models.TextField(blank=True)
    wifion = models.IntegerField()
    gpson = models.IntegerField()
    mobileon = models.IntegerField()
    totalmemusage = models.IntegerField()
    class Meta:
        db_table = 'errors'

class Eventpaths(models.Model):
    ideventpaths = models.AutoField(primary_key=True)
    idinstance = models.ForeignKey('Instances', db_column='idinstance')
    datetime = models.DateTimeField(null=True, blank=True)
    classname = models.CharField(max_length=45L, blank=True)
    methodname = models.CharField(max_length=45L, blank=True)
    linenum = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = 'eventpaths'

class Instances(models.Model):
    idinstance = models.AutoField(primary_key=True)
    iderror = models.ForeignKey(Errors, db_column='iderror')
    sdkversion = models.CharField(max_length=45L, blank=True)
    appversion = models.CharField(max_length=45L, blank=True)
    osversion = models.CharField(max_length=45L, blank=True)
    kernelversion = models.CharField(max_length=45L, blank=True)
    appmemmax = models.CharField(max_length=45L, blank=True)
    appmemfree = models.CharField(max_length=45L, blank=True)
    appmemtotal = models.CharField(max_length=45L, blank=True)
    country = models.CharField(max_length=45L, blank=True)
    datetime = models.DateTimeField(null=True, blank=True)
    locale = models.CharField(max_length=45L, blank=True)
    mobileon = models.IntegerField(null=True, blank=True)
    gpson = models.IntegerField(null=True, blank=True)
    wifion = models.IntegerField(null=True, blank=True)
    device = models.CharField(max_length=45L, blank=True)
    rooted = models.IntegerField(null=True, blank=True)
    scrheight = models.IntegerField(null=True, blank=True)
    scrwidth = models.IntegerField(null=True, blank=True)
    scrorientation = models.IntegerField(null=True, blank=True)
    sysmemlow = models.CharField(max_length=45L, blank=True)
    log_path = models.CharField(max_length=260L, blank=True)
    batterylevel = models.IntegerField(null=True, blank=True)
    availsdcard = models.IntegerField(null=True, blank=True)
    xdpi = models.FloatField(null=True, blank=True)
    ydpi = models.FloatField(null=True, blank=True)
    class Meta:
        db_table = 'instances'

class Osstatistics(models.Model):
    idosstatistics = models.AutoField(primary_key=True)
    iderror = models.ForeignKey(Errors, db_column='iderror')
    osversion = models.CharField(max_length=10L)
    count = models.IntegerField()
    class Meta:
        db_table = 'osstatistics'

class Projects(models.Model):
    pid = models.AutoField(primary_key=True)
    apikey = models.CharField(max_length=10L, unique=True)
    platform = models.IntegerField()
    name = models.CharField(max_length=45L)
    stage = models.IntegerField()
    owner_uid = models.ForeignKey(AuthUser, db_column='owner_uid')
    class Meta:
        db_table = 'projects'

class Session(models.Model):
    idsession = models.BigIntegerField(primary_key=True)
    pid = models.ForeignKey(Projects, db_column='pid')
    appversion = models.CharField(max_length=45L)
    class Meta:
        db_table = 'session'

class Sessionevent(models.Model):
    idsessionevent = models.AutoField(primary_key=True)
    idsession = models.ForeignKey(Session, db_column='idsession')
    datetime = models.DateTimeField(null=True, blank=True)
    classname = models.CharField(max_length=45L, blank=True)
    methodname = models.CharField(max_length=45L, blank=True)
    linenum = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = 'sessionevent'

class Sofiles(models.Model):
    idsofiles = models.AutoField(primary_key=True)
    pid = models.ForeignKey(Projects, db_column='pid')
    appversion = models.CharField(max_length=45L)
    versionkey = models.CharField(max_length=45L)
    filename = models.CharField(max_length=45L)
    class Meta:
        db_table = 'sofiles'<commit_msg>instance callstack, dump file path db추가<commit_after># This is an auto-generated Django model module.
# You'll have to do the following manually to clean this up:
#     * Rearrange models' order
#     * Make sure each model has one field with primary_key=True
# Feel free to rename the models, but don't rename db_table values or field names.
#
# Also note: You'll have to insert the output of 'django-admin.py sqlcustom [appname]'
# into your database.
from __future__ import unicode_literals

from django.db import models

class Appruncount(models.Model):
    idappruncount = models.AutoField(primary_key=True)
    pid = models.ForeignKey('Projects', db_column='pid')
    appversion = models.CharField(max_length=45L, blank=True)
    runcount = models.BigIntegerField(null=True, blank=True)
    class Meta:
        db_table = 'appruncount'

class Appstatistics(models.Model):
    idappstatistics = models.AutoField(primary_key=True)
    iderror = models.ForeignKey('Errors', db_column='iderror')
    appversion = models.CharField(max_length=10L)
    count = models.IntegerField()
    class Meta:
        db_table = 'appstatistics'

class AuthGroup(models.Model):
    id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=80L, unique=True)
    class Meta:
        db_table = 'auth_group'

class AuthGroupPermissions(models.Model):
    id = models.AutoField(primary_key=True)
    group = models.ForeignKey(AuthGroup)
    permission = models.ForeignKey('AuthPermission')
    class Meta:
        db_table = 'auth_group_permissions'

class AuthPermission(models.Model):
    id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=50L)
    content_type = models.ForeignKey('DjangoContentType')
    codename = models.CharField(max_length=100L)
    class Meta:
        db_table = 'auth_permission'

class AuthUser(models.Model):
    id = models.AutoField(primary_key=True)
    password = models.CharField(max_length=128L)
    last_login = models.DateTimeField()
    is_superuser = models.IntegerField()
    username = models.CharField(max_length=30L, unique=True)
    first_name = models.CharField(max_length=30L)
    last_name = models.CharField(max_length=30L)
    email = models.CharField(max_length=75L)
    is_staff = models.IntegerField()
    is_active = models.IntegerField()
    date_joined = models.DateTimeField()
    class Meta:
        db_table = 'auth_user'

class AuthUserGroups(models.Model):
    id = models.AutoField(primary_key=True)
    user = models.ForeignKey(AuthUser)
    group = models.ForeignKey(AuthGroup)
    class Meta:
        db_table = 'auth_user_groups'

class AuthUserUserPermissions(models.Model):
    id = models.AutoField(primary_key=True)
    user = models.ForeignKey(AuthUser)
    permission = models.ForeignKey(AuthPermission)
    class Meta:
        db_table = 'auth_user_user_permissions'

class Comments(models.Model):
    idcomment = models.AutoField(primary_key=True)
    uid = models.ForeignKey(AuthUser, db_column='uid')
    iderror = models.ForeignKey('Errors', db_column='iderror')
    datetime = models.DateTimeField()
    user = models.CharField(max_length=45L)
    comment = models.CharField(max_length=200L)
    class Meta:
        db_table = 'comments'

class Countrystatistics(models.Model):
    idcountrystatistics = models.AutoField(primary_key=True)
    iderror = models.ForeignKey('Errors', db_column='iderror')
    countryname = models.CharField(max_length=45L)
    count = models.IntegerField()
    class Meta:
        db_table = 'countrystatistics'

class Devicestatistics(models.Model):
    iddevicestatistics = models.AutoField(primary_key=True)
    iderror = models.ForeignKey('Errors', db_column='iderror')
    devicename = models.CharField(max_length=45L)
    count = models.IntegerField()
    class Meta:
        db_table = 'devicestatistics'

class DjangoContentType(models.Model):
    id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=100L)
    app_label = models.CharField(max_length=100L)
    model = models.CharField(max_length=100L)
    class Meta:
        db_table = 'django_content_type'

class DjangoSession(models.Model):
    session_key = models.CharField(max_length=40L, primary_key=True)
    session_data = models.TextField()
    expire_date = models.DateTimeField()
    class Meta:
        db_table = 'django_session'

class DjangoSite(models.Model):
    id = models.AutoField(primary_key=True)
    domain = models.CharField(max_length=100L)
    name = models.CharField(max_length=50L)
    class Meta:
        db_table = 'django_site'

class Errors(models.Model):
    iderror = models.AutoField(primary_key=True)
    pid = models.ForeignKey('Projects', db_column='pid')
    rank = models.IntegerField()
    autodetermine = models.IntegerField()
    status = models.IntegerField(null=True, blank=True)
    numofinstances = models.IntegerField()
    createdate = models.DateTimeField()
    lastdate = models.DateTimeField()
    callstack = models.TextField()
    errorname = models.CharField(max_length=45L)
    errorclassname = models.CharField(max_length=45L)
    linenum = models.CharField(max_length=45L)
    errorweight = models.IntegerField(null=True, blank=True)
    recur = models.IntegerField(null=True, blank=True)
    eventpath = models.TextField(blank=True)
    wifion = models.IntegerField()
    gpson = models.IntegerField()
    mobileon = models.IntegerField()
    totalmemusage = models.IntegerField()
    class Meta:
        db_table = 'errors'

class Eventpaths(models.Model):
    ideventpaths = models.AutoField(primary_key=True)
    idinstance = models.ForeignKey('Instances', db_column='idinstance')
    datetime = models.DateTimeField(null=True, blank=True)
    classname = models.CharField(max_length=45L, blank=True)
    methodname = models.CharField(max_length=45L, blank=True)
    linenum = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = 'eventpaths'

class Instances(models.Model):
    idinstance = models.AutoField(primary_key=True)
    iderror = models.ForeignKey(Errors, db_column='iderror')
    sdkversion = models.CharField(max_length=45L, blank=True)
    appversion = models.CharField(max_length=45L, blank=True)
    osversion = models.CharField(max_length=45L, blank=True)
    kernelversion = models.CharField(max_length=45L, blank=True)
    appmemmax = models.CharField(max_length=45L, blank=True)
    appmemfree = models.CharField(max_length=45L, blank=True)
    appmemtotal = models.CharField(max_length=45L, blank=True)
    country = models.CharField(max_length=45L, blank=True)
    datetime = models.DateTimeField(null=True, blank=True)
    locale = models.CharField(max_length=45L, blank=True)
    mobileon = models.IntegerField(null=True, blank=True)
    gpson = models.IntegerField(null=True, blank=True)
    wifion = models.IntegerField(null=True, blank=True)
    device = models.CharField(max_length=45L, blank=True)
    rooted = models.IntegerField(null=True, blank=True)
    scrheight = models.IntegerField(null=True, blank=True)
    scrwidth = models.IntegerField(null=True, blank=True)
    scrorientation = models.IntegerField(null=True, blank=True)
    sysmemlow = models.CharField(max_length=45L, blank=True)
    log_path = models.CharField(max_length=260L, blank=True)
    batterylevel = models.IntegerField(null=True, blank=True)
    availsdcard = models.IntegerField(null=True, blank=True)
    xdpi = models.FloatField(null=True, blank=True)
    ydpi = models.FloatField(null=True, blank=True)
    callstack = models.TextField(blank=True)
    dump_path = models.CharField(max_length=260L, blank=True)
    class Meta:
        db_table = 'instances'

class Osstatistics(models.Model):
    idosstatistics = models.AutoField(primary_key=True)
    iderror = models.ForeignKey(Errors, db_column='iderror')
    osversion = models.CharField(max_length=10L)
    count = models.IntegerField()
    class Meta:
        db_table = 'osstatistics'

class Projects(models.Model):
    pid = models.AutoField(primary_key=True)
    apikey = models.CharField(max_length=10L, unique=True)
    platform = models.IntegerField()
    name = models.CharField(max_length=45L)
    stage = models.IntegerField()
    owner_uid = models.ForeignKey(AuthUser, db_column='owner_uid')
    class Meta:
        db_table = 'projects'

class Session(models.Model):
    idsession = models.BigIntegerField(primary_key=True)
    pid = models.ForeignKey(Projects, db_column='pid')
    appversion = models.CharField(max_length=45L)
    class Meta:
        db_table = 'session'

class Sessionevent(models.Model):
    idsessionevent = models.AutoField(primary_key=True)
    idsession = models.ForeignKey(Session, db_column='idsession')
    datetime = models.DateTimeField(null=True, blank=True)
    classname = models.CharField(max_length=45L, blank=True)
    methodname = models.CharField(max_length=45L, blank=True)
    linenum = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = 'sessionevent'

class Sofiles(models.Model):
    idsofiles = models.AutoField(primary_key=True)
    pid = models.ForeignKey(Projects, db_column='pid')
    appversion = models.CharField(max_length=45L)
    versionkey = models.CharField(max_length=45L, blank=True)
    filename = models.CharField(max_length=45L, blank=True)
    uploaded = models.CharField(max_length=45L, blank=True)
    class Meta:
        db_table = 'sofiles'
{'fraction_non_alphanumeric': 0.10689562650925677, 'fraction_numerical': 0.011000804936946607, 'mean_word_length': 4.5136094674556215, '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': '4079375', 'n_tokens_mistral': 6039, 'n_tokens_neox': 5875, 'n_words': 1056}