AI Slop Code Risk Monitor

jank-lang/jank

SlopCodeMonitor badge for jank-lang/jank Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

jank is the native Clojure dialect with seamless C++ interop.

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for jank-lang/jank, a C++ project with 3,371 GitHub stars. SynthScan examined 98,309 lines of code across 680 source files, recording 94 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 1.1 (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.

1.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
3.4K
Stars
C++
Language
98.3K
Lines of Code
680
Files
94
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 3.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.5/100 · LOW

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

Agent Over-Engineering Ratio 1.1/100 · LOW

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

PR Review Velocity Impact 5.3/100 · LOW

Which changes need focused human review? 94 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 0MEDIUM 7LOW 87

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 94 distinct pattern matches across 3 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 Block74 hits · 74 pts
SeverityFileLineSnippetContext
LOWcompiler+runtime/CMakeLists.txt401# of our third party libraries like folly, zip, bdwgc, cpptrace, and so on.COMMENT
LOWcompiler+runtime/test/cpp/main.cpp1#define DOCTEST_CONFIG_IMPLEMENTCOMMENT
LOWcompiler+runtime/test/cpp/jank/read/parse.cpp1#include <unistd.h>COMMENT
LOWcompiler+runtime/test/cpp/jank/jit/processor.cpp1#include <filesystem>COMMENT
LOWcompiler+runtime/include/cpp/jtl/immutable_string.hpp761 * picks this up, so we only do it when that's not looking. */COMMENT
LOWcompiler+runtime/include/cpp/jank/type.hpp1#pragma onceCOMMENT
LOWcompiler+runtime/include/cpp/jank/prelude.hpp1#pragma onceCOMMENT
LOWcompiler+runtime/include/cpp/jank/runtime/context.hpp1#pragma onceCOMMENT
LOWcompiler+runtime/include/cpp/jank/runtime/visit.hpp1#pragma onceCOMMENT
LOWcompiler+runtime/include/cpp/jank/runtime/visit.hpp21#include <jank/runtime/obj/persistent_array_map.hpp>COMMENT
LOWcompiler+runtime/include/cpp/jank/runtime/visit.hpp41#include <jank/runtime/obj/ratio.hpp>COMMENT
LOWcompiler+runtime/include/cpp/jank/runtime/visit.hpp61#include <jank/runtime/obj/reduced.hpp>COMMENT
LOW…untime/include/cpp/jank/runtime/obj/exception_info.hpp1#pragma onceCOMMENT
LOW…ler+runtime/include/cpp/jank/runtime/core/make_box.hpp1#pragma onceCOMMENT
LOW…piler+runtime/include/cpp/jank/runtime/detail/type.hpp1#pragma onceCOMMENT
LOWcompiler+runtime/include/cpp/jank/codegen/api.hpp1#pragma onceCOMMENT
LOWcompiler+runtime/include/cpp/jank/analyze/visit.hpp1#pragma onceCOMMENT
LOWcompiler+runtime/include/cpp/jank/analyze/visit.hpp21#include <jank/analyze/expr/if.hpp>COMMENT
LOW…iler+runtime/third-party/nanobench/include/nanobench.h1// __ _ _______ __ _ _____ ______ _______ __ _ _______ _ _COMMENT
LOW…iler+runtime/third-party/nanobench/include/nanobench.h21//COMMENT
LOW…iler+runtime/third-party/nanobench/include/nanobench.h41COMMENT
LOW…iler+runtime/third-party/nanobench/include/nanobench.h61COMMENT
LOW…iler+runtime/third-party/nanobench/include/nanobench.h81# define ANKERL_NANOBENCH_LOG(x) \COMMENT
LOW…iler+runtime/third-party/nanobench/include/nanobench.h101COMMENT
LOW…mpiler+runtime/third-party/nanobench/src/nanobench.cpp1// XXX: nanobench uses a single header for both .hpp and .cpp inclusion, based onCOMMENT
LOW…mpiler+runtime/third-party/nanobench/src/nanobench.cpp21// copies of the Software, and to permit persons to whom the Software isCOMMENT
LOW…mpiler+runtime/third-party/nanobench/src/nanobench.cpp41# include <algorithm> // sort, reverseCOMMENT
LOW…mpiler+runtime/third-party/nanobench/src/nanobench.cpp681# pragma clang diagnostic ignored "-Wexit-time-destructors"COMMENT
LOWcompiler+runtime/src/cpp/main.cpp1#include <cstdlib>COMMENT
LOWcompiler+runtime/src/cpp/main.cpp21#include <jank/runtime/obj/persistent_vector_sequence.hpp>COMMENT
LOWcompiler+runtime/src/cpp/main.cpp61 .call(make_box<obj::symbol>("clojure.core"));COMMENT
LOWcompiler+runtime/src/cpp/clojure/string_native.cpp1#include <ranges>COMMENT
LOWcompiler+runtime/src/cpp/clojure/data/json_native.cpp1#include <nlohmann/json.hpp>COMMENT
LOWcompiler+runtime/src/cpp/jtl/terminal.cpp1#if defined(_WIN32)COMMENT
LOWcompiler+runtime/src/cpp/jank/compiler_native.cpp1#include <jank/compiler_native.hpp>COMMENT
LOWcompiler+runtime/src/cpp/jank/c_api.cpp1#include <cstdarg>COMMENT
LOWcompiler+runtime/src/cpp/jank/terminal_repl_client.cpp1#include <cctype>COMMENT
LOWcompiler+runtime/src/cpp/jank/terminal_repl_client.cpp21#include <jank/runtime/obj/persistent_vector_sequence.hpp>COMMENT
LOWcompiler+runtime/src/cpp/jank/evaluate.cpp1#include <llvm/ExecutionEngine/Orc/LLJIT.h>COMMENT
LOWcompiler+runtime/src/cpp/jank/c_api_dynamic.cpp1#include <llvm-c/Target.h>COMMENT
LOWcompiler+runtime/src/cpp/jank/util/try.cpp1#include <algorithm>COMMENT
LOWcompiler+runtime/src/cpp/jank/util/environment.cpp1#if defined(__APPLE__)COMMENT
LOWcompiler+runtime/src/cpp/jank/util/clang.cpp1#include <filesystem>COMMENT
LOW…iler+runtime/src/cpp/jank/util/environment_dynamic.cpp1#include <fstream>COMMENT
LOWcompiler+runtime/src/cpp/jank/ir/processor.cpp1#include <jank/ir/processor.hpp>COMMENT
LOWcompiler+runtime/src/cpp/jank/ir/dominance.cpp301 //util::print("{} RPO: ", fn.name);COMMENT
LOWcompiler+runtime/src/cpp/jank/read/parse.cpp1#include <codecvt>COMMENT
LOW…piler+runtime/src/cpp/jank/runtime/context_dynamic.cpp1#include <fstream>COMMENT
LOW…piler+runtime/src/cpp/jank/runtime/context_dynamic.cpp21#include <jank/util/clang_format.hpp>COMMENT
LOWcompiler+runtime/src/cpp/jank/runtime/core.cpp1#include <algorithm>COMMENT
LOWcompiler+runtime/src/cpp/jank/runtime/context.cpp1#include <jank/read/lex.hpp>COMMENT
LOWcompiler+runtime/src/cpp/jank/runtime/var.cpp1#include <jank/runtime/var.hpp>COMMENT
LOW…time/src/cpp/jank/runtime/obj/jit_variadic_closure.cpp1#include <jank/runtime/obj/native_array_sequence.hpp>COMMENT
LOW…ime/src/cpp/jank/runtime/obj/deferred_cpp_function.cpp1#include <clang/Interpreter/Value.h>COMMENT
LOW…ime/src/cpp/jank/runtime/obj/jit_variadic_function.cpp1#include <jank/runtime/obj/jit_variadic_function.hpp>COMMENT
LOW…er+runtime/src/cpp/jank/runtime/obj/exception_info.cpp1#include <cpptrace/basic.hpp>COMMENT
LOWcompiler+runtime/src/cpp/jank/runtime/core/seq.cpp1#include <algorithm>COMMENT
LOW…runtime/src/cpp/jank/runtime/module/loader_dynamic.cpp1#include <fcntl.h>COMMENT
LOWcompiler+runtime/src/cpp/jank/runtime/module/loader.cpp1#ifdef __MINGW64__COMMENT
LOWcompiler+runtime/src/cpp/jank/runtime/module/loader.cpp21#include <jank/runtime/obj/jit_function.hpp>COMMENT
14 more matches not shown…
Excessive Try-Catch Wrapping14 hits · 21 pts
SeverityFileLineSnippetContext
LOWgdb/jank.py41 except Exception as e:CODE
LOWgdb/jank.py47 except Exception as e:CODE
LOWgdb/jank.py77 except Exception as e:CODE
LOWgdb/jank.py95 except Exception as e:CODE
LOWgdb/jank.py112 except Exception as e:CODE
LOWgdb/jank.py138 except Exception as e:CODE
LOWgdb/jank.py152 except Exception as e:CODE
MEDIUMgdb/jank.py38def jank_pr_str(val):CODE
MEDIUMgdb/jank.py44def jank_type(val):CODE
MEDIUMgdb/jank.py74def to_string(self):CODE
MEDIUMgdb/jank.py85def children(self):CODE
MEDIUMgdb/jank.py103def children(self):CODE
MEDIUMgdb/jank.py132def children(self):CODE
MEDIUMgdb/jank.py141def jank_runtime_oref(val):CODE
Fake / Example Data6 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡…test/bash/error-reporting/src/ui/long-lines/output.txt7 37 │ (defn process-data [data] (->> data (filter odd?) (map #(* % %)) (reduce +))) ;; Lorem ipsum dolor sit amet, consCODE
LOW⚡…test/bash/error-reporting/src/ui/long-lines/output.txt7 37 │ (defn process-data [data] (->> data (filter odd?) (map #(* % %)) (reduce +))) ;; Lorem ipsum dolor sit amet, consCODE
LOW⚡…test/bash/error-reporting/src/ui/long-lines/output.txt8 38 │ (defn generate-strings [n] (map (fn [i] (apply str (repeat 20 (char (+ 65 (mod i 26)))))) (range n))) ;; Lorem ipCODE
LOW⚡…test/bash/error-reporting/src/ui/long-lines/output.txt8 38 │ (defn generate-strings [n] (map (fn [i] (apply str (repeat 20 (char (+ 65 (mod i 26)))))) (range n))) ;; Lorem ipCODE
LOW⚡…test/bash/error-reporting/src/ui/long-lines/output.txt9 39 │ (defn deep-map [n] (if (zero? n) {:val} {:val n :nested (deep-map (dec n))})) ;; Lorem ipsum dolor sit amet, consCODE
LOW⚡…test/bash/error-reporting/src/ui/long-lines/output.txt9 39 │ (defn deep-map [n] (if (zero? n) {:val} {:val n :nested (deep-map (dec n))})) ;; Lorem ipsum dolor sit amet, consCODE