<commit_before>
# User profile

# Groups
 1. official
 2. resident
 3. anonymous (if required)
 
# Languages (Could be hardcoded instead of db model. There are only three anyway.)

# Hearing 
 - closing time
 - number of comments
 (avoid selects from comments, to count them by hearing, update hearing when commented)
 - location
 - status
 - content
 - borough
 - comments enabled
 - author

## HearingTranslation

Translated content could be fetched after hearing has been fetched and then merged before payload is generated.

 - hearing FK
 - content
 - lang code


# HearingLabels
 - hearing FK
 - label

# Report (model or computed from data?)

# CommonComment
 - author
 - time
 - likes (again, keep number of likes instead of counting them all the time)
 - comment
 - language

## HearingComment
  - hearing FK

## ScenarioComment
  - scenario FK

# CommentHistory
 - datetime
 - content
 - author

# CommonLike
 - user FK

## HearingLike
 - hearing FK

## CommentLike
 - comment FK
 
# CommonFollower
 - user FK
 
## CommentFollower
 - comment FK

## HearingFollower
 - hearing FK

# Scenario
 - hearing FK
 - content

# Introduction
 - hearing FK
 - content

# Processing
 - hearing FK

# ProcessingStep
 - Processing FK

# CommonImage

## HearingImage
  - hearing FK

## ScenarioImage
  - scenario FK

## IntroductionImage
  - introduction FK

<commit_msg>Removed HearingTranslation. Added note about django-modeltranslation<commit_after>
# User profile

# Groups
 1. official
 2. resident
 3. anonymous (if required)
 
# Languages (Could be hardcoded instead of db model. There are only three anyway.)

# Hearing 
 - closing time
 - number of comments
 (avoid selects from comments, to count them by hearing, update hearing when commented)
 - location
 - status
 - content
 - borough
 - comments enabled
 - author

Translation is done with django-modeltranslation.
http://django-modeltranslation.readthedocs.org

# HearingLabels
 - hearing FK
 - label

# Report (model or computed from data?)

# CommonComment
 - author
 - time
 - likes (again, keep number of likes instead of counting them all the time)
 - comment
 - language

## HearingComment
  - hearing FK

## ScenarioComment
  - scenario FK

# CommentHistory
 - datetime
 - content
 - author

# CommonLike
 - user FK

## HearingLike
 - hearing FK

## CommentLike
 - comment FK
 
# CommonFollower
 - user FK
 
## CommentFollower
 - comment FK

## HearingFollower
 - hearing FK

# Scenario
 - hearing FK
 - content

# Introduction
 - hearing FK
 - content

# Processing
 - hearing FK

# ProcessingStep
 - Processing FK

# CommonImage

## HearingImage
  - hearing FK

## ScenarioImage
  - scenario FK

## IntroductionImage
  - introduction FK


{'fraction_non_alphanumeric': 0.07235142118863049, 'fraction_numerical': 0.0022148394241417496, 'mean_word_length': 3.0813253012048194, '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': '1301365', 'n_tokens_mistral': 828, 'n_tokens_neox': 738, 'n_words': 296}