<commit_before>#! /usr/bin/env python
"""A base class for all Dakota experiments."""

from abc import ABCMeta, abstractmethod


class DakotaBase(object):
    """Describe features common to all Dakota experiments."""
    __metaclass__ = ABCMeta

    @abstractmethod
    def __init__(self):
        """Create a set of default experiment parameters."""
        self.model = None
        # self.input_file = 'dakota.in'
        # self.output_file = 'dakota.out'
        self.data_file = 'dakota.dat'

        self.method = None

        self.variable_type = 'continuous_design'
        self.n_variables = 0
        self.variable_descriptors = []

        self.interface = 'direct'
        self.analysis_driver = 'rosenbrock'
        self.parameters_file = 'params.in'<commit_msg>Remove input_file and output_file attributes<commit_after>#! /usr/bin/env python
"""A base class for all Dakota experiments."""

from abc import ABCMeta, abstractmethod


class DakotaBase(object):
    """Describe features common to all Dakota experiments."""
    __metaclass__ = ABCMeta

    @abstractmethod
    def __init__(self):
        """Create a set of default experiment parameters."""
        self.model = None
        self.data_file = 'dakota.dat'

        self.method = None

        self.variable_type = 'continuous_design'
        self.n_variables = 0
        self.variable_descriptors = []

        self.interface = 'direct'
        self.analysis_driver = 'rosenbrock'
        self.parameters_file = 'params.in'
{'fraction_non_alphanumeric': 0.10140093395597065, 'fraction_numerical': 0.00133422281521014, 'mean_word_length': 2.7593984962406015, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2318912', 'n_tokens_mistral': 429, 'n_tokens_neox': 420, 'n_words': 113}