<commit_before>#include <cstdlib>
#include "vast/program.h"

int main(int argc, char *argv[])
{
  vast::configuration config;
  if (! config.load(argc, argv))
    return EXIT_FAILURE;

  if (argc < 2 || config.check("help") || config.check("advanced"))
  {
    config.print(std::cerr, config.check("advanced"));
    return EXIT_SUCCESS;
  }

  vast::program program(config);
  auto rc = program.run();

  return rc ? EXIT_FAILURE : EXIT_SUCCESS;
}
<commit_msg>Correct exit status of main().<commit_after>#include <cstdlib>
#include "vast/program.h"

int main(int argc, char *argv[])
{
  vast::configuration config;
  if (! config.load(argc, argv))
    return EXIT_FAILURE;

  if (argc < 2 || config.check("help") || config.check("advanced"))
  {
    config.print(std::cerr, config.check("advanced"));
    return EXIT_SUCCESS;
  }

  vast::program program(config);
  auto rc = program.run();

  return rc ? EXIT_SUCCESS : EXIT_FAILURE;
}

{'fraction_non_alphanumeric': 0.1632870864461046, 'fraction_numerical': 0.0021344717182497333, 'mean_word_length': 4.329545454545454, 'pattern_counts': {'":': 0, '<': 7, '<?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': '7102679', 'n_tokens_mistral': 329, 'n_tokens_neox': 319, 'n_words': 72}