AI Slop Code Risk Monitor

facebook/yoga

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

Yoga is an embeddable layout engine targeting web standards.

1.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for facebook/yoga, a C++ project with 18,937 GitHub stars. SynthScan examined 82,487 lines of code across 324 source files, recording 187 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.4
Adjusted Signal
1.4
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
18.9K
Stars
C++
Language
82.5K
Lines of Code
324
Files
187
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 7.0/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 187 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.1/100 · LOW

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

PR Review Velocity Impact 10.8/100 · LOW

Which changes need focused human review? 187 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 1LOW 186

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 187 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 Block185 hits · 115 pts
SeverityFileLineSnippetContext
LOWenums.py81 ("StretchFlexBasis", 1 << 0),COMMENT
LOWyoga/YGMacros.h1/*COMMENT
LOWyoga/YGMacros.h21COMMENT
LOWyoga/YGMacros.h41#if __has_include(<Foundation/Foundation.h>)COMMENT
LOWyoga/style/Style.h21#include <yoga/enums/Direction.h>COMMENT
LOWyoga/algorithm/FlexLine.h41 // List of children which are part of the line flow. This means they are notCOMMENT
LOWyoga/algorithm/CalculateLayout.cpp1/*COMMENT
LOWyoga/algorithm/CalculateLayout.cpp21#include <yoga/algorithm/BoundAxis.h>COMMENT
LOWyoga/algorithm/CalculateLayout.cpp821 (child->getLayout().computedFlexBasis.unwrap() +COMMENT
LOWyoga/algorithm/CalculateLayout.cpp841// respond with longest-word width; image/collection-like measuresCOMMENT
LOWyoga/algorithm/CalculateLayout.cpp1401 // By excluding this item's size and flex factor from remaining, thisCOMMENT
LOWyoga/algorithm/CalculateLayout.cpp1421// remaining space amongst the items whose min/max constraints didn't trigger inCOMMENT
LOWyoga/algorithm/CalculateLayout.cpp1701 }COMMENT
LOWyoga/algorithm/CalculateLayout.cpp1721//COMMENT
LOWyoga/algorithm/CalculateLayout.cpp1741// - heightSizingMode: indicates the sizing rules for the height (see belowCOMMENT
LOWyoga/algorithm/PixelGrid.cpp21 const double pointScaleFactor,COMMENT
LOWyoga/algorithm/PixelGrid.cpp41 // - x = -2.2: floor(-2.2) = -3, ceil(-2.2) = -2COMMENT
LOWyoga/algorithm/FlexLine.cpp81COMMENT
LOWyoga/node/LayoutResults.h21COMMENT
LOWtests/YGContentsNodeHasNewLayoutTest.cpp61COMMENT
LOWtests/YGContentsNodeHasNewLayoutTest.cpp121 "to it";COMMENT
LOWtests/YGFlexWrapRoundingTest.cpp21 const float* measuredWidth =COMMENT
LOWtests/YGFirstChildMinWidthTest.cpp1/*COMMENT
LOWjava/jni/YGJNIVanilla.cpp1/*COMMENT
LOWlib/nlohmann/json.hpp21#include <algorithm> // all_of, find, for_eachCOMMENT
LOWlib/nlohmann/json.hpp41// SPDX-License-Identifier: MITCOMMENT
LOWlib/nlohmann/json.hpp61 #if defined(NLOHMANN_JSON_VERSION_MAJOR) && defined(NLOHMANN_JSON_VERSION_MINOR) && defined(NLOHMANN_JSON_VERSION_PACOMMENT
LOWlib/nlohmann/json.hpp81 #define NLOHMANN_JSON_ABI_TAG_DIAGNOSTICS _diagCOMMENT
LOWlib/nlohmann/json.hpp141#endifCOMMENT
LOWlib/nlohmann/json.hpp161#include <array> // arrayCOMMENT
LOWlib/nlohmann/json.hpp181COMMENT
LOWlib/nlohmann/json.hpp201COMMENT
LOWlib/nlohmann/json.hpp221// __ _____ _____ _____COMMENT
LOWlib/nlohmann/json.hpp321// __ _____ _____ _____COMMENT
LOWlib/nlohmann/json.hpp341 #undef JSON_HEDLEY_STRINGIFY_EXCOMMENT
LOWlib/nlohmann/json.hpp361 #undef JSON_HEDLEY_CONCAT3_EXCOMMENT
LOWlib/nlohmann/json.hpp381 #undef JSON_HEDLEY_VERSION_DECODE_MINORCOMMENT
LOWlib/nlohmann/json.hpp401#endifCOMMENT
LOWlib/nlohmann/json.hpp421#endifCOMMENT
LOWlib/nlohmann/json.hpp441#if defined(JSON_HEDLEY_INTEL_VERSION_CHECK)COMMENT
LOWlib/nlohmann/json.hpp461 #define JSON_HEDLEY_INTEL_CL_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_INTEL_CL_VERSION >= JSON_HEDLEY_VERSION_ECOMMENT
LOWlib/nlohmann/json.hpp481COMMENT
LOWlib/nlohmann/json.hpp501 #define JSON_HEDLEY_SUNPRO_VERSION_CHECK(major,minor,patch) (0)COMMENT
LOWlib/nlohmann/json.hpp521 #undef JSON_HEDLEY_ARM_VERSIONCOMMENT
LOWlib/nlohmann/json.hpp541#if defined(__ibmxl__)COMMENT
LOWlib/nlohmann/json.hpp561#if \COMMENT
LOWlib/nlohmann/json.hpp581COMMENT
LOWlib/nlohmann/json.hpp601#if defined(__TI_COMPILER_VERSION__) && defined(__MSP430__)COMMENT
LOWlib/nlohmann/json.hpp621#if defined(JSON_HEDLEY_TI_ARMCL_VERSION_CHECK)COMMENT
LOWlib/nlohmann/json.hpp641 #define JSON_HEDLEY_TI_CL6X_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_TI_CL6X_VERSION >= JSON_HEDLEY_VERSION_ENCCOMMENT
LOWlib/nlohmann/json.hpp661COMMENT
LOWlib/nlohmann/json.hpp681#if defined(_CRAYC)COMMENT
LOWlib/nlohmann/json.hpp701#if defined(__IAR_SYSTEMS_ICC__)COMMENT
LOWlib/nlohmann/json.hpp721#if defined(__TINYC__)COMMENT
LOWlib/nlohmann/json.hpp741#if defined(JSON_HEDLEY_DMC_VERSION_CHECK)COMMENT
LOWlib/nlohmann/json.hpp761 #define JSON_HEDLEY_COMPCERT_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_COMPCERT_VERSION >= JSON_HEDLEY_VERSION_ECOMMENT
LOWlib/nlohmann/json.hpp781COMMENT
LOWlib/nlohmann/json.hpp821 #undef JSON_HEDLEY_GCC_VERSION_CHECKCOMMENT
LOWlib/nlohmann/json.hpp841COMMENT
LOWlib/nlohmann/json.hpp861 #undef JSON_HEDLEY_HAS_CPP_ATTRIBUTECOMMENT
125 more matches not shown…
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMgentest/gentest-driver.ts76 // TODO: replace this with something more robust than just blindly replacingCOMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWgentest/src/CssToYoga.ts955export function getFlexDirectionForMeasure(styles: ParsedStyles): string {CODE