<commit_before>CI.inner.Org = class Org extends CI.inner.Obj
  observables: =>
    projects: []
    users: []
    paid: false
    plan: null

  constructor: (json) ->

    super json<commit_msg>turn projects into project Objects<commit_after>CI.inner.Org = class Org extends CI.inner.Obj
  observables: =>
    name: null
    projects: []
    users: []
    paid: false
    plan: null

  clean: () ->
    super
    VM.cleanObjs(@project_objs())

  constructor: (json) ->

    super json

    @projects(new CI.inner.Project(project) for project in @projects())

    # projects that have been turned into Project objects
    @project_objs = @komp =>
      for project in @projects()
        project.followers = (new CI.inner.User(u) for u in project.followers)
        project

    @projects_with_followers = @komp =>
      _.filter @project_objs(), ((p) -> p.followers.length)

    @projects_without_followers = @komp =>
      _.reject @project_objs(), ((p) -> p.followers.length)
{'fraction_non_alphanumeric': 0.1269191402251791, 'fraction_numerical': 0.0, 'mean_word_length': 2.8656126482213438, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '6844498', 'n_tokens_mistral': 319, 'n_tokens_neox': 302, 'n_words': 80}