Linux GPU Configuration And Monitoring Tool
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).
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.
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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lact-daemon/include/nvidia.h | 1 | #include "nvidia/kernel-open/common/inc/nv-ioctl-numbers.h" | COMMENT |
| LOW | lact-daemon/include/intel.h | 1 | #include "drm/i915_drm.h" | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 401 | } drm_i915_sarea_t; | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 421 | /* | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 441 | #define DRM_I915_SET_VBLANK_PIPE 0x0d | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 461 | #define DRM_I915_GEM_GET_APERTURE 0x23 | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 481 | #define DRM_I915_PERF_OPEN 0x36 | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 501 | #define DRM_IOCTL_I915_CMDBUFFER DRM_IOW( DRM_COMMAND_BASE + DRM_I915_CMDBUFFER, drm_i915_cmdbuffer_t) | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 521 | #define DRM_IOCTL_I915_GEM_PREAD DRM_IOW (DRM_COMMAND_BASE + DRM_I915_GEM_PREAD, struct drm_i915_gem_pread) | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 541 | #define DRM_IOCTL_I915_REG_READ DRM_IOWR (DRM_COMMAND_BASE + DRM_I915_REG_READ, struct drm_i915_reg_read) | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 601 | #define I915_PARAM_HAS_GEM 5 | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 621 | #define I915_PARAM_HAS_EXEC_NO_RELOC 25 | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 1721 | #define I915_TILING_X 1 | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 1841 | #define I915_OVERLAY_RGB15 0x3000 | COMMENT |
| LOW | lact-daemon/include/drm/drm.h | 61 | COMMENT | |
| LOW | lact-daemon/include/drm/drm.h | 1021 | #if defined(__cplusplus) | COMMENT |
| LOW | lact-daemon/include/drm/drm.h | 1061 | #define DRM_IOCTL_GEM_OPEN DRM_IOWR(0x0b, struct drm_gem_open) | COMMENT |
| LOW | lact-daemon/include/drm/drm.h | 1081 | COMMENT | |
| LOW | lact-daemon/include/drm/drm.h | 1141 | #define DRM_IOCTL_SG_ALLOC DRM_IOWR(0x38, struct drm_scatter_gather) | COMMENT |
| LOW | lact-daemon/include/drm/drm.h | 1201 | #define DRM_IOCTL_MODE_CREATE_DUMB DRM_IOWR(0xB2, struct drm_mode_create_dumb) | COMMENT |
| LOW | lact-daemon/include/drm/drm_mode.h | 41 | * Userspace can refer to these structure definitions and UAPI formats | COMMENT |
| LOW | lact-daemon/include/drm/drm_mode.h | 81 | #define DRM_MODE_FLAG_BCAST (1<<10) /* deprecated */ | COMMENT |
| LOW | lact-daemon/include/drm/drm_mode.h | 101 | #define DRM_MODE_PICTURE_ASPECT_NONE 0 | COMMENT |
| LOW | lact-daemon/include/drm/drm_mode.h | 141 | /* DPMS flags */ | COMMENT |
| LOW | lact-daemon/include/drm/drm_mode.h | 401 | }; | COMMENT |
| LOW | lact-daemon/include/drm/intel_bufmgr.h | 301 | #define dri_bo_alloc drm_intel_bo_alloc | COMMENT |
| LOW | lact-daemon/include/drm/intel_bufmgr.h | 321 | #define dri_bo_set_tiling(bo, mode) drm_intel_bo_set_tiling(bo, mode, 0) | COMMENT |
| LOW | lact-daemon/include/drm/xe_drm.h | 101 | #define DRM_XE_EXEC_QUEUE_GET_PROPERTY 0x08 | COMMENT |
| LOW | …de/nvidia/kernel-open/nvidia-drm/nv_drm_common_ioctl.h | 21 | */ | COMMENT |
| LOW | …de/nvidia/kernel-open/nvidia-drm/nv_drm_common_ioctl.h | 41 | #define DRM_NVIDIA_GEM_MAP_OFFSET 0x0a | COMMENT |
| LOW | …clude/nvidia/kernel-open/common/inc/nv-ioctl-numbers.h | 41 | #define NV_ESC_IOCTL_XFER_CMD (NV_IOCTL_BASE + 11) | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 21 | |* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *| | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 41 | //! and will return the appropriate error code. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 61 | //! Calls to this function affect the entire system. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 81 | // | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 101 | /////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 121 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 141 | //! This should be called after the device corresponding to the handle has been destroyed. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 161 | // | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 181 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 201 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 221 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 241 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 261 | /////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 281 | //! \retval ::NVAPI_STEREO_PARAMETER_OUT_OF_RANGE Given separation percentage is out of [0..100] range. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 301 | //! \param [out] pConvergence Address of @c float type variable to store current convergence value in. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 321 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 341 | //! \fn NvAPI_Stereo_SetActiveEye(StereoHandle hStereoHandle, NV_STEREO_ACTIVE_EYE StereoEye); | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 361 | //! \retval ::NVAPI_ERROR - Something is wrong (generic error). | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 381 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 401 | typedef enum _NV_StereoDriverMode | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 421 | //! \param [in] stereoHandle Stereo handle that corresponds to the device interface. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 441 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 461 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 481 | NVAPI_STEREO_SURFACECREATEMODE_FORCEMONO //!< Always create mono surfaces. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 501 | //! WHEN TO USE: After the stereo handle for device interface is created via successful call to appropriate NvAPI_Stereo | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 521 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 541 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 561 | //! DESCRIPTION: This API retrieves the current default stereo profile. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 581 | //! \retval NVAPI_INVALID_ARGUMENT - pcbSizeOut == 0 or cbSizeIn >= *pcbSizeOut && szProfileN | COMMENT |
| 357 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | lact-daemon/src/server/gpu_controller/nvidia.rs | 760 | .or_else(|| self.common.pci_info.device_pci_info.model.clone()) | CODE |
| CRITICAL | lact-daemon/src/server/gpu_controller/intel.rs | 817 | self.common.pci_info.device_pci_info.model.clone() | CODE |
| CRITICAL | lact-daemon/src/server/gpu_controller/amd.rs | 726 | .contains(&self.common.pci_info.device_pci_info.model_id.as_str()) | CODE |
| CRITICAL | lact-daemon/src/server/gpu_controller/amd.rs | 851 | .or_else(|| self.common.pci_info.device_pci_info.model.clone()) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lact-daemon/include/drm/drm_mode.h | 86 | * When adding a new stereo mode don't forget to adjust DRM_MODE_FLAGS_3D_MAX | COMMENT |
| LOW | …n/include/nvidia/src/common/sdk/nvidia/inc/rs_access.h | 51 | // When adding a new access right, don't forget to update | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lact-daemon/include/nvidia/nvapi/nvapi_lite_common.h | 550 | //!< On discrete GPUs, it is used to utilize system memory for various op | COMMENT |