<commit_before>class ErrorStore

  def initialize(request, data)
    @request = request
    @data    = data
  end

  def get
    # decode get request data
  end

  def post
    # decode post request data
    data = request.body.read
    response_or_event_id = process

    # if isinstance(response_or_event_id, HttpResponse):
    #   return response_or_event_id
    # return HttpResponse(json.dumps({
    #     'id': response_or_event_id,
    # }), content_type='application/json')
  end

  private
  def process
    
  end

end<commit_msg>display last parse date for each page<commit_after>class ErrorStore

  def initialize(request, data)
    @request = request
    @data    = data
  end

  def get
    # decode get request data
  end

  def post
    # decode post request data
    data = request.body.read
    response_or_event_id = process

    # if isinstance(response_or_event_id, HttpResponse):
    #   return response_or_event_id
    # return HttpResponse(json.dumps({
    #     'id': response_or_event_id,
    # }), content_type='application/json')
  end

  private
  def process
  end

end
{'fraction_non_alphanumeric': 0.0746132848043676, 'fraction_numerical': 0.0, 'mean_word_length': 2.900709219858156, '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': '7629796', 'n_tokens_mistral': 349, 'n_tokens_neox': 340, 'n_words': 91}