<commit_before><options script = "sockopts">
    <!--
    Copyright (c) the Contributors as noted in the AUTHORS file.
    This file is part of CZMQ, the high-level C binding for 0MQ:
    http://czmq.zeromq.org.

    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
    file, You can obtain one at http://mozilla.org/MPL/2.0/.
    -->
    <version major = "4" style = "macro">
        <!-- Options that are new in 4.2 -->
        <option name = "heartbeat_ivl"     type = "int"    mode = "rw" test = "DEALER"
            test_value = "2000" />
        <option name = "heartbeat_ttl"     type = "int"    mode = "rw"  test = "DEALER"
            test_value = "4000" />
        <option name = "heartbeat_timeout" type = "int"    mode = "rw"  test = "DEALER"
            test_value = "6000" />
        <option name = "use_fd"            type = "int"    mode = "rw"  test = "REQ"
            test_value = "3" />

        <!-- Options that are new in 4.1 -->
        <option name = "tos"               type = "int"    mode = "rw" test = "DEALER" />
        <option name = "router_handover"   type = "int"    mode = "w"  test = "ROUTER">
            <restrict type = "ROUTER" />
        </option>
        
        <!-- Options that are new in 4.0 -->
        <option name = "router_mandatory"  type = "int"    mode = "w"  test = "ROUTER">
            <restrict type = "ROUTER" />
        </option>
        <option name = "probe_router"      type = "int"    mode = "w"  test = "DEALER">
            <restrict type = "ROUTER" />
            <restrict type = "DEALER" />
            <restrict type = "REQ" />
        </option>
        <option name = "req_relaxed"       type = "int"    mode = "w"  test = "REQ">
            <restrict type = "REQ" />
        </option>
        <option name = "req_correlate"     type = "int"    mode = "w"  test = "REQ">
            <restrict type = "REQ" />
        </option>
        <option name = "conflate"          type = "int"    mode = "w"  test = "PUSH">
            <restrict type = "PUSH" />
            <restrict type = "PULL" /><commit_msg>Problem: some libzmq 4.1 socket options missing<commit_after><options script = "sockopts">
    <!--
    Copyright (c) the Contributors as noted in the AUTHORS file.
    This file is part of CZMQ, the high-level C binding for 0MQ:
    http://czmq.zeromq.org.

    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
    file, You can obtain one at http://mozilla.org/MPL/2.0/.
    -->
    <version major = "4" style = "macro">
        <!-- Options that are new in 4.2 -->
        <option name = "heartbeat_ivl"     type = "int"    mode = "rw" test = "DEALER"
            test_value = "2000" />
        <option name = "heartbeat_ttl"     type = "int"    mode = "rw"  test = "DEALER"
            test_value = "4000" />
        <option name = "heartbeat_timeout" type = "int"    mode = "rw"  test = "DEALER"
            test_value = "6000" />
        <option name = "use_fd"            type = "int"    mode = "rw"  test = "REQ"
            test_value = "3" />

        <!-- Options that are new in 4.1 -->
        <option name = "tos"               type = "int"    mode = "rw" test = "DEALER" />
        <option name = "router_handover"   type = "int"    mode = "w"  test = "ROUTER">
            <restrict type = "ROUTER" />
        </option>
        <option name = "connect_rid"       type = "key"    mode = "w"  test = "ROUTER"
            test_value = "ABCD" >
            <restrict type = "ROUTER" />
            <restrict type = "STREAM" />
        </option>
        <option name = "handshake_ivl"     type = "int"    mode = "rw" test = "DEALER"
            test_value = "200" />
        <option name = "socks_proxy"       type = "string" mode = "rw" test = "DEALER"
            test_value = "127.0.0.1" />
        <option name = "xpub_nodrop"       type = "int"    mode = "w"  test = "XPUB"
            test_value = "1" >
            <restrict type = "XPUB" />
            <restrict type = "PUB" />
        </option>
        
        <!-- Options that are new in 4.0 -->
        <option name = "router_mandatory"  type = "int"    mode = "w"  test = "ROUTER">
            <restrict type = "ROUTER" />
        </option>
        <option name = "probe_router"      type = "int"    mode = "w"  test = "DEALER">
            <restrict type = "ROUTER" />
            <restrict type = "DEALER" />
            <restrict type = "REQ" />
        </option>
        <option name = "req_relaxed"       type = "int"    mode = "w"  test = "REQ">
            <restrict type = "REQ" />
        </option>
        <option name = "req_correlate"     type = "int"    mode = "w"  test = "REQ">
            <restrict type = "REQ" />
        </option>
        <option name = "conflate"          type = "int"    mode = "w"  test = "PUSH">
            <restrict type = "PUSH" />
            <restrict type = "PULL" />
{'fraction_non_alphanumeric': 0.1449246629659001, 'fraction_numerical': 0.012291831879460745, 'mean_word_length': 1.6303441084462982, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '5853824', 'n_tokens_mistral': 1688, 'n_tokens_neox': 1636, 'n_words': 508}