<commit_before>from .compute_parse_load_flow_generator import ComputeParseLoadFlowGenerator

class ConfgenFlowGenerator():
    flow_type = 'confgen'

    @classmethod
    def generate_flow(cls, *args, flow_spec=None, **kwargs):
        confgen_flow_spec = flow_spec
        job_module = 'confgen'
        compute_parse_load_flow_spec = {
            'compute_job_spec': {
                'module': job_module,
                'command': 'generate_conformers',
                'kwargs': {
                    'smiles': confgen_flow_spec['input']['smiles'],
                    'params': confgen_flow_spec['input']['confgen_params'],
                }
            },
            'parse_job_spec': {
                'module': job_module,
                'command': 'parse_completed_confgen_dir',
            },
            'load_job_spec': {<commit_msg>job_config => job_params<commit_after>from .compute_parse_load_flow_generator import ComputeParseLoadFlowGenerator

class ConfgenFlowGenerator():
    flow_type = 'confgen'

    @classmethod
    def generate_flow(cls, *args, flow_spec=None, **kwargs):
        confgen_flow_spec = flow_spec
        job_module = 'confgen'
        compute_parse_load_flow_spec = {
            'compute_job_params': {
                'module': job_module,
                'command': 'generate_conformers',
                'kwargs': {
                    'smiles': confgen_flow_spec['input']['smiles'],
                    'params': confgen_flow_spec['input']['confgen_params'],
                }
            },
            'parse_job_params': {
                'module': job_module,
                'command': 'parse_completed_confgen_dir',
            },
            'load_job_params': {
{'fraction_non_alphanumeric': 0.10832847990681421, 'fraction_numerical': 0.0, 'mean_word_length': 2.04070796460177, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5824569', 'n_tokens_mistral': 491, 'n_tokens_neox': 472, 'n_words': 71}