<commit_before>################################################################
##                           NOTICE                           ##
################################################################
#                                                              #
#    ALL BASE ROUTES MUST COME BEFORE THE 'networks' ROUTE!    #
#                                                              #
################################################################
home:
    path: /
    defaults: { _controller: korobi.controller.home:homeAction }
deploy:
    path: /deploy
    defaults: { _controller: korobi.deploy_controller:deployAction }
deploy_view:
    path: /deploy/view/{id}
    defaults: { _controller: korobi.controller.deploy:viewAction }
docs_render:
    path: /docs/{file}
    defaults: { _controller: korobi.controller.docs:renderAction }
revisions:
    path: /revisions/{repository}
    defaults: { _controller: korobi.controller.revisions:listAction, repository: Web }
theme_toggle:
    path: /theme
    defaults: { _controller: korobi.theme_controller:toggleAction }
style_guide:
    path: /style-guide
    defaults: { _controller: korobi.controller.style_guide:displayAction }
csp_report:
    path: /csp/report
    defaults: { _controller: korobi.controller.security:reportCspAction }
    methods:  [POST]
unexpected_redirect:
    path: /unexpected-redirect
    defaults: { _controller: korobi.controller.security:showRedirectAction }
# temporary
dummy:
    path: /dummy
    defaults: { _controller: korobi.controller.home:homeAction }
################################################################
##                           NOTICE                           ##
################################################################
#                                                              #
#    ALL BASE ROUTES MUST COME BEFORE THE 'networks' ROUTE!    #
#                                                              #
################################################################

# ------------------
# ---- Networks ----
# ------------------
networks:
    path: /networks
    defaults: { _controller: korobi.controller.network:networksAction }
network:
    path: /{network}
    defaults: { _controller: korobi.controller.network:networkAction }

# ------------------
# ---- Channels ----
# ------------------
channel:
    path: /{network}/{channel}
    defaults: { _controller: korobi.controller.channel:homeAction }
channel_admin:
    path: /{network}/{channel}/admin
    defaults: { _controller: korobi.controller.channel_admin:homeAction }
channel_commands:
    path: /{network}/{channel}/commands
    defaults: { _controller: korobi.controller.channel:commandsAction }
channel_logs:
    path: /{network}/{channel}/logs
    defaults: { _controller: korobi.controller.channel:logsAction }
channel_logs_date:
    path: /{network}/{channel}/logs/{year}/{month}/{day}
    defaults: { _controller: korobi.controller.channel:logsAction }
channel_logs_date_tail:
    path: /{network}/{channel}/logs/{year}/{month}/{day}/tail/{tail}
    defaults: { _controller: korobi.controller.channel:logsAction, tail: 30 }
channel_logs_tail:
    path: /{network}/{channel}/logs/tail/{tail}
    defaults: { _controller: korobi.controller.channel:logsAction, tail: 30 }
channel_stats:
    path: /{network}/{channel}/stats
    defaults: { _controller: korobi.controller.channel_stats:statsAction }
<commit_msg>It is precisely for moments like these I wish we had a manual deploy script that could work outside of Symfony<commit_after>################################################################
##                           NOTICE                           ##
################################################################
#                                                              #
#    ALL BASE ROUTES MUST COME BEFORE THE 'networks' ROUTE!    #
#                                                              #
################################################################
home:
    path: /
    defaults: { _controller: korobi.controller.home:homeAction }
deploy:
    path: /deploy
    defaults: { _controller: korobi.controller.deploy:deployAction }
deploy_view:
    path: /deploy/view/{id}
    defaults: { _controller: korobi.controller.deploy:viewAction }
docs_render:
    path: /docs/{file}
    defaults: { _controller: korobi.controller.docs:renderAction }
revisions:
    path: /revisions/{repository}
    defaults: { _controller: korobi.controller.revisions:listAction, repository: Web }
theme_toggle:
    path: /theme
    defaults: { _controller: korobi.theme_controller:toggleAction }
style_guide:
    path: /style-guide
    defaults: { _controller: korobi.controller.style_guide:displayAction }
csp_report:
    path: /csp/report
    defaults: { _controller: korobi.controller.security:reportCspAction }
    methods:  [POST]
unexpected_redirect:
    path: /unexpected-redirect
    defaults: { _controller: korobi.controller.security:showRedirectAction }
# temporary
dummy:
    path: /dummy
    defaults: { _controller: korobi.controller.home:homeAction }
################################################################
##                           NOTICE                           ##
################################################################
#                                                              #
#    ALL BASE ROUTES MUST COME BEFORE THE 'networks' ROUTE!    #
#                                                              #
################################################################

# ------------------
# ---- Networks ----
# ------------------
networks:
    path: /networks
    defaults: { _controller: korobi.controller.network:networksAction }
network:
    path: /{network}
    defaults: { _controller: korobi.controller.network:networkAction }

# ------------------
# ---- Channels ----
# ------------------
channel:
    path: /{network}/{channel}
    defaults: { _controller: korobi.controller.channel:homeAction }
channel_admin:
    path: /{network}/{channel}/admin
    defaults: { _controller: korobi.controller.channel_admin:homeAction }
channel_commands:
    path: /{network}/{channel}/commands
    defaults: { _controller: korobi.controller.channel:commandsAction }
channel_logs:
    path: /{network}/{channel}/logs
    defaults: { _controller: korobi.controller.channel:logsAction }
channel_logs_date:
    path: /{network}/{channel}/logs/{year}/{month}/{day}
    defaults: { _controller: korobi.controller.channel:logsAction }
channel_logs_date_tail:
    path: /{network}/{channel}/logs/{year}/{month}/{day}/tail/{tail}
    defaults: { _controller: korobi.controller.channel:logsAction, tail: 30 }
channel_logs_tail:
    path: /{network}/{channel}/logs/tail/{tail}
    defaults: { _controller: korobi.controller.channel:logsAction, tail: 30 }
channel_stats:
    path: /{network}/{channel}/stats
    defaults: { _controller: korobi.controller.channel_stats:statsAction }

{'fraction_non_alphanumeric': 0.23118975686951518, 'fraction_numerical': 0.0011509135376204863, 'mean_word_length': 2.6822033898305087, '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': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1783823', 'n_tokens_mistral': 1768, 'n_tokens_neox': 1699, 'n_words': 322}