<commit_before>ActiveAdmin.register DeliveryUpdate do
  permit_params :study_id, :data_analysis_status_id,
                :data_collection_status_id,
                :interpretation_and_write_up_status_id, :user_id, :comments

  menu parent: "Delivery updates"

  filter :study
  filter :user
  filter :created
end<commit_msg>Improve the columns show on delivery update admin<commit_after>ActiveAdmin.register DeliveryUpdate do
  permit_params :study_id, :data_analysis_status_id,
                :data_collection_status_id,
                :interpretation_and_write_up_status_id, :user_id, :comments

  menu parent: "Delivery updates"

  filter :study
  filter :user
  filter :created

  index do
    selectable_column
    column :study
    column :user
    column :data_collection_status
    column :data_analysis_status
    column :interpretation_and_write_up_status
    column :created_at
    actions
  end
end
{'fraction_non_alphanumeric': 0.05245901639344262, 'fraction_numerical': 0.0, 'mean_word_length': 3.7708333333333335, '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': '637348', 'n_tokens_mistral': 281, 'n_tokens_neox': 265, 'n_words': 65}