Repository Analysis

mongodb/mongo

The MongoDB Database

6.1 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of mongodb/mongo, a C++ project with 28,471 GitHub stars. SynthScan v2.0 examined 10,263,811 lines of code across 38981 source files, recording 51778 pattern matches distributed across 27 syntactic categories. The overall adjusted score of 6.1 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

6.1
Adjusted Score
6.1
Raw Score
100%
Time Factor
2026-08-01
Last Push
28.5K
Stars
C++
Language
10.3M
Lines of Code
39.0K
Files
51.8K
Pattern Hits
2026-08-02
Scan Date
0.06
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 10HIGH 2339MEDIUM 1188LOW 48241

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 51778 distinct pattern matches across 27 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block37783 hits · 34834 pts
SeverityFileLineSnippetContext
LOWpyproject.toml101# rapidyaml is broken on atlas distros with powercycle. The powercycle remoteCOMMENT
LOWpyproject.toml221 # cryptography 41+ ships a Rust extension and PyPI carries noCOMMENT
LOWpyproject.toml321# source — so uv records the tarball's sha256 in uv.lock and rules_pycrossCOMMENT
LOWmodules_poc/mod_scanner.py101 @staticmethodCOMMENT
LOWmodules_poc/mod_scanner.py681 if ref.kind == CursorKind.OVERLOADED_DECL_REF:COMMENT
LOWmodules_poc/mod_scanner.py701 # at the internal declaration. Make sure that this isn't causing us to skipCOMMENT
LOWmodules_poc/cindex.py1# This local copy is modified as in https://github.com/llvm/llvm-project/pull/120590COMMENT
LOWmodules_poc/cindex.py821COMMENT
LOWmodules_poc/cindex.py861 ###COMMENT
LOWmodules_poc/cindex.py941COMMENT
LOWmodules_poc/cindex.py1021COMMENT
LOWmodules_poc/cindex.py1041 # pack.COMMENT
LOWmodules_poc/cindex.py3021COMMENT
LOWmodules_poc/modules.yaml1# This file defines the modules for the MongoDB project.COMMENT
LOWetc/performance_thresholds.yml1########################################################################################################COMMENT
LOWetc/performance_thresholds.yml21# bound_direction: {What the threshold direction should be. Must be one of upper or lower}COMMENT
LOWetc/extensions.yml1# mongo/etc/extensions.ymlCOMMENT
LOWetc/code_lockdown.yml41COMMENT
LOWetc/code_lockdown.yml61 # count: 100COMMENT
LOWetc/code_lockdown.yml81 # Drill into the data using the <https://jira.mongodb.org/secure/Dashboard.jspa?selectPageId=33950|Jira DashboarCOMMENT
LOWetc/coverity.yml21 # Enforces the Rule of Zero/Three/Five. MongoDB's class hierarchyCOMMENT
LOWetc/coverity.yml41 # produced only noise.COMMENT
LOWetc/coverity.yml61 # --- Explicitly enabled checkers ---COMMENT
LOWetc/coverity.yml101 # result without a null check. stat_threshold:50 requires at least 50% ofCOMMENT
LOWetc/coverity.yml121 c-cpp-fnptr: trueCOMMENT
LOWetc/test_retrial.yml1# This file is used to tag JS tests for retry on failure that run in the mainline.COMMENT
LOWetc/test_retrial.yml21# in task_name: sharding_csrs_continuous_config_stepdown_WTCOMMENT
LOWetc/test_retrial.yml41#COMMENT
LOWetc/test_lifecycle.yml1# This file is used to tag JS tests that run under resmoke.py.COMMENT
LOWetc/backports_required_for_multiversion_tests.yml1# This file is intended to track tests that should be denylisted from multiversion testing due toCOMMENT
LOWetc/evergreen_lint.yml21 # # source of pain:COMMENT
LOWetc/system_perf_soak.yml1# Config file for the sys-perf-soak Evergreen project.COMMENT
LOWetc/evergreen.yml1####################################################COMMENT
LOWetc/evergreen.yml21#COMMENT
LOWetc/evergreen.yml41# - func: "cleanup environment"COMMENT
LOWetc/coverity_models/mongo_models.cpp1// Coverity model file for MongoDB-specific patterns.COMMENT
LOWetc/coverity_models/mongo_models.cpp41namespace mongo {COMMENT
LOWetc/coverity_models/mongo_models.cpp101// The model marks the output buffer as written (via __coverity_writeall__) soCOMMENT
LOWetc/coverity_models/mongo_models.cpp161// OutOfLineExecutor::schedule — service executor callback dispatchCOMMENT
LOWetc/coverity_models/mongo_models.cpp201 Status s;COMMENT
LOWetc/coverity_models/mongo_security_directives.json1// Coverity Security Directives for MongoDB — C/C++ analysisCOMMENT
LOWetc/coverity_models/mongo_security_directives.json21// - sensitive_operation — sink patternsCOMMENT
LOWetc/coverity_models/mongo_security_directives.json41//COMMENT
LOWetc/coverity_models/extract_pw_rw_findings.sh1#!/usr/bin/env bashCOMMENT
LOWetc/coverity_models/extract_pw_rw_findings.sh21# After suppression:COMMENT
LOWevergreen/bazel_test.sh41fiCOMMENT
LOWevergreen/query_tester_test_repo_setup.sh1# This script is designed to clone a specific GitHub repository that contains server tests used by query_tester.COMMENT
LOWevergreen/prelude_mongo_task_generator.sh1function setup_mongo_task_generator {COMMENT
LOWevergreen/prelude_mongo_task_generator.sh21# popdCOMMENT
LOWevergreen/resmoke_tests_execute_bazel.sh161 # `bazel test` builds and runs in one command, so without this phase a build failureCOMMENT
LOWevergreen/fetch_remote_test_results.sh1# Downloads bazel test results from remote executions and prepares them for Evergreen ingestion.COMMENT
LOWevergreen/generate_evergreen_bazelrc.sh61COMMENT
LOWevergreen/selinux_run_test.sh1#!/bin/bashCOMMENT
LOWevergreen/verify_extension_visibility_test.sh1#!/usr/bin/env bashCOMMENT
LOWevergreen/verify_extension_visibility_test.sh81# ------------------------------------------------------------------------------COMMENT
LOWevergreen/verify_extension_visibility_test.sh201COMMENT
LOWevergreen/external_auth_azure_setup.sh41ssh -VCOMMENT
LOWevergreen/verify_all_extensions_visibility.sh1#!/usr/bin/env bashCOMMENT
LOWevergreen/jepsen_docker/list-append-sls-sharded.sh1DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"COMMENT
LOWevergreen/jepsen_docker/list-append-sls-rs.sh1DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"COMMENT
37723 more matches not shown…
Cross-Language Confusion (JS/TS)2158 hits · 12079 pts
SeverityFileLineSnippetContext
HIGHbuildscripts/testdata/test.js1print("hello world");CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js106 print(CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js114 print(`failed due to unretryable error: ${JSON.stringify(err)}`);CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js119 print(`Exhausted all retries, failing`);CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js131 print(`Establishing connection to "${MONGO_URI}"`);CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js140 print("executing find");CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js145 print("done executing find");CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js150 print("executing fsync");CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js152 print("done executing fsync. result:", JSON.stringify(result));CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js292 print("done executing update");CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js297 print("executing delete");CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js307 print("done executing delete");CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js312 print("executing txn");CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js356 print(CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js365 print("done executing txn");CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js370 print("executing dbcheck");CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js373 print(`running dbCheck on test.${coll}`);CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js377 print("done executing dbcheck");CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js383 print("Done executing replSetGetStatus. result:", JSON.stringify(result));CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js69 print(`Received not OK result: ${JSON.stringify(result)}`);CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js73 print(CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js92 print(CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js211 print("done executing PIT read. result:", JSON.stringify(snapshotReadResult));CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js226 print(`validating ${dbName}.${coll}...`);CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js240 print("executing aggregate");CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js271 print("done executing aggregate");CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js276 print("executing update");CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js333 print("txn committed");CODE
HIGH…ithesis/test_composer/basic_js_commands/js/commands.js340 print(CODE
HIGH…oke_end2end/external_module_test/tests/another_test.js2print("External module test 2");CODE
HIGH…smoke_end2end/external_module_test/tests/mongo_test.js26 print("External module MongoDB test passed!");CODE
HIGH…moke_end2end/external_module_test/tests/simple_test.js2print("External module test");CODE
HIGH…tests/resmoke_end2end/testfiles/fixture_info_mongos.js4 print("DEBUG BUILDINFO");CODE
HIGH…smoke_end2end/testfiles/debugger/debugger_statement.js9print("Test Passed!");CODE
HIGH…/resmoke_end2end/testfiles/debugger/simple_debugger.js10print("Test Passed!");CODE
HIGH…_end2end/mongo_shell/tests/mongo_path_relative_test.js11print("Testing relative path imports...");CODE
HIGH…_end2end/mongo_shell/tests/mongo_path_relative_test.js18print("SUCCESS: relative path import worked");CODE
HIGH…_end2end/mongo_shell/tests/mongo_path_relative_test.js24print("SUCCESS: relative path load() worked");CODE
HIGH…_end2end/mongo_shell/tests/mongo_path_relative_test.js40print("SUCCESS: relative path dynamic import() worked");CODE
HIGH…_end2end/mongo_shell/tests/mongo_path_relative_test.js42print("All relative path tests passed!");CODE
HIGH…oke_end2end/mongo_shell/tests/mongo_path_mixed_test.js8print("Testing mixed path imports...");CODE
HIGH…oke_end2end/mongo_shell/tests/mongo_path_mixed_test.js10print("SUCCESS: MONGO_PATH import worked");CODE
HIGH…oke_end2end/mongo_shell/tests/mongo_path_mixed_test.js15print("SUCCESS: relative path load() worked");CODE
HIGH…oke_end2end/mongo_shell/tests/mongo_path_mixed_test.js20print("SUCCESS: MONGO_PATH dynamic import() worked");CODE
HIGH…oke_end2end/mongo_shell/tests/mongo_path_mixed_test.js22print("All mixed path tests passed!");CODE
HIGH…s/resmoke_end2end/mongo_shell/tests/mongo_path_test.js9print("Testing top-level import with MONGO_PATH...");CODE
HIGH…s/resmoke_end2end/mongo_shell/tests/mongo_path_test.js20print("SUCCESS: top-level import found file in MONGO_PATH");CODE
HIGH…s/resmoke_end2end/mongo_shell/tests/mongo_path_test.js23print("Testing load() with MONGO_PATH...");CODE
HIGH…s/resmoke_end2end/mongo_shell/tests/mongo_path_test.js31print("SUCCESS: load() found file in MONGO_PATH");CODE
HIGH…s/resmoke_end2end/mongo_shell/tests/mongo_path_test.js34print("Testing dynamic import() with MONGO_PATH...");CODE
HIGH…s/resmoke_end2end/mongo_shell/tests/mongo_path_test.js46print("SUCCESS: dynamic import() found file in MONGO_PATH");CODE
HIGH…s/resmoke_end2end/mongo_shell/tests/mongo_path_test.js48print("All MONGO_PATH tests passed (top-level import, load, and dynamic import)!");CODE
HIGH…tests/aggregation/optimization/push_limit_into_sort.js53 print("failed with limit=" + limit + " direction= " + direction);CODE
HIGHjstests/aggregation/expressions/iso_date_exprs.js25 print("skipping test of " + date.tojson() + " because system doesn't support old dates");CODE
HIGHjstests/aggregation/expressions/iso_date_exprs.js31 print("skipping test of " + date.tojson() + " because it is outside of time_t range");CODE
HIGHjstests/aggregation/expressions/rand.js7print("Generating test collection...");CODE
HIGHjstests/aggregation/expressions/rand.js21print("Average: ", avg);CODE
HIGH…tests/aggregation/expressions/date_expr_before_1970.js5 print("testing " + date);CODE
HIGH…tests/aggregation/expressions/date_expr_before_1970.js44 print("skipping test of " + date.tojson() + " because system doesn't support old dates");CODE
HIGH…tests/aggregation/expressions/date_expr_before_1970.js50 print("skipping test of " + date.tojson() + " because it is outside of time_t range");CODE
2098 more matches not shown…
Hyper-Verbose Identifiers7723 hits · 7773 pts
SeverityFileLineSnippetContext
LOWmodules_poc/browse.py236def add_mod_loc_mapping_nodes(node: TreeNode, usages: Usages, kind: str):CODE
LOWmodules_poc/mod_scanner.py360def try_extract_file_level_visibility(c: Cursor) -> str | None:CODE
LOWmodules_poc/private_headers.py47def get_all_paths_to_files_passing_filter(CODE
LOWmodules_poc/private_headers.py159def add_mod_visibility_to_idl(idl_path: str, write_unless_dry: Callable) -> bool:CODE
LOWmodules_poc/cindex.py2078 def get_num_template_arguments(self):CODE
LOWmodules_poc/cindex.py2082 def get_template_argument_kind(self, num):CODE
LOWmodules_poc/cindex.py2089 def get_template_argument_type(self, num):CODE
LOWmodules_poc/cindex.py2095 def get_template_argument_value(self, num):CODE
LOWmodules_poc/cindex.py2099 def get_template_argument_unsigned_value(self, num):CODE
LOWmodules_poc/cindex.py1583 def is_converting_constructor(self):CODE
LOWmodules_poc/cindex.py1611 def is_copy_assignment_operator_method(self):CODE
LOWmodules_poc/cindex.py1636 def is_move_assignment_operator_method(self):CODE
LOWmodules_poc/cindex.py1927 def exception_specification_kind(self):CODE
LOWmodules_poc/cindex.py2545 def get_num_template_arguments(self):CODE
LOWmodules_poc/cindex.py2548 def get_template_argument_type(self, num):CODE
LOWmodules_poc/cindex.py2686 def get_exception_specification_kind(self):CODE
LOWmodules_poc/cindex.py3706 def write_main_file_to_stdout(self):CODE
LOWevergreen/validate_compile_commands_test.py14 def test_validate_clang_tidy_setup_skips_unsupported_platforms(self):CODE
LOWevergreen/validate_compile_commands_test.py21 def test_validate_clang_tidy_setup_accepts_expected_files(self):CODE
LOWevergreen/validate_compile_commands_test.py40 def test_validate_clang_tidy_setup_rejects_missing_config(self):CODE
LOWevergreen/validate_compile_commands_test.py48 def test_validate_clang_tidy_setup_rejects_missing_plugin(self):CODE
LOWevergreen/validate_compile_commands_test.py68 def test_accepts_standard_arguments_entry(self):CODE
LOWevergreen/validate_compile_commands_test.py79 def test_accepts_standard_command_entry(self):CODE
LOWevergreen/validate_compile_commands_test.py89 def test_rejects_non_standard_keys(self):CODE
LOWevergreen/validate_compile_commands_test.py101 def test_rejects_entries_with_both_command_and_arguments(self):CODE
LOWevergreen/validate_compile_commands_test.py113 def test_selection_rejects_non_standard_compile_commands_json(self):CODE
LOWevergreen/validate_compile_commands_test.py134 def test_ensure_compiledb_exists_builds_install_wiredtiger_too(self):CODE
LOWevergreen/validate_compile_commands.py53def _mongo_tidy_checks_supported_platform() -> bool:CODE
LOWevergreen/validate_compile_commands.py58def _validate_clang_tidy_setup(workspace_dir: str) -> None:CODE
LOWevergreen/validate_compile_commands.py95def _parse_repo_env_from_bazelrc(bazelrc_path: str, var_name: str) -> str | None:CODE
LOWevergreen/validate_compile_commands.py171def _maybe_add_windows_toolchain_env(base_env: dict[str, str], repo_root: str) -> dict[str, str]:CODE
LOWevergreen/validate_compile_commands.py266def _validate_compiledb_entry(entry: dict[str, Any], *, index: int) -> None:CODE
LOWevergreen/validate_compile_commands.py390def _determine_selection_count(CODE
LOWevergreen/validate_compile_commands.py473def _map_writable_output_path(out_root: str, original_path: str) -> str:CODE
LOWevergreen/validate_compile_commands.py530def _rewrite_output_paths_to_writable_dir(CODE
LOWevergreen/validate_compile_commands.py655def _ensure_parent_dirs_exist_for_outputs(args: list[str], cwd: str, repo_root: str) -> None:CODE
LOWevergreen/validate_compile_commands.py714def _select_entries_for_test_compile(path: str, n: int) -> tuple[int, list[dict[str, Any]]]:CODE
LOWevergreen/functions/upload_sbom_via_silkbomb.py17def get_changed_files_from_latest_commit(local_repo_path: str, branch_name: str = "master") -> dict:CODE
LOWevergreen/functions/code_coverage_data_process.py33def get_bazel_coverage_report_file() -> str:CODE
LOWx509/mkcert.py111def find_certificate_definition(name):CODE
LOWx509/mkcert.py383 def authority_information_access(v, **_):CODE
LOWx509/mkcert.py706def read_certificate_generation_year(year_file):CODE
LOWbazel/workspace_status.py31def print_feature_flag_status():CODE
LOWbazel/workspace_status.py72def print_evergreen_expansions():CODE
LOWbazel/bazelisk.py107def decide_which_bazel_version_to_use():CODE
LOWbazel/bazelisk.py146def resolve_version_label_to_number_or_commit(bazelisk_directory, version):CODE
LOWbazel/bazelisk.py253def determine_executable_filename_suffix():CODE
LOWbazel/bazelisk.py276def get_supported_machine_archs(version, operating_system):CODE
LOWbazel/bazelisk.py303def normalized_machine_arch_name():CODE
LOWbazel/bazelisk.py344def download_bazel_into_directory(version, is_commit, directory):CODE
LOWbazel/bazelisk.py469def prepend_directory_to_path(env, directory):CODE
LOWbazel/merge_tidy_configs.py54def check_options_list_to_map(value: Any) -> dict[str, Any]:CODE
LOWbazel/merge_tidy_configs.py64def merge_check_options_into_config(CODE
LOWbazel/merge_tidy_configs.py113def filter_and_sort_config_paths(CODE
LOWbazel/resmoke/resmoke_shim.py44def add_multiversion_exclude_tags(args):CODE
LOWbazel/resmoke/resmoke_shim.py89def copy_jstestfuzz_metadata_to_undeclared_outputs():CODE
LOWbazel/resmoke/resource_monitor.py309 def _collect_network_io_metrics(self, metrics: dict[str, Any]):CODE
LOWbazel/resmoke/resource_monitor.py483 def _format_network_io_metrics(self, lines: list[str], sm: dict[str, Any]):CODE
LOWbazel/resmoke/resource_monitor.py508 def _format_process_tree_section(self, lines: list[str], snapshot: ResourceSnapshot):CODE
LOWbazel/resmoke/resource_monitor.py595 def start_periodic_monitoring(self):CODE
7663 more matches not shown…
Self-Referential Comments539 hits · 1676 pts
SeverityFileLineSnippetContext
MEDIUMmodules_poc/modules.yaml1# This file defines the modules for the MongoDB project.COMMENT
MEDIUMetc/evergreen_timeouts.yml1# This file defines timeouts in evergreen that will override the default timeouts.COMMENT
MEDIUMetc/performance_thresholds.yml2# This file contains thresholds for performance tests run by resmoke. These correspond to #COMMENT
MEDIUMetc/test_retrial.yml1# This file is used to tag JS tests for retry on failure that run in the mainline.COMMENT
MEDIUMetc/test_lifecycle.yml1# This file is used to tag JS tests that run under resmoke.py.COMMENT
MEDIUMetc/backports_required_for_multiversion_tests.yml1# This file is intended to track tests that should be denylisted from multiversion testing due toCOMMENT
MEDIUMetc/burn_in_tests.yml1# This file is used to exclude suites, tasks or tests from running in the burn_in_test task.COMMENT
MEDIUMevergreen/external_auth_gcp_setup.sh8# Create the config file, which will contain the GCE project/zone information along withCOMMENT
MEDIUMevergreen/external_auth_gcp_setup.sh19# Create the SSH key file. Note that the SSH key has been base64 encoded and stored into an EVGCOMMENT
MEDIUMevergreen/collect_bazel_debug_logs.sh70 # Create the zip fileCOMMENT
MEDIUMevergreen/gen_supplementary_data.sh51 # Create the final archiveCOMMENT
MEDIUM…green/functions/evergreen_api_credentials_configure.sh6# Create the Evergreen API credentialsCOMMENT
MEDIUMbazel/crates.toml1# This file is automatically @generated by Cargo.COMMENT
MEDIUMbazel/workspace_status.py8# This file is executed by Bazel prior to the build. Expect no packages toCOMMENT
MEDIUMbazel/cargo_bindeps.toml1# This file is automatically @generated by Cargo.COMMENT
MEDIUMbazel/wrapper_hook/lint.py297 # Create a new list of files that are in all_typed_files but not in typed_files_in_targetsSTRING
MEDIUM…ldscripts/evergreen_gen_streams_build_and_push_task.py16# This file is for generating the task that builds and pushes the streams docker image.COMMENT
MEDIUMbuildscripts/bazel_burn_in.py171 # Create the label "//jstests:foo.js" from jstests/foo.jsCOMMENT
MEDIUMbuildscripts/github_merge_queue_metrics.py292 # Create a span for each PR merge eventCOMMENT
MEDIUMbuildscripts/clang_tidy_vscode.py39# This file is intended to document the configuration options availableCOMMENT
MEDIUMbuildscripts/uv_sync.sh118 # Create the venv up front and repoint py3 into it so the pip installCOMMENT
MEDIUMbuildscripts/compare_evergreen_versions.py203 # Create a mapping of build_id to build_variant_nameCOMMENT
MEDIUMbuildscripts/idl/generate_ifr_registry.py27 # This file is regenerated by buildscripts/idl/generate_ifr_registry.py.COMMENT
MEDIUMbuildscripts/idl/gen_dts.py196 # Create the _gen.d.ts file if it doesn't exist.COMMENT
MEDIUMbuildscripts/idl/gen_dts.py212 # Create a Typescript definition from the symbol and write it to the file.COMMENT
MEDIUMbuildscripts/idl/idl/compiler.py116 # This function is fragile:COMMENT
MEDIUMbuildscripts/idl/tests/test_binder.py46 # Create a text wrap for common types.COMMENT
MEDIUMbuildscripts/gdb/mongo.py835 # The following block is roughly equivalent to this:COMMENT
MEDIUMbuildscripts/sbom/install_endorctl.sh139 ## Create an alias endorctl of the binary to ensure it is available in other directoryCOMMENT
MEDIUMbuildscripts/sbom/generate_sbom.py66# Create an instance of the custom handlerCOMMENT
MEDIUMbuildscripts/cost_model/ce_generate_data.py121 # Create an array named 'chunkNames' with all chunk file names to be loaded.COMMENT
MEDIUMbuildscripts/tests/test_sync_repo_with_copybara.py2125 # Define the content for the Git configuration fileCOMMENT
MEDIUMbuildscripts/tests/test_sync_repo_with_copybara.py2167 # Define the content for the Git configuration fileCOMMENT
MEDIUMbuildscripts/tests/test_sync_repo_with_copybara.py2171 # Define a invalid branching off commitCOMMENT
MEDIUMbuildscripts/tests/test_sync_repo_with_copybara.py613 # Create a mock private repository and get all commit hashesCOMMENT
MEDIUMbuildscripts/tests/test_sync_repo_with_copybara.py618 # Create a mock public repository and pass the list of private commit hashesCOMMENT
MEDIUMbuildscripts/tests/test_sync_repo_with_copybara.py2101 # Define the content for the Git configuration fileCOMMENT
MEDIUMbuildscripts/tests/test_sync_repo_with_copybara.py6660 "# This file is generated by buildscripts/copybara/generate_evergreen.py.",CODE
MEDIUMbuildscripts/tests/test_legacy_commands_check.py59 # This class is not a Command type and should not be mistaken for a Command typeCOMMENT
MEDIUMbuildscripts/tests/test_legacy_commands_check.py65 # This class is not a Command type and should not be mistaken for a Command typeCOMMENT
MEDIUM…/tests/resmoke_end2end/test_external_fixtures_hooks.py67 # Create a _SingleJSTestCase with env_vars in config (not shell_options)COMMENT
MEDIUM…/tests/resmoke_end2end/test_external_fixtures_hooks.py89 # Create a PyTestCase with env_vars in configCOMMENT
MEDIUM…/tests/resmoke_end2end/test_external_fixtures_hooks.py105 # Create a MatrixSuiteConfigCOMMENT
MEDIUM…ipts/tests/resmoke_end2end/test_resmoke_js_debugger.py268 # Create a test file that expects modified variablesCOMMENT
MEDIUM…sts/sbom_linter/inputs/kafka_missing_version_import.sh14# Create a temporary directory to clone and configure librdkafkaCOMMENT
MEDIUM…scripts/tests/sbom_linter/inputs/kafka_valid_import.sh14# Create a temporary directory to clone and configure librdkafkaCOMMENT
MEDIUMbuildscripts/tests/resmokelib/core/test_programs.py28 # Create a multiversion binary in a separate directory and look it up by its bare name.COMMENT
MEDIUMbuildscripts/tests/resmokelib/testing/test_job.py242 # Initialize the Job instance such that its setup_fixture() and teardown_fixture() methodsCOMMENT
MEDIUM…keconfig/suites/sharded_retryable_writes_downgrade.yml64 # This file is testing resmoke's multiversion framework, not Server behaviorCOMMENT
MEDIUM…ipts/resmokeconfig/suites/change_streams_downgrade.yml224 # This file is testing resmoke's multiversion framework, not Server behaviorCOMMENT
MEDIUM…s/resmokeconfig/matrix_suites/overrides/bulk_write.yml63 # This file is an end to end test for both CSFLE and QE. CSFLE is not supported in bulk_write mode,COMMENT
MEDIUM…esmokeconfig/matrix_suites/generated_suites/OWNERS.yml1# This file is AUTO-GENERATED by 'buildscripts/resmoke.py generate-matrix-suites'.COMMENT
MEDIUM…dscripts/resmokeconfig/powercycle/powercycle_tasks.yml3# This file contains additional options to run the powercycle task with.COMMENT
MEDIUM…onfig/setup_multiversion/setup_multiversion_config.yml1# This file contains the list of all build variants running on *ALL* Evergreen mongo waterfalls.COMMENT
MEDIUMbuildscripts/resmokelib/owners_generation.py185 "# This file is AUTO-GENERATED by 'buildscripts/resmoke.py generate-matrix-suites'.\n"CODE
MEDIUMbuildscripts/resmokelib/utils/autoloader.py30 # Create a synthetic module for the parent packageCOMMENT
MEDIUMbuildscripts/resmokelib/utils/otel_id_generator.py43 # Create a separate Random instance to avoid interfering with other uses of randomCOMMENT
MEDIUM…ts/resmokelib/extensions/generate_extension_configs.py109 # Create the output directory with restricted permissions so it is not world-writable. TheCOMMENT
MEDIUMbuildscripts/resmokelib/run/__init__.py133 # Create the resolved UUID directory eagerly so thatCOMMENT
MEDIUM…ripts/bazel_testbuilds/verify_resmoke_coredump_test.sh101# Create an expansions file that is like what will exist in the tests tasks.COMMENT
479 more matches not shown…
Decorative Section Separators434 hits · 1462 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml299# ---------------------------------------------------------------------------COMMENT
MEDIUMpyproject.toml301# ---------------------------------------------------------------------------COMMENT
MEDIUMpyproject.toml340# ---------------------------------------------------------------------------COMMENT
MEDIUMpyproject.toml342# ---------------------------------------------------------------------------COMMENT
MEDIUMevergreen/verify_extension_visibility_test.sh43# ------------------------------------------------------------------------------COMMENT
MEDIUMevergreen/verify_extension_visibility_test.sh51# ------------------------------------------------------------------------------COMMENT
MEDIUMevergreen/verify_extension_visibility_test.sh81# ------------------------------------------------------------------------------COMMENT
MEDIUMevergreen/verify_extension_visibility_test.sh90# ------------------------------------------------------------------------------COMMENT
MEDIUMevergreen/verify_extension_visibility_test.sh204# ------------------------------------------------------------------------------COMMENT
MEDIUMevergreen/verify_extension_visibility_test.sh214# ------------------------------------------------------------------------------COMMENT
MEDIUMevergreen/jepsen_docker/list-append-sls-sharded.sh15# ---------------------------------------------------------------------------COMMENT
MEDIUMevergreen/jepsen_docker/list-append-sls-sharded.sh18# ---------------------------------------------------------------------------COMMENT
MEDIUMevergreen/jepsen_docker/list-append-sls-sharded.sh22# ---------------------------------------------------------------------------COMMENT
MEDIUMevergreen/jepsen_docker/list-append-sls-sharded.sh26# ---------------------------------------------------------------------------COMMENT
MEDIUMevergreen/jepsen_docker/list-append-sls-rs.sh15# ---------------------------------------------------------------------------COMMENT
MEDIUMevergreen/jepsen_docker/list-append-sls-rs.sh18# ---------------------------------------------------------------------------COMMENT
MEDIUMevergreen/jepsen_docker/list-append-sls-rs.sh22# ---------------------------------------------------------------------------COMMENT
MEDIUMevergreen/jepsen_docker/list-append-sls-rs.sh26# ---------------------------------------------------------------------------COMMENT
MEDIUMbazel/auto_header/gen_all_headers.py313# ---------------------------------------------------------------------------COMMENT
MEDIUM…approval-recency/tests/integration/test_integration.py43# ---------------------------------------------------------------------------COMMENT
MEDIUM…approval-recency/tests/integration/test_integration.py45# ---------------------------------------------------------------------------COMMENT
MEDIUM…approval-recency/tests/integration/test_integration.py122# ---------------------------------------------------------------------------COMMENT
MEDIUM…approval-recency/tests/integration/test_integration.py124# ---------------------------------------------------------------------------COMMENT
MEDIUM…approval-recency/tests/integration/test_integration.py155# ---------------------------------------------------------------------------COMMENT
MEDIUM…approval-recency/tests/integration/test_integration.py157# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildscripts/build_cargo_bazel_ppc64le.sh23# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildscripts/idl/generate_ifr_registry.py33 # --------------------COMMENT
MEDIUMbuildscripts/idl/generate_ifr_registry.py50 # -----------COMMENT
MEDIUMbuildscripts/tests/test_compiledb_posthook.py45 # ------------------------------------------------------------------COMMENT
MEDIUMbuildscripts/tests/test_compiledb_posthook.py47 # ------------------------------------------------------------------COMMENT
MEDIUMbuildscripts/tests/test_compiledb_posthook.py65 # ------------------------------------------------------------------COMMENT
MEDIUMbuildscripts/tests/test_compiledb_posthook.py67 # ------------------------------------------------------------------COMMENT
MEDIUMbuildscripts/tests/test_compiledb_posthook.py126 # ------------------------------------------------------------------COMMENT
MEDIUMbuildscripts/tests/test_compiledb_posthook.py128 # ------------------------------------------------------------------COMMENT
MEDIUMbuildscripts/tests/test_compiledb_posthook.py136 # ------------------------------------------------------------------COMMENT
MEDIUMbuildscripts/tests/test_compiledb_posthook.py138 # ------------------------------------------------------------------COMMENT
MEDIUMbuildscripts/tests/test_compiledb_posthook.py149 # ------------------------------------------------------------------COMMENT
MEDIUMbuildscripts/tests/test_compiledb_posthook.py151 # ------------------------------------------------------------------COMMENT
MEDIUM…te_multi_op_sharded_collections_jscore_passthrough.yml42 # ----------------------------------------COMMENT
MEDIUM…te_multi_op_sharded_collections_jscore_passthrough.yml44 # ----------------------------------------COMMENT
MEDIUM…nfig/matrix_suites/overrides/with_mongot_extension.yml57# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM…nfig/matrix_suites/overrides/with_mongot_extension.yml62# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM…nfig/matrix_suites/overrides/with_mongot_extension.yml95# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM…nfig/matrix_suites/overrides/with_mongot_extension.yml99# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM…nfig/matrix_suites/overrides/with_mongot_extension.yml129# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM…nfig/matrix_suites/overrides/with_mongot_extension.yml133# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM…nfig/matrix_suites/overrides/with_mongot_extension.yml163# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM…nfig/matrix_suites/overrides/with_mongot_extension.yml167# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMbuildscripts/resmokelib/owners_generation.py102 # ── private helpers ───────────────────────────────────────────────────────COMMENT
MEDIUM…index/geo/geo_strict_polygon_in_geometry_collection.js89// ── insert + query on unindexed collection ──────────────────────────────────────────────────────COMMENT
MEDIUM…index/geo/geo_strict_polygon_in_geometry_collection.js124// ── insert into 2dsphere-indexed collection ─────────────────────────────────────────────────────COMMENT
MEDIUM…index/geo/geo_strict_polygon_in_geometry_collection.js144// ── createIndex on collection that already has the document ─────────────────────────────────────COMMENT
MEDIUMjstests/replsets/nodes_prefer_primary_sync_source.js99// west ──────────▶ central ────────▶ eastCentral ───────────▶ eastCOMMENT
MEDIUMjstests/replsets/nodes_prefer_primary_sync_source.js103// ├──── 55 ms ──────┼───────────────────┘ │COMMENT
MEDIUMjstests/replsets/nodes_prefer_primary_sync_source.js105// │ └──────────── 50 ms ─────────────────────┤COMMENT
MEDIUMjstests/replsets/nodes_prefer_primary_sync_source.js107// └──────────────────────── 300 ms ──────────────────────────┘COMMENT
MEDIUM…ore_sharding/ddl/timeseries_sharded_fixed_bucketing.js57// ── shardCollection behavior ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…ore_sharding/ddl/timeseries_sharded_fixed_bucketing.js148// ── Global catalog — createCollection then shardCollection ────────────────────────────────────COMMENT
MEDIUM…ore_sharding/ddl/timeseries_sharded_fixed_bucketing.js198// ── Global catalog — collMod bucketing change on a sharded collection ─────────────────────────COMMENT
MEDIUM…hird_party/mozjs/extract/js/src/util/SpecialCasing.txt27# ================================================================================COMMENT
374 more matches not shown…
Unused Imports816 hits · 783 pts
SeverityFileLineSnippetContext
LOWmodules_poc/cindex.py51CODE
LOWmodules_poc/cindex.py70CODE
LOWmodules_poc/cindex.py76CODE
LOWbazel/merge_tidy_configs.py12CODE
LOWbazel/gpg_signer.py14CODE
LOWbazel/auto_header/ensure_fd.py14CODE
LOW…mongot_extension_signing_key/gpg_export_armored_key.py10CODE
LOW…ns/pr-approval-recency/validate_pr_approval_recency.py17CODE
LOW…ns/pr-approval-recency/validate_pr_approval_recency.py18CODE
LOW…ns/pr-approval-recency/validate_pr_approval_recency.py19CODE
LOWbuildscripts/validate_mongocryptd.py5CODE
LOWbuildscripts/validate_mongocryptd.py5CODE
LOWbuildscripts/validate_mongocryptd.py5CODE
LOWbuildscripts/pip_requirements.py43CODE
LOWbuildscripts/lint_markdown_links.py113CODE
LOWbuildscripts/evergreen_task_tags.py4CODE
LOWbuildscripts/evergreen_task_tags.py4CODE
LOWbuildscripts/evergreen_task_timeout.py4CODE
LOWbuildscripts/bazel_spawn_pb2.py25CODE
LOWbuildscripts/bazel_spawn_pb2.py26CODE
LOWbuildscripts/idl/tests/context.py10CODE
LOWbuildscripts/idl/tests/context.py11CODE
LOWbuildscripts/idl/tests/context.py12CODE
LOWbuildscripts/idl/tests/context.py13CODE
LOWbuildscripts/idl/tests/context.py14CODE
LOWbuildscripts/idl/tests/context.py15CODE
LOWbuildscripts/idl/tests/context.py16CODE
LOWbuildscripts/idl/tests/context.py17CODE
LOWbuildscripts/gdb/mongo.py104CODE
LOWbuildscripts/util/oauth.py3CODE
LOWbuildscripts/linter/git.py3CODE
LOWbuildscripts/lldb/lldb_printers.py11CODE
LOWbuildscripts/cost_model/database_instance.py5CODE
LOWbuildscripts/cost_model/query_solution_tree.py5CODE
LOWbuildscripts/cost_model/config.py5CODE
LOWbuildscripts/cost_model/execution_tree_sbe.py5CODE
LOWbuildscripts/cost_model/join_workload_execution.py5CODE
LOWbuildscripts/cost_model/qsn_calibrator.py5CODE
LOWbuildscripts/cost_model/execution_tree_classic.py4CODE
LOWbuildscripts/cost_model/experiment.py3CODE
LOWbuildscripts/cost_model/join_calibration_settings.py18CODE
LOWbuildscripts/cost_model/data_generator.py5CODE
LOWbuildscripts/cost_model/cost_estimator.py5CODE
LOWbuildscripts/cost_model/workload_execution.py5CODE
LOWbuildscripts/cost_model/random_generator.py5CODE
LOWbuildscripts/cost_model/parameters_extractor_classic.py5CODE
LOWbuildscripts/tests/test_todo_check.py3CODE
LOWbuildscripts/tests/test_validate_mongocryptd.py3CODE
LOWbuildscripts/tests/test_evergreen_task_tags.py3CODE
LOWbuildscripts/tests/burn_in/test_burn_in.py3CODE
LOWbuildscripts/tests/patch_builds/test_change_data.py3CODE
LOWbuildscripts/tests/resmokelib/core/test_redirect.py3CODE
LOWbuildscripts/tests/resmokelib/core/test_pipe.py3CODE
LOWbuildscripts/timeouts/timeout.py3CODE
LOWbuildscripts/monitor_build_status/jira_service.py1CODE
LOWbuildscripts/monitor_build_status/cli.py1CODE
LOW…ldscripts/monitor_build_status/code_lockdown_config.py1CODE
LOWbuildscripts/monitor_build_status/issue_report.py1CODE
LOWbuildscripts/ciconfig/evergreen.py7CODE
LOWbuildscripts/ciconfig/yaml_load.py46CODE
756 more matches not shown…
Deep Nesting558 hits · 524 pts
SeverityFileLineSnippetContext
LOWmodules_poc/browse.py676CODE
LOWmodules_poc/browse.py407CODE
LOWmodules_poc/merge_decls.py42CODE
LOWmodules_poc/merge_decls.py198CODE
LOWmodules_poc/mod_scanner.py255CODE
LOWmodules_poc/mod_scanner.py964CODE
LOWmodules_poc/mod_scanner.py103CODE
LOWmodules_poc/mod_mapping.py171CODE
LOWmodules_poc/private_headers.py65CODE
LOWmodules_poc/private_headers.py108CODE
LOWmodules_poc/private_headers.py159CODE
LOWevergreen/fetch_optional_s3_targz.py72CODE
LOWevergreen/validate_compile_commands.py204CODE
LOWevergreen/validate_compile_commands.py329CODE
LOWevergreen/validate_compile_commands.py530CODE
LOWevergreen/validate_compile_commands.py763CODE
LOWx509/mkcert.py425CODE
LOWx509/mkcert.py532CODE
LOWx509/mkcert.py319CODE
LOWbazel/bazelisk.py107CODE
LOWbazel/bazelisk.py186CODE
LOWbazel/bazelisk.py408CODE
LOWbazel/bazelisk.py450CODE
LOWbazel/resmoke/resmoke_shim.py89CODE
LOWbazel/resmoke/derive_suite_selectors.py47CODE
LOWbazel/resmoke/derive_suite_selectors.py228CODE
LOWbazel/resmoke/resource_monitor.py45CODE
LOWbazel/resmoke/resource_monitor.py74CODE
LOWbazel/resmoke/download_historic_runtimes.py18CODE
LOW…zel/platforms/remote_execution_containers_generator.py20CODE
LOWbazel/auto_header/auto_header.py556CODE
LOWbazel/auto_header/auto_header.py570CODE
LOWbazel/auto_header/gen_all_headers.py16CODE
LOWbazel/auto_header/gen_all_headers.py57CODE
LOWbazel/auto_header/gen_all_headers.py204CODE
LOWbazel/install_rules/install_rules.py38CODE
LOWbazel/format/rules_lint_format_wrapper.py95CODE
LOWbazel/wrapper_hook/compiledb.py45CODE
LOWbazel/wrapper_hook/compiledb.py125CODE
LOWbazel/wrapper_hook/compiledb.py301CODE
LOWbazel/wrapper_hook/compiledb.py658CODE
LOWbazel/wrapper_hook/compiledb.py686CODE
LOWbazel/wrapper_hook/compiledb_postprocess.py45CODE
LOWbazel/wrapper_hook/lint_test.py50CODE
LOWbazel/wrapper_hook/lint_test.py77CODE
LOWbazel/wrapper_hook/lint_test.py211CODE
LOWbazel/wrapper_hook/wrapper_util.py16CODE
LOWbazel/wrapper_hook/wrapper_util.py90CODE
LOWbazel/wrapper_hook/wrapper_util.py111CODE
LOWbazel/wrapper_hook/plus_interface.py108CODE
LOWbazel/wrapper_hook/plus_interface.py144CODE
LOWbazel/wrapper_hook/plus_interface.py187CODE
LOWbazel/wrapper_hook/lint.py202CODE
LOWbazel/wrapper_hook/lint.py805CODE
LOWbazel/wrapper_hook/lint.py466CODE
LOW…ns/cc/mongo_linux/mongo_toolchain_version_generator.py87CODE
LOWbuildscripts/benchmark_profiler.py86CODE
LOWbuildscripts/config_diff.py112CODE
LOWbuildscripts/bazel_burn_in.py389CODE
LOWbuildscripts/github_merge_queue_metrics.py444CODE
498 more matches not shown…
Verbosity Indicators276 hits · 511 pts
SeverityFileLineSnippetContext
LOW…kelib/testing/hooks/generate_and_check_perf_results.py982 # Step 1: get the statistic type.COMMENT
LOW…kelib/testing/hooks/generate_and_check_perf_results.py988 # Step 2: Get the thread count and name.COMMENT
LOW…kelib/testing/hooks/generate_and_check_perf_results.py997 # Step 3: Remove any explicit iteration count from the base name.COMMENT
LOWjstests/query_golden/libs/plan_stability_utils.js434 // JSON does not allow trailing commas, so we need to check if there are more fields after the "rows" fieldCOMMENT
LOWjstests/query_golden/libs/plan_stability_utils.js443 // JSON does not allow trailing commas, so we need to check if there are more fields after the "result" fielCOMMENT
LOW…ry_golden/test_inputs/simple_plan_stability_dataset.js24 // Step 1: Calculate the normalization constantCOMMENT
LOW…ry_golden/test_inputs/simple_plan_stability_dataset.js30 // Step 2: Generate the Zipfian probabilitiesCOMMENT
LOW…ry_golden/test_inputs/simple_plan_stability_dataset.js36 // Step 3: Generate the output list based on probabilitiesCOMMENT
LOWjstests/sharding/libs/proxy_protocol_server.py343 # Step 1: Stop accepting new connectionsCOMMENT
LOWjstests/sharding/libs/proxy_protocol_server.py351 # Step 2: Close existing client connections gracefullyCOMMENT
LOWjstests/sharding/libs/proxy_protocol_server.py359 # Step 3: Schedule abort as a safety fallback after 1 secondCOMMENT
LOW…tests/sharding/libs/set_allow_chunk_operations_util.js34 // Step 1: config-server write. It is a retryable write, so use a fresh session.COMMENT
LOW…tests/sharding/libs/set_allow_chunk_operations_util.js57 // Step 2: broadcast the command to every shard in the cluster. It must be a retryable writeCOMMENT
LOW…streams/change_stream_collection_v2_strict_whitebox.js242 // Step 1: Move [10, MaxKey) to shard1 - partial, shard0 still has 2 chunks.COMMENT
LOW…streams/change_stream_collection_v2_strict_whitebox.js264 // Step 2: Move [-10, 10) to shard2 -- partial, shard0 still has 1 chunk. Now 3 shards.COMMENT
LOW…streams/change_stream_collection_v2_strict_whitebox.js286 // Step 3: Move [MinKey, -10) to shard1 -- full drain, shard0 has 0 chunks.COMMENT
LOW…e_streams/change_stream_database_v2_strict_whitebox.js245 // Step 1: Move [10, MaxKey) to shard1 - placement refresh re-evaluates, cursors on shard0 + shard1.COMMENT
LOW…e_streams/change_stream_database_v2_strict_whitebox.js262 // Step 2: Move [-10, 10) to shard2 - placement refresh, now 3 shards.COMMENT
LOW…e_streams/change_stream_database_v2_strict_whitebox.js279 // Step 3: Move [MinKey, -10) to shard1 - all chunks off shard0, but shard0 is stillCOMMENT
LOWjstests/libs/crud_ops_to_bulk_write_lib.js272 * The purpose of this function is to take a server response from a bulkWrite command and toCOMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js112 // Step 1: For each state, compute shortest paths to all other states using BFS.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js115 // Step 2: For each state, record unvisited actions.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js118 // Step 3: Select starting state.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js123 // Step 4: While there are unvisited actions.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js460 // Step 1: Determine target shard key from action mapping.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js465 // Step 2: Build collection context copy.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js469 // Step 3: Pre-commands.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js531 // Step 4: Main command.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js534 // Step 5: Post-commands.COMMENT
LOW…query/prepare_constraint_validation_level_failpoint.js31// Step 1: start a non-conforming bypass write in a parallel shell; it will pause at the failpoint.COMMENT
LOW…query/prepare_constraint_validation_level_failpoint.js49// Step 2: wait for the write to pause (it now holds the collection IX lock).COMMENT
LOW…query/prepare_constraint_validation_level_failpoint.js52// Step 3: start the collMod in a parallel shell; it will wait for the X lock.COMMENT
LOW…query/prepare_constraint_validation_level_failpoint.js78// Step 4: start a second bypass write. The collMod X lock is already queued, so this write willCOMMENT
LOW…query/prepare_constraint_validation_level_failpoint.js97// Step 5: release the failpoint so the first write can complete.COMMENT
LOW…hWithMongod/query/explain/explain_with_backup_plans.js116 // Step 1: Verify the backup plan exists via queryPlanner explain.COMMENT
LOW…hWithMongod/query/explain/explain_with_backup_plans.js137 // Step 2: Verify the backup plan is actually executed when the sort exceeds memory.COMMENT
LOW…pology/config_server_shard_registry_stale_secondary.js47// Step 1: Establish initial configTime. All config RS members are in sync.COMMENT
LOW…pology/config_server_shard_registry_stale_secondary.js56// Step 2: Stop replication on one secondary to make it stale.COMMENT
LOW…pology/config_server_shard_registry_stale_secondary.js72// Step 3: Isolate the config primary's RSM so the only reachable member is the stale secondary.COMMENT
LOW…ecution_control/keys_collection_non_deprioritizable.js57 // Step 1: Pause key generation on all config server nodesCOMMENT
LOW…ecution_control/keys_collection_non_deprioritizable.js64 // Step 2: Delete existing keys to force regenerationCOMMENT
LOW…ecution_control/keys_collection_non_deprioritizable.js72 // Step 3: Force a stepdown to re-initialize the KeyGenerator when primary comes backCOMMENT
LOW…ecution_control/keys_collection_non_deprioritizable.js80 // Step 4: Enable fast refresh on config primary BEFORE getting the counterCOMMENT
LOW…ecution_control/keys_collection_non_deprioritizable.js85 // Step 5: Get the counter before triggering key generationCOMMENT
LOW…ecution_control/keys_collection_non_deprioritizable.js89 // Step 6: Re-enable key generation on all config server nodesCOMMENT
LOW…ecution_control/keys_collection_non_deprioritizable.js96 // Step 7: Wait for key generation to completeCOMMENT
LOW…on_control/deprioritization_stats_and_observability.js95 // Step 1: ensure the statistic schema is correct.COMMENT
LOW…on_control/deprioritization_stats_and_observability.js102 // Step 2: compare the statistics. The caller tries to assert compFunc(obj1, obj2).COMMENT
LOW…/noPassthrough/query/cbr/ndv_estimate_multikey_race.js43// Step 1: Pause just before generateSample() so that we can arm setYieldAllLocksHang afterCOMMENT
LOW…/noPassthrough/query/cbr/ndv_estimate_multikey_race.js56// Step 2: Wait for planning to complete (multikey = false in IndexScanNode).COMMENT
LOW…/noPassthrough/query/cbr/ndv_estimate_multikey_race.js59// Step 3: Arm the yield failpoint so we catch the first yield inside the sampling scan.COMMENT
LOW…/noPassthrough/query/cbr/ndv_estimate_multikey_race.js66// Step 4: Wait for the sampling scan to yield.COMMENT
LOW…/noPassthrough/query/cbr/ndv_estimate_multikey_race.js69// Step 5: Insert an array-valued document, making the compound index multikey on path 'a'.COMMENT
LOW…/noPassthrough/query/cbr/ndv_estimate_multikey_race.js73// Step 6: Release the yield. The scan resumes on a new snapshot that includes {a:[1,2,3]}.COMMENT
LOW…rty/mozjs/extract/js/src/frontend/DecoratorEmitter.cpp89 // We need to check if the decorator returned undefined, a callable value,COMMENT
LOW…rty/mozjs/extract/js/src/frontend/DecoratorEmitter.cpp231 // We need to check if the decorator returned undefined, a callable value,COMMENT
LOW…rty/mozjs/extract/js/src/frontend/DecoratorEmitter.cpp419 // We need to check if the decorator returned undefined, a callable value,COMMENT
LOWsrc/third_party/mozjs/extract/js/src/wasm/WasmTypeDef.h860 // We need to check if `superTypeDef` is one of `subTypeDef`s super typesCOMMENT
LOWsrc/third_party/mozjs/extract/js/src/vm/BigIntType.cpp2972 // Step 4: If `mod >= 2**(bits - 1)`, return `mod - 2**bits`; otherwise,COMMENT
LOW…third_party/mozjs/extract/js/src/vm/AsyncIteration.cpp59 // Step 1: Assert...COMMENT
216 more matches not shown…
Structural Annotation Overuse269 hits · 506 pts
SeverityFileLineSnippetContext
LOWetc/coverity_models/codexm/CODEXM_LESSONS_LEARNED.md255// Step 1: Find pattern A in the function — binds result in outer scopeCOMMENT
LOWetc/coverity_models/codexm/CODEXM_LESSONS_LEARNED.md258// Step 2: Derive additional context from result ACOMMENT
LOWetc/coverity_models/codexm/CODEXM_LESSONS_LEARNED.md261// Step 3: Find pattern B in the SAME function — can use resultA and derivedCOMMENT
LOWetc/coverity_models/codexm/CODEXM_LESSONS_LEARNED.md265// Step 4: Connect A and B via symbol equality (list exists inherits outer scope)COMMENT
LOWdocs/devcontainer/getting-started.md209### Step 1: Clone Repository in Named Container VolumeCOMMENT
LOWdocs/devcontainer/getting-started.md276### Step 2: Verify Your SetupCOMMENT
LOWdocs/devcontainer/getting-started.md328### Step 3: Understanding Your EnvironmentCOMMENT
LOW…fig/matrix_suites/overrides/rate_limiter_with_auth.yml15### IMPORTANT: Don't override 'eval' in shell_options - use the 'eval:' keyCOMMENT
LOW…kelib/testing/hooks/generate_and_check_perf_results.py982 # Step 1: get the statistic type.COMMENT
LOW…kelib/testing/hooks/generate_and_check_perf_results.py988 # Step 2: Get the thread count and name.COMMENT
LOW…kelib/testing/hooks/generate_and_check_perf_results.py997 # Step 3: Remove any explicit iteration count from the base name.COMMENT
LOW…ry_golden/test_inputs/simple_plan_stability_dataset.js24 // Step 1: Calculate the normalization constantCOMMENT
LOW…ry_golden/test_inputs/simple_plan_stability_dataset.js30 // Step 2: Generate the Zipfian probabilitiesCOMMENT
LOW…ry_golden/test_inputs/simple_plan_stability_dataset.js36 // Step 3: Generate the output list based on probabilitiesCOMMENT
LOWjstests/sharding/large_chunk.js19// Step 1 - Test moving a large chunkCOMMENT
LOWjstests/sharding/libs/proxy_protocol_server.py343 # Step 1: Stop accepting new connectionsCOMMENT
LOWjstests/sharding/libs/proxy_protocol_server.py351 # Step 2: Close existing client connections gracefullyCOMMENT
LOWjstests/sharding/libs/proxy_protocol_server.py359 # Step 3: Schedule abort as a safety fallback after 1 secondCOMMENT
LOW…tests/sharding/libs/set_allow_chunk_operations_util.js34 // Step 1: config-server write. It is a retryable write, so use a fresh session.COMMENT
LOW…tests/sharding/libs/set_allow_chunk_operations_util.js57 // Step 2: broadcast the command to every shard in the cluster. It must be a retryable writeCOMMENT
LOW…streams/change_stream_collection_v2_strict_whitebox.js242 // Step 1: Move [10, MaxKey) to shard1 - partial, shard0 still has 2 chunks.COMMENT
LOW…streams/change_stream_collection_v2_strict_whitebox.js264 // Step 2: Move [-10, 10) to shard2 -- partial, shard0 still has 1 chunk. Now 3 shards.COMMENT
LOW…streams/change_stream_collection_v2_strict_whitebox.js286 // Step 3: Move [MinKey, -10) to shard1 -- full drain, shard0 has 0 chunks.COMMENT
LOW…e_streams/change_stream_database_v2_strict_whitebox.js245 // Step 1: Move [10, MaxKey) to shard1 - placement refresh re-evaluates, cursors on shard0 + shard1.COMMENT
LOW…e_streams/change_stream_database_v2_strict_whitebox.js262 // Step 2: Move [-10, 10) to shard2 - placement refresh, now 3 shards.COMMENT
LOW…e_streams/change_stream_database_v2_strict_whitebox.js279 // Step 3: Move [MinKey, -10) to shard1 - all chunks off shard0, but shard0 is stillCOMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js112 // Step 1: For each state, compute shortest paths to all other states using BFS.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js115 // Step 2: For each state, record unvisited actions.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js118 // Step 3: Select starting state.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js123 // Step 4: While there are unvisited actions.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js460 // Step 1: Determine target shard key from action mapping.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js465 // Step 2: Build collection context copy.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js469 // Step 3: Pre-commands.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js531 // Step 4: Main command.COMMENT
LOW…nge_stream/change_stream_sharding_command_generator.js534 // Step 5: Post-commands.COMMENT
LOW…query/prepare_constraint_validation_level_failpoint.js31// Step 1: start a non-conforming bypass write in a parallel shell; it will pause at the failpoint.COMMENT
LOW…query/prepare_constraint_validation_level_failpoint.js49// Step 2: wait for the write to pause (it now holds the collection IX lock).COMMENT
LOW…query/prepare_constraint_validation_level_failpoint.js52// Step 3: start the collMod in a parallel shell; it will wait for the X lock.COMMENT
LOW…query/prepare_constraint_validation_level_failpoint.js78// Step 4: start a second bypass write. The collMod X lock is already queued, so this write willCOMMENT
LOW…query/prepare_constraint_validation_level_failpoint.js97// Step 5: release the failpoint so the first write can complete.COMMENT
LOW…hWithMongod/query/explain/explain_with_backup_plans.js116 // Step 1: Verify the backup plan exists via queryPlanner explain.COMMENT
LOW…hWithMongod/query/explain/explain_with_backup_plans.js137 // Step 2: Verify the backup plan is actually executed when the sort exceeds memory.COMMENT
LOW…pology/config_server_shard_registry_stale_secondary.js47// Step 1: Establish initial configTime. All config RS members are in sync.COMMENT
LOW…pology/config_server_shard_registry_stale_secondary.js56// Step 2: Stop replication on one secondary to make it stale.COMMENT
LOW…pology/config_server_shard_registry_stale_secondary.js72// Step 3: Isolate the config primary's RSM so the only reachable member is the stale secondary.COMMENT
LOW…ecution_control/keys_collection_non_deprioritizable.js57 // Step 1: Pause key generation on all config server nodesCOMMENT
LOW…ecution_control/keys_collection_non_deprioritizable.js64 // Step 2: Delete existing keys to force regenerationCOMMENT
LOW…ecution_control/keys_collection_non_deprioritizable.js72 // Step 3: Force a stepdown to re-initialize the KeyGenerator when primary comes backCOMMENT
LOW…ecution_control/keys_collection_non_deprioritizable.js80 // Step 4: Enable fast refresh on config primary BEFORE getting the counterCOMMENT
LOW…ecution_control/keys_collection_non_deprioritizable.js85 // Step 5: Get the counter before triggering key generationCOMMENT
LOW…ecution_control/keys_collection_non_deprioritizable.js89 // Step 6: Re-enable key generation on all config server nodesCOMMENT
LOW…ecution_control/keys_collection_non_deprioritizable.js96 // Step 7: Wait for key generation to completeCOMMENT
LOW…on_control/deprioritization_stats_and_observability.js95 // Step 1: ensure the statistic schema is correct.COMMENT
LOW…on_control/deprioritization_stats_and_observability.js102 // Step 2: compare the statistics. The caller tries to assert compFunc(obj1, obj2).COMMENT
LOW…/noPassthrough/query/cbr/ndv_estimate_multikey_race.js43// Step 1: Pause just before generateSample() so that we can arm setYieldAllLocksHang afterCOMMENT
LOW…/noPassthrough/query/cbr/ndv_estimate_multikey_race.js56// Step 2: Wait for planning to complete (multikey = false in IndexScanNode).COMMENT
LOW…/noPassthrough/query/cbr/ndv_estimate_multikey_race.js59// Step 3: Arm the yield failpoint so we catch the first yield inside the sampling scan.COMMENT
LOW…/noPassthrough/query/cbr/ndv_estimate_multikey_race.js66// Step 4: Wait for the sampling scan to yield.COMMENT
LOW…/noPassthrough/query/cbr/ndv_estimate_multikey_race.js69// Step 5: Insert an array-valued document, making the compound index multikey on path 'a'.COMMENT
LOW…/noPassthrough/query/cbr/ndv_estimate_multikey_race.js73// Step 6: Release the yield. The scan resumes on a new snapshot that includes {a:[1,2,3]}.COMMENT
209 more matches not shown…
Cross-File Repetition96 hits · 480 pts
SeverityFileLineSnippetContext
HIGHbazel/format/rules_lint_format_wrapper.py0query git to get a list of files in the repo from a diff.STRING
HIGHbazel/wrapper_hook/lint.py0query git to get a list of files in the repo from a diff.STRING
HIGHbuildscripts/linter/git.py0query git to get a list of files in the repo from a diff.STRING
HIGHbuildscripts/idl/tests/test_parser.py0feature_flags: featureflagtoaster: description: "make toast" cpp_varname: gtoaster fcv_gated: trueSTRING
HIGHbuildscripts/idl/tests/test_generator.py0feature_flags: featureflagtoaster: description: "make toast" cpp_varname: gtoaster fcv_gated: trueSTRING
HIGHbuildscripts/idl/tests/test_binder.py0feature_flags: featureflagtoaster: description: "make toast" cpp_varname: gtoaster fcv_gated: trueSTRING
HIGHbuildscripts/tests/test_validate_mongocryptd.py0return a full name from a name relative to the test module"s name space.STRING
HIGHbuildscripts/tests/burn_in/test_burn_in.py0return a full name from a name relative to the test module"s name space.STRING
HIGHbuildscripts/tests/timeouts/test_timeout_service.py0return a full name from a name relative to the test module"s name space.STRING
HIGHbuildscripts/tests/patch_builds/test_change_data.py0return a full name from a name relative to the test module"s name space.STRING
HIGH…ts/tests/resmokelib/hang_analyzer/test_process_list.py0return a full name from a name relative to the test module"s name space.STRING
HIGHbuildscripts/tests/resmokelib/testing/test_executor.py0return a full name from a name relative to the test module"s name space.STRING
HIGH…nd/testfiles/test_fixture_env_vars_with_uds_replset.py0test that mongodb_fixture_type environment variable is set.STRING
HIGH…nd/testfiles/test_fixture_env_vars_with_uds_sharded.py0test that mongodb_fixture_type environment variable is set.STRING
HIGH…ke_end2end/testfiles/test_fixture_env_vars_with_uds.py0test that mongodb_fixture_type environment variable is set.STRING
HIGH…nd/testfiles/test_fixture_env_vars_with_uds_replset.py0test that mongodb_connection_string is still set even with uds.STRING
HIGH…nd/testfiles/test_fixture_env_vars_with_uds_sharded.py0test that mongodb_connection_string is still set even with uds.STRING
HIGH…ke_end2end/testfiles/test_fixture_env_vars_with_uds.py0test that mongodb_connection_string is still set even with uds.STRING
HIGHbuildscripts/tests/resmokelib/testing/test_job.py0unit tests for the resmokelib.testing.executor module.STRING
HIGH…scripts/tests/resmokelib/testing/test_queue_element.py0unit tests for the resmokelib.testing.executor module.STRING
HIGHbuildscripts/tests/resmokelib/testing/test_executor.py0unit tests for the resmokelib.testing.executor module.STRING
HIGHbuildscripts/resmokelib/plugin.py0add parser options for this plugin. :param subparsers: argparse subparsersSTRING
HIGHbuildscripts/resmokelib/multiversion/__init__.py0add parser options for this plugin. :param subparsers: argparse subparsersSTRING
HIGHbuildscripts/resmokelib/discovery/__init__.py0add parser options for this plugin. :param subparsers: argparse subparsersSTRING
HIGH…dscripts/resmokelib/testing/hooks/dbhash_background.py0signal the background thread to exit, and wait until it does.STRING
HIGH…dscripts/resmokelib/testing/hooks/analyze_shard_key.py0signal the background thread to exit, and wait until it does.STRING
HIGHbuildscripts/resmokelib/testing/hooks/bghook.py0signal the background thread to exit, and wait until it does.STRING
HIGHbuildscripts/resmokelib/testing/hooks/secondary_lag.py0signal the background thread to exit, and wait until it does.STRING
HIGHbuildscripts/resmokelib/testing/hooks/change_streams.py0signal the background thread to exit, and wait until it does.STRING
HIGH…testing/hooks/check_multikey_consistency_background.py0signal the background thread to exit, and wait until it does.STRING
HIGH…scripts/resmokelib/testing/hooks/dbcheck_background.py0signal the background thread to exit, and wait until it does.STRING
HIGHbuildscripts/resmokelib/testing/hooks/background_job.py0signal the background thread to exit, and wait until it does.STRING
HIGH…cripts/resmokelib/testing/hooks/reconfig_background.py0signal the background thread to exit, and wait until it does.STRING
HIGH…dscripts/resmokelib/testing/hooks/dbhash_background.py0instruct the background thread to run the dbcheck check while 'test' is also running.STRING
HIGH…testing/hooks/check_multikey_consistency_background.py0instruct the background thread to run the dbcheck check while 'test' is also running.STRING
HIGH…scripts/resmokelib/testing/hooks/dbcheck_background.py0instruct the background thread to run the dbcheck check while 'test' is also running.STRING
HIGH…dscripts/resmokelib/testing/hooks/dbhash_background.py0instruct the background thread to stop running reconfigs now that 'test' has finished running.STRING
HIGH…cripts/resmokelib/testing/hooks/validate_background.py0instruct the background thread to stop running reconfigs now that 'test' has finished running.STRING
HIGHbuildscripts/resmokelib/testing/hooks/secondary_lag.py0instruct the background thread to stop running reconfigs now that 'test' has finished running.STRING
HIGH…scripts/resmokelib/testing/hooks/dbcheck_background.py0instruct the background thread to stop running reconfigs now that 'test' has finished running.STRING
HIGH…ipts/resmokelib/testing/hooks/fcv_upgrade_downgrade.py0instruct the background thread to stop running reconfigs now that 'test' has finished running.STRING
HIGH…cripts/resmokelib/testing/hooks/reconfig_background.py0instruct the background thread to stop running reconfigs now that 'test' has finished running.STRING
HIGHsrc/third_party/mozjs/extract/js/src/GeneratePrefs.py0\ /* this source code form is subject to the terms of the mozilla public * license, v. 2.0. if a copy of the mpl was notSTRING
HIGH…ty/mozjs/extract/js/src/wasm/GenerateBuiltinModules.py0\ /* this source code form is subject to the terms of the mozilla public * license, v. 2.0. if a copy of the mpl was notSTRING
HIGH…ty/mozjs/extract/js/src/jit/GenerateABIFunctionType.py0\ /* this source code form is subject to the terms of the mozilla public * license, v. 2.0. if a copy of the mpl was notSTRING
HIGH…ird_party/mozjs/extract/js/src/jit/GenerateLIRFiles.py0\ /* this source code form is subject to the terms of the mozilla public * license, v. 2.0. if a copy of the mpl was notSTRING
HIGH…party/mozjs/extract/js/src/jit/GenerateCacheIRFiles.py0\ /* this source code form is subject to the terms of the mozilla public * license, v. 2.0. if a copy of the mpl was notSTRING
HIGH…ird_party/mozjs/extract/js/src/jit/GenerateMIRFiles.py0\ /* this source code form is subject to the terms of the mozilla public * license, v. 2.0. if a copy of the mpl was notSTRING
HIGHsrc/third_party/wiredtiger/test/suite/test_config02.py0create entries, and read back in a cursor: key=string, value=stringSTRING
HIGHsrc/third_party/wiredtiger/test/suite/test_env01.py0create entries, and read back in a cursor: key=string, value=stringSTRING
HIGHsrc/third_party/wiredtiger/test/suite/test_base03.py0create entries, and read back in a cursor: key=string, value=stringSTRING
HIGHsrc/third_party/wiredtiger/test/suite/test_cursor04.py0create entries, and read back in a cursor: key=string, value=stringSTRING
HIGHsrc/third_party/wiredtiger/test/suite/test_base05.py0create entries, and read back in a cursor: key=string, value=stringSTRING
HIGHsrc/third_party/wiredtiger/test/suite/test_config04.py0create entries, and read back in a cursor: key=string, value=stringSTRING
HIGH…d_party/wiredtiger/test/suite/test_layered_stepup04.py0open a follower and apply the given checkpoint metadata.STRING
HIGH…party/wiredtiger/test/suite/test_prepare_discover10.py0open a follower and apply the given checkpoint metadata.STRING
HIGH…_party/wiredtiger/test/suite/test_layered_prepare09.py0open a follower and apply the given checkpoint metadata.STRING
HIGHsrc/third_party/wiredtiger/test/suite/test_base03.py0return any additional configuration. this method may be overridden.STRING
HIGHsrc/third_party/wiredtiger/test/suite/test_cursor04.py0return any additional configuration. this method may be overridden.STRING
HIGH…ird_party/wiredtiger/test/suite/test_cursor_tracker.py0return any additional configuration. this method may be overridden.STRING
36 more matches not shown…
Excessive Try-Catch Wrapping393 hits · 462 pts
SeverityFileLineSnippetContext
LOWmodules_poc/upload.py39 except Exception as e:CODE
MEDIUMmodules_poc/private_headers.py55 print("Error: merged_decls.json not found. Run merge_decls.py first.")CODE
LOWmodules_poc/private_headers.py154 except Exception as e:CODE
LOWmodules_poc/private_headers.py193 except Exception as e:CODE
MEDIUMmodules_poc/private_headers.py194 print(f"Error modifying IDL {idl_path}: {e}")CODE
LOWevergreen/validate_compile_commands.py193 except Exception as e:CODE
LOWevergreen/functions/upload_sbom_via_silkbomb.py36 except Exception as e:CODE
MEDIUMevergreen/functions/upload_sbom_via_silkbomb.py37 print(f"Error retrieving changed files: {e}")CODE
MEDIUMevergreen/functions/upload_sbom_via_silkbomb.py104 print(f"Error during ECR authentication:\n--- STDERR ---\n{e.stderr}")CODE
MEDIUMevergreen/functions/upload_sbom_via_silkbomb.py112 print(f"Error: '{container_command}' command not found.")CODE
MEDIUMevergreen/functions/upload_sbom_via_silkbomb.py204 print(f"Error: SBOM file not found at path: {str(sbom_path.resolve())}")CODE
LOWevergreen/functions/upload_sbom_via_silkbomb.py262 except Exception as e:CODE
LOW…s/security_reporting_scripts/upload_to_google_drive.py81 except Exception as e:CODE
MEDIUM.devcontainer/s3_artifact_utils.py58 print(f"Error querying S3: {e}", file=sys.stderr)CODE
LOWx509/mkcert.py898 except Exception as e:CODE
LOWbazel/bazelisk.py85 except Exception:CODE
LOWbazel/bazelisk.py399 except Exception:CODE
LOWbazel/resmoke/resmoke_shim.py251 except Exception as e:CODE
LOWbazel/resmoke/resmoke_shim.py264 except Exception as e:CODE
LOWbazel/resmoke/derive_suite_selectors.py86 except Exception:CODE
LOWbazel/resmoke/derive_suite_selectors.py249 except Exception as e:CODE
LOWbazel/resmoke/derive_suite_selectors.py316 except Exception as e:CODE
LOWbazel/resmoke/resource_monitor.py191 except Exception as e:CODE
LOWbazel/resmoke/resource_monitor.py232 except Exception as e:CODE
LOWbazel/resmoke/resource_monitor.py245 except Exception as e:CODE
LOWbazel/resmoke/resource_monitor.py256 except Exception as e:CODE
LOWbazel/resmoke/resource_monitor.py284 except Exception as e:CODE
LOWbazel/resmoke/resource_monitor.py306 except Exception as e:CODE
LOWbazel/resmoke/resource_monitor.py322 except Exception as e:CODE
LOWbazel/resmoke/resource_monitor.py341 except Exception as e:CODE
LOWbazel/resmoke/resource_monitor.py628 except Exception as e:CODE
LOWbazel/resmoke/resource_monitor.py630 except Exception as e:CODE
LOWbazel/resmoke/download_historic_runtimes.py40 except Exception:CODE
LOWbazel/auto_header/auto_header.py293 except Exception:CODE
LOWbazel/auto_header/auto_header.py328 except Exception:CODE
LOWbazel/auto_header/auto_header.py768 except Exception as e:STRING
LOWbazel/auto_header/auto_header.py822 except Exception as e:STRING
MEDIUMbazel/auto_header/auto_header.py284def _load_manifest_dirs() -> set[str]:CODE
LOWbazel/auto_header/gen_all_headers.py47 except Exception:CODE
LOWbazel/auto_header/gen_all_headers.py62 except Exception:CODE
LOWbazel/auto_header/gen_all_headers.py303 except Exception as e:CODE
LOWbazel/auto_header/ensure_fd.py99 except Exception:CODE
LOWbazel/auto_header/ensure_fd.py194 except Exception:CODE
MEDIUMbazel/format/rules_lint_format_wrapper.py25 print(f"Error running git command: {' '.join(command)}")CODE
LOWbazel/wrapper_hook/generate_common_bes_bazelrc.py36 except Exception:CODE
LOWbazel/wrapper_hook/generate_common_bes_bazelrc.py43 except Exception:CODE
LOWbazel/wrapper_hook/generate_common_bes_bazelrc.py51 except Exception:CODE
LOWbazel/wrapper_hook/generate_common_bes_bazelrc.py54 except Exception:CODE
LOWbazel/wrapper_hook/generate_common_bes_bazelrc.py59 except Exception:CODE
LOWbazel/wrapper_hook/generate_common_bes_bazelrc.py64 except Exception:CODE
LOWbazel/wrapper_hook/generate_common_bes_bazelrc.py70 except Exception:CODE
LOWbazel/wrapper_hook/generate_common_bes_bazelrc.py82 except Exception:CODE
LOWbazel/wrapper_hook/wrapper_hook.py29 except Exception:CODE
LOWbazel/wrapper_hook/wrapper_util.py72 except Exception as _e:CODE
LOWbazel/wrapper_hook/wrapper_util.py85 except Exception as _e:CODE
LOWbazel/wrapper_hook/wrapper_util.py104 except Exception as _e:CODE
LOWbazel/wrapper_hook/wrapper_util.py129 except Exception as _e:CODE
LOWbazel/wrapper_hook/plus_interface.py182 except Exception as _:CODE
LOWbazel/wrapper_hook/flag_sync.py62 except Exception:CODE
MEDIUMbazel/wrapper_hook/lint.py555 print(f"Error running git command: {' '.join(command)}")CODE
333 more matches not shown…
AI Slop Vocabulary123 hits · 340 pts
SeverityFileLineSnippetContext
MEDIUMmodules_poc/cindex.py554 """Helper class to facilitate token management.STRING
MEDIUMetc/evergreen_lint.yml34 # paradigm is to source a script in the evergreen/ directory, or to add aCOMMENT
LOWevergreen/jstestfuzz_run.sh50 # just use 'meta_seed' itself for the seed.COMMENT
LOWbuildscripts/check_for_noexcept.py176 # to a line on the RHS. If it's not provided, we just use the start line of the snippet,COMMENT
LOWbuildscripts/check_for_noexcept.py380 # can only appear on the RHS. Snippets already on the RHS just use their own line.COMMENT
MEDIUMbuildscripts/mongosymb.py76 # TODO: make identifying mongo shared library directory more robustCOMMENT
MEDIUMbuildscripts/packager.py180 # aforementioned rules, and prelease (above) adds a suffix later,COMMENT
LOWbuildscripts/candle_wrapper.py10# If our args contain GENERATE_UPGRADE_CODE we need to generate it, otherwise we can just call candleCOMMENT
LOWbuildscripts/idl/idl/writer.py302 # just use memcmp and compare with the trailing null byte.COMMENT
LOWbuildscripts/sbom/endorctl_utils.py204 # We want to just return the objects. In case we get an empty list, return a listCOMMENT
LOW…ipts/bazel_rules_mongo/codeowners/parsers/owners_v1.py48 # approver is email, just add as isCOMMENT
MEDIUM…lica_sets_lag_oplog_application_jscore_passthrough.yml23 # These tests utilize 'fsyncLock' and subsequently wait for an insert operation to be blocked byCOMMENT
MEDIUM…es/replica_sets_configsvr_param_jscore_passthrough.yml31 # These tests utilize 'fsyncLock' and subsequently wait for an insert operation to be blocked byCOMMENT
MEDIUM…config/suites/replica_sets_jscore_passthrough_base.yml24 # These tests utilize 'fsyncLock' and subsequently wait for an insert operation to be blocked byCOMMENT
MEDIUM…ites/magic_restore_replica_sets_jscore_passthrough.yml24 # These tests utilize 'fsyncLock' and subsequently wait for an insert operation to be blocked byCOMMENT
MEDIUM…ig/suites/sharding_csrs_continuous_config_stepdown.yml142 # Temporarily denylisted until more robustCOMMENT
MEDIUM…ig/suites/sharding_csrs_continuous_config_stepdown.yml188 # setShardVersion is not robust during config server stepdown.COMMENT
MEDIUM…ig/suites/sharding_csrs_continuous_config_stepdown.yml190 # Runs commands directly on the config server primary and is not robust to the primary changing.COMMENT
LOWbuildscripts/ciconfig/evergreen.py38 # Then we just set USERPROFILE and unset it afterCOMMENT
LOWbuildscripts/resmokelib/suitesconfig.py200 # information isn't present in the hierarchy, just return the suite as is.COMMENT
MEDIUMbuildscripts/resmokelib/utils/jscomment.py9# TODO: use a more robust regular expression for matching tagsCOMMENT
LOW…ts/resmokelib/setup_multiversion/setup_multiversion.py164 # If the cmdline version is already a semvar, just use that.COMMENT
MEDIUMjstests/core/index/wildcard/compound_wildcard_sort.js159 // Sort with filter + appropriate projection can leverage index.COMMENT
MEDIUMjstests/core/query/cover_null_queries.js870// Now test case with a multikey index. We can't leverage the optimization here.COMMENT
MEDIUMjstests/core/query/type/type7.js1// SERVER-20332 make JS NumberLong more robustCOMMENT
MEDIUMjstests/core/query/plan_cache/plan_cache_clear.js47// Essentially, this functions runs a query, and add its both to the query cache and toCOMMENT
MEDIUMjstests/core/query/or/orc.js21// robust test.COMMENT
MEDIUM…lsets/initial_sync_check_initiating_set_oplog_entry.js15 * # In the multiversion harness the lower-binary node would then apply oplog entries generatedCOMMENT
MEDIUMjstests/replsets/catchup_takeover_with_higher_config.js144// This test produces a rollback and the above is expected to be robust to the network errorCOMMENT
MEDIUMjstests/replsets/apply_ops_dropDatabase.js8 * # dropDatabase can work in conjunction with other operations in 5.0.COMMENT
MEDIUMjstests/sharding/txn_two_phase_commit_killop.js215 // If the commit coordination was not robust to killOp, then commitTransaction would failCOMMENT
MEDIUMjstests/sharding/txn_two_phase_commit_killop.js220 // If deleting the coordinator doc was not robust to killOp, the document would still exist.COMMENT
MEDIUM…rding/query/change_streams/change_stream_no_orphans.js350 // Essentially, this verifies that the operation before dropping the collection did not notifyCOMMENT
MEDIUMjstests/libs/replsettest.js1453 // version then we cannot utilize failpoints below, since they may not be supported on olderCOMMENT
MEDIUMjstests/libs/override_methods/query/golden_overrides.js26// Initialize `printGolden` to have the same behavior as `print`. This is needed to utilize markdownCOMMENT
MEDIUMjstests/libs/query/cbr_utils.js13// be robust to floating point rounding differences but detect large changes in estimationCOMMENT
MEDIUM…s/server_catalog/check_metadata_consistency_helpers.js24 // TODO SERVER-78117: Remove once checkMetadataConsistency command is robust toCOMMENT
MEDIUM…assthroughWithMongod/query/cbr/cbr_elem_match_value.js60 // the equivalent estimate on the index scan as our implementation is not robust to "doubleCOMMENT
MEDIUM…sts/noPassthrough/prepare_conflict_metrics_tracking.js30// Establishing a baseline makes this test robust against prepare conflicts that may have occurredCOMMENT
MEDIUMjstests/noPassthrough/admission/flow_control_logging.js25 // Use a speedy no-op writer to avoid needing a robust background writer.COMMENT
MEDIUM…through/query/write_query_does_not_sleep_with_locks.js36 // Defensive: this is the default, but set it explicitly so the test is robustCOMMENT
MEDIUM…/queryStats/query_stats_disk_usage_nested_pipelines.js380 // The query can leverage the index on each collection to examine only the matchingCOMMENT
MEDIUMjstests/noPassthrough/query/lookup/lookup_pushdown.js588// Build multiple compound indexes prefixed with the foreignField. We should utilize the index withCOMMENT
MEDIUMsrc/third_party/s2/s2polygonbuilder.h34// computing seamless unions of polygons that have been cut into pieces.COMMENT
MEDIUMsrc/third_party/mozjs/include/js/UbiNode.h150// Analyses consuming ubi::Node graphs must be robust when presented with graphsCOMMENT
MEDIUM…_party/mozjs/extract/mozglue/misc/PreXULSkeletonUI.cpp244// Note: this is specifically *not* a robust, multi-locale lowercasingCOMMENT
MEDIUMsrc/third_party/mozjs/extract/js/public/UbiNode.h150// Analyses consuming ubi::Node graphs must be robust when presented with graphsCOMMENT
MEDIUMsrc/third_party/mozjs/extract/js/src/frontend/Stencil.h78// execution. By decoupling from the GC and other runtime systems, robustCOMMENT
MEDIUM…c/third_party/mozjs/extract/js/src/frontend/Parser.cpp2103 // Functions with parameter expressions utilize the FunctionScope for varsCOMMENT
MEDIUMsrc/third_party/mozjs/extract/js/src/vm/BigIntType.cpp438 // Current callers don't pass in such large results, but let's be robust.COMMENT
MEDIUM…arty/mozjs/extract/js/src/devtools/rootAnalysis/CFG.js966 // immediately for a call. But just to be robust to future uses:COMMENT
LOWsrc/third_party/mozjs/extract/js/src/jit/MIROps.yaml1560# specialized alias set for this so just use the default alias set similar toCOMMENT
LOW…y/mozjs/extract/js/src/jit/GenerateAtomicOperations.py809 # cell. (There is no `sub`; just add the negated value.)STRING
MEDIUM…rty/mozjs/extract/js/src/jit/BacktrackingAllocator.cpp257// Fundamentally, a LiveRange (often written just "range") is a request forCOMMENT
MEDIUM…rty/mozjs/extract/js/src/jit/BacktrackingAllocator.cpp373// Fundamentally it is a container to hold all of the LiveRanges that togetherCOMMENT
MEDIUM…party/mozjs/extract/js/src/jit/arm64/Assembler-arm64.h223// * On entry to C++ code, PSP == SP. Certainly it appears that all callsCOMMENT
MEDIUM…mozjs/extract/js/src/jit/arm64/vixl/Simulator-vixl.cpp4308 // arguments, this is very difficult to do in a robust and portable way. ToCOMMENT
LOW…hird_party/icu4c-57.1/source/common/unicode/platform.h60 * Solution: #define any defines for non @internal API here, so that they are visible in the docs. If you just set PREDCOMMENT
MEDIUMsrc/third_party/icu4c-57.1/source/i18n/decNumberLocal.h46 #define DECCHECK 0 /* 1 to enable robust checking */COMMENT
MEDIUM…rty/boost/boost/atomic/detail/extra_fp_ops_generic.hpp95//! Negate implementation for IEEE 754 / IEC 559 floating point types. We leverage the fact that the sign bit is the mosCOMMENT
63 more matches not shown…
Cross-Language Confusion57 hits · 325 pts
SeverityFileLineSnippetContext
HIGHevergreen/validate_compile_commands.py151 ["cmd.exe", "/d", "/c", f'call "{vcvarsall}" {arch} >nul && set']CODE
HIGHbazel/gpg_signer.py38 return subprocess.run(argv, check=True, stdout=null, stderr=null)CODE
HIGHbazel/symbol_checker/symbol_extractor.py64 "undefined": sorted(undefined),CODE
HIGHbazel/resmoke/derive_suite_selectors.py282 # A selector with no roots (missing, null, or an empty list —COMMENT
HIGH…mongot_extension_signing_key/gpg_export_armored_key.py34 return subprocess.run(argv, check=True, stdout=null, stderr=null)CODE
HIGHbuildscripts/idl/idl/cpp_types.py653 return f"BSONBinData(tempCDR.data(), tempCDR.length(), {subtype})"CODE
HIGHbuildscripts/idl/idl/generator.py2250 if (request.validatedTenancyScope != boost::none && request.validatedTenancyScope->isFromAtlasProxy()) {CODE
HIGHbuildscripts/idl/tests/test_generator.py10$ coverage run run_tests.py && coverage htmlSTRING
HIGHbuildscripts/gdb/mongo_printers.py1040 gdb.parse_and_eval("$_mep_tmp.toString()")CODE
HIGHbuildscripts/resmokelib/powercycle/setup/__init__.py77 cmds = f'{cmds}; pushd $remote_dir && python3 -m pip install "uv==$(cat buildscripts/uv_version.txt)" && popd'CODE
HIGHbuildscripts/resmokelib/powercycle/setup/__init__.py82 cmds = f"{cmds}; pushd $remote_dir && UV_PROJECT_ENVIRONMENT=$VIRTUAL_ENV python3 -m uv sync --locked --all-grouCODE
HIGH…pts/resmokelib/powercycle/save_diagnostics/__init__.py84 "core_files=$(/usr/bin/find -H . \\( -name '*.core' -o -name '*.mdmp' \\) 2> /dev/null)"CODE
HIGH…third_party/mozjs/extract/js/src/vm/make_opcode_doc.py47 " python3 -m venv venv && . venv/bin/activate && pip3 install markdown",CODE
HIGH…ty/mozjs/extract/js/src/builtin/intl/make_intl_data.py513 for (size_t i = 0; i < mVariants.length();) {STRING
HIGH…ty/mozjs/extract/js/src/builtin/intl/make_intl_data.py616 if (!Language().EqualTo("sgn") && mVariants.length() == 0) {STRING
HIGH…ty/mozjs/extract/js/src/builtin/intl/make_intl_data.py700 if (mVariants.length() >= 2) {STRING
HIGH…ty/mozjs/extract/js/src/builtin/intl/make_intl_data.py2867 let dtf = new Intl.DateTimeFormat(undefined, {timeZone: map(linkName)});STRING
HIGH…ty/mozjs/extract/js/src/builtin/intl/make_intl_data.py2989 let str = zdt.toString();STRING
HIGH…ty/mozjs/extract/js/src/builtin/intl/make_intl_data.py2991 assertEq(m !== null, true, str);STRING
HIGH…ty/mozjs/extract/js/src/builtin/intl/make_intl_data.py3015 assertEq(zdtLink.equals(zdtZone), true, `link=${link}, zone=${zone}`);STRING
HIGH…/python-subunit-1.4.4/python/subunit/progress_model.py48 self.push()CODE
HIGH…unit-1.4.4/python/subunit/tests/test_progress_model.py73 progress.push()CODE
HIGH…unit-1.4.4/python/subunit/tests/test_progress_model.py80 progress.push()CODE
HIGH…unit-1.4.4/python/subunit/tests/test_progress_model.py89 progress.push()CODE
HIGH…unit-1.4.4/python/subunit/tests/test_progress_model.py98 progress.push()CODE
HIGH…unit-1.4.4/python/subunit/tests/test_progress_model.py107 progress.push()CODE
HIGH…unit-1.4.4/python/subunit/tests/test_filter_to_disk.py44 '{"details": ["fred"], "id": "foo", "start": null, 'CODE
HIGH…unit-1.4.4/python/subunit/tests/test_filter_to_disk.py45 '"status": "success", "stop": null, "tags": ["tag"]}'))CODE
HIGH…nit-1.4.4/python/subunit/filter_scripts/subunit2gtk.py186 self.progress_model.push()CODE
HIGHsrc/third_party/wiredtiger/test/suite/test_intpack.py113 self.equals(forw[self.recno], i)CODE
HIGHsrc/third_party/wiredtiger/test/suite/test_intpack.py114 self.equals(forw_idx[i], self.recno)CODE
HIGHsrc/third_party/wiredtiger/test/suite/test_intpack.py115 self.equals(back[i], self.recno)CODE
HIGHsrc/third_party/wiredtiger/test/suite/test_intpack.py116 self.equals(back_idx[self.recno], i)CODE
HIGHsrc/third_party/wiredtiger/test/suite/run.py231 returning the first non-null value. If all values are null,STRING
HIGHsrc/third_party/wiredtiger/test/suite/test_autoclose.py100 to be null, so we don't expect null checking.STRING
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py172 wiredtiger.WiredTigerError, lambda: c1.equals(c2), msg)CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py174 wiredtiger.WiredTigerError, lambda: c2.equals(c1), msg)CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py179 self.assertFalse(c1.equals(c2))CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py180 self.assertFalse(c2.equals(c1))CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py182 self.assertTrue(c1.equals(c2))CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py183 self.assertTrue(c2.equals(c1))CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py190 wiredtiger.WiredTigerError, lambda: cX.equals(c1), msg)CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py193 self.expected_exception, lambda: cX.equals(None), msg)CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py195 self.assertTrue(ix0_0.equals(ix0_1))CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py198 self.assertFalse(ix0_0.equals(ix0_1))CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py202 wiredtiger.WiredTigerError, lambda: c1.equals(ix0_0), msg)CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py205 wiredtiger.WiredTigerError, lambda: ixX_0.equals(ix0_0), msg)CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py208 wiredtiger.WiredTigerError, lambda: ix0_0.equals(ix1_0), msg)CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py216 self.assertFalse(c1.equals(c2))CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py217 self.assertFalse(c2.equals(c1))CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py220 self.assertTrue(c1.equals(c2))CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py221 self.assertTrue(c2.equals(c1))CODE
HIGH…ird_party/wiredtiger/test/suite/test_cursor_compare.py229 wiredtiger.WiredTigerError, lambda: cX.equals(c1), msg)CODE
HIGH…d_party/zstandard/zstd/tests/automated_benchmarking.py103 os.system("cd ../ && make -j && cd tests")CODE
HIGH…standard/zstd/contrib/freestanding_lib/freestanding.py55 Handles && and ||.STRING
HIGHsrc/mongo/mongo_config_header.py255 int main(void) { return backtrace != nullptr && backtrace_symbols != nullptr && backtrace_symbols_fd != nullptr;CODE
HIGHsrc/mongo/db/fts/unicode/gen_casefold_map.py54 return (mode == CaseFoldMode::kTurkish && codepoint == 'I')STRING
Fake / Example Data199 hits · 245 pts
SeverityFileLineSnippetContext
LOWbuildscripts/idl/tests/test_generator.py1580 (Enable on transitional FCV): Lorem ipsum dolor sit ametSTRING
LOWbuildscripts/idl/tests/test_generator.py1580 (Enable on transitional FCV): Lorem ipsum dolor sit ametSTRING
LOWbuildscripts/idl/tests/test_generator.py1611 (Enable on transitional FCV): Lorem ipsum dolor sit ametSTRING
LOWbuildscripts/idl/tests/test_generator.py1611 (Enable on transitional FCV): Lorem ipsum dolor sit ametSTRING
LOWbuildscripts/idl/tests/test_binder.py2905 (Enable on transitional FCV): Lorem ipsum dolor sit ametCODE
LOWbuildscripts/idl/tests/test_binder.py2905 (Enable on transitional FCV): Lorem ipsum dolor sit ametCODE
LOWbuildscripts/idl/tests/test_binder.py2921 (Enable on transitional FCV): Lorem ipsum dolor sit ametCODE
LOWbuildscripts/idl/tests/test_binder.py2921 (Enable on transitional FCV): Lorem ipsum dolor sit ametCODE
LOWbuildscripts/tests/sbom_linter/bom-1.5.schema.json439 "examples": ["Acme Inc"]CODE
LOWbuildscripts/tests/sbom_linter/bom-1.5.schema.json445 "examples": ["Acme Inc"]CODE
LOWbuildscripts/tests/sbom_linter/bom-1.5.schema.json494 "examples": ["Acme Inc"]CODE
LOWbuildscripts/tests/resmokelib/core/test_programs.py102 _format_shell_vars(string_builder, ["dummy_key"], with_dot)CODE
LOWbuildscripts/tests/resmokelib/core/test_programs.py103 expected = ["dummy_key = new Object()", 'dummy_key["a.b"] = "c"']CODE
LOWbuildscripts/tests/resmokelib/core/test_programs.py108 _format_shell_vars(string_builder, ["dummy_key"], without_dot)CODE
LOWbuildscripts/tests/resmokelib/core/test_programs.py110 "dummy_key = new Object()",CODE
LOWbuildscripts/tests/resmokelib/core/test_programs.py111 'dummy_key["a"] = new Object()',CODE
LOWbuildscripts/tests/resmokelib/core/test_programs.py112 'dummy_key["a"]["b"] = "c"',CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py704 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py724 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py760 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py778 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py742 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py802 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py875 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py914 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py1604 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py1628 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py1651 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py1675 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py1699 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py1725 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py1753 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py1801 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py1823 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py1845 "github_token_mongo": "fake_token",CODE
LOW…/testing/hooks/test_generate_and_check_perf_results.py1885 "github_token_mongo": "fake_token",CODE
LOWbuildscripts/tests/resmokelib/logging/test_loggers.py38 logger = loggers.new_test_thread_logger("dummy_parent", "dummy_kind", "dummy_id")CODE
LOW…hange_streams/oplog_rewrite/projection_changes_type.js42 computedProjection[fieldName] = {$literal: "dummy_value"};CODE
LOWjstests/core/index/fts/fts_trailing_fields.js6assert.commandWorked(coll.insert({a: 2, b: "lorem ipsum"}));CODE
LOWjstests/core/index/fts/fts_trailing_fields.js16assert.commandWorked(coll.insert({a: 2, b: "lorem ipsum", c: {d: 3}}));CODE
LOWjstests/core/index/fts/fts_dotted_prefix_fields.js7 coll.insert({a: {x: 1, y: 2}, b: {x: 3, y: 4}, words: "lorem ipsum dolor sit"}),CODE
LOWjstests/core/index/fts/fts_dotted_prefix_fields.js10 coll.insert({a: {x: 1, y: 2}, b: {x: 5, y: 4}, words: "lorem ipsum dolor sit"}),CODE
LOWjstests/core/index/fts/fts_dotted_prefix_fields.js15 coll.find({$text: {$search: "lorem ipsum"}, "a.x": 1, "a.y": 2, "b.x": 3, "b.y": 4}).itcount(),CODE
LOWjstests/replsets/stepdown_needs_electable_secondary.js75 coll.insert({"dummy_key": "dummy_val"}, {writeConcern: {w: 1, wtimeout: timeout}}),CODE
LOWjstests/replsets/stepdown_needs_electable_secondary.js106 coll.insert({"dummy_key": "dummy_val"}, {writeConcern: {w: 2, wtimeout: timeout}}),CODE
LOWjstests/replsets/stepdown_needs_electable_secondary.js126 coll.insert({"dummy_key": "dummy_val"}, {writeConcern: {w: 3, wtimeout: timeout}}),CODE
LOWjstests/replsets/stepdown_needs_electable_secondary.js149 coll.insert({"dummy_key": "dummy_val"}, {writeConcern: {w: 4, wtimeout: timeout}}),CODE
LOWjstests/replsets/stepdown_needs_majority.js53let dummy_doc = {"dummy_key": "dummy_val"};CODE
LOWjstests/extensions/foo_and_bar_noops.js140 {name: "John Doe", role: "author"},CODE
LOWjstests/extensions/foo_and_bar_noops.js141 {name: "Jane Doe", role: "editor"},CODE
LOWjstests/libs/assertions_core.js911 assert(false, "lorem ipsum");CODE
LOWjstests/libs/assertions_core.js913 {msg: "assert failed : lorem ipsum"},CODE
LOWjstests/libs/assertions_core.js917 assert(false, "lorem ipsum", kAttr);CODE
LOWjstests/libs/assertions_core.js919 {msg: "assert failed : lorem ipsum", attr: {...kAttr}},CODE
LOWjstests/libs/assertions_core.js942 assert(false, "lorem ipsum", kAttr);CODE
LOWjstests/libs/assertions_core.js944 {msg: "assert failed : lorem ipsum", attr: {...kAttr}},CODE
LOWjstests/libs/assertions_core.js954 assert.eq(5, 2 + 2, "lorem ipsum");CODE
LOWjstests/libs/assertions_core.js962 : lorem ipsum`,CODE
LOWjstests/libs/assertions_core.js967 assert.eq(5, 2 + 2, "lorem ipsum", kAttr);CODE
LOWjstests/libs/assertions_core.js975 : lorem ipsum`,CODE
139 more matches not shown…
Redundant / Tautological Comments103 hits · 160 pts
SeverityFileLineSnippetContext
LOWmodules_poc/private_headers.py268 # Output results of modifying files.COMMENT
LOWevergreen/generate_core_analysis_task.sh5# Check if test failures exist before proceeding. This expansion is created in fetch_remote_test_results.sh.COMMENT
LOWevergreen/generate_core_analysis_task.sh12# Check if there are any core dumps present before proceeding. Presence of a core dump hereCOMMENT
LOWevergreen/fetch_remote_test_results.sh239# Check if any results were foundCOMMENT
LOWevergreen/collect_bazel_debug_logs.sh26 # Check if zip command is availableCOMMENT
LOWevergreen/collect_bazel_debug_logs.sh64 # Check if we have any files to zipCOMMENT
LOWevergreen/prelude_venv.sh41 # Check if site_packages is already in sys.pathCOMMENT
LOWevergreen/streams_build_js_engine.sh290 # Check if we need to install Node.js (skip if already installed and correct version)COMMENT
LOWevergreen/prelude_python.sh8 # Check if Python 3.10 is requested via Evergreen parameterCOMMENT
LOWevergreen/prelude_python.sh18 # Check if v5 toolchain exists - it requires Python 3.13COMMENT
LOWevergreen/jepsen_docker/list-append.sh52 # Check if the "1 successes" string is in the last five linesCOMMENT
LOWevergreen/functions/run_diskstats.sh14# Check if vmstat -t is available.COMMENT
LOWevergreen/functions/run_diskstats.sh17# Check if vmstat -T d is available.COMMENT
LOWevergreen/functions/upload_sbom_via_silkbomb.py194 # Check if branch name matches the branch filter regexCOMMENT
LOWbazel/remote_execution_container/repin_dockerfiles.sh4# Check if we're running under BazelCOMMENT
LOWbazel/wrapper_hook/lint.py508 # Check if library has source files (produces .so)COMMENT
LOWbazel/wrapper_hook/lint.py513 # Check if srcs contains .cpp filesCOMMENT
LOWbuildscripts/parse_test_xml.py8 # Check if file exists and has contentCOMMENT
LOWbuildscripts/github_merge_queue_metrics.py45 # Check if the profile has sso_start_url configuredCOMMENT
LOWbuildscripts/github_merge_queue_metrics.py121 # Check if the SSO profile is configuredCOMMENT
LOWbuildscripts/github_merge_queue_metrics.py403 # Check if PR was added to merge queue but removed (not merged)COMMENT
LOWbuildscripts/github_merge_queue_metrics.py545 # Check if PR targets masterSTRING
LOWbuildscripts/github_merge_queue_metrics.py569 # Check if PR was added to merge queue but removed (not merged)STRING
LOWbuildscripts/github_merge_queue_metrics.py700 # Check if this PR was marked as skipped (e.g., non-master target branch)STRING
LOWbuildscripts/compare_evergreen_versions.py745 # Output resultsCOMMENT
LOWbuildscripts/idl/idl_check_compatibility.py1294 # Check if a new field has been added to the parameters or type struct.COMMENT
LOWbuildscripts/idl/idl/syntax.py220 # Check if we are adding a duplicate first field name since that wouldCOMMENT
LOWbuildscripts/gdb/optimizer_printers.py339 # Check if the tag is out of range for the set of types that we know about.COMMENT
LOWbuildscripts/sbom/sbom_files_pr.py172 # Check if base branch matches the branch filter regexCOMMENT
LOWbuildscripts/sbom/endorctl_scan.sh10# Set RUST_SETUP_DIR to the path of a directory containing .evergreen/install-dependencies.shCOMMENT
LOWbuildscripts/sbom/install_endorctl.sh15 # Check if installedCOMMENT
LOWbuildscripts/sbom/generate_sbom.py162 # Check if there are any subfolders in the initial commitCOMMENT
LOWbuildscripts/sbom/generate_sbom.py543 # Check if branch matches the branch filter regexCOMMENT
LOWbuildscripts/package_test/package_test.py699 # Check if the path is within the test_external_root (buildscripts dir)COMMENT
LOWbuildscripts/cost_model/qsn_costing_parameters.py85 # Set strict to true, as these should always have the same tree structure.COMMENT
LOWbuildscripts/tests/test_sync_repo_with_copybara.py2112 # Check if the repository is only the MongoDB official repositoryCOMMENT
LOWbuildscripts/tests/test_sync_repo_with_copybara.py633 # Check if the commit in the search result matches the last commit in the public repositoryCOMMENT
LOW…/tests/resmoke_end2end/test_external_fixtures_hooks.py26 # Set EXTERNAL_MODULE_ROOT to the test module directoryCOMMENT
LOW…/tests/resmoke_end2end/test_external_fixtures_hooks.py37 # Set CONFIG_DIR to avoid errorsCOMMENT
LOW…ipts/tests/resmoke_end2end/test_resmoke_js_debugger.py160 # Check if expected is in the command output or full bufferCOMMENT
LOWbuildscripts/tests/resmokelib/logging/test_handlers.py172 # Close the file — this races with the flush thread's write.COMMENT
LOWbuildscripts/patch_builds/change_data.py139 # Read file contentsCOMMENT
LOWbuildscripts/resmokelib/suitesconfig.py276 # Check if is a named suite first for efficiency.COMMENT
LOWbuildscripts/resmokelib/suitesconfig.py279 # Check if is a path to a YAML file.COMMENT
LOWbuildscripts/resmokelib/core/process.py139 # Close file descriptors in the child process before executing the program. This preventsCOMMENT
LOW…ts/resmokelib/hang_analyzer/gen_hang_analyzer_tasks.py303 # Check if resmoke reported this core dump as a "boring one", in the BORING_CORE_DUMP_PIDS_FILE.COMMENT
LOWbuildscripts/resmokelib/hang_analyzer/extractor.py860 # Check if the files are already there. They would be on *SAN builds.COMMENT
LOW…/resmokelib/hang_analyzer/attach_core_analyzer_task.py77 # Check if the core analysis is from the current execution or a previous oneCOMMENT
LOWbuildscripts/resmokelib/utils/globstar.py50 # Check if basename is exactly "**" (recursive wildcard)COMMENT
LOWbuildscripts/resmokelib/utils/autoloader.py35 # Set __path__ to make it a proper package that can contain submodulesCOMMENT
LOWbuildscripts/resmokelib/utils/archival.py120 # Check if there is sufficient space for the tgz file.COMMENT
LOWbuildscripts/resmokelib/testing/hooks/maintenance.py214 # Check if the thread is alive in case it has thrown an exception while running.COMMENT
LOW…mokelib/testing/hooks/drop_config_cache_collections.py229 # Check if the thread is alive in case it has thrown an exception while running.COMMENT
LOWbuildscripts/resmokelib/testing/hooks/initialsync.py131 # Check if the initial sync node is in SECONDARY state. If it's been 'n' tests, then itCOMMENT
LOW…s/resmokelib/testing/hooks/drop_sessions_collection.py179 # Check if the thread is alive in case it has thrown an exception while running.COMMENT
LOW…cripts/resmokelib/testing/hooks/fuzz_runtime_stress.py145 # Check if the thread is alive in case it has thrown an exception while running.COMMENT
LOW…dscripts/resmokelib/testing/hooks/add_remove_shards.py367 # Check if the thread is alive in case it has thrown an exception while running.COMMENT
LOWbuildscripts/resmokelib/testing/testcases/jstest.py91 # Check if any test being run is a timeseries testCOMMENT
LOWbuildscripts/resmokelib/powercycle/powercycle.py382 # Check if file download was completed.COMMENT
LOWbuildscripts/resmokelib/powercycle/powercycle.py1223 # Check if replica set has already been initializedCOMMENT
43 more matches not shown…
Synthetic Comment Markers18 hits · 135 pts
SeverityFileLineSnippetContext
HIGHsrc/third_party/mozjs/include/mozilla/ModuloBuffer.h268 // then, there are no other functions named "Poke" as requested in theCOMMENT
HIGHsrc/third_party/boost/boost/system/config.hpp38// enable dynamic or static linking as requested --------------------------------------//COMMENT
HIGH…_party/boost/libs/timer/include/boost/timer/config.hpp18// enable dynamic or static linking as requested --------------------------------------//COMMENT
HIGH…include/boost/dynamic_bitset/detail/dynamic_bitset.hpp102 // Automatically generated by GPTableGen.exe v.1.0COMMENT
HIGH…bs/math/include_private/boost/math/tools/test_data.hpp516 // Generate a set of test points as requested, try and generate pointsCOMMENT
HIGH…umeric/ublas/include/boost/numeric/ublas/exception.hpp27 // Inherit from standard exceptions as requested during review.COMMENT
HIGH…umeric/ublas/include/boost/numeric/ublas/exception.hpp51 // Inherit from standard exceptions as requested during review.COMMENT
HIGH…umeric/ublas/include/boost/numeric/ublas/exception.hpp72 // Inherit from standard exceptions as requested during review.COMMENT
HIGH…umeric/ublas/include/boost/numeric/ublas/exception.hpp96 // Inherit from standard exceptions as requested during review.COMMENT
HIGH…umeric/ublas/include/boost/numeric/ublas/exception.hpp119 // Inherit from standard exceptions as requested during review.COMMENT
HIGH…umeric/ublas/include/boost/numeric/ublas/exception.hpp140 // Inherit from standard exceptions as requested during review.COMMENT
HIGH…umeric/ublas/include/boost/numeric/ublas/exception.hpp161 // Inherit from standard exceptions as requested during review.COMMENT
HIGH…umeric/ublas/include/boost/numeric/ublas/exception.hpp182 // Inherit from standard exceptions as requested during review.COMMENT
HIGH…/libs/thread/include/boost/thread/detail/singleton.hpp20// a class on demand, then dish it out as requested.COMMENT
HIGH…/agg/change_stream_handle_topology_change_v2_stage.cpp1237 // Opens and closes the cursors as requested in the reader context. If this throws, theCOMMENT
HIGH…/agg/change_stream_handle_topology_change_v2_stage.cpp1280 // Opens and closes the cursors as requested in the reader context. If this throws, theCOMMENT
HIGH…/agg/change_stream_handle_topology_change_v2_stage.cpp1332 // Opens and closes the cursors as requested in the reader context. If we catch aCOMMENT
HIGH…/agg/change_stream_handle_topology_change_v2_stage.cpp1425 // Opens and closes the cursors as requested in the reader context. If we catch aCOMMENT
Hallucination Indicators10 hits · 110 pts
SeverityFileLineSnippetContext
CRITICALbuildscripts/sbom/generate_sbom.py113 self.project = self._repo.remotes.origin.config_reader.get("url")CODE
CRITICAL…/testing/hooks/test_generate_and_check_perf_results.py710 mock_github_cls.return_value.get_repo.return_value.get_pull.assert_called_once_with(12345)CODE
CRITICAL…/testing/hooks/test_generate_and_check_perf_results.py766 mock_github_cls.return_value.get_repo.return_value.get_pull.assert_called_once()CODE
CRITICALjstests/auth/system_buckets_invalid_nss.js7 assert.commandFailedWithCode(admin.system.buckets.system.buckets.foo.insert({x: 1}), [CODE
CRITICALjstests/auth/system_buckets_invalid_nss.js12 assert.commandFailedWithCode(admin.system.buckets.system.buckets.foo.insert({x: 1}), [CODE
CRITICALjstests/sharding/create_system_session.js122 const shardCatalogEntry = st.config.shard.catalog.collections.findOne({_id: kNs});CODE
CRITICALjstests/sharding/health_monitor/non_critical_facet.js56assert(result.faultInformation.facets.testObserver.description.includes("InternalError: test msg"));CODE
CRITICALjstests/sharding/health_monitor/status_failure.js47 result.faultInformation.facets.testObserver.description.includes(CODE
CRITICALsrc/mongo/shell/data_consistency_checker.js619 sourceInfo.options.storageEngine.wiredTiger.configString.replace(CODE
CRITICALsrc/mongo/shell/data_consistency_checker.js627 syncingInfo.options.storageEngine.wiredTiger.configString.replace(CODE
Modern Structural Boilerplate87 hits · 88 pts
SeverityFileLineSnippetContext
LOWmodules_poc/cindex.py4005 def set_library_path(path: StrPath) -> None:CODE
LOWmodules_poc/cindex.py4016 def set_library_file(filename: StrPath) -> None:CODE
LOWmodules_poc/cindex.py4027 def set_compatibility_check(check_status: bool) -> None:CODE
LOWmodules_poc/cindex.py4103__all__ = [CODE
LOWbuildscripts/install_bazel.py93def _set_bazel_permissions(binary_path: str) -> None:CODE
LOWbuildscripts/sbom_linter.py47 def update_component_attribute(self, component_name: str) -> None:CODE
LOWbuildscripts/generate_bazel_spawn_pb2.py218def update_output(generated_path: Path, output_path: Path, check: bool) -> None:CODE
LOWbuildscripts/util/oauth.py139 def _set_response(self) -> None:CODE
LOWbuildscripts/sbom/sbom_utils.py297def set_dependency_version(dependencies: list, meta_bom_ref: str, purl_version: str) -> None:CODE
LOWbuildscripts/cost_model/database_instance.py14__all__ = ["DatabaseInstance", "Find"]CODE
LOWbuildscripts/cost_model/database_instance.py56 async def set_parameter(self, name: str, value: any) -> None:CODE
LOWbuildscripts/cost_model/calibration_settings.py19__all__ = ["main_config", "distributions"]CODE
LOWbuildscripts/cost_model/query_solution_tree.py10__all__ = ["Node", "build"]CODE
LOWbuildscripts/cost_model/execution_tree_sbe.py12__all__ = ["Node", "build_execution_tree"]CODE
LOWbuildscripts/cost_model/qsn_calibrator.py19__all__ = ["calibrate"]CODE
LOWbuildscripts/cost_model/ce_generate_data.py26__all__ = []CODE
LOWbuildscripts/cost_model/start.py22__all__ = []CODE
LOWbuildscripts/cost_model/ce_data_settings.py22__all__ = ["database_config", "data_generator_config"]CODE
LOWbuildscripts/cost_model/data_generator.py19__all__ = ["DataGenerator"]CODE
LOWbuildscripts/cost_model/workload_execution.py16__all__ = ["execute"]CODE
LOWbuildscripts/cost_model/random_generator.py16__all__ = ["RangeGenerator", "DataType", "RandomDistribution"]CODE
LOWbuildscripts/resmokelib/__init__.py16__all__ = [CODE
LOWbuildscripts/resmokelib/core/__init__.py5__all__ = ["network", "programs"]CODE
LOWbuildscripts/resmokelib/hang_analyzer/__init__.py6__all__ = ["dumper", "process", "process_list", "HangAnalyzerPlugin"]CODE
LOWbuildscripts/resmokelib/discovery/__init__.py18__all__ = ["MultiversionService", "MongoReleases", "MongoVersion"]CODE
LOWbuildscripts/resmokelib/utils/__init__.py15__all__ = ["archival"]CODE
LOWbuildscripts/resmokelib/utils/dictionary.py157def set_dict_value(dict1: MutableMapping[str, Any], path: list[str], value: Any) -> None:CODE
LOWbuildscripts/resmokelib/extensions/__init__.py26__all__ = [CODE
LOWbuildscripts/resmokelib/testing/__init__.py5__all__ = ["executor", "suite"]CODE
LOWbuildscripts/resmokelib/testing/hooks/__init__.py11__all__ = ["make_hook"]CODE
LOWbuildscripts/resmokelib/testing/testcases/__init__.py6__all__ = ["make_test_case"]CODE
LOWbuildscripts/resmokelib/logging/__init__.py9__all__ = ["flush", "loggers"]CODE
LOWbuildscripts/resmokelib/setup_multiversion/__init__.py5__all__ = ["SetupMultiversionPlugin"]CODE
LOWbuildscripts/client/jiraclient.py13logger = logging.getLogger(__name__)CODE
LOWjstests/ocsp/lib/ocsp_mock.py18logger = logging.getLogger(__name__)CODE
LOWjstests/ocsp/lib/malformed_staple_server.py21logger = logging.getLogger(__name__)CODE
LOW…third_party/mock_ocsp_responder/mock_ocsp_responder.py63logger = logging.getLogger(__name__)CODE
LOWsrc/third_party/wiredtiger/tools/wt_binary_decode.py51logger = logging.getLogger(__name__)CODE
LOW…hird_party/wiredtiger/tools/py_common/sqlite_format.py42logger = logging.getLogger(__name__)CODE
LOWsrc/third_party/wiredtiger/tools/py_common/disagg.py40logger = logging.getLogger(__name__)CODE
LOW…/third_party/wiredtiger/tools/py_common/snappy_util.py34logger = logging.getLogger(__name__)CODE
LOW…third_party/wiredtiger/tools/py_common/page_service.py43logger = logging.getLogger(__name__)CODE
LOW…third_party/wiredtiger/tools/py_common/btree_format.py43logger = logging.getLogger(__name__)CODE
LOW…/third_party/wiredtiger/tools/py_common/file_format.py37logger = logging.getLogger(__name__)CODE
LOW…hird_party/wiredtiger/tools/py_common/mdb_log_parse.py41logger = logging.getLogger(__name__)CODE
LOWsrc/third_party/wiredtiger/tools/py_common/printer.py33logger = logging.getLogger(__name__)CODE
LOW…dtiger/test/3rdparty/iso8601-2.1.0/iso8601/__init__.py3__all__ = ["parse_date", "is_iso8601", "ParseError", "UTC", "FixedOffset"]CODE
LOW…edtiger/test/3rdparty/iso8601-2.1.0/iso8601/iso8601.py16__all__ = ["parse_date", "ParseError", "UTC", "FixedOffset"]CODE
LOW…t/3rdparty/discover-0.4.0-locally-modified/discover.py20__all__ = ['DiscoveringTestLoader', 'main', 'defaultTestLoader']CODE
LOW…redtiger/test/3rdparty/extras-0.0.3/extras/__init__.py7__all__ = [CODE
LOW…ger/test/3rdparty/testtools-2.7.1/testtools/runtest.py5__all__ = [CODE
LOW…iger/test/3rdparty/testtools-2.7.1/testtools/compat.py5__all__ = [CODE
LOW…er/test/3rdparty/testtools-2.7.1/testtools/testcase.py5__all__ = [CODE
LOW…er/test/3rdparty/testtools-2.7.1/testtools/__init__.py5__all__ = [CODE
LOW…ger/test/3rdparty/testtools-2.7.1/testtools/content.py5__all__ = [CODE
LOW…iger/test/3rdparty/testtools-2.7.1/testtools/monkey.py5__all__ = [CODE
LOW…r/test/3rdparty/testtools-2.7.1/testtools/testsuite.py5__all__ = [CODE
LOW…y/testtools-2.7.1/testtools/twistedsupport/_runtest.py22__all__ = [CODE
LOW…y/testtools-2.7.1/testtools/twistedsupport/__init__.py5__all__ = [CODE
LOW…y/testtools-2.7.1/testtools/twistedsupport/_spinner.py9__all__ = [CODE
27 more matches not shown…
Modern AI Meta-Vocabulary19 hits · 56 pts
SeverityFileLineSnippetContext
MEDIUMbuildscripts/benchmark_profiler.py205# --- Evergreen task-level orchestration ---COMMENT
MEDIUM…esmokeconfig/suites/sharding_clustered_collections.yml12 # The default suite runs change streams as v2; v1-pinned tests use scaffolding (e.g.COMMENT
MEDIUM…ites/sharding_change_streams_ignore_removed_shards.yml24 # This suite runs change streams as v2; v1-pinned tests use scaffolding (e.g.COMMENT
MEDIUMbuildscripts/resmokeconfig/suites/sharding.yml11 # The default suite runs change streams as v2; v1-pinned tests use scaffolding (e.g.COMMENT
MEDIUM…scripts/resmokeconfig/suites/sharding_config_shard.yml10 # The default suite runs change streams as v2; v1-pinned tests use scaffolding (e.g.COMMENT
MEDIUMbuildscripts/resmokeconfig/suites/sharding_auth.yml47 # The default suite runs change streams as v2; v1-pinned tests use scaffolding (e.g.COMMENT
MEDIUMjstests/ssl/x509_client.js90 // unless guardrails are explicitly overriddenCOMMENT
MEDIUMjstests/ssl/x509_client.js101 // unless guardrails are explicitly overriddenCOMMENT
MEDIUM…party/testscenarios-0.4/lib/testscenarios/scenarios.py2# dependency injection ('scenarios') by tests.COMMENT
MEDIUM…dparty/testscenarios-0.4/lib/testscenarios/testcase.py2# dependency injection ('scenarios') by tests.COMMENT
MEDIUM…dparty/testscenarios-0.4/lib/testscenarios/__init__.py2# dependency injection ('scenarios') by tests.COMMENT
MEDIUM…/testscenarios-0.4/lib/testscenarios/tests/__init__.py2# dependency injection ('scenarios') by tests.COMMENT
MEDIUM…scenarios-0.4/lib/testscenarios/tests/test_testcase.py2# dependency injection ('scenarios') by tests.COMMENT
MEDIUM…cenarios-0.4/lib/testscenarios/tests/test_scenarios.py2# dependency injection ('scenarios') by tests.COMMENT
MEDIUM…ger/test/3rdparty/testscenarios-0.4/doc/test_sample.py2# dependency injection ('scenarios') by tests.COMMENT
MEDIUM…dtiger/test/3rdparty/testscenarios-0.4/doc/__init__.py2# dependency injection ('scenarios') by tests.COMMENT
MEDIUM…edtiger/test/3rdparty/testscenarios-0.4/doc/example.py2# dependency injection ('scenarios') by tests.COMMENT
MEDIUM…lude/opentelemetry/semconv/incubating/aws_attributes.h24 href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">guardrail</a> helpsCODE
MEDIUMsrc/mongo/db/pipeline/expression.h6551 // We'll use this for guardrails around code we know shouldn't ever be called.COMMENT
Example Usage Blocks35 hits · 52 pts
SeverityFileLineSnippetContext
LOWetc/backports_required_for_multiversion_tests.yml5# Usage:COMMENT
LOWetc/coverity_models/extract_pw_rw_findings.sh35# Usage:COMMENT
LOWevergreen/bazel_test.sh1# Usage:COMMENT
LOWevergreen/bazel_run.sh1# Usage:COMMENT
LOWevergreen/retry_git.sh7# Usage:COMMENT
LOWevergreen/resmoke_tests_execute_bazel.sh3# Usage:COMMENT
LOWevergreen/get_all_resmoke_suite_configs.sh4# Usage:COMMENT
LOWevergreen/fetch_remote_test_results.sh3# Usage:COMMENT
LOWevergreen/gather_local_test_results.sh4# Usage:COMMENT
LOWevergreen/restore_git_history_and_tags.sh3# Usage:COMMENT
LOWevergreen/get_resmoke_suite_config.sh3# Usage:COMMENT
LOWevergreen/bazel_coverage.sh3# Usage:COMMENT
LOWevergreen/bazel_compile.sh1# Usage:COMMENT
LOW…n/functions/security_reporting_scripts/augment_sbom.sh4# Usage:COMMENT
LOW…orting_scripts/write_aws_creds_to_silkbomb_env_file.sh6# Usage:COMMENT
LOWbazel/config/generate_config_header.py3# Example usage:COMMENT
LOW…ripts/bazel_testbuilds/verify_resmoke_coredump_test.sh10# Usage:COMMENT
LOW…ipts/bazel_testbuilds/verify_unittest_coredump_test.sh9# Usage:COMMENT
LOWjstests/ssl/x509/mkcrl.sh15# Usage:COMMENT
LOWsrc/third_party/json-c/scripts/build_json_c_headers.sh7# Usage:COMMENT
LOWsrc/third_party/mozjs/include/js/UbiNode.h980// Example usage:COMMENT
LOWsrc/third_party/mozjs/extract/js/public/UbiNode.h980// Example usage:COMMENT
LOW…hird_party/mozjs/extract/js/src/devtools/plot-octane.R3# Usage:COMMENT
LOW…party/mozjs/extract/js/src/irregexp/import-irregexp.py18# Usage:COMMENT
LOWsrc/third_party/icu4c-57.1/source/common/rbbicst.pl7# Usage:COMMENT
LOWsrc/third_party/icu4c-57.1/source/common/ucase.cpp1074# Usage:COMMENT
LOWsrc/third_party/icu4c-57.1/source/i18n/regexcst.pl10# Usage:COMMENT
LOW…eams/include/boost/iostreams/detail/select_by_size.hpp24// Example usage:COMMENT
LOW…/libs/math/tools/bessel_derivative_append_negative.cpp11// Usage example:COMMENT
LOW…_party/boost/libs/predef/tools/ci/linux-cxx-install.sh3# Usage:COMMENT
LOW…arty/boost/libs/predef/tools/ci/macos-xcode-install.sh3# Usage:COMMENT
LOWsrc/third_party/wiredtiger/wt_config_header.py3# Example usage:COMMENT
LOWsrc/third_party/wiredtiger/wt_version_header.py3# Example usage:COMMENT
LOW…/third_party/wiredtiger/test/suite/test_timestamp22.py58 # Usage:COMMENT
LOWsrc/third_party/rnp/scripts/build_rnp_headers.sh8# Usage:COMMENT
Slop Phrases26 hits · 50 pts
SeverityFileLineSnippetContext
LOWbuildscripts/packager.py150 # and want DEB packages to match, make sure to update pversion()COMMENT
LOWbuildscripts/packager.py186 # this format and want RPM packages to match make sure you changeCOMMENT
LOWsrc/third_party/mozjs/include/js/CompileOptions.h254 // WARNING: When adding new fields, don't forget to add them toCOMMENT
LOWsrc/third_party/mozjs/include/js/CompileOptions.h347 // WARNING: When adding new fields, don't forget to add them toCOMMENT
LOW…c/third_party/mozjs/extract/js/public/CompileOptions.h254 // WARNING: When adding new fields, don't forget to add them toCOMMENT
LOW…c/third_party/mozjs/extract/js/public/CompileOptions.h347 // WARNING: When adding new fields, don't forget to add them toCOMMENT
LOW…ird_party/mozjs/extract/js/src/wasm/WasmCodegenTypes.h1720// If you add fields, don't forget to update its `clear` and `empty` methods.COMMENT
LOW…tract/js/src/jit/riscv64/SharedICHelpers-riscv64-inl.h63 // Note: when making changes here, don't forget to updateCOMMENT
LOW…tract/js/src/jit/loong64/SharedICHelpers-loong64-inl.h65 // Note: when making changes here, don't forget to updateCOMMENT
LOW…/src/jit/mips-shared/SharedICHelpers-mips-shared-inl.h65 // Note: when making changes here, don't forget to updateCOMMENT
MEDIUM…ird_party/mozjs/extract/js/src/builtin/ShadowRealm.cpp112 // creation. It's worth noting that the newGlobal callbackCOMMENT
MEDIUM…/third_party/icu4c-57.1/source/i18n/unicode/dtfmtsym.h63 * DateFormatSymbols object, they can feel free to modify the date-timeCOMMENT
MEDIUM…/third_party/icu4c-57.1/source/i18n/unicode/dtitvinf.h142 * they can feel free to modify it as necessary.COMMENT
LOW…clude/boost/spirit/home/x3/nonterminal/detail/rule.hpp256 // X3 developer note: don't forget to sync this implementation with x3::guardCOMMENT
LOW…pirit/include/boost/spirit/home/x3/auxiliary/guard.hpp61 // X3 developer note: don't forget to sync this implementation with x3::detail::rule_parserCOMMENT
MEDIUM…s/detail/hypergeometric_1F1_addition_theorems_on_z.hpp250 // I'm unable to find any situation where this series isn't divergent and thereforeCOMMENT
MEDIUM…/odeint/include/boost/numeric/odeint/stepper/euler.hpp7 be used for demonstration purposes.CODE
MEDIUM…/odeint/include/boost/numeric/odeint/stepper/euler.hpp110 * for real applications. It is only useful for demonstration purposes. Step size control is not provided butCOMMENT
LOW…tiger/test/cppsuite/src/component/workload_manager.cpp115 * Don't forget to delete the config we created earlier. While we do pass the config intoCOMMENT
LOW…third_party/wiredtiger/test/cppsuite/src/main/test.cpp137 /* Don't forget to delete. */COMMENT
LOWsrc/third_party/wiredtiger/src/include/tsan_suppress.h20 * we don't forget to properly fix them later and to highlight that this is only a temporaryCOMMENT
LOWsrc/third_party/wiredtiger/src/btree/bt_handle.c1267 * have been set. Don't forget to update the API documentation if youCOMMENT
MEDIUM…y/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.c111** As mentioned earlier, the overall design of the the trig routines isCODE
MEDIUMsrc/mongo/util/executor_stats_test.cpp204 * follow the same semantics as mentioned earlier in `ExecutorStatsTest::WaitTime`.COMMENT
LOW…/mongo/db/repl/initial_sync/collection_cloner_test.cpp923// test is to make sure we don't forget to request the _next_ resume token when resuming a query.COMMENT
MEDIUMsrc/mongo/db/index_builds/index_build_interceptor.cpp195 // SERVER-39705: It's worth noting that a document may not generate any keys, but beCOMMENT
AI Response Leakage5 hits · 46 pts
SeverityFileLineSnippetContext
HIGH…y/mozjs/extract/js/src/builtin/intl/CommonFunctions.js440 // In this implementation, localeData is a function, not an object.COMMENT
HIGHsrc/third_party/boost/boost/container/string.hpp544//! In this implementation, basic_string has performance characteristics very similar toCOMMENT
HIGHsrc/third_party/boost/boost/container/string.hpp548//! In this implementation, begin(),COMMENT
HIGHsrc/third_party/boost/boost/container/string.hpp550//! In this implementation, iterators are only invalidated by member functions thatCOMMENT
HIGHsrc/mongo/db/admission/README.md61of a [Token Bucket](https://en.wikipedia.org/wiki/Token_bucket). In this implementation, the tokenCODE
AI Structural Patterns34 hits · 32 pts
SeverityFileLineSnippetContext
LOWevergreen/functions/upload_sbom_via_silkbomb.py128CODE
LOW…s/security_reporting_scripts/upload_to_google_drive.py15CODE
LOWbazel/wrapper_hook/compiledb.py658CODE
LOWbuildscripts/mongosymb.py199CODE
LOWbuildscripts/utils.py63CODE
LOWbuildscripts/gdb/mongo_printers.py996CODE
LOW…/tests/resmoke_end2end/test_resmoke_external_module.py49CODE
LOWbuildscripts/resmokelib/selector.py479CODE
LOWbuildscripts/resmokelib/selector.py649CODE
LOWbuildscripts/resmokelib/testing/hooks/stepdown.py35CODE
LOW…dscripts/resmokelib/testing/hooks/add_remove_shards.py53CODE
LOW…esmokelib/generate_fuzz_config/mongo_fuzzer_configs.py422CODE
LOW…ts/resmokelib/setup_multiversion/setup_multiversion.py81CODE
LOW…third_party/mock_ocsp_responder/mock_ocsp_responder.py96CODE
LOWsrc/third_party/wiredtiger/tools/wt-mcp/server.py1418CODE
LOW…edtiger/test/3rdparty/testtools-2.7.1/testtools/run.py126CODE
LOW…y/testtools-2.7.1/testtools/twistedsupport/_runtest.py79CODE
LOW…dparty/testtools-2.7.1/testtools/testresult/doubles.py219CODE
LOW…/3rdparty/testtools-2.7.1/testtools/testresult/real.py365CODE
LOW…/3rdparty/testtools-2.7.1/testtools/testresult/real.py481CODE
LOW…/3rdparty/testtools-2.7.1/testtools/testresult/real.py821CODE
LOW…/3rdparty/testtools-2.7.1/testtools/testresult/real.py1840CODE
LOW…ty/python-subunit-1.4.4/python/subunit/test_results.py448CODE
LOW…ty/python-subunit-1.4.4/python/subunit/test_results.py592CODE
LOW…ty/python-subunit-1.4.4/python/subunit/test_results.py734CODE
LOW…est/3rdparty/python-subunit-1.4.4/python/subunit/v2.py113CODE
LOW…est/3rdparty/python-subunit-1.4.4/python/subunit/v2.py150CODE
LOW…unit-1.4.4/python/subunit/tests/test_test_protocol2.py320CODE
LOW…unit-1.4.4/python/subunit/tests/test_test_protocol2.py329CODE
LOW…third_party/wiredtiger/test/suite/hooks/hook_disagg.py323CODE
LOW…third_party/wiredtiger/test/suite/hooks/hook_tiered.py190CODE
LOW…third_party/wiredtiger/test/suite/hooks/hook_tiered.py241CODE
LOWsrc/third_party/wiredtiger/test/suite/helpers/wttest.py173CODE
LOW…ery/query_tester/tests/selfTests/testlib/test_utils.py69CODE
Docstring Block Structure5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHbuildscripts/jepsen_report.py71Given a List of strings representing jepsen log file split by newlines, return the ParserOutput struct. Args: STRING
HIGH…ules_mongo/codeowners/check_github_codeowner_errors.py23 Execute a GraphQL query against GitHub's API with retry logic. Args: query: The GraphQL query string STRING
HIGHbuildscripts/resmokelib/suitesconfig.py590Get a dictionary of all overrides from multiple directories keyed by override name. Parses override files from STRING
HIGHbuildscripts/resmokelib/suitesconfig.py655Get a dictionary of all suite mapping configurations from multiple directories. Collects and validates all matrSTRING
HIGHbuildscripts/resmokelib/suitesconfig.py707Get the mapping file path and suite directory for a given suite name. Searches all configured suite directoriesSTRING
Dead Code5 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMbuildscripts/generate_result_tasks.py289CODE
MEDIUMbuildscripts/generate_result_tasks.py290CODE
MEDIUMbuildscripts/generate_result_tasks.py291CODE
MEDIUMbuildscripts/generate_result_tasks.py294CODE
MEDIUMbuildscripts/generate_result_tasks.py299CODE
TODO Padding5 hits · 8 pts
SeverityFileLineSnippetContext
LOWsrc/third_party/icu4c-57.1/source/i18n/rbnf.cpp1357 // TODO: implement UParseErrorCOMMENT
LOWsrc/third_party/icu4c-57.1/source/i18n/rematch.cpp3908 // TODO: implement transparent bounds. Ticket #6067COMMENT
LOWsrc/third_party/icu4c-57.1/source/i18n/rematch.cpp5416 // TODO: implement transparent bounds. Ticket #6067COMMENT
LOW…er/test/3rdparty/testtools-2.7.1/testtools/testcase.py558 # TODO: implement with matchers.COMMENT
LOW…uery/compiler/optimizer/cost_based_ranker/ce_utils.cpp48 // TODO: implement operator*=COMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…test/evergreen/code_coverage/parallel_code_coverage.py39def run_task(index, task):CODE
LOW…/3rdparty/testtools-2.7.1/testtools/testresult/real.py474 def do_something():STRING