<commit_before>#include <iostream>
using std::cout;
using std::endl;

#include "problems/Factory.h"
#include "util/Timer.h"
using util::Timer;

int main(int argc, char **argv) {

  auto problem = problems::Factory::create(1);

  Timer t;

  t.start();
  for (int i = 0; i < 1000000; ++i)
    problem->solve();
  t.stop();

  cout << problem->answer() << endl;<commit_msg>Make apps/pe only run a problem once<commit_after>#include <iostream>
using std::cout;
using std::endl;

#include "problems/Factory.h"
#include "util/Timer.h"
using util::Timer;

int main(int argc, char **argv) {

  auto problem = problems::Factory::create(1);

  Timer t;

  t.start();
  problem->solve();
  t.stop();

  cout << problem->answer() << endl;
{'fraction_non_alphanumeric': 0.1829436038514443, 'fraction_numerical': 0.013755158184319119, 'mean_word_length': 4.392592592592592, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 9, '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': '2434559', 'n_tokens_mistral': 275, 'n_tokens_neox': 253, 'n_words': 68}