Repository Analysis

TheHPXProject/hpx

The C++ Standard Library for Parallelism and Concurrency

8.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of TheHPXProject/hpx, a C++ project with 2,874 GitHub stars. SynthScan v2.0 examined 991,850 lines of code across 5146 source files, recording 7987 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 8.0 places this repository in the Low AI signal 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).

8.0
Adjusted Score
8.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
2.9K
Stars
C++
Language
991.9K
Lines of Code
5.1K
Files
8.0K
Pattern Hits
2026-07-14
Scan Date
0.00
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 21MEDIUM 51LOW 7915

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 7987 distinct pattern matches across 16 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 Block7889 hits · 7646 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1# Copyright (c) 2020 Mikael SimbergCOMMENT
LOWCMakeLists.txt1101 HPX_WITH_NANOBENCHCOMMENT
LOWCMakeLists.txt1121# https://github.com/STEllAR-GROUP/libcds CATEGORY "Thread Manager" ADVANCEDCOMMENT
LOWCMakeLists.txt2681# ##############################################################################COMMENT
LOW.cmake-format.py1# Copyright (c) 2020-2023 Hartmut KaiserCOMMENT
LOW.cmake-format.py21 command_case = u'lower'COMMENT
LOW.cmake-format.py101 # If comment markup is enabled, don't reflow any comment block which matchesCOMMENT
LOWinit/include/hpx/manage_runtime.hpp1// Copyright (c) 2025 Agustin BergeCOMMENT
LOWinit/include/hpx/manage_runtime.hpp21#include <mutex>COMMENT
LOWinit/include/hpx/manage_runtime.hpp41 ///COMMENT
LOWinit/include/hpx/manage_runtime.hpp61 init_params const& init_args = init_params());COMMENT
LOWinit/include/hpx/hpx_main_impl.hpp1// Copyright (c) 2007-2014 Hartmut KaiserCOMMENT
LOWinit/src/hpx_user_main.cpp1// Copyright (c) 2007-2013 Hartmut KaiserCOMMENT
LOWinit/src/hpx_user_main.cpp21 //COMMENT
LOWinit/src/hpx_main_argc_argv.cpp1// Copyright (c) 2007-2013 Hartmut KaiserCOMMENT
LOWinit/src/hpx_main_variables_map.cpp1// Copyright (c) 2007-2023 Hartmut KaiserCOMMENT
LOWinit/src/hpx_user_main_argc_argv.cpp1// Copyright (c) 2007-2016 Hartmut KaiserCOMMENT
LOWinit/src/manage_runtime.cpp1// Copyright (c) 2025 Agustin BergeCOMMENT
LOWinit/src/hpx_main.cpp1// Copyright (c) 2007-2023 Hartmut KaiserCOMMENT
LOWinit/src/main.cpp1// Copyright (c) 2007-2014 Hartmut KaiserCOMMENT
LOWtools/change_includes.sh1#!/bin/bashCOMMENT
LOWtools/generate_issue_pr_list.sh1#!/usr/bin/env bashCOMMENT
LOWtools/add_compat_headers.sh141echo -e "\e[32mFiles overwritten :"COMMENT
LOWtools/inspect/path_name_check.cpp1// path_name_check implementation ------------------------------------------//COMMENT
LOWtools/inspect/path_name_check.cpp61 error(library_name, full_path,COMMENT
LOWtools/inspect/end_check.hpp1// end_check header ---------------------------------------------------------//COMMENT
LOWtools/inspect/minmax_check.cpp1// minmax_check implementation --------------------------------------------//COMMENT
LOWtools/inspect/assert_macro_check.cpp1// assert_macro_check implementation ------------------------------------------------//COMMENT
LOWtools/inspect/include_check.hpp1// include_check header -------------------------------------------------------//COMMENT
LOWtools/inspect/ascii_check.cpp1// ascii_check implementation ------------------------------------------------//COMMENT
LOWtools/inspect/pragma_once_check.cpp1// pragma once check implementation --------------------------------------------//COMMENT
LOWtools/inspect/windows_macro_check.cpp1// windows_macro_check implementation ------------------------------------------------//COMMENT
LOWtools/inspect/deprecated_name_check.cpp1// deprecated_name_check implementation -----------------------------------//COMMENT
LOWtools/inspect/spdx_license_check.cpp1// SPDX_CHECK implementation --------------------------------------------//COMMENT
LOWtools/inspect/time_string.hpp1// ---- time_string: thin wrapper around std::strftime -------- //COMMENT
LOWtools/inspect/endline_whitespace_check.cpp1// extra_whitespace_check implementation ----------------------------------//COMMENT
LOWtools/inspect/function_hyper.hpp1// Hyperlink Function ------------------------------------------//COMMENT
LOWtools/inspect/tab_check.cpp1// tab_check implementation ------------------------------------------------//COMMENT
LOWtools/inspect/inspect_to_junit.py1#!/usr/bin/env python3COMMENT
LOWtools/inspect/inspector.hpp1// inspector header --------------------------------------------------------//COMMENT
LOWtools/inspect/deprecated_include_check.hpp1// include_check header -------------------------------------------------------//COMMENT
LOWtools/inspect/apple_macro_check.cpp1// apple_macro_check implementation ------------------------------------------------//COMMENT
LOWtools/inspect/license_check.cpp1// license_check implementation --------------------------------------------//COMMENT
LOWtools/inspect/unnamed_namespace_check.cpp1// unnamed_namespace_check -----------------------------------------//COMMENT
LOWtools/inspect/inspect.cpp1// inspect program -------------------------------------------------------------------//COMMENT
LOWtools/inspect/inspect.cpp21 "no-inspect";COMMENT
LOWtools/inspect/inspect.cpp41COMMENT
LOWtools/inspect/inspect.cpp61#include "assert_macro_check.hpp"COMMENT
LOWtools/inspect/inspect.cpp341 // struct svn_checkCOMMENT
LOWtools/inspect/inspect.cpp361 // if ((pos = ln.find("Revision: ")) != string::npos)COMMENT
LOWtools/inspect/inspect.cpp401 // svn_check check_(inspect_root);COMMENT
LOWtools/inspect/inspect.cpp741 }COMMENT
LOWtools/inspect/inspect.cpp761 // return;COMMENT
LOWtools/inspect/inspect.cpp781 // void display_worst_offenders(std::ostream& out)COMMENT
LOWtools/inspect/inspect.cpp801 // && (display_count < max_offendersCOMMENT
LOWtools/inspect/inspect.cpp821 // if (display_format == display_text)COMMENT
LOWtools/inspect/deprecated_include_check.cpp1// deprecated_include_check implementation --------------------------------//COMMENT
LOWtools/inspect/crlf_check.cpp1// crlf_check implementation ------------------------------------------------//COMMENT
LOWtools/inspect/path_name_check.hpp1// long_name_check header --------------------------------------------------//COMMENT
LOWtools/inspect/length_check.cpp1// character_length_check implementation ----------------------------------//COMMENT
7829 more matches not shown…
Decorative Section Separators34 hits · 123 pts
SeverityFileLineSnippetContext
MEDIUM.cmake-format.py12# -----------------------------COMMENT
MEDIUM.cmake-format.py14# -----------------------------COMMENT
MEDIUM.cmake-format.py96# ------------------------------------------------COMMENT
MEDIUM.cmake-format.py98# ------------------------------------------------COMMENT
MEDIUM.cmake-format.py140# ----------------------------COMMENT
MEDIUM.cmake-format.py142# ----------------------------COMMENT
MEDIUM.cmake-format.py197# -------------------------------------COMMENT
MEDIUM.cmake-format.py199# -------------------------------------COMMENT
MEDIUM.cmake-format.py206# ----------------------------------COMMENT
MEDIUM.cmake-format.py208# ----------------------------------COMMENT
MEDIUM.cmake-format.py613# -------------------------------COMMENT
MEDIUM.cmake-format.py615# -------------------------------COMMENT
MEDIUM…sts/performance/network/network_storage/CMakeLists.txt55 # -------------------------------------------------------COMMENT
MEDIUM…sts/performance/network/network_storage/CMakeLists.txt71 # -------------------------------------------------------COMMENT
MEDIUM…sts/performance/network/network_storage/CMakeLists.txt83 # --------------------------------------------------COMMENT
MEDIUM…sts/performance/network/network_storage/CMakeLists.txt85 # --------------------------------------------------COMMENT
MEDIUMtests/performance/network/network_storage/plot_utils.py12#----------------------------------------------------------------------------COMMENT
MEDIUMtests/performance/network/network_storage/plot_utils.py23#----------------------------------------------------------------------------COMMENT
MEDIUMtests/performance/network/network_storage/plot_utils.py29#----------------------------------------------------------------------------COMMENT
MEDIUMtests/performance/network/network_storage/plot_utils.py36#----------------------------------------------------------------------------COMMENT
MEDIUMtests/performance/network/network_storage/plot_utils.py51#----------------------------------------------------------------------------COMMENT
MEDIUMtests/performance/network/network_storage/plot_utils.py59#----------------------------------------------------------------------------COMMENT
MEDIUMtests/performance/network/network_storage/plot_utils.py67#----------------------------------------------------------------------------COMMENT
MEDIUMtests/performance/network/network_storage/plot_utils.py75#----------------------------------------------------------------------------COMMENT
MEDIUMtests/performance/network/network_storage/plot_utils.py160#----------------------------------------------------------------------------COMMENT
MEDIUMtests/performance/network/network_storage/plot_utils.py263#----------------------------------------------------------------------------COMMENT
MEDIUMtests/performance/network/network_storage/plot_utils.py286#----------------------------------------------------------------------------COMMENT
MEDIUM…ts/performance/network/network_storage/plot-results.py17#----------------------------------------------------------------------------COMMENT
MEDIUM…ts/performance/network/network_storage/plot-results.py22#----------------------------------------------------------------------------COMMENT
MEDIUM…ts/performance/network/network_storage/plot-results.py27#----------------------------------------------------------------------------COMMENT
MEDIUM…ts/performance/network/network_storage/plot-results.py69##-------------------------------------------------------------------COMMENT
MEDIUM…ts/performance/network/network_storage/plot-results.py83##-------------------------------------------------------------------COMMENT
MEDIUM…ts/performance/network/network_storage/plot-results.py97##-------------------------------------------------------------------COMMENT
MEDIUM…ts/performance/network/network_storage/plot-results.py106#-------------------------------------------------------------------COMMENT
Synthetic Comment Markers11 hits · 82 pts
SeverityFileLineSnippetContext
HIGH…ll/performance_counters/tests/unit/reinit_counters.cpp103 // create the counter as requestedCOMMENT
HIGHlibs/full/performance_counters/src/registry.cpp478 // create the counter as requestedCOMMENT
HIGHlibs/full/performance_counters/src/registry.cpp551 // create the counter as requestedCOMMENT
HIGHlibs/full/performance_counters/src/registry.cpp602 // create the counter as requestedCOMMENT
HIGHlibs/full/performance_counters/src/registry.cpp705 // create the counter as requestedCOMMENT
HIGHlibs/full/performance_counters/src/registry.cpp923 // create the counter as requestedCOMMENT
HIGHlibs/full/performance_counters/src/registry.cpp1034 // create the counter as requestedCOMMENT
HIGH…clude/hpx/components/iostreams/server/order_output.hpp40 // output the line as requestedCOMMENT
HIGHexamples/performance_counters/sine/sine.cpp175 // create the counter as requestedCOMMENT
HIGHexamples/sheneos/sheneos/server/partition3d.cpp363 // interpolate as requestedCOMMENT
HIGHexamples/sheneos/sheneos/server/partition3d.cpp379 // interpolate as requestedCOMMENT
Cross-File Repetition8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHtools/perftests_ci/driver.py0copyright (c) 2020 eth zurich spdx-license-identifier: bsl-1.0 distributed under the boost software license, version 1.0STRING
HIGHtools/perftests_ci/perftest/plot.py0copyright (c) 2020 eth zurich spdx-license-identifier: bsl-1.0 distributed under the boost software license, version 1.0STRING
HIGHtools/perftests_ci/perftest/html.py0copyright (c) 2020 eth zurich spdx-license-identifier: bsl-1.0 distributed under the boost software license, version 1.0STRING
HIGHtools/perftests_ci/pyutils/env.py0copyright (c) 2020 eth zurich spdx-license-identifier: bsl-1.0 distributed under the boost software license, version 1.0STRING
HIGHtools/perftests_ci/pyutils/default_vars.py0copyright (c) 2020 eth zurich spdx-license-identifier: bsl-1.0 distributed under the boost software license, version 1.0STRING
HIGHtools/perftests_ci/pyutils/log.py0copyright (c) 2020 eth zurich spdx-license-identifier: bsl-1.0 distributed under the boost software license, version 1.0STRING
HIGHtools/perftests_ci/pyutils/runtools.py0copyright (c) 2020 eth zurich spdx-license-identifier: bsl-1.0 distributed under the boost software license, version 1.0STRING
HIGHtools/perftests_ci/pyutils/args.py0copyright (c) 2020 eth zurich spdx-license-identifier: bsl-1.0 distributed under the boost software license, version 1.0STRING
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMtools/check_module_cmakelists.sh90# Create a module list per module groupCOMMENT
MEDIUMtools/add_compat_headers.sh10# This file is globbing through the include_compatibility folder, so basicCOMMENT
MEDIUMtools/add_compat_headers.sh142# Create the corresponding compatibility headersCOMMENT
MEDIUMtools/perftests_ci/driver.py18 # Create the directories of the run_output files if does not existCOMMENT
MEDIUMcomponents/create_component_skeleton.py148# This file is auto generated. Please do not edit manually.COMMENT
MEDIUMexamples/hello_world_component/hello.sh16# Create the directory where we want to install the libraryCOMMENT
AI Slop Vocabulary6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM…core/synchronization/tests/unit/latch_notification.cpp10// - the explicit notified_ flag guarding the robust predicate loop inCOMMENT
MEDIUM…lude/hpx/program_options/detail/utf8_codecvt_facet.hpp44// Essentially, each library will have its own copy of utf8 code, inCOMMENT
MEDIUM…/core/type_support/include/hpx/type_support/static.hpp35 // For conforming compilers, we utilize this feature.COMMENT
MEDIUM…e/hpx/execution/executors/execution_parameters_fwd.hpp519 /// \param num_cores [in] The overall number of cores to utilizeCOMMENT
MEDIUM…rt/include/hpx/iterator_support/traits/is_iterator.hpp132 // robust concept checking). Here we provide a specialization to captureCOMMENT
MEDIUMlibs/core/async_base/include/hpx/async_base/post.hpp27 /// Essentially, the post function enables the launch of a new threadCOMMENT
Excessive Try-Catch Wrapping8 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMtools/hpx-top.py26 print("Error: 'rich' library is required for hpx-top.")CODE
LOWtools/hpx-top.py140 except Exception as e:CODE
LOWtools/gdb/hpx.py245 except Exception:CODE
MEDIUMtools/gdb/hpx.py381 print("Error: You need to supply at least one argument. See help hpx thread")CODE
LOWtools/perftests_ci/pyutils/log.py50 except Exception:CODE
MEDIUMtools/perftests_ci/pyutils/log.py47def exception_logging():CODE
LOW.github/ci-scripts/generate_test_matrix.py99 except Exception as e:CODE
MEDIUM.github/ci-scripts/generate_test_matrix.py100 print(f"Error: {e}", file=sys.stderr)CODE
Deep Nesting9 hits · 9 pts
SeverityFileLineSnippetContext
LOWconanfile.py135CODE
LOWtools/hpx-top.py47CODE
LOWtools/hpx_stat_viewer.py124CODE
LOWtools/gdb/hpx.py276CODE
LOWtools/perftests_ci/perftest/plot.py124CODE
LOWtools/perftests_ci/perftest/plot.py222CODE
LOWtests/performance/network/network_storage/plot_utils.py80CODE
LOWtests/performance/network/network_storage/plot_utils.py287CODE
LOW.github/ci-scripts/generate_test_matrix.py14CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtools/inspect/ascii_check.cpp25 // I have added '@', '^', and '`' to the "legal" chars because they are commonlyCOMMENT
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtools/perftests_ci/pyutils/env.py27 ['bash', '-l', '-c', f'set -e && source {envfile} && env -0'],CODE
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…ore/compute_local/include/hpx/compute_local/vector.hpp407 // TODO: implement thisCOMMENT
LOW…ore/compute_local/include/hpx/compute_local/vector.hpp420 // TODO: implement thisCOMMENT
LOW…tion_base/include/hpx/execution_base/resource_base.hpp15 /// TODO: implement, this is currently just a dummyCOMMENT
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
LOWlibs/core/threading/tests/unit/condition_variable2.cpp499 // don't forget to initialize with {} here !!!COMMENT
MEDIUMexamples/quickstart/component_with_custom_heap.cpp408 // Just for demonstration purposes we now access the components directlyCOMMENT
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/gdb/hpx.py12CODE
LOWtools/gdb/hpx.py12CODE
LOW…ts/performance/network/network_storage/plot-results.py12CODE
LOW…ts/performance/network/network_storage/plot-results.py13CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/check_module_cmakelists.sh30 # Check if the dependency is inside the CMakeLists.txtCOMMENT
LOWtools/check_module_cmakelists.sh37 # Check if the name is not the current module and check if it isCOMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtools/perftests_ci/perftest/plot.py172def _add_explanation_of_symbols(report):CODE
LOWtools/perftests_ci/perftest/plot.py385def _add_executor_comparison_plots(report, data):CODE
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…x/type_support/uninitialized_relocation_primitives.hpp67 // If memcpy is not possible, we need to check if the moveCOMMENT