AI Slop Code RIsk Monitor

fmtlib/fmt

A modern formatting library

5.9 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for fmtlib/fmt, a C++ project with 25,873 GitHub stars. SynthScan examined 56,560 lines of code across 70 source files, recording 483 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 5.9 (Moderate 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.

5.9
Adjusted Signal
5.9
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
25.9K
Stars
C++
Language
56.6K
Lines of Code
70
Files
483
Pattern Hits
2026-10-12
Scan Date
0.03
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 24.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.3/100 · LOW

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

Agent Over-Engineering Ratio 0.4/100 · LOW

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

PR Review Velocity Impact 36.0/100 · MEDIUM

Which changes need focused human review? 483 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 2MEDIUM 6LOW 475

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 483 distinct pattern matches across 10 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 Block453 hits · 284 pts
SeverityFileLineSnippetContext
LOWtest/c-test.c1// Formatting library for C++ - the C API testsCOMMENT
LOWtest/posix-mock.h1// Formatting library for C++ - mocks of POSIX functionsCOMMENT
LOWtest/mock-allocator.h1// Formatting library for C++ - mock allocatorCOMMENT
LOWtest/util.h1// Formatting library for C++ - test utilitiesCOMMENT
LOWtest/test-assert.h1// Formatting library for C++ - test version of FMT_ASSERTCOMMENT
LOWtest/scan.h1// Formatting library for C++ - scanning API proof of conceptCOMMENT
LOWtest/gtest-extra.h1// Formatting library for C++ - custom Google Test assertionsCOMMENT
LOWtest/fuzzing/fuzzer-common.h1// Copyright (c) 2019, Paul DreikCOMMENT
LOWtest/fuzzing/build.sh1#!/bin/shCOMMENT
LOWtest/cuda-test/CMakeLists.txt1# We can find some usecases which follow the guide of CMake which usesCOMMENT
LOWtest/cuda-test/CMakeLists.txt21# providing another (non-CUDA) C++ source code.COMMENT
LOWtest/gtest/gtest/gtest-spi.h1// Copyright 2007, Google Inc.COMMENT
LOWtest/gtest/gtest/gtest-spi.h21// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHTCOMMENT
LOWtest/gtest/gtest/gtest-spi.h121// A set of macros for testing Google Test assertions or code that's expectedCOMMENT
LOWtest/gtest/gtest/gtest-spi.h181// being part of the failure message.COMMENT
LOWtest/gtest/gtest/gtest.h1// Copyright 2005, Google Inc.COMMENT
LOWtest/gtest/gtest/gtest.h21// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHTCOMMENT
LOWtest/gtest/gtest/gtest.h41//COMMENT
LOWtest/gtest/gtest/gtest.h61COMMENT
LOWtest/gtest/gtest/gtest.h81// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FORCOMMENT
LOWtest/gtest/gtest/gtest.h101// Copyright 2005, Google Inc.COMMENT
LOWtest/gtest/gtest/gtest.h121// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHTCOMMENT
LOWtest/gtest/gtest/gtest.h141// GOOGLETEST_CM0001 DO NOT DELETECOMMENT
LOWtest/gtest/gtest/gtest.h161// provide a default definition. After this header is #included, allCOMMENT
LOWtest/gtest/gtest/gtest.h181// GTEST_HAS_STD_WSTRING - Define it to 1/0 to indicate thatCOMMENT
LOWtest/gtest/gtest/gtest.h201// source version since 2008. The recommended valueCOMMENT
LOWtest/gtest/gtest/gtest.h221// GTEST_OS_HPUX - HP-UXCOMMENT
LOWtest/gtest/gtest/gtest.h241// most stable support. Since core members of the Google Test projectCOMMENT
LOWtest/gtest/gtest/gtest.h261//COMMENT
LOWtest/gtest/gtest/gtest.h281// the given Google Test flag.COMMENT
LOWtest/gtest/gtest/gtest.h301// is suppressed.COMMENT
LOWtest/gtest/gtest/gtest.h321// Extended Regular Expression syntax on UNIX-like platformsCOMMENT
LOWtest/gtest/gtest/gtest.h341// BiggestInt - the biggest signed integer type.COMMENT
LOWtest/gtest/gtest/gtest.h361#include <stdio.h>COMMENT
LOWtest/gtest/gtest/gtest.h381#include <locale>COMMENT
LOWtest/gtest/gtest/gtest.h401// contributors may be used to endorse or promote products derived fromCOMMENT
LOWtest/gtest/gtest/gtest.h421#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_CUSTOM_GTEST_PORT_H_COMMENT
LOWtest/gtest/gtest/gtest.h441// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORSCOMMENT
LOWtest/gtest/gtest/gtest.h461// Determines the platform on which Google Test is compiled.COMMENT
LOWtest/gtest/gtest/gtest.h481# define GTEST_OS_WINDOWS_TV_TITLE 1COMMENT
LOWtest/gtest/gtest/gtest.h501# define GTEST_OS_FREEBSD 1COMMENT
LOWtest/gtest/gtest/gtest.h521#elif defined __NetBSD__COMMENT
LOWtest/gtest/gtest/gtest.h541# define GTEST_FLAG_PREFIX_ "gtest_"COMMENT
LOWtest/gtest/gtest/gtest.h561// GTEST_DISABLE_MSC_WARNINGS_PUSH_(4800 4385)COMMENT
LOWtest/gtest/gtest/gtest.h581 _Pragma("clang diagnostic ignored \"-Wdeprecated-declarations\"") \COMMENT
LOWtest/gtest/gtest/gtest.h601#if GTEST_OS_WINDOWS_MINGW && !defined(__MINGW64_VERSION_MAJOR)COMMENT
LOWtest/gtest/gtest/gtest.h621#endif // GTEST_OS_WINDOWSCOMMENT
LOWtest/gtest/gtest/gtest.h641COMMENT
LOWtest/gtest/gtest/gtest.h661// simple regex implementation instead.COMMENT
LOWtest/gtest/gtest/gtest.h681// clang defines __EXCEPTIONS if and only if exceptions are enabled before clangCOMMENT
LOWtest/gtest/gtest/gtest.h701# elif defined(__HP_aCC)COMMENT
LOWtest/gtest/gtest/gtest.h721COMMENT
LOWtest/gtest/gtest/gtest.h741# ifdef __GXX_RTTICOMMENT
LOWtest/gtest/gtest/gtest.h761# define GTEST_HAS_RTTI __has_feature(cxx_rtti)COMMENT
LOWtest/gtest/gtest/gtest.h781COMMENT
LOWtest/gtest/gtest/gtest.h801COMMENT
LOWtest/gtest/gtest/gtest.h821// architecture.COMMENT
LOWtest/gtest/gtest/gtest.h841#ifndef GTEST_HAS_STREAM_REDIRECTIONCOMMENT
LOWtest/gtest/gtest/gtest.h861#endifCOMMENT
LOWtest/gtest/gtest/gtest.h881#endifCOMMENT
393 more matches not shown…
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMtest/gtest/gtest/gtest.h7407// This implementation is *not* meant to be as highly tuned or robustCOMMENT
MEDIUMtest/gtest/gtest/gtest.h7478// In practice, this can be used to test functions that utilize theCOMMENT
MEDIUMinclude/fmt/format.h3622 // Compilers are not aware of how to leverage the maximum value ofCOMMENT
Deep Nesting8 hits · 8 pts
SeverityFileLineSnippetContext
LOWsupport/docopt.py72CODE
LOWsupport/docopt.py301CODE
LOWsupport/docopt.py334CODE
LOWsupport/docopt.py402CODE
LOWsupport/docopt.py428CODE
LOWsupport/docopt.py57CODE
LOWsupport/printable.py133CODE
LOWsupport/python/mkdocstrings_handlers/cxx/__init__.py357CODE
Cross-Language Confusion2 hits · 8 pts
SeverityFileLineSnippetContext
HIGHsupport/release.py200 fmt_repo.push('origin', 'release')CODE
HIGHsupport/printable.py194 print(" if (0x{:x} <= cp && cp < 0x{:x}) return false;".format(a, a + b))STRING
Unused Imports7 hits · 7 pts
SeverityFileLineSnippetContext
LOWsupport/release.py12CODE
LOWsupport/release.py13CODE
LOWsupport/python/mkdocstrings_handlers/cxx/__init__.py17CODE
LOWsupport/python/mkdocstrings_handlers/cxx/__init__.py17CODE
LOWsupport/python/mkdocstrings_handlers/cxx/__init__.py19CODE
LOWsupport/python/mkdocstrings_handlers/cxx/__init__.py20CODE
LOWsupport/python/mkdocstrings_handlers/cxx/__init__.py20CODE
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOWinclude/fmt/format-inl.h1276 // Step 1: integer promotion & Schubfach multiplier calculation.COMMENT
LOWinclude/fmt/format-inl.h1331 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWinclude/fmt/format-inl.h1363 // Step 3: Find the significand with the smaller divisor.COMMENT
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWinclude/fmt/format-inl.h1276 // Step 1: integer promotion & Schubfach multiplier calculation.COMMENT
LOWinclude/fmt/format-inl.h1331 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWinclude/fmt/format-inl.h1363 // Step 3: Find the significand with the smaller divisor.COMMENT
Excessive Try-Catch Wrapping2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMdoc/ChangeLog-old.md2026 fmt::print("Error: ");CODE
MEDIUMdoc/ChangeLog-old.md3171 fmt::print("Error: {}");CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsupport/release.py196 # Create a draft release on GitHub, then trigger the release workflow toCOMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsupport/docopt.py13__all__ = ['docopt']CODE