Repository Analysis

ilya-zlobintsev/LACT

Linux GPU Configuration And Monitoring Tool

4.2 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ilya-zlobintsev/LACT, a Rust project with 5,504 GitHub stars. SynthScan v2.0 examined 97,764 lines of code across 234 source files, recording 424 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 4.2 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).

4.2
Adjusted Score
4.2
Raw Score
100%
Time Factor
2026-08-29
Last Push
5.5K
Stars
Rust
Language
97.8K
Lines of Code
234
Files
424
Pattern Hits
2026-08-29
Scan Date
0.02
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 4HIGH 0MEDIUM 1LOW 419

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 424 distinct pattern matches across 4 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 Block417 hits · 362 pts
SeverityFileLineSnippetContext
LOWlact-daemon/include/nvidia.h1#include "nvidia/kernel-open/common/inc/nv-ioctl-numbers.h"COMMENT
LOWlact-daemon/include/intel.h1#include "drm/i915_drm.h"COMMENT
LOWlact-daemon/include/drm/i915_drm.h401} drm_i915_sarea_t;COMMENT
LOWlact-daemon/include/drm/i915_drm.h421/*COMMENT
LOWlact-daemon/include/drm/i915_drm.h441#define DRM_I915_SET_VBLANK_PIPE 0x0dCOMMENT
LOWlact-daemon/include/drm/i915_drm.h461#define DRM_I915_GEM_GET_APERTURE 0x23COMMENT
LOWlact-daemon/include/drm/i915_drm.h481#define DRM_I915_PERF_OPEN 0x36COMMENT
LOWlact-daemon/include/drm/i915_drm.h501#define DRM_IOCTL_I915_CMDBUFFER DRM_IOW( DRM_COMMAND_BASE + DRM_I915_CMDBUFFER, drm_i915_cmdbuffer_t)COMMENT
LOWlact-daemon/include/drm/i915_drm.h521#define DRM_IOCTL_I915_GEM_PREAD DRM_IOW (DRM_COMMAND_BASE + DRM_I915_GEM_PREAD, struct drm_i915_gem_pread)COMMENT
LOWlact-daemon/include/drm/i915_drm.h541#define DRM_IOCTL_I915_REG_READ DRM_IOWR (DRM_COMMAND_BASE + DRM_I915_REG_READ, struct drm_i915_reg_read)COMMENT
LOWlact-daemon/include/drm/i915_drm.h601#define I915_PARAM_HAS_GEM 5COMMENT
LOWlact-daemon/include/drm/i915_drm.h621#define I915_PARAM_HAS_EXEC_NO_RELOC 25COMMENT
LOWlact-daemon/include/drm/i915_drm.h1721#define I915_TILING_X 1COMMENT
LOWlact-daemon/include/drm/i915_drm.h1841#define I915_OVERLAY_RGB15 0x3000COMMENT
LOWlact-daemon/include/drm/drm.h61COMMENT
LOWlact-daemon/include/drm/drm.h1021#if defined(__cplusplus)COMMENT
LOWlact-daemon/include/drm/drm.h1061#define DRM_IOCTL_GEM_OPEN DRM_IOWR(0x0b, struct drm_gem_open)COMMENT
LOWlact-daemon/include/drm/drm.h1081COMMENT
LOWlact-daemon/include/drm/drm.h1141#define DRM_IOCTL_SG_ALLOC DRM_IOWR(0x38, struct drm_scatter_gather)COMMENT
LOWlact-daemon/include/drm/drm.h1201#define DRM_IOCTL_MODE_CREATE_DUMB DRM_IOWR(0xB2, struct drm_mode_create_dumb)COMMENT
LOWlact-daemon/include/drm/drm_mode.h41 * Userspace can refer to these structure definitions and UAPI formatsCOMMENT
LOWlact-daemon/include/drm/drm_mode.h81#define DRM_MODE_FLAG_BCAST (1<<10) /* deprecated */COMMENT
LOWlact-daemon/include/drm/drm_mode.h101#define DRM_MODE_PICTURE_ASPECT_NONE 0COMMENT
LOWlact-daemon/include/drm/drm_mode.h141/* DPMS flags */COMMENT
LOWlact-daemon/include/drm/drm_mode.h401};COMMENT
LOWlact-daemon/include/drm/intel_bufmgr.h301#define dri_bo_alloc drm_intel_bo_allocCOMMENT
LOWlact-daemon/include/drm/intel_bufmgr.h321#define dri_bo_set_tiling(bo, mode) drm_intel_bo_set_tiling(bo, mode, 0)COMMENT
LOWlact-daemon/include/drm/xe_drm.h101#define DRM_XE_EXEC_QUEUE_GET_PROPERTY 0x08COMMENT
LOW…de/nvidia/kernel-open/nvidia-drm/nv_drm_common_ioctl.h21 */COMMENT
LOW…de/nvidia/kernel-open/nvidia-drm/nv_drm_common_ioctl.h41#define DRM_NVIDIA_GEM_MAP_OFFSET 0x0aCOMMENT
LOW…clude/nvidia/kernel-open/common/inc/nv-ioctl-numbers.h41#define NV_ESC_IOCTL_XFER_CMD (NV_IOCTL_BASE + 11)COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h21|* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *|COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h41//! and will return the appropriate error code.COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h61//! Calls to this function affect the entire system.COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h81//COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h101///////////////////////////////////////////////////////////////////////////////COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h121//!COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h141//! This should be called after the device corresponding to the handle has been destroyed.COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h161//COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h181//!COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h201//!COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h221//!COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h241//!COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h261///////////////////////////////////////////////////////////////////////////////COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h281//! \retval ::NVAPI_STEREO_PARAMETER_OUT_OF_RANGE Given separation percentage is out of [0..100] range.COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h301//! \param [out] pConvergence Address of @c float type variable to store current convergence value in.COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h321//!COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h341//! \fn NvAPI_Stereo_SetActiveEye(StereoHandle hStereoHandle, NV_STEREO_ACTIVE_EYE StereoEye);COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h361//! \retval ::NVAPI_ERROR - Something is wrong (generic error).COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h381//! COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h401typedef enum _NV_StereoDriverModeCOMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h421//! \param [in] stereoHandle Stereo handle that corresponds to the device interface.COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h441//!COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h461//!COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h481 NVAPI_STEREO_SURFACECREATEMODE_FORCEMONO //!< Always create mono surfaces. COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h501//! WHEN TO USE: After the stereo handle for device interface is created via successful call to appropriate NvAPI_StereoCOMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h521//!COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h541//!COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h561//! DESCRIPTION: This API retrieves the current default stereo profile.COMMENT
LOWlact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h581//! \retval NVAPI_INVALID_ARGUMENT - pcbSizeOut == 0 or cbSizeIn >= *pcbSizeOut && szProfileNCOMMENT
357 more matches not shown…
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALlact-daemon/src/server/gpu_controller/nvidia.rs760 .or_else(|| self.common.pci_info.device_pci_info.model.clone())CODE
CRITICALlact-daemon/src/server/gpu_controller/intel.rs817 self.common.pci_info.device_pci_info.model.clone()CODE
CRITICALlact-daemon/src/server/gpu_controller/amd.rs726 .contains(&self.common.pci_info.device_pci_info.model_id.as_str())CODE
CRITICALlact-daemon/src/server/gpu_controller/amd.rs851 .or_else(|| self.common.pci_info.device_pci_info.model.clone())CODE
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWlact-daemon/include/drm/drm_mode.h86 * When adding a new stereo mode don't forget to adjust DRM_MODE_FLAGS_3D_MAXCOMMENT
LOW…n/include/nvidia/src/common/sdk/nvidia/inc/rs_access.h51// When adding a new access right, don't forget to updateCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMlact-daemon/include/nvidia/nvapi/nvapi_lite_common.h550 //!< On discrete GPUs, it is used to utilize system memory for various opCOMMENT