Repository Analysis

aristocratos/btop

A monitor of resources

2.8 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of aristocratos/btop, a C++ project with 33,482 GitHub stars. SynthScan v2.0 examined 52,720 lines of code across 89 source files, recording 135 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 2.8 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

2.8
Adjusted Score
2.8
Raw Score
100%
Time Factor
2026-07-11
Last Push
33.5K
Stars
C++
Language
52.7K
Lines of Code
89
Files
135
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 1MEDIUM 2LOW 132

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 135 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block124 hits · 124 pts
SeverityFileLineSnippetContext
LOWCHANGELOG.md1## v1.4.7COMMENT
LOWCHANGELOG.md21#1409 | fix: remove unused asprintf implementation function | @deckstoseCOMMENT
LOWCHANGELOG.md41--- | --- | ---COMMENT
LOWCHANGELOG.md61d0cbaf7 | Add configuration toggle for terminal synchronization | @aristocratosCOMMENT
LOWCHANGELOG.md81## v1.4.5COMMENT
LOWCHANGELOG.md121--- | --- | ---COMMENT
LOWCHANGELOG.md141#1079 | Allow MidnightBSD to build btop using the existing freebsd support. | @laffer1COMMENT
LOWCHANGELOG.md1813f384c0 | Fixed missing CPU core temps when too small to show core temp graphs, issues #792 #867 | @aristocratosCOMMENT
LOWinclude/fmt/ostream.h1// Formatting library for C++ - std::ostream supportCOMMENT
LOWinclude/fmt/ostream.h21#endifCOMMENT
LOWinclude/fmt/format-inl.h1// Formatting library for C++ - implementationCOMMENT
LOWinclude/fmt/format-inl.h21#endifCOMMENT
LOWinclude/fmt/format-inl.h221COMMENT
LOWinclude/fmt/format-inl.h1301 // Compute zi and deltai.COMMENT
LOWinclude/fmt/ranges.h1// Formatting library for C++ - range and tuple supportCOMMENT
LOWinclude/fmt/xchar.h1// Formatting library for C++ - optional wchar_t and exotic character supportCOMMENT
LOWinclude/fmt/core.h1// This file is only provided for compatibility and may be removed in futureCOMMENT
LOWinclude/fmt/chrono.h1// Formatting library for C++ - chrono supportCOMMENT
LOWinclude/fmt/chrono.h21#endifCOMMENT
LOWinclude/fmt/chrono.h221}COMMENT
LOWinclude/fmt/chrono.h241#endifCOMMENT
LOWinclude/fmt/chrono.h541COMMENT
LOWinclude/fmt/os.h1// Formatting library for C++ - optional OS-specific functionalityCOMMENT
LOWinclude/fmt/os.h21# endifCOMMENT
LOWinclude/fmt/os.h41#ifndef FMT_POSIXCOMMENT
LOWinclude/fmt/color.h241 // │23│─┘COMMENT
LOWinclude/fmt/color.h261 // │62│─┬── unusedCOMMENT
LOWinclude/fmt/args.h1// Formatting library for C++ - dynamic argument listsCOMMENT
LOWinclude/fmt/printf.h1// Formatting library for C++ - legacy printf implementationCOMMENT
LOWinclude/fmt/compile.h1// Formatting library for C++ - experimental format string compilationCOMMENT
LOWinclude/fmt/format.h41#include "base.h"COMMENT
LOWinclude/fmt/format.h61# include <bit> // std::bit_castCOMMENT
LOWinclude/fmt/format.h81# define FMT_USE_NONTYPE_TEMPLATE_ARGS 1COMMENT
LOWinclude/fmt/format.h101 defined(__INTEL_RTTI__) || defined(__RTTI)COMMENT
LOWinclude/fmt/format.h121#ifdef FMT_DEPRECATEDCOMMENT
LOWinclude/fmt/format.h141# elseCOMMENT
LOWinclude/fmt/format.h161 using difference_type =COMMENT
LOWinclude/fmt/format.h201# if FMT_HAS_BUILTIN(__builtin_clz) || FMT_GCC_VERSION || FMT_ICC_VERSIONCOMMENT
LOWinclude/fmt/format.h701 !std::is_same<T, wchar_t>::value>;COMMENT
LOWinclude/fmt/format.h3301 write2digits(buffer + number_of_digits_printed, digits);COMMENT
LOWinclude/fmt/std.h1// Formatting library for C++ - formatters for standard library typesCOMMENT
LOWinclude/fmt/std.h21# include <thread>COMMENT
LOWinclude/fmt/std.h41# if FMT_CPLUSPLUS > 201703L && FMT_HAS_INCLUDE(<source_location>)COMMENT
LOWinclude/fmt/std.h61#endifCOMMENT
LOWinclude/fmt/base.h1// Formatting library for C++ - the base API for char/UTF-8COMMENT
LOWinclude/fmt/base.h21#endifCOMMENT
LOWinclude/fmt/base.h41#elseCOMMENT
LOWinclude/fmt/base.h61COMMENT
LOWinclude/fmt/base.h81#elseCOMMENT
LOWinclude/fmt/base.h101// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66297.COMMENT
LOWinclude/fmt/base.h121#elif FMT_GLIBCXX_RELEASE && FMT_GLIBCXX_RELEASE < 10COMMENT
LOWinclude/fmt/base.h141# define FMT_CONSTEXPR20COMMENT
LOWinclude/fmt/base.h161# define FMT_CATCH(x) if (false)COMMENT
LOWinclude/fmt/base.h181# define FMT_FALLTHROUGH [[clang::fallthrough]]COMMENT
LOWinclude/fmt/base.h201# define FMT_NODISCARDCOMMENT
LOWinclude/fmt/base.h221#elseCOMMENT
LOWinclude/fmt/base.h241# define FMT_ALWAYS_INLINE inline __attribute__((always_inline))COMMENT
LOWinclude/fmt/base.h261#ifndef FMT_EXPORTCOMMENT
LOWinclude/fmt/base.h281#endifCOMMENT
LOWinclude/fmt/base.h381FMT_NORETURN FMT_API void assert_fail(const char* file, int line,COMMENT
64 more matches not shown…
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md15## AI generated codeCOMMENT
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOWinclude/fmt/format-inl.h1264 // Step 1: integer promotion & Schubfach multiplier calculation.COMMENT
LOWinclude/fmt/format-inl.h1319 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWinclude/fmt/format-inl.h1351 // Step 3: Find the significand with the smaller divisor.COMMENT
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWinclude/fmt/format-inl.h1264 // Step 1: integer promotion & Schubfach multiplier calculation.COMMENT
LOWinclude/fmt/format-inl.h1319 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWinclude/fmt/format-inl.h1351 // Step 3: Find the significand with the smaller divisor.COMMENT
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMinclude/fmt/format.h3347 // Compilers are not aware of how to leverage the maximum value ofCOMMENT
LOWsrc/linux/intel_gpu_top/intel_chipset.h112/* Exclude chipset #defines, they just add noise */COMMENT
Decorative Section Separators1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMsrc/btop.cpp95 {"#000000", "╚═════╝ ╚═╝ ╚═════╝ ╚═╝"},CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/linux/intel_gpu_top/drm_mode.h86 * When adding a new stereo mode don't forget to adjust DRM_MODE_FLAGS_3D_MAXCOMMENT