<commit_before><?php

namespace Jfsimon\Datagrid\Service;

use Jfsimon\Datagrid\Model\Component\Cell\CellInterface;
use Jfsimon\Datagrid\Model\Data\Entity;
use Symfony\Component\OptionsResolver\OptionsResolver;

/**
 * Data handler service interface.
 *
 * @author <NAME> <<EMAIL>>
 */
interface HandlerInterface
{
    /**
     * Configures column's options resolver.
     *
     * @param OptionsResolver $resolver
     */
    public function configure(OptionsResolver $resolver);

    /**
     * Generates a cell with given entity, column name & options.
     *
     * @param Entity $entity
     * @param string $name
     * @param array  $options
     *
     * @return CellInterface
     */
    public function handle(Entity $entity, $name, array $options);

    /**
     * Returns supported row type.
     *
     * @return string
     */
    public function getType();
}
<commit_msg>fixed import error<commit_after><?php

namespace Jfsimon\Datagrid\Service;

use Jfsimon\Datagrid\Model\Component\Cell;
use Jfsimon\Datagrid\Model\Data\Entity;
use Symfony\Component\OptionsResolver\OptionsResolver;

/**
 * Data handler service interface.
 *
 * @author <NAME> <<EMAIL>>
 */
interface HandlerInterface
{
    /**
     * Configures column's options resolver.
     *
     * @param OptionsResolver $resolver
     */
    public function configure(OptionsResolver $resolver);

    /**
     * Generates a cell with given entity, column name & options.
     *
     * @param Entity $entity
     * @param string $name
     * @param array  $options
     *
     * @return Cell
     */
    public function handle(Entity $entity, $name, array $options);

    /**
     * Returns supported row type.
     *
     * @return string
     */
    public function getType();
}

{'fraction_non_alphanumeric': 0.11345496009122007, 'fraction_numerical': 0.0, 'mean_word_length': 2.7660944206008584, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '2361546', 'n_tokens_mistral': 521, 'n_tokens_neox': 514, 'n_words': 132}