<commit_before><?php

return function (CM_Config_Node $config) {

    $awsBucket = '<bucket>';
    $awsRegion = '<region>';
    $awsKey = '<access-key>';
    $awsSecret = '<secret-access-key>';

    $config->services['s3export-filesystem-original'] = array(
        'class'  => 'CM_File_Filesystem_Factory',
        'method' => array(
            'name'      => 'createFilesystem',
            'arguments' => array(
                'CM_File_Filesystem_Adapter_AwsS3',
                array(
                    'bucket' => $awsBucket,
                    'region' => $awsRegion,
                    'key'    => $awsKey,
                    'secret' => $awsSecret,
                ),
            ),
        ));

    $config->services['s3export-backup-manager'] = [
        'class'     => 'S3Export_BackupManager',
        'arguments' => [
            [
                'key'    => $awsKey,
                'secret' => $awsSecret,
            ]
        ]
    ];
};<commit_msg>Add bucket name to local config<commit_after><?php

return function (CM_Config_Node $config) {

    $awsBucket = '<bucket>';
    $awsRegion = '<region>';
    $awsKey = '<access-key>';
    $awsSecret = '<secret-access-key>';

    $config->services['s3export-filesystem-original'] = array(
        'class'  => 'CM_File_Filesystem_Factory',
        'method' => array(
            'name'      => 'createFilesystem',
            'arguments' => array(
                'CM_File_Filesystem_Adapter_AwsS3',
                array(
                    'bucket' => $awsBucket,
                    'region' => $awsRegion,
                    'key'    => $awsKey,
                    'secret' => $awsSecret,
                ),
            ),
        ));

    $config->services['s3export-backup-manager'] = [
        'class'     => 'S3Export_BackupManager',
        'arguments' => [
            [
                'bucket' => $awsBucket,
                'key'    => $awsKey,
                'secret' => $awsSecret,
            ]
        ]
    ];
};
{'fraction_non_alphanumeric': 0.15453639082751744, 'fraction_numerical': 0.003988035892323031, 'mean_word_length': 1.4686346863468636, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 40, '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': '4481699', 'n_tokens_mistral': 589, 'n_tokens_neox': 573, 'n_words': 89}