<commit_before># Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file>
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
# Created By: <EMAIL>
# Maintained By: <EMAIL>

from ggrc import db
from .mixins import (
    deferred, Timeboxed, Noted, Described, Hyperlinked, WithContact,
    Titled, Slugged, CustomAttributable
)
from .relationship import Relatable
from .object_person import Personable
from .context import HasOwnContext
from .reflection import PublishOnly
from .program import Program


class Audit(
        CustomAttributable, Personable, HasOwnContext, Relatable,
        Timeboxed, Noted, Described, Hyperlinked, WithContact, Titled, Slugged,
        db.Model):
  __tablename__ = 'audits'
  _slug_uniqueness = False

  VALID_STATES = (
      u'Planned', u'In Progress', u'Manager Review',
      u'Ready for External Review', u'Completed'
  )
<commit_msg>Make imports in audit.py absolute<commit_after># Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file>
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
# Created By: <EMAIL>
# Maintained By: <EMAIL>

from ggrc import db
from .mixins import (
    deferred, Timeboxed, Noted, Described, Hyperlinked, WithContact,
    Titled, Slugged, CustomAttributable
)
from ggrc.models.relationship import Relatable
from ggrc.models.object_person import Personable
from ggrc.models.context import HasOwnContext
from ggrc.models.reflection import PublishOnly
from ggrc.models.program import Program


class Audit(
        CustomAttributable, Personable, HasOwnContext, Relatable,
        Timeboxed, Noted, Described, Hyperlinked, WithContact, Titled, Slugged,
        db.Model):
  __tablename__ = 'audits'
  _slug_uniqueness = False

  VALID_STATES = (
      u'Planned', u'In Progress', u'Manager Review',
      u'Ready for External Review', u'Completed'
  )

{'fraction_non_alphanumeric': 0.0898172323759791, 'fraction_numerical': 0.006266318537859008, 'mean_word_length': 4.427762039660057, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4977750', 'n_tokens_mistral': 610, 'n_tokens_neox': 591, 'n_words': 182}