Go assembly and source viewer
This report presents the forensic synthetic code analysis of loov/lensm, a Go project with 3,694 GitHub stars. SynthScan v2.0 examined 23,811 lines of code across 224 source files, recording 83 pattern matches distributed across 3 syntactic categories. The overall adjusted score of 3.7 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 83 distinct pattern matches across 3 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 | internal/go/src/buildcfg/exp.go | 41 | // It is not guaranteed to be canonical. | COMMENT |
| LOW | internal/go/src/buildcfg/exp.go | 61 | // regabiAlwaysOn is set to true on platforms where register ABI is | COMMENT |
| LOW | internal/go/src/goexperiment/flags.go | 1 | // Copyright 2021 The Go Authors. All rights reserved. | COMMENT |
| LOW | internal/go/src/goexperiment/flags.go | 21 | // boolean constant x and an integer constant xInt. | COMMENT |
| LOW | internal/go/src/goexperiment/flags.go | 41 | // The code used in builds to interpret the GOEXPERIMENT variable | COMMENT |
| LOW | internal/go/src/goexperiment/flags.go | 61 | BoringCrypto bool | COMMENT |
| LOW | internal/go/src/goexperiment/flags.go | 81 | // This was originally reduced as part of PacerRedesign, but | COMMENT |
| LOW | internal/go/src/unsafeheader/unsafeheader.go | 1 | // Copyright 2020 The Go Authors. All rights reserved. | COMMENT |
| LOW | internal/go/src/archive/archive.go | 301 | // 34:40 gid | COMMENT |
| LOW | internal/go/src/bisect/bisect.go | 1 | // Copyright 2023 The Go Authors. All rights reserved. | COMMENT |
| LOW | internal/go/src/bisect/bisect.go | 21 | // 3. Enable each change that the pattern says should be enabled. | COMMENT |
| LOW | internal/go/src/bisect/bisect.go | 41 | // Then, each time a potential change is considered, the program computes | COMMENT |
| LOW | internal/go/src/bisect/bisect.go | 61 | // Finally, note that New returns a nil Matcher when there is no pattern, | COMMENT |
| LOW | internal/go/src/bisect/bisect.go | 81 | // still exploring the space of possible changes and will not be showing the | COMMENT |
| LOW | internal/go/src/bisect/bisect.go | 101 | // provided by the [Matcher.FileLine] method. | COMMENT |
| LOW | internal/go/src/bisect/bisect.go | 121 | // In the expression, all the + operators must appear before all the - operators. | COMMENT |
| LOW | internal/go/src/bisect/bisect.go | 141 | // changes: the pattern specifies the changes to DISABLE and report. This | COMMENT |
| LOW | internal/go/src/bisect/bisect.go | 161 | // printed by the bisect tool to describe a change implicated in causing | COMMENT |
| LOW | internal/go/src/goarch/goarch.go | 1 | // Copyright 2021 The Go Authors. All rights reserved. | COMMENT |
| LOW | internal/go/src/objabi/autotype.go | 1 | // Derived from Inferno utils/6l/l.h and related files. | COMMENT |
| LOW | internal/go/src/objabi/autotype.go | 21 | // all copies or substantial portions of the Software. | COMMENT |
| LOW | internal/go/src/objabi/reloctype.go | 1 | // Derived from Inferno utils/6l/l.h and related files. | COMMENT |
| LOW | internal/go/src/objabi/reloctype.go | 21 | // all copies or substantial portions of the Software. | COMMENT |
| LOW | internal/go/src/objabi/reloctype.go | 81 | // linker uses this as a signal that the pointed-to type information | COMMENT |
| LOW | internal/go/src/objabi/reloctype.go | 101 | // R_METHODOFF resolves to a 32-bit offset from the beginning of the section | COMMENT |
| LOW | internal/go/src/objabi/reloctype.go | 121 | // Platform dependent relocations. Architectures with fixed width instructions | COMMENT |
| LOW | internal/go/src/objabi/reloctype.go | 181 | R_ARM64_LDST128 | COMMENT |
| LOW | internal/go/src/objabi/reloctype.go | 201 | // simpler thread-pointer relative relocation. See table 3.26 and 3.28 in the | COMMENT |
| LOW | internal/go/src/objabi/reloctype.go | 221 | COMMENT | |
| LOW | internal/go/src/objabi/reloctype.go | 241 | // R_ADDRPOWER_DS but inserts the offset from the TOC to the address of the | COMMENT |
| LOW | internal/go/src/objabi/reloctype.go | 381 | // address of a B instruction, by encoding it into the instruction. | COMMENT |
| LOW | internal/go/src/objabi/reloctype.go | 401 | R_XCOFFREF | COMMENT |
| LOW | internal/go/src/objabi/reloctype.go | 501 | } | COMMENT |
| LOW | internal/go/src/objabi/symkind.go | 1 | // Derived from Inferno utils/6l/l.h and related files. | COMMENT |
| LOW | internal/go/src/objabi/symkind.go | 21 | // all copies or substantial portions of the Software. | COMMENT |
| LOW | internal/go/src/objabi/flag.go | 41 | // | COMMENT |
| LOW | internal/go/src/objabi/head.go | 1 | // Derived from Inferno utils/6l/l.h and related files. | COMMENT |
| LOW | internal/go/src/objabi/pkgspecial.go | 1 | // Copyright 2023 The Go Authors. All rights reserved. | COMMENT |
| LOW | internal/go/src/objabi/pkgspecial.go | 21 | // - Checkptr is always disabled. | COMMENT |
| LOW | internal/go/src/abi/symtab.go | 1 | // Copyright 2023 The Go Authors. All rights reserved. | COMMENT |
| LOW | internal/go/src/abi/symtab.go | 21 | // Entry PC of func data changed from address to offset (CL 351463). | COMMENT |
| LOW | internal/go/src/abi/symtab.go | 41 | // FuncFlagTopFrame indicates a function that appears at the top of its stack. | COMMENT |
| LOW | internal/go/src/abi/escape.go | 1 | // Copyright 2024 The Go Authors. All rights reserved. | COMMENT |
| LOW | internal/go/src/abi/escape.go | 41 | // content, not the pointer. | COMMENT |
| LOW | internal/go/src/abi/type.go | 1 | // Copyright 2023 The Go Authors. All rights reserved. | COMMENT |
| LOW | internal/go/src/abi/type.go | 21 | Size_ uintptr | COMMENT |
| LOW | internal/go/src/abi/type.go | 81 | // TFlag is used by a Type to signal what extra type information is | COMMENT |
| LOW | internal/go/src/abi/type.go | 101 | TFlagUncommon TFlag = 1 << 0 | COMMENT |
| LOW | internal/go/src/abi/type.go | 481 | Elem *Type // slice element type | COMMENT |
| LOW | internal/go/src/abi/type.go | 561 | Fields []StructField | COMMENT |
| LOW | internal/go/src/abi/type.go | 581 | // methods that are defined in a different package than their type. | COMMENT |
| LOW | internal/go/src/abi/type.go | 721 | // and no more than one {, }, ... at each level (it cannot have both the | COMMENT |
| LOW | internal/go/src/abi/type.go | 741 | TraceArgsStartAgg = 0xfe | COMMENT |
| LOW | internal/go/src/abi/type.go | 761 | // assume an aligned start and not use atomic operations. In the current | COMMENT |
| LOW | internal/go/src/abi/abi.go | 1 | // Copyright 2020 The Go Authors. All rights reserved. | COMMENT |
| LOW | internal/go/src/abi/abi.go | 21 | type RegArgs struct { | COMMENT |
| LOW | internal/go/src/abi/funcpc.go | 1 | // Copyright 2023 The Go Authors. All rights reserved. | COMMENT |
| LOW | internal/go/src/abi/funcpc.go | 21 | // Implemented as a compile intrinsic. | COMMENT |
| LOW | internal/go/src/abi/stack.go | 1 | // Copyright 2023 The Go Authors. All rights reserved. | COMMENT |
| LOW | internal/go/src/abi/stack.go | 21 | // | COMMENT |
| 20 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | internal/go/src/src/pos.go | 391 | // Depending on the debugger (gdb or delve) it may or may not be displayed. | COMMENT |
| MEDIUM | internal/go/src/src/xpos.go | 71 | // gdb chooses not to display the bogus line; delve shows it with a complaint, but the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | data/download.sh | 7 | # Usage: | COMMENT |