<commit_before>#pragma once
#include <string>
class Trial
{
public:
	Trial(std::string, std::string);
	~Trial();
	int Score();
private:
	int trial_number_;
	int partial_score_;
	int absolute_score_;
	int span_size_;
  std::string header_;
  std::string trialdata_;
};

<commit_msg>Added overloaded < operator in order to sort Trial objects by span_size_<commit_after>#pragma once
#include <string>
class Trial
{
public:
	Trial(std::string, std::string);
	~Trial();
	int Score();

  //overloaded < operator to allow sorting by
  //spansize_
  bool operator < (const Trial& trial) const
  {
    return (span_size_ < trial.span_size_);
  }
  int GetSpanSize();
  int GetPartialScore();
  int GetAbsoluteScore();
private:
	int trial_number_;
	int partial_score_;
	int absolute_score_;
	int span_size_;
  std::string header_;
  std::string trialdata_;
};


{'fraction_non_alphanumeric': 0.11750881316098707, 'fraction_numerical': 0.0, 'mean_word_length': 4.958041958041958, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, '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': '5993942', 'n_tokens_mistral': 292, 'n_tokens_neox': 280, 'n_words': 82}