AI Slop Code Risk Monitor

leanprover/lean4

SlopCodeMonitor badge for leanprover/lean4 Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Lean 4 programming language and theorem prover

0.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for leanprover/lean4, a Lean project with 9,799 GitHub stars. SynthScan examined 7,656,228 lines of code across 4622 source files, recording 2840 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 0.4 (Low 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.

0.4
Adjusted Signal
0.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
9.8K
Stars
Lean
Language
7.7M
Lines of Code
4.6K
Files
2.8K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 1.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 2.0/100 · LOW

Which changes need focused human review? 2840 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 1HIGH 17MEDIUM 85LOW 2737

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 2840 distinct pattern matches across 18 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 Block2645 hits · 2644 pts
SeverityFileLineSnippetContext
LOWstage0/stdlib/Lean.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/LeanExport.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Std.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/LeanChecker.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/LeanIR.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/LakeMain.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Lake.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/While.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/TacticsExtra.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/LawfulBEqTactics.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/NotationExtra.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Hints.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/GrindInstances.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/ByCases.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/ShareCommon.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/CbvSimproc.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Util.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Simproc.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/WFExtrinsicFix.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Ext.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/System.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Meta.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/PropLemmas.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/LetFun.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Coe.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Prelude.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/RCases.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Omega.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Grind.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Conv.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Try.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/MetaTypes.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Control.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Task.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Core.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Internal.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/GetElem.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Sym.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/SizeOfLemmas.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/BinderNameHint.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/WFTactics.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/MacroTrace.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/BinderPredicates.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/WF.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Syntax.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/SizeOf.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Guard.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/SimpLemmas.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Data.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Classical.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/WFComputable.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/MethodSpecsSimp.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Dynamic.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Sym/Lemmas.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Sym/Simp/SimprocDSL.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/Sym/DSimp/DSimprocDSL.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/GrindInstances/Nat.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/GrindInstances/Ring.c1// Lean compiler outputCOMMENT
LOWstage0/stdlib/Init/GrindInstances/Ring/UInt.c1// Lean compiler outputCOMMENT
2585 more matches not shown…
Decorative Section Separators59 hits · 171 pts
SeverityFileLineSnippetContext
MEDIUMtests/trace_timings.py59# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/trace_timings.py61# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/trace_timings.py99# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/trace_timings.py101# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/trace_timings.py234# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/trace_timings.py236# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/elab/unicode/CaseFolding.txt31# ================================================================================COMMENT
MEDIUMtests/elab/unicode/CaseFolding.txt33# ================================================================================COMMENT
MEDIUMtests/elab/unicode/CaseFolding.txt55# =================================================================COMMENT
MEDIUMtests/elab/unicode/CaseFolding.txt62# =================================================================COMMENT
MEDIUM⚡tests/elab/unicode/DerivedGeneralCategory.txt3563# ================================================COMMENT
MEDIUM⚡tests/elab/unicode/DerivedGeneralCategory.txt3571# ================================================COMMENT
MEDIUM⚡tests/elab/unicode/DerivedGeneralCategory.txt3579# ================================================COMMENT
MEDIUM⚡tests/elab/unicode/DerivedGeneralCategory.txt3588# ================================================COMMENT
MEDIUM⚡tests/elab/unicode/DerivedGeneralCategory.txt3616# ================================================COMMENT
MEDIUM⚡tests/elab/unicode/DerivedGeneralCategory.txt3626# ================================================COMMENT
MEDIUM⚡tests/elab/unicode/DerivedGeneralCategory.txt3634# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt10# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt14# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt756# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt1436# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt2123# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt2140# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt2228# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt2779# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt3154# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt3166# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt3369# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt3448# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt3470# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt3549# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt3661# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt3748# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt3832# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt3845# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt4047# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt4123# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt4151# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt4190# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt4391# ================================================COMMENT
MEDIUMtests/elab/unicode/DerivedGeneralCategory.txt4409# ================================================COMMENT
MEDIUMtests/lake/tests/ltar/test.sh9#-------------------------------------------------------------------------------COMMENT
MEDIUMtests/lake/tests/ltar/test.sh11#-------------------------------------------------------------------------------COMMENT
MEDIUM.claude/skills/zulip-extract/zulip_thread_extract.py17# ---------------------------------------------------------------------------COMMENT
MEDIUM.claude/skills/zulip-extract/zulip_thread_extract.py19# ---------------------------------------------------------------------------COMMENT
MEDIUM.claude/skills/zulip-extract/zulip_thread_extract.py111# ---------------------------------------------------------------------------COMMENT
MEDIUM.claude/skills/zulip-extract/zulip_thread_extract.py113# ---------------------------------------------------------------------------COMMENT
MEDIUM.claude/skills/zulip-extract/zulip_thread_extract.py212# ---------------------------------------------------------------------------COMMENT
MEDIUM.claude/skills/zulip-extract/zulip_thread_extract.py214# ---------------------------------------------------------------------------COMMENT
MEDIUMscript/build_artifact.py71# -----------------------------------------------------------------------------COMMENT
MEDIUMscript/build_artifact.py73# -----------------------------------------------------------------------------COMMENT
MEDIUMscript/build_artifact.py91# -----------------------------------------------------------------------------COMMENT
MEDIUMscript/build_artifact.py93# -----------------------------------------------------------------------------COMMENT
MEDIUMscript/build_artifact.py152# -----------------------------------------------------------------------------COMMENT
MEDIUMscript/build_artifact.py154# -----------------------------------------------------------------------------COMMENT
MEDIUMscript/build_artifact.py311# -----------------------------------------------------------------------------COMMENT
MEDIUMscript/build_artifact.py313# -----------------------------------------------------------------------------COMMENT
MEDIUMscript/build_artifact.py353# -----------------------------------------------------------------------------COMMENT
MEDIUMscript/build_artifact.py355# -----------------------------------------------------------------------------COMMENT
Cross-Language Confusion9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHscript/release/checklist.py73 self.lrepo.push(head)CODE
HIGHscript/release/checklist.py385 self.lrepo.push(branch_name)CODE
HIGHscript/release/checklist.py409 self.lrepo.push(tag_name, upstream=False)CODE
HIGHscript/release/checklist.py446 self.lrepo.push(tag_name, upstream=False)CODE
HIGHscript/release/checklist.py471 self.lrepo.push(tag_name, upstream=False)CODE
HIGHscript/release/checklist.py521 self.lrepo.push("stable", force=True)CODE
HIGHscript/release/checklist.py616 self.lrepo.push(branch_name)CODE
HIGHscript/release/checklist.py643 self.lrepo.push(branch_name)CODE
HIGHscript/release/checklist.py718 self.lrepo.push(tag_name, upstream=False)CODE
AI Slop Vocabulary15 hits · 40 pts
SeverityFileLineSnippetContext
MEDIUMstage0/src/runtime/process.cpp276 // Passing `program` here should be more robust, but would require adding a `.exe` extensionCOMMENT
MEDIUMstage0/src/runtime/io.cpp1065 // TODO(Leo): more robust solutionCOMMENT
MEDIUMstage0/src/runtime/io.cpp1423 // TODO(Leo): more robust solutionCOMMENT
MEDIUMstage0/src/runtime/mpn.cpp53 // Essentially Knuth's Algorithm ACOMMENT
MEDIUMstage0/src/runtime/mpn.cpp75 // Essentially Knuth's Algorithm SCOMMENT
MEDIUMstage0/src/runtime/mpn.cpp92 // Essentially Knuth's Algorithm M.COMMENT
LOWscript/release/util.py393 # Stable versions are prefixes of RC versions, so we can't just use "in"COMMENT
LOW.github/workflows/check-prelude.yml12 # the default is to use a virtual merge commit between the PR and master: just use the PRCOMMENT
LOW.github/workflows/build-template.yml64 # the default is to use a virtual merge commit between the PR and master: just use the PRCOMMENT
MEDIUMsrc/runtime/process.cpp276 // Passing `program` here should be more robust, but would require adding a `.exe` extensionCOMMENT
MEDIUMsrc/runtime/io.cpp1065 // TODO(Leo): more robust solutionCOMMENT
MEDIUMsrc/runtime/io.cpp1423 // TODO(Leo): more robust solutionCOMMENT
MEDIUMsrc/runtime/mpn.cpp53 // Essentially Knuth's Algorithm ACOMMENT
MEDIUMsrc/runtime/mpn.cpp75 // Essentially Knuth's Algorithm SCOMMENT
MEDIUMsrc/runtime/mpn.cpp92 // Essentially Knuth's Algorithm M.COMMENT
Empty Error Handlers8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHtests/trace_timings.py342except OSError:CODE
HIGHscript/build_artifact.py116except (FileNotFoundError, subprocess.TimeoutExpired):CODE
HIGHscript/release/checklist.py372except UnknownObjectException:CODE
HIGHscript/release/checklist.py396except UnknownObjectException:CODE
HIGHscript/release/checklist.py427except UnknownObjectException:CODE
HIGHscript/release/checklist.py571except UnknownObjectException:CODE
HIGHscript/release/checklist.py605except UnknownObjectException:CODE
HIGHscript/release/checklist.py705except UnknownObjectException:CODE
Hyper-Verbose Identifiers35 hits · 34 pts
SeverityFileLineSnippetContext
LOWtests/repeatedly.py45def read_measurements_from_outfile(outfile: Path) -> list[Measurement]:CODE
LOWtests/repeatedly.py53def write_measurements_to_outfile(CODE
LOW⚡script/release/checklist.py584 def check_backport_label_exists(self, version: Version) -> None:CODE
LOW⚡script/release/checklist.py590 def check_blocking_label_exists(self, version: Version) -> None:CODE
LOW⚡script/release/checklist.py597 def check_release_branch_exists(self) -> None:CODE
LOW⚡script/release/checklist.py672 def _check_no_open_prs_labeled(self, label: str) -> None:CODE
LOW⚡script/release/checklist.py681 def check_no_open_prs_labeled_backport(self) -> None:CODE
LOW⚡script/release/checklist.py684 def check_no_open_prs_labeled_blocking(self) -> None:CODE
LOW⚡script/release/checklist.py687 def check_no_open_backport_prs(self) -> None:CODE
LOWscript/release/checklist.py88 def check_dependencies_completed(self) -> None:CODE
LOWscript/release/checklist.py191 def _bump_toolchain_verso_templates(self) -> None:CODE
LOWscript/release/checklist.py194 def _bump_toolchain_reference_manual(self) -> None:CODE
LOWscript/release/checklist.py226 def _bump_toolchain_lean_fro_org(self) -> None:CODE
LOWscript/release/checklist.py231 def _bump_toolchain_bibtex_query(self) -> None:CODE
LOWscript/release/checklist.py246 def _bump_toolchain_leansqlite(self) -> None:CODE
LOWscript/release/checklist.py254 def _bump_toolchain_in_worktree(self) -> None:CODE
LOWscript/release/checklist.py279 def _bump_toolchain_unicode_basic(self) -> None:CODE
LOWscript/release/checklist.py452 def _check_proofwidgets_release_tag(self) -> GitRef | None:CODE
LOWscript/release/checklist.py486 def check_stable_branch_points_to_release_tag(self, tag: GitRef) -> None:CODE
LOWscript/release/checklist.py621 def check_release_branch_cmake_version(self) -> None:CODE
LOWscript/release/checklist.py646 def check_master_branch_cmake_version(self) -> None:CODE
LOWscript/release/checklist.py838 def check_release_notes_updated(self) -> None:CODE
LOWscript/release/release_notes.py75def get_previously_released_prs(refman: Path, version: Version) -> set[int]:CODE
LOWscript/release/release_notes.py85def get_description_from_body(body: str) -> str:CODE
LOW⚡script/release/util.py470def get_release_notes_stem_for(version: Version) -> str:CODE
LOW⚡script/release/util.py474def get_release_notes_path_for(version: Version) -> str:CODE
LOW⚡script/release/util.py478def get_release_notes_module_for(version: Version) -> str:CODE
LOW⚡script/release/util.py482def get_release_notes_index_path() -> str:CODE
LOW⚡script/release/util.py486def get_release_notes_title_for(version: Version, release: GitRelease) -> str:CODE
LOW⚡script/release/util.py535def get_toolchain_bump_message(version: Version) -> str:CODE
LOW⚡script/release/util.py541def find_merged_toolchain_bump_sha(lrepo: LocalRepo, version: Version) -> str:CODE
LOWscript/release/util.py563def get_proofwidgets_release_for(grepo: Repository, version: Version) -> Tag | None:CODE
LOWscript/release/util.py573def get_next_proofwidgets_release(grepo: Repository) -> str:CODE
LOWscript/release/util.py586def get_lean_unicode_basic_release_for(CODE
LOWdoc/examples/IJCAR2026/analyze_grind_loc.py155def find_grind_introduction_commit(repo: str, file_path: str, decl_name: str) -> str | None:CODE
Redundant / Tautological Comments11 hits · 18 pts
SeverityFileLineSnippetContext
LOWtests/lake/tests/init/online-test.sh21echo "# Check if elan exists"CODE
LOWtests/lake/tests/llvm-bitcode-gen/test.sh9echo "# Check if LLVM enabled"CODE
LOWtests/lake/tests/toolchain/test.sh7echo "# Check if elan exists"CODE
LOWscript/build_artifact.py226 # Check if the desired artifact exists for this runCOMMENT
LOWscript/rebase-stage0.sh13# Check if an argument is providedCOMMENT
LOW.github/workflows/grove.yml31 # Check if it's a push to master (no PR number and target branch is master)COMMENT
LOW.github/workflows/grove.yml41 # Check if it's a PR with grove labelCOMMENT
LOW⚡doc/examples/IJCAR2026/analyze_grind_loc.py208 # Check if this declaration existed before this commit (without grind)COMMENT
LOW⚡doc/examples/IJCAR2026/analyze_grind_loc.py214 # Check if declaration existed in parentCOMMENT
LOW⚡doc/examples/IJCAR2026/analyze_grind_loc.py220 # Check if declaration existed and didn't have grindCOMMENT
LOW⚡doc/examples/IJCAR2026/analyze_grind_loc.py224 # Check if it already had grind in parentCOMMENT
Deep Nesting17 hits · 16 pts
SeverityFileLineSnippetContext
LOWstage0/src/bin/lean-gdb.py79CODE
LOWtests/measure.py65CODE
LOWtests/combine.py35CODE
LOWtests/trace_timings.py102CODE
LOWtests/trace_timings.py138CODE
LOWtests/lint.py36CODE
LOWtests/lake/tests/cacheTransfer/server.py222CODE
LOWtests/lake/tests/cacheTransfer/server.py235CODE
LOWtests/lake/tests/cacheTransfer/server.py248CODE
LOW.claude/skills/zulip-extract/zulip_thread_extract.py216CODE
LOWscript/build_artifact.py189CODE
LOWscript/gen_constants_cpp.py27CODE
LOWscript/release/checklist.py254CODE
LOWscript/release/release_notes.py147CODE
LOWscript/release/release_notes.py237CODE
LOWdoc/examples/IJCAR2026/analyze_grind_loc.py155CODE
LOWsrc/bin/lean-gdb.py79CODE
Self-Referential Comments5 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMstage0/stdlib/Lake/CLI/Init.c193static const lean_string_object l___private_Lake_CLI_Init_0__Lake_mathUpdateActionWorkflowContents___closed__0_value = {CODE
MEDIUMtests/lake/tests/cache/test.sh100# Create a test module that can be arbitrarily edited and cachedCOMMENT
MEDIUMtests/lake/tests/ltarStable/test.sh14# Create a Git-ignored `Test/A.lean` to edit laterCOMMENT
MEDIUMtests/compile_bench/incr_header_load.lean.before.sh2# Create the snapshot the bench reads. Runs outside the measured binary so theCOMMENT
MEDIUMtests/pkg/signal/run_test.sh4# Create a named pipe for communicationCOMMENT
Structural Annotation Overuse7 hits · 10 pts
SeverityFileLineSnippetContext
LOWtests/lake/tests/init/online-test.sh10# WARNING: This test of the `math` template will fail unless Mathlib and LeanCOMMENT
LOW.claude/skills/release-highlights/SKILL.md29### Step 1: Gather contextCOMMENT
LOW.claude/skills/release-highlights/SKILL.md41### Step 2: Select highlightsCOMMENT
LOW.claude/skills/release-highlights/SKILL.md91### Step 3: Write the highlightsCOMMENT
LOW.claude/skills/release-highlights/SKILL.md159### Step 4: Library highlightsCOMMENT
LOW.claude/skills/release-highlights/SKILL.md168### Step 5: ReviewCOMMENT
LOW.claude/skills/release-highlights/SKILL.md179### Step 6: Post-processing — Link to the reference manualCOMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICAL.github/workflows/adaptation-pr.yml34 const shortSha = context.payload.pull_request.head.sha.substring(0, 7);CODE
Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/markdown_conformance/spec.txt9492 "Lorem ipsum dolor\nsit amet."CODE
LOWtests/markdown_conformance/spec.txt9551> Lorem ipsum dolorCODE
LOWtests/markdown_conformance/spec.txt9566> Lorem ipsum dolorCODE
LOWtests/markdown_conformance/spec.txt9578 "Lorem ipsum dolor"CODE
LOWtests/markdown_conformance/spec.txt9594 "Lorem ipsum dolor\nsit amet."CODE
LOWtests/markdown_conformance/spec.txt9612 "Lorem ipsum dolor\nsit amet."CODE
LOWtests/markdown_conformance/spec.txt9634 "Lorem ipsum dolor\nsit amet."CODE
LOWtests/markdown_conformance/spec.txt9657 str "Lorem ipsum dolor"CODE
Excessive Try-Catch Wrapping5 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMscript/gen_tokens_cpp.py19 print("Error: %s" % msg)CODE
MEDIUMscript/gen_constants_cpp.py19 print("Error: %s" % msg)CODE
LOWscript/release/util.py256 except Exception: # noqa: BLE001CODE
LOWscript/release/util.py319 except Exception: # noqa: BLE001CODE
MEDIUMscript/release/util.py314def get_github_instance() -> Github:CODE
Unused Imports6 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/bench/report.py5CODE
LOWtests/bench/report.py6CODE
LOWtests/bench/report.py10CODE
LOWtests/bench/report.py12CODE
LOWdoc/examples/IJCAR2026/analyze_grind_loc.py15CODE
LOWdoc/examples/IJCAR2026/analyze_grind_loc.py18CODE
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtests/lake/tests/toml/tests/valid/spec/table-9.toml8[fruit.apple.texture] # you can add sub-tablesCODE
MEDIUMtests/lake/tests/toml/tests/invalid/spec/table-9-1.toml8[fruit.apple.texture] # you can add sub-tablesCODE
MEDIUMtests/lake/tests/toml/tests/invalid/spec/table-9-0.toml8[fruit.apple.texture] # you can add sub-tablesCODE
Dead Code3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMscript/gen_constants_cpp.py95CODE
MEDIUMscript/gen_constants_cpp.py103CODE
MEDIUMscript/gen_constants_cpp.py104CODE
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscript/release/util.py455def set_cmake_version(lrepo: LocalRepo, version: CMakeVersion) -> None:CODE
LOW⚡script/release/util.py525def set_toolchain(path: Path, tag: str) -> None:CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscript/refresh-cmake-deps.sh15# Usage:COMMENT