<commit_before>/*
 * Copyright (C) 2014 Cloudius Systems, Ltd.
 */
#ifndef _APP_TEMPLATE_HH
#define _APP_TEMPLATE_HH

#include <boost/program_options.hpp>
#include <fstream>
#include <cstdlib>
#include "core/reactor.hh"
#include "core/scollectd.hh"

namespace bpo = boost::program_options;

class app_template {
private:
    bpo::options_description _opts;
    boost::optional<bpo::variables_map> _configuration;
public:
    app_template() {
        _opts.add_options()<commit_msg>app template: Put options for application in app options group<commit_after>/*
 * Copyright (C) 2014 Cloudius Systems, Ltd.
 */
#ifndef _APP_TEMPLATE_HH
#define _APP_TEMPLATE_HH

#include <boost/program_options.hpp>
#include <fstream>
#include <cstdlib>
#include "core/reactor.hh"
#include "core/scollectd.hh"

namespace bpo = boost::program_options;

class app_template {
private:
    bpo::options_description _opts;
    boost::optional<bpo::variables_map> _configuration;
public:
    app_template() : _opts("App options") {
        _opts.add_options()
{'fraction_non_alphanumeric': 0.11798839458413926, 'fraction_numerical': 0.007736943907156673, 'mean_word_length': 5.509433962264151, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '311234', 'n_tokens_mistral': 358, 'n_tokens_neox': 347, 'n_words': 78}