<commit_before>def GenerateConfig(context):
    config={}
    config['resources'] = []

    deploymentJSON = {
        'name': 'deployment',
        'type': 'deployment.py',
        'properties': {
            'couchbaseUsername': context.properties['couchbaseUsername'],
            'couchbasePassword': context.properties['couchbasePassword'],
            'clusters': {
            }
        }
    }
    config['resources'].append(deploymentJSON)

    zones = GetZonesList(context)
    for zone in zones:
        clusterJSON = {
            'cluster': zone
            'region': zone
            'groups':
            [
                {
                    'group': 'server'
                    'diskSize': 100
                    'nodeCount': 5
                    'nodeType': 'n1-standard-4'
                    'services': ['data','query','index','fts']
                },
                {
                    'group': 'syncGateway'
                    'diskSize': 100
                    'nodeCount': 5
                    'nodeType': 'n1-standard-4'
                    'services': ['syncGateway']
                }
            ]
        }

    return config

def GetZonesList(context):<commit_msg>I would not have made a good punch card operator.<commit_after>def GenerateConfig(context):
    config={}
    config['resources'] = []

    deploymentJSON = {
        'name': 'deployment',
        'type': 'deployment.py',
        'properties': {
            'couchbaseUsername': context.properties['couchbaseUsername'],
            'couchbasePassword': context.properties['couchbasePassword'],
            'clusters': {
            }
        }
    }
    config['resources'].append(deploymentJSON)

    zones = GetZonesList(context)
    for zone in zones:
        clusterJSON = {
            'cluster': zone,
            'region': zone,
            'groups':
            [
                {
                    'group': 'server',
                    'diskSize': 100,
                    'nodeCount': 5,
                    'nodeType': 'n1-standard-4',
                    'services': ['data','query','index','fts']
                },
                {
                    'group': 'syncGateway',
                    'diskSize': 100,
                    'nodeCount': 5,
                    'nodeType': 'n1-standard-4',
                    'services': ['syncGateway']
                }
            ]
        }

    return config

def GetZonesList(context):
{'fraction_non_alphanumeric': 0.12804878048780488, 'fraction_numerical': 0.00975609756097561, 'mean_word_length': 1.2808155699721966, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3484810', 'n_tokens_mistral': 654, 'n_tokens_neox': 615, 'n_words': 112}