<commit_before># Create your models here.
# 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 .columns_config import COLUMNS, ORDER_COLUMNS, COL_TITLES, FILTERS


from django.db import models
models.options.DEFAULT_NAMES += ('allColumns', 'orderColumns', \
                                 'primaryColumns', 'secondaryColumns', \
                                 'columnTitles', 'filterFields',)

class MonitorUsers(models.Model):
    userid = models.BigIntegerField(db_column='ID')
    dname = models.CharField(max_length=200, db_column='DNAME', blank=True) 
    username = models.CharField(max_length=200, db_column='USERNAME', blank=True) 
    firstdate = models.DateTimeField(db_column='FIRSTLOGINDATE') # Field name made lowercase.
    isactive = models.SmallIntegerField(db_column='ISACTIVE') # Field name made lowercase.
    description = models.BinaryField(db_column='DESCRIPTION')
    class Meta:
        db_table = u'MONITOR_USERS'


class GetRWWithPrioJedi3DAYS(models.Model):
    jeditaskid = models.BigIntegerField(db_column='JEDITASKID')
    datasetid = models.BigIntegerField(db_column='DATASETID')
    modificationtime = models.DateTimeField(db_column='MODIFICATIONTIME')
    cloud = models.CharField(max_length=150, db_column='CLOUD', blank=True) 
    nrem = models.BigIntegerField(db_column='NREM')
    walltime = models.BigIntegerField(db_column='WALLTIME')
    fsize = models.BigIntegerField(db_column='FSIZE')
    startevent = models.BigIntegerField(db_column='STARTEVENT')
    endevent = models.BigIntegerField(db_column='ENDEVENT')
    nevents = models.BigIntegerField(db_column='NEVENTS')
   
    def get_all_fields(self):
        """Returns a list of all field names on the instance."""
        fields = []
        kys = {}
        for f in self._meta.fields:
            kys[f.name] = f
        kys1 = kys.keys()
        kys1.sort()
        for k in kys1:<commit_msg>Email become a field of Users Table<commit_after># Create your models here.
# 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 .columns_config import COLUMNS, ORDER_COLUMNS, COL_TITLES, FILTERS


from django.db import models
models.options.DEFAULT_NAMES += ('allColumns', 'orderColumns', \
                                 'primaryColumns', 'secondaryColumns', \
                                 'columnTitles', 'filterFields',)

class MonitorUsers(models.Model):
    userid = models.BigIntegerField(db_column='ID')
    dname = models.CharField(max_length=200, db_column='DNAME', blank=True)
    email = models.CharField(max_length=100, db_column='EMAIL', blank=True)     
    username = models.CharField(max_length=200, db_column='USERNAME', blank=True) 
    firstdate = models.DateTimeField(db_column='FIRSTLOGINDATE') # Field name made lowercase.
    isactive = models.SmallIntegerField(db_column='ISACTIVE') # Field name made lowercase.
    description = models.BinaryField(db_column='DESCRIPTION')
    class Meta:
        db_table = u'MONITOR_USERS'


class GetRWWithPrioJedi3DAYS(models.Model):
    jeditaskid = models.BigIntegerField(db_column='JEDITASKID')
    datasetid = models.BigIntegerField(db_column='DATASETID')
    modificationtime = models.DateTimeField(db_column='MODIFICATIONTIME')
    cloud = models.CharField(max_length=150, db_column='CLOUD', blank=True) 
    nrem = models.BigIntegerField(db_column='NREM')
    walltime = models.BigIntegerField(db_column='WALLTIME')
    fsize = models.BigIntegerField(db_column='FSIZE')
    startevent = models.BigIntegerField(db_column='STARTEVENT')
    endevent = models.BigIntegerField(db_column='ENDEVENT')
    nevents = models.BigIntegerField(db_column='NEVENTS')
   
    def get_all_fields(self):
        """Returns a list of all field names on the instance."""
        fields = []
        kys = {}
        for f in self._meta.fields:
            kys[f.name] = f
        kys1 = kys.keys()
        kys1.sort()
        for k in kys1:
{'fraction_non_alphanumeric': 0.1046107003044802, 'fraction_numerical': 0.006307090039147456, 'mean_word_length': 3.7461300309597525, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6682696', 'n_tokens_mistral': 1435, 'n_tokens_neox': 1387, 'n_words': 335}