A monitor of resources
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CHANGELOG.md | 1 | ## v1.4.7 | COMMENT |
| LOW | CHANGELOG.md | 21 | #1409 | fix: remove unused asprintf implementation function | @deckstose | COMMENT |
| LOW | CHANGELOG.md | 41 | --- | --- | --- | COMMENT |
| LOW | CHANGELOG.md | 61 | d0cbaf7 | Add configuration toggle for terminal synchronization | @aristocratos | COMMENT |
| LOW | CHANGELOG.md | 81 | ## v1.4.5 | COMMENT |
| LOW | CHANGELOG.md | 121 | --- | --- | --- | COMMENT |
| LOW | CHANGELOG.md | 141 | #1079 | Allow MidnightBSD to build btop using the existing freebsd support. | @laffer1 | COMMENT |
| LOW | CHANGELOG.md | 181 | 3f384c0 | Fixed missing CPU core temps when too small to show core temp graphs, issues #792 #867 | @aristocratos | COMMENT |
| LOW | include/fmt/ostream.h | 1 | // Formatting library for C++ - std::ostream support | COMMENT |
| LOW | include/fmt/ostream.h | 21 | #endif | COMMENT |
| LOW | include/fmt/format-inl.h | 1 | // Formatting library for C++ - implementation | COMMENT |
| LOW | include/fmt/format-inl.h | 21 | #endif | COMMENT |
| LOW | include/fmt/format-inl.h | 221 | COMMENT | |
| LOW | include/fmt/format-inl.h | 1301 | // Compute zi and deltai. | COMMENT |
| LOW | include/fmt/ranges.h | 1 | // Formatting library for C++ - range and tuple support | COMMENT |
| LOW | include/fmt/xchar.h | 1 | // Formatting library for C++ - optional wchar_t and exotic character support | COMMENT |
| LOW | include/fmt/core.h | 1 | // This file is only provided for compatibility and may be removed in future | COMMENT |
| LOW | include/fmt/chrono.h | 1 | // Formatting library for C++ - chrono support | COMMENT |
| LOW | include/fmt/chrono.h | 21 | #endif | COMMENT |
| LOW | include/fmt/chrono.h | 221 | } | COMMENT |
| LOW | include/fmt/chrono.h | 241 | #endif | COMMENT |
| LOW | include/fmt/chrono.h | 541 | COMMENT | |
| LOW | include/fmt/os.h | 1 | // Formatting library for C++ - optional OS-specific functionality | COMMENT |
| LOW | include/fmt/os.h | 21 | # endif | COMMENT |
| LOW | include/fmt/os.h | 41 | #ifndef FMT_POSIX | COMMENT |
| LOW | include/fmt/color.h | 241 | // │23│─┘ | COMMENT |
| LOW | include/fmt/color.h | 261 | // │62│─┬── unused | COMMENT |
| LOW | include/fmt/args.h | 1 | // Formatting library for C++ - dynamic argument lists | COMMENT |
| LOW | include/fmt/printf.h | 1 | // Formatting library for C++ - legacy printf implementation | COMMENT |
| LOW | include/fmt/compile.h | 1 | // Formatting library for C++ - experimental format string compilation | COMMENT |
| LOW | include/fmt/format.h | 41 | #include "base.h" | COMMENT |
| LOW | include/fmt/format.h | 61 | # include <bit> // std::bit_cast | COMMENT |
| LOW | include/fmt/format.h | 81 | # define FMT_USE_NONTYPE_TEMPLATE_ARGS 1 | COMMENT |
| LOW | include/fmt/format.h | 101 | defined(__INTEL_RTTI__) || defined(__RTTI) | COMMENT |
| LOW | include/fmt/format.h | 121 | #ifdef FMT_DEPRECATED | COMMENT |
| LOW | include/fmt/format.h | 141 | # else | COMMENT |
| LOW | include/fmt/format.h | 161 | using difference_type = | COMMENT |
| LOW | include/fmt/format.h | 201 | # if FMT_HAS_BUILTIN(__builtin_clz) || FMT_GCC_VERSION || FMT_ICC_VERSION | COMMENT |
| LOW | include/fmt/format.h | 701 | !std::is_same<T, wchar_t>::value>; | COMMENT |
| LOW | include/fmt/format.h | 3301 | write2digits(buffer + number_of_digits_printed, digits); | COMMENT |
| LOW | include/fmt/std.h | 1 | // Formatting library for C++ - formatters for standard library types | COMMENT |
| LOW | include/fmt/std.h | 21 | # include <thread> | COMMENT |
| LOW | include/fmt/std.h | 41 | # if FMT_CPLUSPLUS > 201703L && FMT_HAS_INCLUDE(<source_location>) | COMMENT |
| LOW | include/fmt/std.h | 61 | #endif | COMMENT |
| LOW | include/fmt/base.h | 1 | // Formatting library for C++ - the base API for char/UTF-8 | COMMENT |
| LOW | include/fmt/base.h | 21 | #endif | COMMENT |
| LOW | include/fmt/base.h | 41 | #else | COMMENT |
| LOW | include/fmt/base.h | 61 | COMMENT | |
| LOW | include/fmt/base.h | 81 | #else | COMMENT |
| LOW | include/fmt/base.h | 101 | // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66297. | COMMENT |
| LOW | include/fmt/base.h | 121 | #elif FMT_GLIBCXX_RELEASE && FMT_GLIBCXX_RELEASE < 10 | COMMENT |
| LOW | include/fmt/base.h | 141 | # define FMT_CONSTEXPR20 | COMMENT |
| LOW | include/fmt/base.h | 161 | # define FMT_CATCH(x) if (false) | COMMENT |
| LOW | include/fmt/base.h | 181 | # define FMT_FALLTHROUGH [[clang::fallthrough]] | COMMENT |
| LOW | include/fmt/base.h | 201 | # define FMT_NODISCARD | COMMENT |
| LOW | include/fmt/base.h | 221 | #else | COMMENT |
| LOW | include/fmt/base.h | 241 | # define FMT_ALWAYS_INLINE inline __attribute__((always_inline)) | COMMENT |
| LOW | include/fmt/base.h | 261 | #ifndef FMT_EXPORT | COMMENT |
| LOW | include/fmt/base.h | 281 | #endif | COMMENT |
| LOW | include/fmt/base.h | 381 | FMT_NORETURN FMT_API void assert_fail(const char* file, int line, | COMMENT |
| 64 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CONTRIBUTING.md | 15 | ## AI generated code | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | include/fmt/format-inl.h | 1264 | // Step 1: integer promotion & Schubfach multiplier calculation. | COMMENT |
| LOW | include/fmt/format-inl.h | 1319 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | include/fmt/format-inl.h | 1351 | // Step 3: Find the significand with the smaller divisor. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | include/fmt/format-inl.h | 1264 | // Step 1: integer promotion & Schubfach multiplier calculation. | COMMENT |
| LOW | include/fmt/format-inl.h | 1319 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | include/fmt/format-inl.h | 1351 | // Step 3: Find the significand with the smaller divisor. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | include/fmt/format.h | 3347 | // Compilers are not aware of how to leverage the maximum value of | COMMENT |
| LOW | src/linux/intel_gpu_top/intel_chipset.h | 112 | /* Exclude chipset #defines, they just add noise */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/btop.cpp | 95 | {"#000000", "╚═════╝ ╚═╝ ╚═════╝ ╚═╝"}, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/linux/intel_gpu_top/drm_mode.h | 86 | * When adding a new stereo mode don't forget to adjust DRM_MODE_FLAGS_3D_MAX | COMMENT |