<commit_before>class Department
  # FIXME: This couples Panopticon operation to Imminence operation which I
  # don't like. Panopticon should probably denormalise this data every time
  # the data set is updated and just use that denormalised data here.
  def self.all
    data_set_url = Plek.current.find("data") + '/data_sets/public_bodies.json'
    data_set = JSON.parse open(data_set_url).read
    data_set.map { |department| department['id'] }.sort
  end
end<commit_msg>reverting back to a static list & decouppling from imminence this is only tempoary as this field is going to become managed by need-o-tron soon<commit_after>class Department
  # FIXME: This is only temporary - this field will shortly be managed via
  # need-o-tron and synced via marples/message queue
  def self.all
    [
      "BIS - Adult Education",
      "BIS - Employment",
      "DCLG",
      "DWP - Benefits",
      "DWP - Pensions, disabled and carers",
      "MoJ",
      "GDS"
    ]
  end
end
{'fraction_non_alphanumeric': 0.081799591002045, 'fraction_numerical': 0.0, 'mean_word_length': 3.2751091703056767, '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': '6114710', 'n_tokens_mistral': 305, 'n_tokens_neox': 298, 'n_words': 109}