<commit_before>module Weavr
  class Request < Resource
    field :cluster_name,         String
    field :id,                   Integer
    field :aborted_task_count,   Integer
    field :completed_task_count, Integer
    field :create_time,          Integer  # Needs to be Date
    field :end_time,             Integer  # Needs to be Date
    field :failed_task_count,    Integer
    field :inputs,               Whatever # Fix
    field :progress_percent,     Float
    field :queued_task_count,    Integer
    field :request_context,      String
    field :request_schedule,     Whatever # Fix
    field :request_status,       String
    field :resource_filter,      Array
    field :start_time,           Integer  # Needs to be Date
    field :task_count,           Integer
    field :timed_out_task_count, Integer
    field :type,                 String
    collection :tasks,           Task, key_method: 'id'
  end
end
<commit_msg>adding status field to request resource<commit_after>module Weavr
  class Request < Resource
    field :cluster_name,         String
    field :id,                   Integer
    field :aborted_task_count,   Integer
    field :completed_task_count, Integer
    field :create_time,          Integer  # Needs to be Date
    field :end_time,             Integer  # Needs to be Date
    field :failed_task_count,    Integer
    field :inputs,               Whatever # Fix
    field :progress_percent,     Float
    field :queued_task_count,    Integer
    field :request_context,      String
    field :request_schedule,     Whatever # Fix
    field :request_status,       String
    field :resource_filter,      Array
    field :start_time,           Integer  # Needs to be Date
    field :status,               String
    field :task_count,           Integer
    field :timed_out_task_count, Integer
    field :type,                 String
    collection :tasks,           Task, key_method: 'id'
  end
end

{'fraction_non_alphanumeric': 0.05360824742268041, 'fraction_numerical': 0.0, 'mean_word_length': 2.018662519440124, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1182934', 'n_tokens_mistral': 522, 'n_tokens_neox': 517, 'n_words': 168}