<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
##
# Python stdlib
#
import sys
from itertools import chain

##
# library modules
#
from contentmakeup.strategy import StrategyInterface


class FilesFinder(StrategyInterface):
    subject = ('files_finder',)

    def __call__(self, files):
        return map(lambda line: list(chain(line.strip().split(' '), \
                                        ['-']))[0:2], self._find_source(files))

    def _find_source(self, files):<commit_msg>input_files_finder will return only list of input files, not tuple with both input and output files<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
##
# Python stdlib
#
import sys

##
# library modules
#
from contentmakeup.strategy import StrategyInterface


class InputFilesFinder(StrategyInterface):
    subject = ('input_files_finder',)

    def __call__(self, files):
        return self._find_source(files)

    def _find_source(self, files):
{'fraction_non_alphanumeric': 0.12434691745036573, 'fraction_numerical': 0.0041797283176593526, 'mean_word_length': 3.5619047619047617, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6195273', 'n_tokens_mistral': 285, 'n_tokens_neox': 277, 'n_words': 74}