Tcell is an alternate terminal package, similar in some ways to termbox, but better in others.
This report presents the forensic synthetic code analysis of gdamore/tcell, a Go project with 5,201 GitHub stars. SynthScan v2.0 examined 29,764 lines of code across 126 source files, recording 148 pattern matches distributed across 2 syntactic categories. The overall adjusted score of 7.3 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).
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 148 distinct pattern matches across 2 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 | mouse_test.go | 1 | // Copyright 2026 The TCell Authors | COMMENT |
| LOW | style.go | 1 | // Copyright 2026 The TCell Authors | COMMENT |
| LOW | encoding.go | 1 | // Copyright 2022 The TCell Authors | COMMENT |
| LOW | encoding.go | 21 | "golang.org/x/text/encoding" | COMMENT |
| LOW | encoding.go | 41 | // for "ISO8859-15". | COMMENT |
| LOW | cell_test.go | 1 | // Copyright 2026 The TCell Authors | COMMENT |
| LOW | tty.go | 1 | // Copyright 2025 The TCell Authors | COMMENT |
| LOW | charset_unix.go | 1 | //go:build unix | COMMENT |
| LOW | color.go | 1 | // Copyright 2025 The TCell Authors | COMMENT |
| LOW | color.go | 21 | ) | COMMENT |
| LOW | color.go | 41 | // ColorValid is used to indicate the color value is actually | COMMENT |
| LOW | color.go | 461 | // ColorReset is used to indicate that the color should use the | COMMENT |
| LOW | event.go | 1 | // Copyright 2015 The TCell Authors | COMMENT |
| LOW | cell_bench_test.go | 1 | // Copyright 2026 The TCell Authors | COMMENT |
| LOW | wscreen.go | 1 | // Copyright 2026 The TCell Authors | COMMENT |
| LOW | eastasian.go | 1 | // Copyright 2026 The TCell Authors | COMMENT |
| LOW | tscreen_win.go | 1 | // Copyright 2025 The TCell Authors | COMMENT |
| LOW | screen.go | 1 | // Copyright 2026 The TCell Authors | COMMENT |
| LOW | screen.go | 41 | COMMENT | |
| LOW | screen.go | 61 | // in screen cells; most often this will be 1, but some East Asian | COMMENT |
| LOW | screen.go | 81 | // or when StyleDefault is specified. If it is also StyleDefault, | COMMENT |
| LOW | screen.go | 101 | // response to a call to Clear or Flush. | COMMENT |
| LOW | screen.go | 141 | // manner possible. | COMMENT |
| LOW | screen.go | 161 | // RegisterRuneFallback adds a fallback for runes that are not | COMMENT |
| LOW | screen.go | 181 | COMMENT | |
| LOW | screen.go | 201 | Resume() error | COMMENT |
| LOW | screen.go | 221 | // returned bool will be false | COMMENT |
| LOW | screen.go | 241 | COMMENT | |
| LOW | charset_plan9.go | 1 | //go:build plan9 | COMMENT |
| LOW | key_test.go | 1 | // Copyright 2026 The TCell Authors | COMMENT |
| LOW | resize_test.go | 1 | // Copyright 2025 The TCell Authors | COMMENT |
| LOW | color_test.go | 1 | // Copyright 2025 The TCell Authors | COMMENT |
| LOW | input_test.go | 1 | // Copyright 2026 The TCell Authors | COMMENT |
| LOW | cell.go | 1 | // Copyright 2026 The TCell Authors | COMMENT |
| LOW | key.go | 1 | // Copyright 2026 The TCell Authors | COMMENT |
| LOW | key.go | 21 | COMMENT | |
| LOW | key.go | 61 | } | COMMENT |
| LOW | key.go | 81 | // For letter keys, compare physical values against the lowercase aliases | COMMENT |
| LOW | interrupt.go | 1 | // Copyright 2025 The TCell Authors | COMMENT |
| LOW | mouse.go | 1 | // Copyright 2025 The TCell Authors | COMMENT |
| LOW | mouse.go | 21 | // without any intervening button release. On some terminals only the initiating | COMMENT |
| LOW | width_bench_test.go | 1 | // Copyright 2026 The TCell Authors | COMMENT |
| LOW | encoding_test.go | 1 | // Copyright 2022 The TCell Authors | COMMENT |
| LOW | input.go | 1 | // Copyright 2026 The TCell Authors | COMMENT |
| LOW | input.go | 1021 | COMMENT | |
| LOW | doc.go | 1 | // Copyright 2025 The TCell Authors | COMMENT |
| LOW | tscreen.go | 1 | // Copyright 2026 The TCell Authors | COMMENT |
| LOW | tscreen.go | 41 | // NewTerminfoScreen returns a Screen that uses the stock TTY interface | COMMENT |
| LOW | tscreen.go | 121 | COMMENT | |
| LOW | tscreen.go | 1081 | // pretty much *every* terminal that supports mouse tracking follows the | COMMENT |
| LOW | TUTORIAL.md | 281 | // xmax, ymax := s.Size() | COMMENT |
| LOW | runes.go | 1 | // Copyright 2015 The TCell Authors | COMMENT |
| LOW | runes.go | 61 | // that such is desirable. Characters that represent either letters or | COMMENT |
| LOW | charset_unix_test.go | 1 | //go:build unix | COMMENT |
| LOW | resize.go | 1 | // Copyright 2025 The TCell Authors | COMMENT |
| LOW | charset_windows.go | 1 | //go:build windows | COMMENT |
| LOW | tscreen_plan9.go | 1 | //go:build plan9 | COMMENT |
| LOW | tscreen_unix.go | 1 | // Copyright 2024 The TCell Authors | COMMENT |
| LOW | focus.go | 1 | // Copyright 2023 The TCell Authors | COMMENT |
| LOW | attr.go | 1 | // Copyright 2024 The TCell Authors | COMMENT |
| 80 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | style.go | 92 | // as requested. ColorDefault can be used to select the global default. | COMMENT |
| HIGH | style.go | 100 | // as requested. ColorDefault can be used to select the global default. | COMMENT |
| HIGH⚡ | style.go | 131 | // as requested. | COMMENT |
| HIGH⚡ | style.go | 137 | // as requested. | COMMENT |
| HIGH⚡ | style.go | 143 | // as requested. | COMMENT |
| HIGH⚡ | style.go | 149 | // as requested. | COMMENT |
| HIGH⚡ | style.go | 155 | // as requested. (Reverse usually changes the foreground and background | COMMENT |
| HIGH | style.go | 180 | // as requested. The parameters can be: | COMMENT |