<commit_before>/****************************************************************/
/*               DO NOT MODIFY THIS HEADER                      */
/* MOOSE - Multiphysics Object Oriented Simulation Environment  */
/*                                                              */
/*           (c) 2010 Battelle Energy Alliance, LLC             */
/*                   ALL RIGHTS RESERVED                        */
/*                                                              */
/*          Prepared by Battelle Energy Alliance, LLC           */
/*            Under Contract No. DE-AC07-05ID14517              */
/*            With the U. S. Department of Energy               */
/*                                                              */
/*            See COPYRIGHT for full restrictions               */
/****************************************************************/

#include "InputParameters.h"
#include "MooseTypes.h"
#include "MooseUtils.h"

#include <cmath>

InputParameters emptyInputParameters()
{
  InputParameters params;
  return params;
}

InputParameters::InputParameters() :
    Parameters(),
    _collapse_nesting(false),
    _moose_object_syntax_visibility(true),
    _show_deprecated_message(true)
{
}

InputParameters::InputParameters(const InputParameters &rhs) :
    Parameters(),
    _moose_object_syntax_visibility(true)
{
  *this = rhs;
}

InputParameters::InputParameters(const Parameters &rhs) :
    _moose_object_syntax_visibility(true)
{
  Parameters::operator=(rhs);
  _collapse_nesting = false;
  _moose_object_syntax_visibility = true;
}

void
InputParameters::clear()
{
  Parameters::clear();
  _doc_string.clear();
  _custom_type.clear();
  _group.clear();
  _range_functions.clear();
  _required_params.clear();
  _valid_params.clear();
  _private_params.clear();
  _coupled_vars.clear();
  _syntax.clear();
  _default_coupled_value.clear();
  _default_postprocessor_value.clear();
  _collapse_nesting = false;
  _moose_object_syntax_visibility = true;
  _moose_object_syntax_visibility = true;
}

void
InputParameters::addClassDescription(const std::string &doc_string)
{
  _doc_string["_class"] = doc_string;
}

void
InputParameters::set_attributes(const std::string & name, bool inserted_only)
{
  if (!inserted_only)<commit_msg>Oops wrong one (refs #4410)<commit_after>/****************************************************************/
/*               DO NOT MODIFY THIS HEADER                      */
/* MOOSE - Multiphysics Object Oriented Simulation Environment  */
/*                                                              */
/*           (c) 2010 Battelle Energy Alliance, LLC             */
/*                   ALL RIGHTS RESERVED                        */
/*                                                              */
/*          Prepared by Battelle Energy Alliance, LLC           */
/*            Under Contract No. DE-AC07-05ID14517              */
/*            With the U. S. Department of Energy               */
/*                                                              */
/*            See COPYRIGHT for full restrictions               */
/****************************************************************/

#include "InputParameters.h"
#include "MooseTypes.h"
#include "MooseUtils.h"

#include <cmath>

InputParameters emptyInputParameters()
{
  InputParameters params;
  return params;
}

InputParameters::InputParameters() :
    Parameters(),
    _collapse_nesting(false),
    _moose_object_syntax_visibility(true),
    _show_deprecated_message(true)
{
}

InputParameters::InputParameters(const InputParameters &rhs) :
    Parameters(),
    _show_deprecated_message(true)

{
  *this = rhs;
}

InputParameters::InputParameters(const Parameters &rhs) :
    _show_deprecated_message(true)
{
  Parameters::operator=(rhs);
  _collapse_nesting = false;
  _moose_object_syntax_visibility = true;
}

void
InputParameters::clear()
{
  Parameters::clear();
  _doc_string.clear();
  _custom_type.clear();
  _group.clear();
  _range_functions.clear();
  _required_params.clear();
  _valid_params.clear();
  _private_params.clear();
  _coupled_vars.clear();
  _syntax.clear();
  _default_coupled_value.clear();
  _default_postprocessor_value.clear();
  _collapse_nesting = false;
  _moose_object_syntax_visibility = true;
  _show_deprecated_message = true;
}

void
InputParameters::addClassDescription(const std::string &doc_string)
{
  _doc_string["_class"] = doc_string;
}

void
InputParameters::set_attributes(const std::string & name, bool inserted_only)
{
  if (!inserted_only)
{'fraction_non_alphanumeric': 0.15504385964912282, 'fraction_numerical': 0.006578947368421052, 'mean_word_length': 2.424174174174174, 'pattern_counts': {'":': 0, '<': 5, '<?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': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5270196', 'n_tokens_mistral': 1243, 'n_tokens_neox': 1180, 'n_words': 227}