Repository Analysis

JuliaLang/julia

The Julia Programming Language

2.8 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of JuliaLang/julia, a Julia project with 49,028 GitHub stars. SynthScan v2.0 examined 245,428 lines of code across 657 source files, recording 575 pattern matches distributed across 11 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-14
Last Push
49.0K
Stars
Julia
Language
245.4K
Lines of Code
657
Files
575
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 1MEDIUM 47LOW 527

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 575 distinct pattern matches across 11 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 Block500 hits · 494 pts
SeverityFileLineSnippetContext
LOWtest/gcext/gcext.c1// This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
LOWtest/embedding/asan-embedding.c1// This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
LOWtest/trim/LibSimple/capplication.c1#include <stdio.h>COMMENT
LOWtest/clangsa/StaticOrDeclaredTest.c1// This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
LOWtest/clangsa/StaticOrDeclaredTest.c21// FIXYAML-NOT: ReplacementTextCOMMENT
LOWtest/clangsa/FirstDeclAnnotationsTest.c1// This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
LOWtest/clangsa/FirstDeclAnnotationsTest.c121 void fda_ovr_bad(void) override;COMMENT
LOWtest/clangsa/FirstDeclAnnotationsTest.h1// This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
LOWcli/loader_exe.c1// This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
LOWcli/loader_lib.c201#endifCOMMENT
LOWcli/jl_exports.h1// This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
LOWcli/list_strip_symbols.h1// This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
LOWcli/loader.h1// This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
LOWcli/loader.h21#endifCOMMENT
LOWcli/loader.h41# define JL_DLLIMPORT __declspec(dllimport) __attribute__ ((visibility("default")))COMMENT
LOWcli/dl-cache.h21#define FLAG_ANY -1COMMENT
LOWcli/dl-cache.h41#define FLAG_MIPS64_LIBN64_NAN2008 0x0e00COMMENT
LOWcli/dl-cache.h101COMMENT
LOWcli/loader_library_probe.c1#include "../src/support/platform.h"COMMENT
LOWcli/trampolines/common.h1// This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
LOWcli/trampolines/common.h21#if defined(_WIN32) || defined(_WIN64)COMMENT
LOWcli/trampolines/common.h41#define SEH_START2() .seh_endprologueCOMMENT
LOWcli/trampolines/common.h61// aarch64 on mac requires some special assembler syntax for both calculating memoryCOMMENT
LOWcontrib/tsan/build.sh1#!/bin/bashCOMMENT
LOWcontrib/mac/framework/Julia.h1// This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
LOWcontrib/asan/build.sh1#!/bin/bashCOMMENT
LOWdeps/valgrind/valgrind.h121#undef PLAT_arm64_linuxCOMMENT
LOWdeps/valgrind/valgrind.h141# define PLAT_amd64_linux 1COMMENT
LOWdeps/valgrind/valgrind.h6581#undef PLAT_ppc64le_linuxCOMMENT
LOWdoc/src/manual/methods.md781 # R = typeof(op(a[1], b[1]))COMMENT
LOWsrc/runtime_intrinsics.c1// This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
LOWsrc/runtime_intrinsics.c261 (defined(__clang__) && __clang_major__ > 14)) && \COMMENT
LOWsrc/runtime_intrinsics.c281 #define FLOAT16_RET_FROM_UINT16(x) return_in_xmm(x)COMMENT
LOWsrc/runtime_intrinsics.c361 return float_to_bfloat(param);COMMENT
LOWsrc/runtime_intrinsics.c741COMMENT
LOWsrc/runtime_intrinsics.c1581#define and_op(a,b) a & bCOMMENT
LOWsrc/ircode.c1// This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
LOWsrc/ircode.c21#define TAG_DATATYPE 4COMMENT
LOWsrc/ircode.c41#define TAG_SINGLETON 24COMMENT
LOWsrc/ircode.c61#define TAG_LONG_EDGE 44COMMENT
LOWsrc/signal-handling.c1// This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
LOWsrc/signal-handling.c81// or in the GC safe region and must NOT allocate anything through the GCCOMMENT
LOWsrc/signal-handling.c461#endifCOMMENT
LOWsrc/signal-handling.c481 case SIGFPE: return "Floating point exception";COMMENT
LOWsrc/signal-handling.c501#ifdef SIGTERMCOMMENT
LOWsrc/signal-handling.c521#endifCOMMENT
LOWsrc/gc-interface.h21struct _jl_genericmemory_t;COMMENT
LOWsrc/gc-interface.h41 int64_t freed;COMMENT
LOWsrc/gc-interface.h101} jl_gc_num_t;COMMENT
LOWsrc/gc-interface.h141JL_DLLEXPORT void jl_gc_set_max_memory(uint64_t max_mem);COMMENT
LOWsrc/gc-interface.h161COMMENT
LOWsrc/gc-interface.h181// (doesn't include the number of allocated bytes since then).COMMENT
LOWsrc/gc-interface.h201// Allocates small objects and increments Julia allocation counters. Size of the objectCOMMENT
LOWsrc/gc-interface.h221JL_DLLEXPORT void *jl_gc_counted_malloc(size_t sz);COMMENT
LOWsrc/gc-interface.h241// Permanently allocates a memory slot of the size specified by the first parameter. ThisCOMMENT
LOWsrc/gc-interface.h261// must be either permanently allocated or have other roots.COMMENT
LOWsrc/gc-interface.h281JL_DLLEXPORT void jl_gc_wb_cold(const void *parent, const void *ptr) JL_NOTSAFEPOINT;COMMENT
LOWsrc/gc-interface.h301// can be used to annotate that a write barrier would be required were it not for this propertyCOMMENT
LOWsrc/abi_arm.cpp1// This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
LOWsrc/abi_arm.cpp181COMMENT
440 more matches not shown…
Self-Referential Comments43 hits · 129 pts
SeverityFileLineSnippetContext
MEDIUMtest/gcext/ForeignObjSerialization/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMtest/gcext/Foreign/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMtest/gcext/DependsOnForeign/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMtest/manifest/v2.0/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMtest/manifest/v1.0/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMtest/project/Workspaces/PrecompileExt/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMtest/project/ProjectPath/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUM…/project/Extensions/EnvWithHasExtensions/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMtest/project/Extensions/EnvWithDeps/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUM…oject/Extensions/HasDepWithExtensions.jl/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUM…xtensions/CrossPackageExtToExtDependency/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMtest/project/Extensions/CyclicExtensions/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMtest/project/Extensions/Parent.jl/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUM…roject/Extensions/EnvWithHasExtensionsv2/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMtest/project/Extensions/HasExtensions.jl/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUM…st/project/Extensions/ExtToExtDependency/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMtest/project/deps/BadStdlibDeps/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMtest/project/deps/BadStdlibDeps2/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMtest/project/SyntaxVersioning/explicit/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMtest/project/SubProject/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMcontrib/prepare_release.sh2# This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
MEDIUMcontrib/delete-all-rpaths.sh2# This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
MEDIUMcontrib/fixup-rpath.sh2# This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
MEDIUMcontrib/install.sh2# This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
MEDIUMcontrib/new-stdlib.sh2# This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
MEDIUMcontrib/fixup-libgfortran.sh2# This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
MEDIUMcontrib/commit-name.sh2# This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
MEDIUMcontrib/download_cmake.sh2# This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
MEDIUMcontrib/fixup-libstdc++.sh2# This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
MEDIUMcontrib/tsan/build.sh2# This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
MEDIUMcontrib/mac/app/renotarize_dmg.sh2# This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
MEDIUMcontrib/mac/app/notarize_check.sh2# This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
MEDIUMcontrib/asan/build.sh2# This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
MEDIUMJuliaSyntax/docs/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMdeps/jlutilities/juliac/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMdeps/jlutilities/documenter/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMdeps/jlutilities/revise/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMdeps/jlutilities/objectfile/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMstdlib/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMstdlib/TOML/benchmark/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMstdlib/TOML/docs/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMCompiler/test/CompilerLoadingTest/Manifest.toml1# This file is machine-generated - editing it directly is not advisedCOMMENT
MEDIUMbase/version_git.sh2# This file is a part of Julia. License is MIT: https://julialang.org/licenseCOMMENT
Structural Annotation Overuse11 hits · 16 pts
SeverityFileLineSnippetContext
LOWdoc/src/devdocs/sanitizers.md73#### Step 1: Install toolchainCOMMENT
LOWdoc/src/devdocs/sanitizers.md93#### Step 2: Build Julia with ASANCOMMENT
LOWsrc/gf.c4526 // NOTE: This function is a huge performance hot spot!!COMMENT
LOWsrc/typemap.c219 // NOTE: This function is a huge performance hot spot!!COMMENT
LOWsrc/typemap.c240 // NOTE: This function is a performance hot spot!!COMMENT
LOWsrc/julia_internal.h1910 // NOTE: This function is a huge performance hot spot!!COMMENT
LOWsrc/datatype.c2680 // Step 1: Create empty DataTypes for each type in the typegroupCOMMENT
LOWsrc/datatype.c2715 // Step 2: Resolve type parameters and set up wrapper UnionAllsCOMMENT
LOWsrc/datatype.c2740 // Step 3: Resolve supertypes (after wrapper UnionAlls are set up)COMMENT
LOWsrc/datatype.c2775 // Step 4: Resolve field typesCOMMENT
LOWsrc/datatype.c2860 // Step 6: Reinstantiate inner typesCOMMENT
Verbosity Indicators6 hits · 9 pts
SeverityFileLineSnippetContext
LOWsrc/datatype.c2680 // Step 1: Create empty DataTypes for each type in the typegroupCOMMENT
LOWsrc/datatype.c2715 // Step 2: Resolve type parameters and set up wrapper UnionAllsCOMMENT
LOWsrc/datatype.c2740 // Step 3: Resolve supertypes (after wrapper UnionAlls are set up)COMMENT
LOWsrc/datatype.c2775 // Step 4: Resolve field typesCOMMENT
LOWsrc/datatype.c2860 // Step 6: Reinstantiate inner typesCOMMENT
LOWsrc/method.c1392// This section handles method roots. Roots are GC-preserved items needed toCOMMENT
AI Slop Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
LOWcontrib/fixup-libgfortran.sh122# don't care about full paths, we just set the rpath to `$ORIGIN`.COMMENT
MEDIUMsrc/codegen.cpp6125 // This shouldn't happen in well-formed input, but let's be robust,COMMENT
MEDIUMsrc/julia_internal.h1680//TODO: utilize https://github.com/openssl/openssl/blob/master/crypto/rand/rand_uniform.c#L13-L99COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHdoc/src/base/scopedvalues.md246# it, unshare the values explicitly. In this example we use `merge`COMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMsrc/gc-stock.c3317 // compute some guardrails valuesCOMMENT
MEDIUMsrc/gc-stock.c3337 // then add the guardrails for transient issuesCOMMENT
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtest/clangsa/lit.cfg.py2CODE
LOWtest/clangsa/lit.cfg.py3CODE
LOWtest/llvmpasses/lit.cfg.py2CODE
LOWtest/llvmpasses/lit.cfg.py3CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcontrib/tsan/build.sh5# Usage:COMMENT
LOWcontrib/asan/build.sh5# Usage:COMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWstdlib/CompilerSupportLibraries_jll/Project.toml4# NOTE: When updating this, also make sure to update the valueCOMMENT
LOWsrc/gc-stock.c2845 // Don't forget to clear the remsetCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/cgutils.cpp542 // if (!inlined) { // TODO: implement this filter operationCOMMENT