<commit_before>;; -*- Mode: lisp; fill-column: 120 -*-

(supervisor 'ns_server_cluster_sup :mode one-for-one
            (supervisor 'cb_couch_sup :mode :one_for_one :since "2.0"
                        (supervisor 'couch_app))
            (tmp 'cb_init_loggers)
            (tmp 'log_os_info)
            (gen-server 'timeout_diag_logger
                        "keeps track of blocks of code that are observed for timeouts. If anything takes
                        longer then expected it'll log lots of details so that we can diagnose reason of
                        timeout")
            (gen-server 'dist_manager
                        "manages changing of node's address. Persists node's address when it's changed")
            (gen-server 'ns_cookie_manager
                        "saves node's name and cookie. So that service shutdown can reach us. Guards node's
                        cookie changes as well")
            (gen-server 'ns_cluster
                        "performs node join/leave requests")
            (supervisor 'mb_mnesia_sup :mode :one_for_one
                        (gen-event 'mb_mnesia_events)
                        (gen-server 'mb_mnesia))
            (supervisor 'ns_config_sup :mode :rest_for_one
                        (gen-event 'ns_config_events
                                   "fired when any ns_config variable is changed")
                        (gen-event 'ns_config_events_local :since "1.8.1"
                                   "fired when any ns_config variable is changed locally (i.e. not replicated from other
                                   node, but genuinely changed on this node")<commit_msg>MB-5307 Name :one_for_one uniformly in server hierarchy.<commit_after>;; -*- Mode: lisp; fill-column: 120 -*-

(supervisor 'ns_server_cluster_sup :mode :one_for_one
            (supervisor 'cb_couch_sup :mode :one_for_one :since "2.0"
                        (supervisor 'couch_app))
            (tmp 'cb_init_loggers)
            (tmp 'log_os_info)
            (gen-server 'timeout_diag_logger
                        "keeps track of blocks of code that are observed for timeouts. If anything takes
                        longer then expected it'll log lots of details so that we can diagnose reason of
                        timeout")
            (gen-server 'dist_manager
                        "manages changing of node's address. Persists node's address when it's changed")
            (gen-server 'ns_cookie_manager
                        "saves node's name and cookie. So that service shutdown can reach us. Guards node's
                        cookie changes as well")
            (gen-server 'ns_cluster
                        "performs node join/leave requests")
            (supervisor 'mb_mnesia_sup :mode :one_for_one
                        (gen-event 'mb_mnesia_events)
                        (gen-server 'mb_mnesia))
            (supervisor 'ns_config_sup :mode :rest_for_one
                        (gen-event 'ns_config_events
                                   "fired when any ns_config variable is changed")
                        (gen-event 'ns_config_events_local :since "1.8.1"
                                   "fired when any ns_config variable is changed locally (i.e. not replicated from other
                                   node, but genuinely changed on this node")
{'fraction_non_alphanumeric': 0.06646884272997032, 'fraction_numerical': 0.005934718100890208, 'mean_word_length': 1.5213163799551235, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2822184', 'n_tokens_mistral': 881, 'n_tokens_neox': 819, 'n_words': 279}