<commit_before><?php
namespace Peridot\Core;

/**
 * Class Suite maps to describe() style functions as well as context() style functions
 * @package Peridot\Core
 */
class Suite extends AbstractSpec
{
    /**
     * Specs belonging to this suite
     *
     * @var array
     */
    protected $specs = [];

    /**
     * Add a spec to the suite
     *
     * @param Spec $spec
     */
    public function addSpec(Spec $spec)
    {
        $this->specs[] = $spec;
    }

    /**
     * {@inheritdoc}
     *
     * @param callable $setupFn
     */
    public function addSetUpFunction(callable $setupFn)
    {
        $this->setUpFns[] = $setupFn;
    }

    /**
     * {@inheritdoc}
     *
     * @param callable $tearDownFn
     */
    public function addTearDownFunction(callable $tearDownFn)<commit_msg>Suite::addSpec uses SpecInterface<commit_after><?php
namespace Peridot\Core;

/**
 * Class Suite maps to describe() style functions as well as context() style functions
 * @package Peridot\Core
 */
class Suite extends AbstractSpec
{
    /**
     * Specs belonging to this suite
     *
     * @var array
     */
    protected $specs = [];

    /**
     * Add a spec to the suite
     *
     * @param Spec $spec
     */
    public function addSpec(SpecInterface $spec)
    {
        $this->specs[] = $spec;
    }

    /**
     * {@inheritdoc}
     *
     * @param callable $setupFn
     */
    public function addSetUpFunction(callable $setupFn)
    {
        $this->setUpFns[] = $setupFn;
    }

    /**
     * {@inheritdoc}
     *
     * @param callable $tearDownFn
     */
    public function addTearDownFunction(callable $tearDownFn)
{'fraction_non_alphanumeric': 0.12309567336989641, 'fraction_numerical': 0.0, 'mean_word_length': 2.1276190476190475, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '1412630', 'n_tokens_mistral': 516, 'n_tokens_neox': 510, 'n_words': 129}