<commit_before><?php

/*
 * This file is part of Zippy.
 *
 * (c) Alchemy <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Alchemy\Zippy\Parser;

interface ParserInterface
{
    /**
     * Parses a file listing
     *
     * @param String $output The string to parse
     *
     * @return Array An array of Members
     */
    public function parseFileListing($output);

    /**
     * Parses a version
     *
     * @param String $output
     *
     * @return String The version
     */
    public function parseVersion($output);
}<commit_msg>Update parser interface to fetch version from inflator & deflator binary<commit_after><?php

/*
 * This file is part of Zippy.
 *
 * (c) Alchemy <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Alchemy\Zippy\Parser;

interface ParserInterface
{
    /**
     * Parses a file listing
     *
     * @param String $output The string to parse
     *
     * @return Array An array of Members
     */
    public function parseFileListing($output);

    /**
     * Parses the inflator binary version
     *
     * @param String $output
     *
     * @return String The version
     */
    public function parseInflatorVersion($output);

    /**
     * Parses the deflator binary version
     *
     * @param String $output
     *
     * @return String The version
     */
    public function parsedeflatorVersion($output);
}
{'fraction_non_alphanumeric': 0.0916030534351145, 'fraction_numerical': 0.0, 'mean_word_length': 2.5111607142857144, 'pattern_counts': {'":': 0, '<': 9, '<?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': '2392126', 'n_tokens_mistral': 446, 'n_tokens_neox': 434, 'n_words': 158}