<commit_before><?php
return [
    'service_manager' => [
        'factories' => [
            'ServiceBroker' => 'ValuSo\Broker\ServiceBrokerFactory',
            'valu_so.annotation_builder' => 'ValuSo\Annotation\AnnotationBuilderFactory',
        ]
    ],
    'controllers' => [
        'invokables' => [
            'ValuSoServiceController' => 'ValuSo\Controller\ServiceController',
        ],
    ],
    'controller_plugins' => [
        'invokables' => [
            'service-broker' => 'ValuSo\Controller\Plugin\ServiceBrokerPlugin',
        ],
    ],
    'router' => [
        'routes' => [
            'valuso-rpc' => [
                'type' => 'Zend\\Mvc\\Router\\Http\\Segment',
                'options' => [
                    'route' => '/api/rpc[/:service[/:operation]]',
                    'constraints' => [
                        'service' => '[a-zA-Z][\\.a-zA-Z0-9_-]*',
                        'operation' => '[a-zA-Z][a-zA-Z0-9_-]*',
                    ],
                    'defaults' => [
                        'controller' => 'ValuSoServiceController',
                        'action' => 'http',
                        '_authenticate' => true
                    ],
                ],
            ],
        ]
    ],
    'valu_so' => [
        'proxy_dir' => 'data/valuso/proxy',
        'use_main_locator' => true,
        'cache' => [
            'adapter' => 'memory',
        ],
        'services' => [
            'ValuSoSetup' => [
                'name' => 'ValuSo.Setup',
                'class' => 'ValuSo\\Service\\SetupService',
            ],
            'ValuSoBatch' => [
                'name' => 'Batch',
                'class' => 'ValuSo\\Service\\BatchService',
            ],<commit_msg>Configures REST endpoint<commit_after><?php
return [
    'service_manager' => [
        'factories' => [
            'ServiceBroker' => 'ValuSo\Broker\ServiceBrokerFactory',
            'valu_so.annotation_builder' => 'ValuSo\Annotation\AnnotationBuilderFactory',
        ]
    ],
    'controllers' => [
        'invokables' => [
            'ValuSoServiceController' => 'ValuSo\Controller\ServiceController',
        ],
    ],
    'controller_plugins' => [
        'invokables' => [
            'service-broker' => 'ValuSo\Controller\Plugin\ServiceBrokerPlugin',
        ],
    ],
    'router' => [
        'routes' => [
            'valuso-rpc' => [
                'type' => 'Zend\\Mvc\\Router\\Http\\Segment',
                'options' => [
                    'route' => '/api/rpc[/:service[/:operation]]',
                    'constraints' => [
                        'service' => '[a-zA-Z][\\.a-zA-Z0-9_-]*',
                        'operation' => '[a-zA-Z][a-zA-Z0-9_-]*',
                    ],
                    'defaults' => [
                        'controller' => 'ValuSoServiceController',
                        'action' => 'http',
                        '_authenticate' => true
                    ],
                ],
            ],
            'valuso-rest' => [
                'type' => 'Zend\\Mvc\\Router\\Http\\Regex',
                'options' => [
                    'regex' => '/api/rest/(?<service>[a-zA-Z][\\.a-zA-Z0-9_-]*)(?<path>/.*)?',
                    'constraints' => [
                        'service' => '[a-zA-Z][\\.a-zA-Z0-9_-]*'
                    ],
                    'defaults' => [
                        'controller' => 'ValuSoServiceController',
                        'action' => 'http',
                        '_authenticate' => true
                    ],
                    'spec' => '/rest-api/%service%'
                ],
            ],
        ]
    ],
    'valu_so' => [
        'proxy_dir' => 'data/valuso/proxy',
        'use_main_locator' => true,
        'cache' => [
            'adapter' => 'memory',
        ],
        'services' => [
            'ValuSoSetup' => [
                'name' => 'ValuSo.Setup',
                'class' => 'ValuSo\\Service\\SetupService',
            ],
            'ValuSoBatch' => [
                'name' => 'Batch',
                'class' => 'ValuSo\\Service\\BatchService',
            ],
{'fraction_non_alphanumeric': 0.17942525959913064, 'fraction_numerical': 0.0028978507606858247, 'mean_word_length': 1.1629242819843342, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 86, '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': '3708929', 'n_tokens_mistral': 1233, 'n_tokens_neox': 1182, 'n_words': 130}