<commit_before>#include <stan/version.hpp>
#include <stan/gm/compiler.hpp>

#include <exception>
#include <fstream>
#include <iostream>
#include <stdexcept>
#include <string>

#include <stan/io/cmd_line.hpp>

/** 
 * Prints the Stan version to std::cout.
 * 
 */
void print_version() {
  std::cout << "stanc version "
            << stan::MAJOR_VERSION
            << "."
            << stan::MINOR_VERSION
            << "."
            << stan::PATCH_VERSION
            << std::endl;
}

/** 
 * Prints the Stan compiler (stanc) help 
 * to std::cout.
 * 
 */
void print_stanc_help() {
  using stan::io::print_help_option;

  std::cout << std::endl;
  print_version();
  std::cout << std::endl;

  std::cout << "USAGE:  " << "stanc [options] <model_file>" << std::endl;
  std::cout << std::endl;
  
  std::cout << "OPTIONS:" << std::endl;
  std::cout << std::endl;
  
  print_help_option("help","","Display this information");

  print_help_option("version","","Display stanc version number");

  print_help_option("name","string",
                    "Model name",
                    "default = \"anon_model\"");

  print_help_option("o","file",
                    "Output file for generated C++ code",
                    "default = \"$name.cpp\"");
  
}

/** 
 * The Stan compiler (stanc).
 *
 * @param argc Number of arguments
 * @param argv Arguments
 * 
 * @return 0 for success, -1 for exception, -2 for parser failure
 */
int main(int argc, const char* argv[]) {<commit_msg>Changed help for stanc to reflect new model_name.<commit_after>#include <stan/version.hpp>
#include <stan/gm/compiler.hpp>

#include <exception>
#include <fstream>
#include <iostream>
#include <stdexcept>
#include <string>

#include <stan/io/cmd_line.hpp>

/** 
 * Prints the Stan version to std::cout.
 * 
 */
void print_version() {
  std::cout << "stanc version "
            << stan::MAJOR_VERSION
            << "."
            << stan::MINOR_VERSION
            << "."
            << stan::PATCH_VERSION
            << std::endl;
}

/** 
 * Prints the Stan compiler (stanc) help 
 * to std::cout.
 * 
 */
void print_stanc_help() {
  using stan::io::print_help_option;

  std::cout << std::endl;
  print_version();
  std::cout << std::endl;

  std::cout << "USAGE:  " << "stanc [options] <model_file>" << std::endl;
  std::cout << std::endl;
  
  std::cout << "OPTIONS:" << std::endl;
  std::cout << std::endl;
  
  print_help_option("help","","Display this information");

  print_help_option("version","","Display stanc version number");

  print_help_option("name","string",
                    "Model name",
                    "default = \"$model_filename_model\"");

  print_help_option("o","file",
                    "Output file for generated C++ code",
                    "default = \"$name.cpp\"");
  
}

/** 
 * The Stan compiler (stanc).
 *
 * @param argc Number of arguments
 * @param argv Arguments
 * 
 * @return 0 for success, -1 for exception, -2 for parser failure
 */
int main(int argc, const char* argv[]) {
{'fraction_non_alphanumeric': 0.17224246439218285, 'fraction_numerical': 0.001987413050679033, 'mean_word_length': 2.742255266418835, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 21, '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': '744150', 'n_tokens_mistral': 990, 'n_tokens_neox': 957, 'n_words': 229}