AI Slop Code Risk Monitor

eunomia-bpf/bpf-developer-tutorial

SlopCodeMonitor badge for eunomia-bpf/bpf-developer-tutorial Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

eBPF Developer Tutorial: Learning eBPF Step by Step with Examples

3.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for eunomia-bpf/bpf-developer-tutorial, a C project with 4,326 GitHub stars. SynthScan examined 109,112 lines of code across 467 source files, recording 322 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 3.5 (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.

3.5
Adjusted Signal
3.5
Raw Pattern Score
100%
Time Factor
2026-10-19
Last Push
4.3K
Stars
C
Language
109.1K
Lines of Code
467
Files
322
Pattern Hits
2026-10-31
Scan Date
0.01
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 11.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.0/100 · LOW

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

Agent Over-Engineering Ratio 6.6/100 · LOW

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

PR Review Velocity Impact 16.5/100 · LOW

Which changes need focused human review? 322 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 4MEDIUM 26LOW 292

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 322 distinct pattern matches across 17 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 Block93 hits · 93 pts
SeverityFileLineSnippetContext
LOWsrc/26-sudo/common.h1// SPDX-License-Identifier: BSD-3-ClauseCOMMENT
LOWsrc/32-wallclock-profiler/oncputime.c1// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)COMMENT
LOWsrc/32-wallclock-profiler/common.h1// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)COMMENT
LOWsrc/32-wallclock-profiler/arg_parse.h1// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)COMMENT
LOWsrc/32-wallclock-profiler/offcputime.c1// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)COMMENT
LOWsrc/32-wallclock-profiler/tests/test_multithread.c1#define _GNU_SOURCECOMMENT
LOWsrc/32-wallclock-profiler/tests/double_bandwidth.cpp1/**COMMENT
LOWsrc/46-xdp-test/test_udp_pkt.h1#ifndef TEST_UDP_PKT_HCOMMENT
LOWsrc/46-xdp-test/xdp-pktgen.c1/* SPDX-License-Identifier: MIT */COMMENT
LOWsrc/46-xdp-test/xdp-pktgen.c21#include <bpf/bpf_endian.h>COMMENT
LOWsrc/54-exec-image-inspector/README.zh.md161COMMENT
LOWsrc/54-exec-image-inspector/README.md161COMMENT
LOWsrc/54-exec-image-inspector/exec_image_inspector.bpf.c1// SPDX-License-Identifier: GPL-2.0COMMENT
LOWsrc/54-exec-image-inspector/exec_image_inspector.c1// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)COMMENT
LOWsrc/51-tcp-quarantine/tcp_quarantine.c1// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)COMMENT
LOWsrc/48-energy/energy_monitor.c1// SPDX-License-Identifier: GPL-2.0 OR BSD-3-ClauseCOMMENT
LOWsrc/35-user-ringbuf/user_ringbuf.c1// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)COMMENT
LOWsrc/49-hid/hid-input-modifier.c1// SPDX-License-Identifier: GPL-2.0COMMENT
LOWsrc/49-hid/hid_bpf_helpers.h21 enum hid_class_request reqtype) __ksym;COMMENT
LOWsrc/49-hid/hid_bpf_helpers.h41#define BUS_ADB 0x17COMMENT
LOWsrc/49-hid/hid_bpf_helpers.h141 _9, _10, _11, _12, _13, _14, _15,\COMMENT
LOWsrc/13-tcpconnlat/tcpconnlat.c1// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)COMMENT
LOWsrc/xpu/flamegraph/combined_flamegraph.pl1#!/usr/bin/perl -wCOMMENT
LOWsrc/xpu/flamegraph/combined_flamegraph.pl21# stackcollapse-perf.pl, for DTrace using stackcollapse.pl, and for other toolsCOMMENT
LOWsrc/xpu/flamegraph/combined_flamegraph.pl41# The output flame graph shows relative presence of functions in stack samples.COMMENT
LOWsrc/xpu/flamegraph/combined_flamegraph.pl61# was in turn inspired by the work on vftrace by Jan Boerhout". See:COMMENT
LOWsrc/xpu/flamegraph/combined_flamegraph.pl81# If applicable, add the following below this CDDL HEADER, with theCOMMENT
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py2261 super().__init__(*args, **kwargs)COMMENT
LOWsrc/xpu/flamegraph/cupti_trace/helper_cupti.h21#ifndef EXIT_WAIVEDCOMMENT
LOWsrc/xpu/flamegraph/cupti_trace/helper_cupti_activity.h21#include <stdlib.h>COMMENT
LOW…c/xpu/flamegraph/cupti_trace/cupti_trace_injection.cpp41// CUPTI headersCOMMENT
LOWsrc/xpu/flamegraph/profiler/src/main.rs41 sw_event: bool,COMMENT
LOWsrc/features/bpf_token/token_userns_demo.c1// SPDX-License-Identifier: GPL-2.0COMMENT
LOWsrc/features/bpf_token/token_trace.c1// SPDX-License-Identifier: GPL-2.0COMMENT
LOWsrc/features/dynptr/README.zh.md201NULL 检查模式至关重要。如果请求的偏移量加长度超过包边界,或者由于其他原因无法访问数据,每个切片调用都可能失败。在使用返回的指针之前检查 NULL 是必须的。COMMENT
LOWsrc/features/dynptr/README.md201The NULL check pattern is crucial. Each slice call can fail if the requested offset plus length exceeds packet bounds orCOMMENT
LOWsrc/features/dynptr/dynptr_tc.c1// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)COMMENT
LOWsrc/features/dynptr/dynptr_tc.bpf.c1// SPDX-License-Identifier: GPL-2.0COMMENT
LOWsrc/features/bpf_arena/README.zh.md181COMMENT
LOWsrc/features/bpf_arena/README.md181COMMENT
LOWsrc/features/bpf_arena/bpf_arena_common.h41#define __arenaCOMMENT
LOWsrc/features/struct_ops/module/compact.h1// Compatible for lower kernel versions. No need in 6.11.COMMENT
LOWsrc/17-biopattern/biopattern.c1// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)COMMENT
LOWsrc/17-biopattern/trace_helpers.c1/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */COMMENT
LOWsrc/cgroup/README.zh.md301// SPDX-License-Identifier: GPL-2.0 OR BSD-3-ClauseCOMMENT
LOWsrc/cgroup/README.md301// SPDX-License-Identifier: GPL-2.0 OR BSD-3-ClauseCOMMENT
LOWsrc/cgroup/cgroup_guard.c1// SPDX-License-Identifier: GPL-2.0 OR BSD-3-ClauseCOMMENT
LOWsrc/30-sslsniff/sslsniff.c1// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)COMMENT
LOWsrc/30-sslsniff/sslsniff.bpf.c1// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)COMMENT
LOWsrc/44-scx-simple/include/scx/common.bpf.h1/* SPDX-License-Identifier: GPL-2.0 */COMMENT
LOWsrc/45-scx-nest/include/scx/common.bpf.h1/* SPDX-License-Identifier: GPL-2.0 */COMMENT
LOWsrc/16-memleak/memleak.c1// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)COMMENT
LOWsrc/16-memleak/trace_helpers.c1/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */COMMENT
LOWsrc/53-egress-pacer/egress_pacer.c1// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)COMMENT
LOWsrc/24-hide/pidhide.h1// SPDX-License-Identifier: BSD-3-ClauseCOMMENT
LOWsrc/24-hide/pidhide.c1// SPDX-License-Identifier: BSD-3-ClauseCOMMENT
LOWsrc/42-xdp-loadbalancer/xdp_lb.bpf.c1// xdp_lb.bpf.cCOMMENT
LOWsrc/34-syscall/exechijack.h1// SPDX-License-Identifier: BSD-3-ClauseCOMMENT
LOWsrc/47-cuda-events/cuda_events.c1// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)COMMENT
LOWsrc/52-fsession-latency/README.zh.md141COMMENT
33 more matches not shown…
Excessive Try-Catch Wrapping46 hits · 68 pts
SeverityFileLineSnippetContext
LOW.github/check_links.py95 except Exception as e:CODE
MEDIUM.github/check_links.py96 print(f"Error reading {filepath}: {e}")CODE
LOW.github/check_links.py136 except Exception as e:CODE
MEDIUM⚡src/32-wallclock-profiler/wallclock_profiler.py383 print(f"Error setting up FlameGraph tools: {e}")CODE
MEDIUM⚡src/32-wallclock-profiler/wallclock_profiler.py423 print(f"Error creating custom flamegraph script: {e}")CODE
MEDIUM⚡src/32-wallclock-profiler/wallclock_profiler.py623 print(f"Error generating flamegraph {svg_file}: {result.stderr}")CODE
MEDIUM⚡src/32-wallclock-profiler/wallclock_profiler.py626 print(f"Error running flamegraph.pl: {e}")CODE
MEDIUMsrc/32-wallclock-profiler/wallclock_profiler.py468 print(f"Error writing folded data: {e}")CODE
LOW⚡src/32-wallclock-profiler/wallclock_profiler.py382 except Exception as e:CODE
LOW⚡src/32-wallclock-profiler/wallclock_profiler.py422 except Exception as e:CODE
LOW⚡src/32-wallclock-profiler/wallclock_profiler.py625 except Exception as e:CODE
MEDIUM⚡src/32-wallclock-profiler/wallclock_profiler.py877 print(f"Error: Process {args.pid} does not exist", file=sys.stderr)STRING
LOWsrc/32-wallclock-profiler/wallclock_profiler.py68 except Exception:CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py94 except Exception as e:CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py120 except Exception as e:CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py233 except Exception as e:CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py257 except Exception as e:CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py467 except Exception as e:CODE
MEDIUMsrc/32-wallclock-profiler/wallclock_profiler.py915 print(f"Error: {e}", file=sys.stderr)STRING
LOWsrc/32-wallclock-profiler/wallclock_profiler.py914 except Exception as e:STRING
LOWsrc/xpu/flamegraph/gpuperf.py101 except Exception as e:CODE
MEDIUMsrc/xpu/flamegraph/gpuperf.py127 print(f"Error: CUPTI injection library not found at {self.injection_lib}", file=sys.stderr)CODE
LOWsrc/xpu/flamegraph/gpuperf.py185 except Exception as e:CODE
MEDIUMsrc/xpu/flamegraph/gpuperf.py186 print(f"Error running command: {e}", file=sys.stderr)CODE
LOWsrc/xpu/flamegraph/gpuperf.py217 except Exception as e:CODE
MEDIUMsrc/xpu/flamegraph/gpuperf.py218 print(f"Error converting trace: {e}", file=sys.stderr)CODE
LOWsrc/xpu/flamegraph/gpuperf.py286 except Exception as e:CODE
MEDIUMsrc/xpu/flamegraph/gpuperf.py287 print(f"Error generating merged trace: {e}", file=sys.stderr)CODE
MEDIUMsrc/xpu/flamegraph/gpuperf.py301 print(f"Error: Input file '{input_file}' not found", file=sys.stderr)CODE
LOW⚡src/xpu/flamegraph/gpuperf.py327 except Exception as e:CODE
MEDIUM⚡src/xpu/flamegraph/gpuperf.py328 print(f"Error converting trace: {e}", file=sys.stderr)CODE
MEDIUMsrc/xpu/flamegraph/gpuperf.py377 print("Error: CPU profiler not available", file=sys.stderr)CODE
LOWsrc/xpu/flamegraph/gpuperf.py392 except Exception as e:CODE
MEDIUMsrc/xpu/flamegraph/gpuperf.py393 print(f"Error: {e}", file=sys.stderr)CODE
MEDIUMsrc/xpu/flamegraph/merge_gpu_cpu_trace.py391 print(f"Error: CPU trace file not found: {args.cpu}", file=sys.stderr)CODE
MEDIUMsrc/xpu/flamegraph/merge_gpu_cpu_trace.py395 print(f"Error: GPU trace file not found: {args.gpu}", file=sys.stderr)CODE
MEDIUM…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py1389def set_vocab(self):CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py451 except Exception as e:CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py1392 except Exception:CODE
LOWsrc/xpu/flamegraph/qwen3.cu/header.py86 except Exception as e:CODE
LOWsrc/xpu/flamegraph/qwen3.cu/header.py100 except Exception as e:CODE
LOWsrc/xpu/flamegraph/qwen3.cu/extract_v_m.py32 except Exception:CODE
LOWsrc/xpu/flamegraph/qwen3.cu/extract_v_m.py52 except Exception:CODE
LOWsrc/xpu/flamegraph/qwen3.cu/extract_v_m.py103 except Exception:CODE
LOWsrc/xpu/flamegraph/qwen3.cu/extract_v_m.py119 except Exception:CODE
LOWsrc/53-egress-pacer/tests/test_egress_pacer.py103 except Exception as error:CODE
Hyper-Verbose Identifiers51 hits · 57 pts
SeverityFileLineSnippetContext
LOW⚡…production-tutorial/scripts/test_sync_source_blocks.py82 def test_accepts_exact_standard_markdown_fences(self) -> None:CODE
LOW⚡…production-tutorial/scripts/test_sync_source_blocks.py88 def test_rejects_stale_source_block(self) -> None:CODE
LOW⚡…production-tutorial/scripts/test_sync_source_blocks.py94 def test_rejects_duplicate_exact_source_block(self) -> None:CODE
LOW⚡…production-tutorial/scripts/test_sync_source_blocks.py102 def test_rejects_legacy_html_markers(self) -> None:CODE
LOW⚡…production-tutorial/scripts/test_sync_source_blocks.py114 def test_rejects_source_outside_repository(self) -> None:CODE
LOW⚡…production-tutorial/scripts/test_sync_source_blocks.py120 def test_rejects_readme_as_source(self) -> None:CODE
LOW⚡…production-tutorial/scripts/test_sync_source_blocks.py126 def test_rejects_incomplete_inventory(self) -> None:CODE
LOW⚡…production-tutorial/scripts/test_sync_source_blocks.py134 def test_rejects_unsupported_source_type(self) -> None:CODE
LOW⚡…production-tutorial/scripts/test_sync_source_blocks.py142 def test_accepts_longer_fence_for_source_with_backticks(self) -> None:CODE
LOW⚡…production-tutorial/scripts/test_sync_source_blocks.py150 def test_rejects_empty_source(self) -> None:CODE
LOW⚡…production-tutorial/scripts/test_sync_source_blocks.py157 def test_rejects_source_without_final_lf(self) -> None:CODE
LOW⚡…production-tutorial/scripts/test_sync_source_blocks.py164 def test_requires_bilingual_pair(self) -> None:CODE
LOW⚡…production-tutorial/scripts/test_sync_source_blocks.py172 def test_rejects_unclosed_fence(self) -> None:CODE
LOW⚡scripts/test_generate_compatibility.py20 def test_every_tutorial_has_valid_metadata(self):CODE
LOW⚡scripts/test_generate_compatibility.py28 def test_bilingual_tables_contain_every_tutorial(self):CODE
LOW⚡scripts/test_generate_compatibility.py37 def test_missing_field_is_rejected(self):CODE
LOWscripts/test_generate_compatibility.py50 def test_required_btf_config_is_enforced(self):CODE
LOWscripts/test_generate_compatibility.py64 def test_duplicate_config_field_is_rejected(self):CODE
LOWscripts/test_generate_compatibility.py71 def test_empty_csv_item_is_rejected(self):CODE
LOWscripts/test_generate_compatibility.py85 def test_per_arch_kernel_min_covers_all_architectures(self):CODE
LOWscripts/test_generate_compatibility.py99 def test_not_applicable_basis_requires_not_applicable_kernel(self):CODE
LOWscripts/test_generate_compatibility.py113 def test_repository_baseline_is_consistent(self):CODE
LOWscripts/rename.py3def rename_readme_en_to_readme(base_dir):CODE
LOWscripts/rename.py15def rename_readme_to_readme_zh(base_dir):CODE
LOWscripts/test_generate_toc.py38 def test_english_and_chinese_indexes_contain_the_same_lessons(self):CODE
LOWscripts/test_generate_toc.py41 def test_chinese_tracing_subsection_contains_all_tracing_lessons(self):CODE
LOWscripts/generate_compatibility.py86def _validate_per_arch_kernel(path: Path, value: str, architectures: list[str]) -> None:CODE
LOWscripts/generate_toc.py276def generate_file_from_template(template_path, output_path, toc_content):CODE
LOWscripts/test_check_internal_links.py9 def test_accepts_existing_paths_and_ignores_non_file_links(self):CODE
LOWscripts/test_check_internal_links.py43 def test_reports_missing_relative_link_with_source_line(self):CODE
LOWscripts/test_check_internal_links.py57 def test_reports_missing_reference_destination(self):CODE
LOWscripts/test_check_internal_links.py70 def test_closes_fence_only_with_a_long_enough_matching_delimiter(self):CODE
LOW.github/check_links.py242 def _generate_markdown_report(self):CODE
LOW⚡src/32-wallclock-profiler/wallclock_profiler.py386 def create_custom_flamegraph_script(self, original_script, custom_script):CODE
LOW⚡src/32-wallclock-profiler/wallclock_profiler.py437 def generate_single_flamegraph(self, output_prefix):CODE
LOW⚡src/32-wallclock-profiler/wallclock_profiler.py632 def generate_individual_thread_analysis(self, analysis_file, tid, thread_data, combined_stacks, role):CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py156 def profile_individual_threads(self, threads):CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py213 def _profile_thread_oncpu_worker(self, tid, thread_data):CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py237 def _profile_thread_offcpu_worker(self, tid, thread_data):CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py277 def normalize_and_combine_stacks(self):CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py494 def generate_multithread_flamegraphs(self, output_prefix):CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py684 def generate_thread_analysis_file(self, output_dir, base_name):CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py798 def generate_single_thread_analysis_file(self, output_prefix, single_thread_times):CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py937 def _create_vocab_sentencepiece(self):CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py2248 def _ffn_mult_to_intermediate_size(ffn_mult: float, n_embd: int) -> int:CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py3476 def shuffle_attn_output_weight(self, data_torch):CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py3860 def _xlmroberta_tokenizer_init(self) -> None:CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py6602 def meta_with_dtype_and_shape(cls, dtype: torch.dtype, shape: tuple[int, ...]) -> Tensor:CODE
LOWsrc/42-xdp-loadbalancer/simple_http_server.py12class SimpleHTTPRequestHandler(http.server.SimpleHTTPRequestHandler):CODE
LOWsrc/52-fsession-latency/tests/test_fsession_latency.py92 def generate_continuous_reads() -> None:CODE
LOWsrc/50-tcx/tests/test_tcx_demo.py42def generate_loopback_traffic() -> None:CODE
Deep Nesting56 hits · 40 pts
SeverityFileLineSnippetContext
LOWscripts/check_internal_links.py85CODE
LOWscripts/check_internal_links.py146CODE
LOWscripts/generate_toc.py5CODE
LOWscripts/generate_toc.py138CODE
LOW.github/check_links.py77CODE
LOW.github/check_links.py155CODE
LOW.github/check_links.py289CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py494CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py548CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py565CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py600CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py684CODE
LOW…xec-image-inspector/tests/test_exec_image_inspector.py73CODE
LOWsrc/xpu/flamegraph/cupti_trace_parser.py34CODE
LOWsrc/xpu/flamegraph/merge_gpu_cpu_trace.py67CODE
LOWsrc/xpu/flamegraph/merge_gpu_cpu_trace.py131CODE
LOWsrc/xpu/flamegraph/merge_gpu_cpu_trace.py189CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py6712CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py153CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py256CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py622CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py937CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py1132CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py1548CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py1758CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py1951CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py2010CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py2260CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py2386CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py2476CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py2855CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py3102CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py3218CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py3403CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py3542CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py3720CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py3869CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py4457CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py5057CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py5201CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py5293CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py5383CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py5489CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py5627CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py5764CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py6010CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py6241CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py6387CODE
LOWsrc/xpu/flamegraph/qwen3.cu/header.py18CODE
LOWsrc/xpu/flamegraph/qwen3.cu/extract_v_m.py39CODE
LOWsrc/xpu/flamegraph/qwen3.cu/extract_v_m.py58CODE
LOWsrc/53-egress-pacer/tests/test_egress_pacer.py62CODE
LOWsrc/53-egress-pacer/tests/test_egress_pacer.py83CODE
LOWsrc/53-egress-pacer/tests/test_egress_pacer.py111CODE
LOWsrc/52-fsession-latency/tests/test_fsession_latency.py26CODE
LOWsrc/50-tcx/tests/test_tcx_demo.py21CODE
Redundant / Tautological Comments19 hits · 28 pts
SeverityFileLineSnippetContext
LOW.github/workflows/test-bpftrace.yml53 # Check if bpftrace successfully attached and traced the functionCOMMENT
LOW⚡src/32-wallclock-profiler/wallclock_profiler.py429 # Check if multi-threadedCOMMENT
LOWsrc/32-wallclock-profiler/wallclock_profiler.py39 # Check if tools existCOMMENT
LOWsrc/32-wallclock-profiler/wallclock_profiler.py125 # Check if multi-threaded firstCOMMENT
LOW⚡src/32-wallclock-profiler/wallclock_profiler.py868 # Check if running as rootSTRING
LOW⚡src/32-wallclock-profiler/wallclock_profiler.py873 # Check if PID existsSTRING
LOWsrc/32-wallclock-profiler/tests/run_combined_test.sh33# Check if running as rootCOMMENT
LOWsrc/32-wallclock-profiler/tests/run_memory_bandwidth.sh41# Check if running as rootCOMMENT
LOWsrc/32-wallclock-profiler/tests/run_multithread_test.sh39# Check if running as rootCOMMENT
LOWsrc/48-energy/energy_monitor_traditional.sh119 # Check if we should exitCOMMENT
LOWsrc/48-energy/compare_monitors.sh10# Check if we're running as root (required for eBPF)COMMENT
LOWsrc/xpu/flamegraph/gpuperf.py125 # Check if injection library exists (only if we're doing GPU profiling)COMMENT
LOW⚡src/xpu/flamegraph/gpuperf.py332 # Check if first argument is 'convert' for conversion modeCOMMENT
LOWsrc/xpu/flamegraph/merge_gpu_cpu_trace.py227 # Check if counts match for sequential matchingCOMMENT
LOWsrc/xpu/flamegraph/merge_gpu_cpu_trace.py277 # Check if GPU exhaustedCOMMENT
LOWsrc/xpu/flamegraph/merge_gpu_cpu_trace.py283 # Check if current GPU is within windowCOMMENT
LOWsrc/cgroup/test.sh55# Check if running as rootCOMMENT
LOWsrc/42-xdp-loadbalancer/setup.sh101# Check if all interfaces are up and runningCOMMENT
LOWsrc/42-xdp-loadbalancer/setup.sh145# Check if firewall rules are blocking trafficCOMMENT
Structural Annotation Overuse14 hits · 21 pts
SeverityFileLineSnippetContext
LOWsrc/xpu/flamegraph/README.md216 # Step 1: Find the cudaLaunchKernel runtime call that happenedCOMMENT
LOWsrc/xpu/flamegraph/README.md230 # Step 2: Use the correlation ID from the launch event to find theCOMMENT
LOWsrc/xpu/flamegraph/README.md343### Step 1: Build the CUPTI Injection LibraryCOMMENT
LOWsrc/xpu/flamegraph/README.md367### Step 2: Build the Rust eBPF ProfilerCOMMENT
LOWsrc/xpu/flamegraph/README.md396### Step 3: Build the Mock LLM ApplicationCOMMENT
LOWsrc/xpu/flamegraph/README.md426### Step 4: Build the Real LLM Inference ApplicationCOMMENT
LOWsrc/xpu/flamegraph/README.md529### Step 5: Generate the FlamegraphCOMMENT
LOWsrc/features/bpf_token/README.md149### Step 1: Fork and Create NamespacesCOMMENT
LOWsrc/features/bpf_token/README.md163### Step 2: Create bpffs and Configure DelegationCOMMENT
LOWsrc/features/bpf_token/README.md184### Step 3: Mount and LoadCOMMENT
LOWsrc/50-tcx/README.md125### Step 1: Attach the First ProgramCOMMENT
LOWsrc/50-tcx/README.md134### Step 2: Insert the Second Program Before the FirstCOMMENT
LOWsrc/50-tcx/README.md149### Step 3: Query the ChainCOMMENT
LOWsrc/50-tcx/README.md169### Step 4: Stay Attached and Observe TrafficCOMMENT
Unused Imports21 hits · 20 pts
SeverityFileLineSnippetContext
LOW…production-tutorial/scripts/test_sync_source_blocks.py4CODE
LOW…-bpf-production-tutorial/scripts/sync-source-blocks.py4CODE
LOWscripts/check_internal_links.py4CODE
LOWscripts/generate_compatibility.py4CODE
LOW.github/check_links.py24CODE
LOW.github/check_links.py24CODE
LOW.github/check_links.py26CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py19CODE
LOWsrc/32-wallclock-profiler/wallclock_profiler.py21CODE
LOW…xec-image-inspector/tests/test_exec_image_inspector.py4CODE
LOWsrc/51-tcp-quarantine/tests/test_tcp_quarantine.py4CODE
LOWsrc/xpu/flamegraph/merge_gpu_cpu_trace.py13CODE
LOWsrc/xpu/flamegraph/merge_gpu_cpu_trace.py13CODE
LOWsrc/xpu/flamegraph/merge_gpu_cpu_trace.py13CODE
LOWsrc/xpu/flamegraph/merge_gpu_cpu_trace.py13CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py4CODE
LOWsrc/xpu/flamegraph/qwen3.cu/extract_v_m.py3CODE
LOWsrc/xpu/flamegraph/qwen3.cu/extract_v_m.py6CODE
LOWsrc/53-egress-pacer/tests/test_egress_pacer.py4CODE
LOWsrc/52-fsession-latency/tests/test_fsession_latency.py4CODE
LOWsrc/50-tcx/tests/test_tcx_demo.py4CODE
Empty Error Handlers4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHsrc/xpu/flamegraph/gpuperf.py224except:CODE
HIGHsrc/xpu/flamegraph/gpuperf.py294except:CODE
HIGH…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py4560except KeyError:CODE
HIGHsrc/xpu/flamegraph/qwen3.cu/extract_v_m.py82except:CODE
Self-Referential Comments5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMscripts/generate_toc.py4# Define a function to walk through the directory and generate the TOC structureCOMMENT
MEDIUMscripts/generate_toc.py137# Define a function to walk through the directory and generate the TOC structure in ChineseCOMMENT
MEDIUMsrc/32-wallclock-profiler/wallclock_profiler.py353 # Create a custom flamegraph script with our color paletteCOMMENT
MEDIUMsrc/cgroup/test.sh90# Create a temp file outside the test for output (since /dev/null is blocked in cgroup)COMMENT
MEDIUMsrc/42-xdp-loadbalancer/setup.sh56# Create the lb namespaceCOMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMsrc/18-further-reading/README.zh.md91## SPRIGHT: extracting the server from serverless computing! high-performance eBPF-based event-driven, shared-memory proCOMMENT
MEDIUMsrc/18-further-reading/README.md93## SPRIGHT: extracting the server from serverless computing! high-performance eBPF-based event-driven, shared-memory proCOMMENT
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py858 def _set_vocab_none(self) -> None:CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py861 def _set_vocab_gpt2(self) -> None:CODE
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py4103 def set_vocab(self) -> None:CODE
LOWsrc/xpu/flamegraph/qwen3.cu/header.py5logger = logging.getLogger(__name__)CODE
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsrc/32-wallclock-profiler/tests/test_multithread.c246 "Request %d chunk %d: Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n",CODE
LOWsrc/32-wallclock-profiler/tests/test_multithread.c246 "Request %d chunk %d: Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n",CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/rename.py27# Example usageCOMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/32-wallclock-profiler/wallclock_profiler.py341 # If no normalization needed, just add off-CPU stacks as-isCOMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py646 # To avoid unexpected issues - we make sure to normalize non-normalized tokensCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py4461 # TODO: implement self.prediction_coefs.weight.clamp_(...)COMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…/xpu/flamegraph/qwen3.cu/convert_hf_to_gguf_ordered.py84CODE