AI Slop Code RIsk Monitor

carbon-language/carbon-lang

Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)

5.0 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for carbon-language/carbon-lang, a C++ project with 33,897 GitHub stars. SynthScan examined 320,575 lines of code across 1206 source files, recording 1367 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 5.0 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

5.0
Adjusted Signal
5.0
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
33.9K
Stars
C++
Language
320.6K
Lines of Code
1.2K
Files
1.4K
Pattern Hits
2026-10-12
Scan Date
0.04
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 18.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1288 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

Are imports declared and package/API names verified? 18 finding(s).

Agent Over-Engineering Ratio 4.7/100 · LOW

Are wrappers, guards, and repeated structures necessary? 100 finding(s).

PR Review Velocity Impact 23.0/100 · LOW

Which changes need focused human review? 1367 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 54MEDIUM 21LOW 1292

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1367 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block1181 hits · 1162 pts
SeverityFileLineSnippetContext
LOWdocs/design/generics/appendix-rewrite-constraints.md541 let U: type;COMMENT
LOWdocs/design/generics/appendix-rewrite-constraints.md621constraint ForwardDeclaredConstraint(X: MoveYsRight) {COMMENT
LOWdocs/design/generics/details.md5841 impl as Interface1 where _ { }COMMENT
LOWdocs/design/generics/details.md5861 // Forward declaration of extending implementation.COMMENT
LOWdocs/design/expressions/member_access.md821 // calls #7 with `self == s`.COMMENT
LOWdocs/design/expressions/member_access.md921 // Impl lookup transforms this into #3:COMMENT
LOWtesting/fuzzing/libfuzzer.h1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWtesting/file_test/test_file.h1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWtesting/file_test/test_file.cpp1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWtesting/file_test/test_file.cpp21COMMENT
LOWtesting/file_test/autoupdate.cpp1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWtesting/file_test/file_test_base.h1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWtesting/file_test/file_test_base.h21#include "testing/file_test/autoupdate.h"COMMENT
LOWtesting/file_test/file_test_base.h41 // - Each file has a `fail_` prefix if !per_file_success[i].second.COMMENT
LOWtesting/file_test/file_test_base.h61 // content written to `output_stream` and `error_stream`. Children should useCOMMENT
LOWtesting/file_test/file_test_base.h141 // The test fixture name.COMMENT
LOWtesting/file_test/file_test_base.cpp1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWtesting/file_test/file_test_base.cpp21COMMENT
LOWtesting/file_test/file_test_base.cpp41#include "common/check.h"COMMENT
LOWtesting/file_test/file_test_base_test.cpp1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWtesting/file_test/test_file_test.cpp1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWtesting/file_test/run_test.cpp1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWtesting/file_test/autoupdate.h1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWtesting/base/unified_diff.h1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWtesting/base/file_helpers.h1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWtesting/base/file_helpers.h21COMMENT
LOWtesting/base/benchmark_helpers.h21// A container whose `data()` returns a pointer to its contents.COMMENT
LOWtesting/base/benchmark_helpers.h41// compiler must assume the call reads and may change `value`.COMMENT
LOWtesting/base/global_exe_path.h1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWtesting/base/capture_std_streams.cpp1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWcommon/ostream.h1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWcommon/ostream.h101}COMMENT
LOWcommon/exe_path.h1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWcommon/filesystem.h1// Part of the Carbon Language project, under the Apache License v2.0 with LLVMCOMMENT
LOWcommon/filesystem.h21#include "common/check.h"COMMENT
LOWcommon/filesystem.h41// reasonable Windows implementation is possible.COMMENT
LOWcommon/filesystem.h61//COMMENT
LOWcommon/filesystem.h81// The different creation options available when opening a file or directory.COMMENT
LOWcommon/filesystem.h161// pattern that facilitates octal modeling:COMMENT
LOWcommon/filesystem.h221COMMENT
LOWcommon/filesystem.h241// directory.COMMENT
LOWcommon/filesystem.h341 friend Internal::FileRefBase;COMMENT
LOWcommon/filesystem.h361// rebindable, movable, and copyable unlike a C++ language reference.COMMENT
LOWcommon/filesystem.h381COMMENT
LOWcommon/filesystem.h401 // The position of reads and writes does not change.COMMENT
LOWcommon/filesystem.h421 //COMMENT
LOWcommon/filesystem.h441 // On an error, an unspecified prefix of the buffer has already been writtenCOMMENT
LOWcommon/filesystem.h461 // will seek the file to ensure it starts at the beginning regardless ofCOMMENT
LOWcommon/filesystem.h481 // locks without a deadline can easily result in build systems essentiallyCOMMENT
LOWcommon/filesystem.h501COMMENT
LOWcommon/filesystem.h521 // file to have already been closed with an explicit `Close` call, where itCOMMENT
LOWcommon/filesystem.h541 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes)COMMENT
LOWcommon/filesystem.h601COMMENT
LOWcommon/filesystem.h641 // Closes the open file and leaves the file in a moved-from state.COMMENT
LOWcommon/filesystem.h661 auto Destroy() -> void;COMMENT
LOWcommon/filesystem.h681// Relative path parameters are always relative to this directory. Absolute pathCOMMENT
LOWcommon/filesystem.h701 // Returns true if this refers to a valid open directory, and false otherwise.COMMENT
LOWcommon/filesystem.h721 //COMMENT
LOWcommon/filesystem.h761COMMENT
LOWcommon/filesystem.h781 auto UpdateTimes(const std::filesystem::path& path,COMMENT
1121 more matches not shown…
Cross-File Repetition52 hits · 260 pts
SeverityFileLineSnippetContext
HIGHwebsite/prebuild.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGH…kills/summarize_testdata_changes/scripts/parse_diff.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHutils/textmate/tmlanguage.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHutils/textmate/render_sample.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHexamples/bazel_test_runner.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHexamples/bazel/update_module_to_nightly.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHbazel/cc_toolchains/cc_tools_test.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHbazel/version/gen_tmpl.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHbazel/check_deps/check_non_test_cc_deps.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHbazel/check_deps/update_roots.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHgithub_tools/check_dependent_pr_test.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHgithub_tools/check_dependent_pr.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHgithub_tools/github_helpers.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHgithub_tools/pr_comments_test.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHgithub_tools/pr_comments.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHgithub_tools/github_helpers_test.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/source_stats.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/bazel_mod_deps.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/check_sha_filenames.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/run_buildifier.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/check_header_guards.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/target_determinator.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/cargo_update.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/query_module_versions.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/gh_review_stats.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/forbid_llvm_googletest.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/fix_cc_deps.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/run_bazel.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/no_op_test.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/create_compdb.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/check_build_graph.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/run_bazelisk.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/workspace_status.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/scripts_utils.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/lldbinit.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/run_buildozer.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/update_tm_language.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/bench_runner.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHscripts/calculate_release_shas.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHproposals/p000555-operator-precedence/figures.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHproposals/scripts/new_proposal_test.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHproposals/scripts/utils_test.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHproposals/scripts/check_proposal_names_test.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHproposals/scripts/utils.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHproposals/scripts/new_proposal.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHproposals/scripts/check_proposal_names.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHtoolchain/autoupdate_testdata.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHtoolchain/install/install_test.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHtoolchain/install/cc_tools_wrapper_test.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHtoolchain/install/toolchain_tar_test.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHtoolchain/runtimes/configure_cmake_file_impl.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
HIGHtoolchain/diagnostics/check_diagnostics.py0part of the carbon language project, under the apache license v2.0 with llvm exceptions. see /license for license informSTRING
AI Slop Vocabulary13 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUMcommon/filesystem.h472 // file's size to the provided string size. Essentially, this functionCOMMENT
MEDIUMcommon/hashing_benchmark.cpp144 // When using random sizes, we leverage `i` which is guaranteed to rangeCOMMENT
MEDIUMcommon/raw_hashtable.h1855 // growth, but we know we'll find an empty slot, so leverage that.COMMENT
MEDIUMcommon/raw_hashtable_metadata_group.h832 // This algorithm only works for matching *present* bytes. We leverage theCOMMENT
MEDIUMcommon/hashing.h915 // Essentially the same technique used for dynamically sized byte sequencesCOMMENT
MEDIUMcommon/hashing.h1024 // latency over a more robust approach. Doing another mix with the size (theCOMMENT
LOWscripts/fix_cc_deps.py111 # Ignore the version, just use the repo name.COMMENT
MEDIUM.github/workflows/auto_label_prs.yaml61 # convenience. Essentially, this is everything we intend to ship asCOMMENT
MEDIUMproposals/scripts/utils.py13 """Returns a robust slug of the title."""STRING
MEDIUMtoolchain/sem_ir/expr_info.cpp158 // TODO: Find a more robust solution.COMMENT
MEDIUMtoolchain/driver/runtimes_cache_test.cpp150 // be robust against this, but it isn't important *how* the fallback occurs,COMMENT
MEDIUMtoolchain/driver/compile_options.cpp72 // Instead of controlling this with more nuanced flags, weCOMMENT
MEDIUMtoolchain/parse/tree.h297 // While we don't want users to directly leverage the index of `NodeId` forCOMMENT
Hyper-Verbose Identifiers39 hits · 32 pts
SeverityFileLineSnippetContext
LOWutils/vscode/src/extension.ts136function updateCppInlineDecorations(editor: TextEditor | undefined) {CODE
LOWgithub_tools/check_dependent_pr_test.py90 def test_process_pr_no_overlap(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py110 def test_process_pr_with_overlap(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py133 def test_process_pr_dependencies_merged(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py157 def test_process_pr_dependency_got_new_commits(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py184 def test_process_pr_non_coherent_prefix(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py204 def test_process_pr_overlap_only_on_head_ref(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py227 def test_process_pr_scanning_no_add(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py248 def test_process_pr_no_changes_needed(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py270 def test_process_pr_invalid_marker(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py296 def test_process_pr_hidden_comment(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py326 def test_process_pr_sticky_first_commit(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py352 def test_process_pr_rebase_first_commit(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py378 def test_process_pr_fallback_no_independent_commit(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py404 def test_process_pr_sequence_failure(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py424 def test_process_pr_no_overlap_different_commits(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py444 def test_process_pr_no_unique_commit(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py464 def test_process_pr_multiple_non_overlapping_commits(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py486 def test_always_sets_status_check_success(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py505 def test_always_sets_status_check_pending(self) -> None:CODE
LOWgithub_tools/check_dependent_pr_test.py524 def test_process_pr_sibling_prs(self) -> None:CODE
LOWgithub_tools/check_dependent_pr.py189def _parse_and_validate_state(CODE
LOWgithub_tools/pr_comments_test.py22 def test_format_comment_short(self):STRING
LOWgithub_tools/pr_comments_test.py257 def test_accumulate_pr_comment(self):STRING
LOWgithub_tools/github_helpers_test.py93 def test_execute_and_paginate_empty(self):STRING
LOWgithub_tools/github_helpers_test.py103 def test_execute_and_paginate_one_page(self):STRING
LOWgithub_tools/github_helpers_test.py115 def test_execute_and_paginate_one_page_count_mismatch(self):STRING
LOWgithub_tools/github_helpers_test.py126 def test_execute_and_paginate_two_page(self):STRING
LOWgithub_tools/github_helpers_test.py146 def test_execute_and_paginate_first_page_done(self):STRING
LOWgithub_tools/github_helpers_test.py160 def test_execute_and_paginate_first_page_continue(self):STRING
LOWscripts/bench_runner.py797def get_benchmark_names_and_metrics(CODE
LOWscripts/bench_runner.py872def collect_benchmark_metrics(CODE
LOW⚡proposals/scripts/new_proposal_test.py18 def test_calculate_branch_short(self):STRING
LOW⚡proposals/scripts/new_proposal_test.py24 def test_calculate_branch_long(self):STRING
LOW⚡proposals/scripts/new_proposal_test.py33 def test_calculate_branch_special(self):STRING
LOW⚡proposals/scripts/new_proposal_test.py42 def test_calculate_branch_flag(self):STRING
LOWproposals/scripts/check_proposal_names_test.py35 def test_rename_file_and_directory(self) -> None:STRING
LOWproposals/scripts/check_proposal_names_test.py93 def test_update_directory_references(self) -> None:STRING
LOWproposals/scripts/check_proposal_names_test.py125 def test_relative_path_rename(self) -> None:STRING
Structural Annotation Overuse16 hits · 31 pts
SeverityFileLineSnippetContext
LOW.agents/skills/builtins/SKILL.md56### Step 1: Kind Definition & RegistrationCOMMENT
LOW.agents/skills/builtins/SKILL.md68### Step 2: Signature Validation & Compile-Time ResidenceCOMMENT
LOW.agents/skills/builtins/SKILL.md107### Step 3: Constant Evaluation SupportCOMMENT
LOW.agents/skills/builtins/SKILL.md167### Step 4: Machine Code Generation (LLVM Lowering)COMMENT
LOW.agents/skills/builtins/SKILL.md202### Step 5: Standard Library Prelude IntegrationCOMMENT
LOW⚡toolchain/docs/check/pattern_matching.md107// Step 1: traverse the pattern.COMMENT
LOW⚡toolchain/docs/check/pattern_matching.md114// Step 2: evaluate the scrutinee.COMMENT
LOW⚡toolchain/docs/check/pattern_matching.md119// Step 3: match the pattern with the scrutineeCOMMENT
LOW⚡toolchain/docs/check/pattern_matching.md241// Step 1: traverse the pattern.COMMENT
LOW⚡toolchain/docs/check/pattern_matching.md244// Step 2: traverse the scrutinee.COMMENT
LOW⚡toolchain/docs/check/pattern_matching.md249// Step 3: match the pattern with the scrutineeCOMMENT
LOW⚡toolchain/docs/check/pattern_matching.md255 // Step 1: traverse the pattern.COMMENT
LOWtoolchain/check/member_access.cpp783 // Step 1: figure out the type of the associated entity from the interface.COMMENT
LOW⚡toolchain/check/import_ref.cpp4948 // Step 1: check for a constant value.COMMENT
LOW⚡toolchain/check/import_ref.cpp4955 // Step 2: resolve the instruction.COMMENT
LOWtoolchain/check/import_ref.cpp4968 // Step 3: pop or retry.COMMENT
Deep Nesting19 hits · 19 pts
SeverityFileLineSnippetContext
LOWwebsite/prebuild.py75CODE
LOW…kills/summarize_testdata_changes/scripts/parse_diff.py12CODE
LOWutils/textmate/tmlanguage.py316CODE
LOWutils/textmate/tmlanguage.py117CODE
LOWbazel/version/gen_tmpl.py52CODE
LOWgithub_tools/check_dependent_pr.py189CODE
LOWgithub_tools/check_dependent_pr.py286CODE
LOWgithub_tools/pr_comments.py316CODE
LOWscripts/source_stats.py109CODE
LOWscripts/gh_review_stats.py146CODE
LOWscripts/fix_cc_deps.py136CODE
LOWscripts/fix_cc_deps.py192CODE
LOWscripts/fix_cc_deps.py221CODE
LOWscripts/lldbinit.py46CODE
LOWscripts/bench_runner.py872CODE
LOWscripts/bench_runner.py1003CODE
LOWproposals/scripts/check_proposal_names.py95CODE
LOWtoolchain/autoupdate_testdata.py52CODE
LOWtoolchain/runtimes/configure_cmake_file_impl.py66CODE
Fake / Example Data16 hits · 14 pts
SeverityFileLineSnippetContext
LOWcommon/command_line.h175// Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCOMMENT
LOWcommon/command_line.h175// Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCOMMENT
LOWcommon/filesystem_benchmark.cpp33 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWcommon/filesystem_benchmark.cpp33 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡github_tools/pr_comments_test.py44 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed "STRING
LOW⚡github_tools/pr_comments_test.py44 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed "STRING
LOW⚡github_tools/pr_comments_test.py47 " author: Lorem ipsum dolor sit amet, consectetur adipiscing "STRING
LOW⚡github_tools/pr_comments_test.py47 " author: Lorem ipsum dolor sit amet, consectetur adipiscing "STRING
LOW⚡github_tools/pr_comments_test.py54 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed "STRING
LOW⚡github_tools/pr_comments_test.py54 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed "STRING
LOW⚡github_tools/pr_comments_test.py57 " author: Lorem ipsum dolor sit amet, consectetur adipiscing "STRING
LOW⚡github_tools/pr_comments_test.py57 " author: Lorem ipsum dolor sit amet, consectetur adipiscing "STRING
LOW⚡github_tools/pr_comments_test.py75 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed "STRING
LOW⚡github_tools/pr_comments_test.py75 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed "STRING
LOW⚡github_tools/pr_comments_test.py83 " Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed "STRING
LOW⚡github_tools/pr_comments_test.py83 " Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed "STRING
Self-Referential Comments5 hits · 13 pts
SeverityFileLineSnippetContext
MEDIUMscripts/jj_prek.sh28# Create a git index file describing `@`.COMMENT
MEDIUM.github/workflows/tests.yaml33 # Create a synthetic matrix dimension with the event name for filtering.COMMENT
MEDIUMproposals/scripts/new_proposal.py190 # Create a proposal branch.COMMENT
MEDIUMproposals/scripts/new_proposal.py229 # Create a PR with WIP+proposal labels.COMMENT
MEDIUMtoolchain/install/install_test.py101 # Create a test file that we'll preprocess.STRING
AI Response Leakage2 hits · 8 pts
SeverityFileLineSnippetContext
HIGHdocs/design/README.md2512[name lookup](#name-lookup) without the namespace prefix. In this example,STRING
HIGHdocs/design/generics/details.md253[associated entity](terminology.md#associated-entity). In this example, `Vector`CODE
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWcommon/array_stack.h17// Example usage:COMMENT
LOWcommon/template_string.h24// Example usage:COMMENT
LOWcommon/struct_reflection.h10// Example usage:COMMENT
LOWcommon/hashing.h186// Example usage:COMMENT
LOWtoolchain/testing/yaml_test_helpers.h11// Example usage:COMMENT
Verbosity Indicators4 hits · 8 pts
SeverityFileLineSnippetContext
LOWtoolchain/check/member_access.cpp783 // Step 1: figure out the type of the associated entity from the interface.COMMENT
LOW⚡toolchain/check/import_ref.cpp4948 // Step 1: check for a constant value.COMMENT
LOW⚡toolchain/check/import_ref.cpp4955 // Step 2: resolve the instruction.COMMENT
LOWtoolchain/check/import_ref.cpp4968 // Step 3: pop or retry.COMMENT
Excessive Try-Catch Wrapping6 hits · 7 pts
SeverityFileLineSnippetContext
LOWbazel/cc_toolchains/cc_tools_test.py54 except Exception as e:CODE
LOWgithub_tools/check_dependent_pr.py282 except Exception as e:CODE
LOWscripts/query_module_versions.py37 except Exception as e:CODE
LOWscripts/query_module_versions.py58 except Exception as e:CODE
LOWscripts/gh_review_stats.py174 except Exception:CODE
MEDIUMproposals/scripts/check_proposal_names.py162 print("Error: proposals directory not found.")CODE
Decorative Section Separators3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtoolchain/docs/diagnostics_rendering.md604</span> <span style="color:#ff7261">·</span> <span style="color:#00829a">╰──────────┤</span> left operaCODE
MEDIUMtoolchain/docs/diagnostics_rendering.md605 <span style="color:#ff7261">·</span> <span style="color:#00bcbc">╰──────┤</span> right operand hCODE
MEDIUMtoolchain/docs/diagnostics_rendering.md623 <span style="color:#ff7261">·</span> <span style="color:#ff7261;font-weight:bold">━━━━━━┳━━━━━CODE
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtoolchain/check/custom_witness.cpp491 // TODO: implement destruction for `Core.MaybeUnformed(T)`.COMMENT
LOWtoolchain/check/custom_witness.cpp496 // TODO: implement destruction for partial types.COMMENT
LOWtoolchain/check/cpp/type_mapping.cpp68 // TODO: Add tests for these cases.COMMENT
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/source_stats.py10CODE
LOWscripts/bench_runner.py58CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/scripts_utils.py137 # Check if there's a cached file that can be used.COMMENT