<commit_before># This is the default configuration file for bde_verify used at Bloomberg LP.
namespace BloombergLP

# Maximum number of lines and statements in an inline function.
set max_inline_lines 20

# Don't warn about scope of global definitions in main file.
set main_namespace_check off

# Don't warn about scope of global definitions in these packages.
set global_packages bslmf bslstl

# Don't warn about global definitions in these namespaces.
set standard_namespaces bsl std

# Don't warn about these global names at all.
set global_names hashAppend

# Allow imperfect banner centering.
set banner_slack 5

# Allowed number of non-noise words between 'specified' and parameter in
# function contract.
set word_slack 3

# Allowed number of available positions at end of comment line which will not
# draw a "can wrap" warning from the next line.
set wrap_slack 1

# List of words which may appear unquoted in function contract even when they
# are parameter names.
set ok_unquoted                                                               \
    allocator                                                                 \
    from                                                                      \
    key                                                                       \
    level                                                                     \
    to                                                                        \
    value                                                                     \

# If a word appears at least this many times, assume it's spelled correctly.
set spelled_ok_count 3

# These words are to be considered spelled correctly
set dictionary                                                                \
    accessor                                                                  \
    accessors                                                                 \
    adl                                                                       \
    bde                                                                       \
    bdewrap                                                                   \
    bitwise                                                                   \
    bloomberg                                                                 \
    bsl                                                                       \
    bslma                                                                     \
    bslmf                                                                     \
    const                                                                     \
    constness                                                                 \
    deallocate                                                                \
    deallocated                                                               \
    deallocates                                                               \
    dereference                                                               \
    destructor                                                                \
    destructors                                                               \
    drqs                                                                      \
    enum                                                                      \
    enqueue                                                                   \
    enqueued                                                                  \
    enqueuing                                                                 \
    filename                                                                  \
    functor                                                                   \
    functors                                                                  \
    gcc                                                                       \
    indices                                                                   \
    initializer                                                               \
    initializers                                                              \
    inline                                                                    \
    inlining                                                                  \
    instantiable                                                              \
    iostream                                                                  \
    iostreams                                                                 \
    levelization                                                              \
    levelize                                                                  \
    levelized                                                                 \
    lhs                                                                       \
    lookup                                                                    \
    lvalue                                                                    \
    lvalues                                                                   \
    merchantability                                                           \
    metafunction                                                              \
    metafunctions                                                             \
    multi                                                                     \
    namespace                                                                 \
    noninfringement                                                           \
    parameterized                                                             \
    portably                                                                  \
    pragma                                                                    \
    proleptic                                                                 \
    rhs                                                                       \
    runtime                                                                   \
    runtimes                                                                  \
    rvalue                                                                    \
    rvalues                                                                   \
    sfinae                                                                    \
    stl                                                                       \
    struct                                                                    \
    sublicense                                                                \
    subrange                                                                  \
    subranges                                                                 \
    subsequence                                                               \
    subsequences                                                              \
    templatized                                                               \
    typedef                                                                   \
    typedefs                                                                  \
    unary                                                                     \
    unticked                                                                  \
    utc                                                                       \
    variadic                                                                  \
    vtable                                                                    \
    vtables                                                                   \
    xlc                                                                       \

# These are specialized checks that are not problems for general code.
check array-initialization off
check boolcomparison off
check constant-return off
check bsl-overrides-std off

# Too noisy to leave on by default.
check indentation off
check spell-check off

## ----------------------------------------------------------------------------<commit_msg>Disable RV01 by default, for false positives.<commit_after># This is the default configuration file for bde_verify used at Bloomberg LP.
namespace BloombergLP

# Maximum number of lines and statements in an inline function.
set max_inline_lines 20

# Don't warn about scope of global definitions in main file.
set main_namespace_check off

# Don't warn about scope of global definitions in these packages.
set global_packages bslmf bslstl

# Don't warn about global definitions in these namespaces.
set standard_namespaces bsl std

# Don't warn about these global names at all.
set global_names hashAppend

# Allow imperfect banner centering.
set banner_slack 5

# Allowed number of non-noise words between 'specified' and parameter in
# function contract.
set word_slack 3

# Allowed number of available positions at end of comment line which will not
# draw a "can wrap" warning from the next line.
set wrap_slack 1

# List of words which may appear unquoted in function contract even when they
# are parameter names.
set ok_unquoted                                                               \
    allocator                                                                 \
    from                                                                      \
    key                                                                       \
    level                                                                     \
    to                                                                        \
    value                                                                     \

# If a word appears at least this many times, assume it's spelled correctly.
set spelled_ok_count 3

# These words are to be considered spelled correctly
set dictionary                                                                \
    accessor                                                                  \
    accessors                                                                 \
    adl                                                                       \
    bde                                                                       \
    bdewrap                                                                   \
    bitwise                                                                   \
    bloomberg                                                                 \
    bsl                                                                       \
    bslma                                                                     \
    bslmf                                                                     \
    const                                                                     \
    constness                                                                 \
    deallocate                                                                \
    deallocated                                                               \
    deallocates                                                               \
    dereference                                                               \
    destructor                                                                \
    destructors                                                               \
    drqs                                                                      \
    enum                                                                      \
    enqueue                                                                   \
    enqueued                                                                  \
    enqueuing                                                                 \
    filename                                                                  \
    functor                                                                   \
    functors                                                                  \
    gcc                                                                       \
    indices                                                                   \
    initializer                                                               \
    initializers                                                              \
    inline                                                                    \
    inlining                                                                  \
    instantiable                                                              \
    iostream                                                                  \
    iostreams                                                                 \
    levelization                                                              \
    levelize                                                                  \
    levelized                                                                 \
    lhs                                                                       \
    lookup                                                                    \
    lvalue                                                                    \
    lvalues                                                                   \
    merchantability                                                           \
    metafunction                                                              \
    metafunctions                                                             \
    multi                                                                     \
    namespace                                                                 \
    noninfringement                                                           \
    parameterized                                                             \
    portably                                                                  \
    pragma                                                                    \
    proleptic                                                                 \
    rhs                                                                       \
    runtime                                                                   \
    runtimes                                                                  \
    rvalue                                                                    \
    rvalues                                                                   \
    sfinae                                                                    \
    stl                                                                       \
    struct                                                                    \
    sublicense                                                                \
    subrange                                                                  \
    subranges                                                                 \
    subsequence                                                               \
    subsequences                                                              \
    templatized                                                               \
    typedef                                                                   \
    typedefs                                                                  \
    unary                                                                     \
    unticked                                                                  \
    utc                                                                       \
    variadic                                                                  \
    vtable                                                                    \
    vtables                                                                   \
    xlc                                                                       \

# These are specialized checks that are not problems for general code.
check array-initialization off
check boolcomparison off
check constant-return off
check bsl-overrides-std off

# Too noisy to leave on by default.
check indentation off
check spell-check off
suppress RV01 *

## ----------------------------------------------------------------------------
{'fraction_non_alphanumeric': 0.025950920245398773, 'fraction_numerical': 0.00098159509202454, 'mean_word_length': 0.2872936902787649, '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': 354, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4174981', 'n_tokens_mistral': 1624, 'n_tokens_neox': 1568, 'n_words': 580}