<commit_before>`import Ember from 'ember'`
`import ENUMS from 'irene/enums'`

SubmissionListComponent = Ember.Component.extend

  classNames: ["container"]


  submissionCount: Ember.computed.alias 'submissions.length'
  hasSubmissions: Ember.computed.gt 'submissionCount', 0

  submissions: ( ->
    @get("store").findAll "submission"
  ).property "realtime.SubmissionCounter"

  filteredSubmissions: Ember.computed.filter 'submissions', (submission) ->
    submission.get("status") isnt ENUMS.SUBMISSION_STATUS.ANALYZING

  submissionSorting: ['id:desc']
  sortedSubmissions: Ember.computed.sort 'filteredSubmissions', 'submissionSorting'

`export default SubmissionListComponent`<commit_msg>add observer for filter status<commit_after>`import Ember from 'ember'`
`import ENUMS from 'irene/enums'`

SubmissionListComponent = Ember.Component.extend

  classNames: ["container"]


  submissionCount: Ember.computed.alias 'submissions.length'
  hasSubmissions: Ember.computed.gt 'submissionCount', 0

  submissions: ( ->
    @get("store").findAll "submission"
  ).property "realtime.SubmissionCounter"

  submissionStatusObserver: Ember.observer "submissions.@each.status", ->
    submissions = @get "submissions"
    filteredSubmissions = submissions.filter (submission) ->
      submission.get("status") isnt ENUMS.SUBMISSION_STATUS.ANALYZING
    @set "filteredSubmissions", filteredSubmissions

  submissionSorting: ['id:desc']
  sortedSubmissions: Ember.computed.sort 'filteredSubmissions', 'submissionSorting'

`export default SubmissionListComponent`
{'fraction_non_alphanumeric': 0.11446945337620579, 'fraction_numerical': 0.0012861736334405145, 'mean_word_length': 5.977578475336323, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '4316143', 'n_tokens_mistral': 502, 'n_tokens_neox': 474, 'n_words': 91}