AI Slop Code Risk Monitor

ShiqiYu/libfacedetection

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

An open source library for face detection in images. The face detection speed can reach 1000FPS.

2.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for ShiqiYu/libfacedetection, a C++ project with 12,811 GitHub stars. SynthScan examined 29,402 lines of code across 102 source files, recording 77 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 2.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.

2.1
Adjusted Signal
2.1
Raw Pattern Score
100%
Time Factor
2026-06-28
Last Push
12.8K
Stars
C++
Language
29.4K
Lines of Code
102
Files
77
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 9.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 12.9/100 · LOW

Which changes need focused human review? 77 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 2LOW 75

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 77 distinct pattern matches across 2 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 Block75 hits · 54 pts
SeverityFileLineSnippetContext
LOWhighway/benchmark/hw_image_benchmark.cpp1#include "facedetect_hw.h"COMMENT
LOWhighway/benchmark/hw_resolution_benchmark.cpp1#include "facedetect_hw.h"COMMENT
LOWhighway/externals/doctest.h1// =============================================================COMMENT
LOWhighway/externals/doctest.h21// which uses the Boost Software License - Version 1.0COMMENT
LOWhighway/externals/doctest.h41COMMENT
LOWhighway/externals/doctest.h61COMMENT
LOWhighway/externals/doctest.h81#ifdef _MSC_VERCOMMENT
LOWhighway/externals/doctest.h101#endif // GCCCOMMENT
LOWhighway/externals/doctest.h121// == COMPILER WARNINGS HELPERS ====================================================================COMMENT
LOWhighway/externals/doctest.h141COMMENT
LOWhighway/externals/doctest.h161#define DOCTEST_MSVC_SUPPRESS_WARNING_PUSHCOMMENT
LOWhighway/externals/doctest.h321#ifndef DOCTEST_PARTS_PUBLIC_PLATFORMCOMMENT
LOWhighway/externals/doctest.h341COMMENT
LOWhighway/externals/doctest.h361// MSVC++ 8.0 _MSC_VER == 1400 (Visual Studio 2005)COMMENT
LOWhighway/externals/doctest.h381COMMENT
LOWhighway/externals/doctest.h401COMMENT
LOWhighway/externals/doctest.h421#define DOCTEST_INTERFACE DOCTEST_SYMBOL_EXPORTCOMMENT
LOWhighway/externals/doctest.h441#if DOCTEST_MSVCCOMMENT
LOWhighway/externals/doctest.h461#ifndef DOCTEST_NORETURNCOMMENT
LOWhighway/externals/doctest.h481#else // DOCTEST_MSVCCOMMENT
LOWhighway/externals/doctest.h501COMMENT
LOWhighway/externals/doctest.h521#endif // _LIBCPP_VERSIONCOMMENT
LOWhighway/externals/doctest.h561#elseCOMMENT
LOWhighway/externals/doctest.h601// should probably take a look at https://github.com/scottt/debugbreakCOMMENT
LOWhighway/externals/doctest.h621#define DOCTEST_BREAK_INTO_DEBUGGER() /* NOLINTNEXTLINE(hicpp-no-assembler) */ \COMMENT
LOWhighway/externals/doctest.h881// - if small - acts as a null terminator if strlen() is 23 (24 including the null terminator)COMMENT
LOWhighway/externals/doctest.h2901#define DOCTEST_FUNC_SCOPE_END ()COMMENT
LOWhighway/externals/doctest.h3221 doctest::assertType::assert_type, __FILE__, __LINE__, #__VA_ARGS__, __VA_ARGS__ \COMMENT
LOWhighway/externals/doctest.h3241#define DOCTEST_CHECK_FALSE_MESSAGE(cond, ...) DOCTEST_FUNC_SCOPE_BEGIN { DOCTEST_INFO(__VA_ARGS__); DOCTEST_ASSERT_IMPLCOMMENT
LOWhighway/externals/doctest.h3321#define DOCTEST_CHECK_THROWS(...) DOCTEST_ASSERT_THROWS_WITH((__VA_ARGS__), #__VA_ARGS__, DT_CHECK_THROWS, "")COMMENT
LOWhighway/externals/doctest.h3341#define DOCTEST_CHECK_THROWS_MESSAGE(expr, ...) DOCTEST_FUNC_SCOPE_BEGIN { DOCTEST_INFO(__VA_ARGS__); DOCTEST_CHECK_THROCOMMENT
LOWhighway/externals/doctest.h3401COMMENT
LOWhighway/externals/doctest.h3421#define DOCTEST_REGISTER_EXCEPTION_TRANSLATOR(signature) \COMMENT
LOWhighway/externals/doctest.h3441#define DOCTEST_REQUIRE(...) [&] { return __VA_ARGS__; }()COMMENT
LOWhighway/externals/doctest.h3461DOCTEST_RELATIONAL_OP(eq, ==)COMMENT
LOWhighway/externals/doctest.h3481#define DOCTEST_REQUIRE_GT(...) [&] { return doctest::detail::gt(__VA_ARGS__); }()COMMENT
LOWhighway/externals/doctest.h3501 }()COMMENT
LOWhighway/externals/doctest.h3521#define DOCTEST_REQUIRE_THROWS_AS(expr, ...) [&] { try { expr; } catch (__VA_ARGS__) { return true; } catch (...) { } reCOMMENT
LOWhighway/externals/doctest.h3541#define DOCTEST_WARN(...) DOCTEST_FUNC_EMPTYCOMMENT
LOWhighway/externals/doctest.h3561#define DOCTEST_WARN_GT(...) DOCTEST_FUNC_EMPTYCOMMENT
LOWhighway/externals/doctest.h3581#ifndef DOCTEST_CONFIG_NO_EXCEPTIONSCOMMENT
LOWhighway/externals/doctest.h3601#define DOCTEST_REQUIRE_THROWS_MESSAGE(expr, ...) DOCTEST_FUNC_EMPTYCOMMENT
LOWhighway/externals/doctest.h3641#undef DOCTEST_REQUIRE_EQCOMMENT
LOWhighway/externals/doctest.h3661#define DOCTEST_REQUIRE_UNARY_FALSE DOCTEST_EXCEPTION_EMPTY_FUNCCOMMENT
LOWhighway/externals/doctest.h3681#define DOCTEST_WARN_THROWS_MESSAGE(expr, ...) DOCTEST_EXCEPTION_EMPTY_FUNCCOMMENT
LOWhighway/externals/doctest.h3701#define DOCTEST_FAST_CHECK_EQ DOCTEST_CHECK_EQCOMMENT
LOWhighway/externals/doctest.h3721#define DOCTEST_FAST_REQUIRE_UNARY DOCTEST_REQUIRE_UNARYCOMMENT
LOWhighway/externals/doctest.h3741#define DOCTEST_AND_THEN(name) DOCTEST_SUBCASE(" And: " name)COMMENT
LOWhighway/externals/doctest.h3761#define REGISTER_EXCEPTION_TRANSLATOR(signature) DOCTEST_REGISTER_EXCEPTION_TRANSLATOR(signature)COMMENT
LOWhighway/externals/doctest.h3781#define CHECK(...) DOCTEST_CHECK(__VA_ARGS__)COMMENT
LOWhighway/externals/doctest.h3801#define WARN_THROWS_WITH_MESSAGE(expr, with, ...) DOCTEST_WARN_THROWS_WITH_MESSAGE(expr, with, __VA_ARGS__)COMMENT
LOWhighway/externals/doctest.h3821#define SCENARIO_METHOD(x, name) DOCTEST_SCENARIO_METHOD(x, name)COMMENT
LOWhighway/externals/doctest.h3841#define WARN_LT(...) DOCTEST_WARN_LT(__VA_ARGS__)COMMENT
LOWhighway/externals/doctest.h3861#define FAST_WARN_NE(...) DOCTEST_FAST_WARN_NE(__VA_ARGS__)COMMENT
LOWhighway/externals/doctest.h3901COMMENT
LOWhighway/externals/doctest.h3921#include <cstdlib>COMMENT
LOWhighway/externals/doctest.h3941#define DOCTEST_DECLARE_STATIC_MUTEX(name)COMMENT
LOWhighway/externals/doctest.h3961#endif // DOCTEST_PLATFORM_MACCOMMENT
LOWhighway/externals/doctest.h3981#include <io.h>COMMENT
LOWhighway/externals/doctest.h4001#if !defined(HAVE_UNISTD_H) && !defined(STDOUT_FILENO)COMMENT
15 more matches not shown…
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMrust/docs/rs-status.md3## 2026-05-04 crate and public API scaffoldCOMMENT
MEDIUMrust/src/ffi.rs14/// input. The current scaffold writes a valid empty detection result.COMMENT