<commit_before>define('routes', ['core/router'], function(router) {
    var root = '^/operators';

    router.addRoutes([
        {'pattern': root + '$', 'view_name': 'home'},
        {'pattern': root + '/shelves$', 'view_name': 'shelf_listing'},
        {'pattern': root + '/shelves/create$', 'view_name': 'shelf_create'},
        {'pattern': root + '/shelves/edit/([^/<>"\']+)$', 'view_name': 'shelf_edit'},
        {'pattern': root + '/error$', 'view_name': 'error'},
        {'pattern': root + '/unauthorized$', 'view_name': 'unauthorized'},
        {'pattern': root + '/login$', 'view_name': 'login'},
    ]);

    router.api.addRoutes({
        'search': '/api/v2/apps/search/non-public/?cache=1&vary=0',
        'site-config': '/api/v2/services/config/site/?serializer=commonplace',<commit_msg>Don't honor region restrictions in search results for apps (bug 1144835)<commit_after>define('routes', ['core/router'], function(router) {
    var root = '^/operators';

    router.addRoutes([
        {'pattern': root + '$', 'view_name': 'home'},
        {'pattern': root + '/shelves$', 'view_name': 'shelf_listing'},
        {'pattern': root + '/shelves/create$', 'view_name': 'shelf_create'},
        {'pattern': root + '/shelves/edit/([^/<>"\']+)$', 'view_name': 'shelf_edit'},
        {'pattern': root + '/error$', 'view_name': 'error'},
        {'pattern': root + '/unauthorized$', 'view_name': 'unauthorized'},
        {'pattern': root + '/login$', 'view_name': 'login'},
    ]);

    router.api.addRoutes({
        'search': '/api/v2/apps/search/no-region/?cache=1&vary=0',
        'site-config': '/api/v2/services/config/site/?serializer=commonplace',
{'fraction_non_alphanumeric': 0.2391566265060241, 'fraction_numerical': 0.009036144578313253, 'mean_word_length': 3.5757575757575757, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1840685', 'n_tokens_mistral': 574, 'n_tokens_neox': 544, 'n_words': 101}