Repository Analysis

YishenTu/claudian

An Obsidian plugin that embeds Claude Code/Codex as an AI collaborator in your vault

2.4 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of YishenTu/claudian, a TypeScript project with 14,029 GitHub stars. SynthScan v2.0 examined 213,706 lines of code across 718 source files, recording 505 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 2.4 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.4
Adjusted Score
2.4
Raw Score
100%
Time Factor
2026-07-14
Last Push
14.0K
Stars
TypeScript
Language
213.7K
Lines of Code
718
Files
505
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 0MEDIUM 2LOW 503

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 505 distinct pattern matches across 6 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.

Hyper-Verbose Identifiers434 hits · 442 pts
SeverityFileLineSnippetContext
LOWtests/unit/core/providers/ProviderRegistry.test.ts311function createDeferredTitleService(): TitleGenerationService & {CODE
LOW…ts/unit/providers/claude/plugins/PluginManager.test.ts27function createMockCCSettingsStorage() {CODE
LOW…t/providers/claude/runtime/QueryOptionsBuilder.test.ts63function createMockPersistentQueryConfig(CODE
LOW…nit/providers/codex/commands/CodexSkillCatalog.test.ts43function createMockSkillListProvider(CODE
LOWtests/unit/features/chat/ui/ImageContext.test.ts31function createContainerWithInputWrapper(): { container: any; inputWrapper: any } {CODE
LOW…unit/features/chat/controllers/InputController.test.ts33function createMockFileContextManager() {CODE
LOW…unit/features/chat/controllers/InputController.test.ts43function createMockImageContextManager() {CODE
LOW…unit/features/chat/controllers/InputController.test.ts96function createMockInstructionRefineService(overrides: Record<string, jest.Mock> = {}) {CODE
LOW…unit/features/chat/controllers/InputController.test.ts107function createMockInstructionModeManager() {CODE
LOW…atures/chat/controllers/ConversationController.test.ts2051function createMockBuildSessionUpdates(mockService: any) {CODE
LOW…res/inline-edit/ui/InlineEditModal.openAndWait.test.ts13 MentionDropdownController: function MockMentionDropdownController(...args: any[]) {CODE
LOWtests/unit/shared/index.test.ts20 MentionDropdownController: function MentionDropdownController() {},CODE
LOW…/unit/shared/mention/MentionDropdownController.test.ts64function getLatestDropdownRenderOptions(): any {CODE
LOW…/unit/shared/mention/MentionDropdownController.test.ts73function getLatestDropdownInstance(): any {CODE
LOWtests/integration/core/agent/ClaudianService.test.ts36function createAssistantWithToolUse(toolName: string, toolInput: Record<string, unknown>, toolId = 'tool-123') {CODE
LOWtests/helpers/sdkMessages.ts129export function buildCompactBoundaryMessage(CODE
LOWtests/helpers/sdkMessages.ts182export function buildResultSuccessMessage(CODE
LOWscripts/rendererSafeUnref.js89function patchRendererUnsafeUnrefSites(contents) {CODE
LOWscripts/rendererSafeUnref.js108function findUnsafeTimerUnrefSites(contents) {CODE
LOWsrc/core/tools/todo.ts49export function extractLastTodosFromMessages(CODE
LOWsrc/core/tools/toolInput.ts58function parseAnswersFromJsonObject(resultText: string): AskUserAnswers | undefined {CODE
LOWsrc/core/tools/toolInput.ts75function parseAnswersFromQuotedPairs(resultText: string): AskUserAnswers | undefined {CODE
LOWsrc/core/tools/toolInput.ts92export function extractResolvedAnswersFromResultText(result: unknown): AskUserAnswers | undefined {CODE
LOWsrc/core/bootstrap/SessionStorage.ts25function assertValidSessionMetadataId(id: string): void {CODE
LOWsrc/core/providers/conversationModel.ts35export function normalizeProviderModelSelection(CODE
LOWsrc/core/providers/reasoning.ts3export function resolvePreferredReasoningDefault(CODE
LOWsrc/core/providers/ProviderSettingsCoordinator.ts102function normalizeModelDependentSettings(CODE
LOWsrc/core/providers/modelSelection.ts15export function getProviderModelSelectionPrefix(providerId: ProviderId): string | null {CODE
LOWsrc/core/providers/modelSelection.ts19export function encodeProviderModelSelectionId(CODE
LOWsrc/core/providers/modelSelection.ts32export function decodeProviderModelSelectionId(CODE
LOWsrc/core/providers/modelSelection.ts59export function isProviderModelSelectionId(CODE
LOWsrc/core/providers/modelRouting.ts8export function getEnabledProviderForModel(CODE
LOWsrc/core/providers/providerEnvironment.ts83function createClassifiedEnvironmentLines(): ClassifiedEnvironmentLines {CODE
LOWsrc/core/providers/providerEnvironment.ts95function hasMeaningfulEnvironmentContent(envText: string): boolean {CODE
LOWsrc/core/providers/providerEnvironment.ts104function getLegacyEnvironmentClassification(CODE
LOWsrc/core/providers/providerEnvironment.ts119export function classifyEnvironmentVariablesByOwnership(input: string): {CODE
LOWsrc/core/providers/providerEnvironment.ts171export function getSharedEnvironmentVariables(settings: Record<string, unknown>): string {CODE
LOWsrc/core/providers/providerEnvironment.ts180export function setSharedEnvironmentVariables(CODE
LOWsrc/core/providers/providerEnvironment.ts188export function getProviderEnvironmentVariables(CODE
LOWsrc/core/providers/providerEnvironment.ts200export function setProviderEnvironmentVariables(CODE
LOWsrc/core/providers/providerEnvironment.ts227export function getRuntimeEnvironmentText(CODE
LOWsrc/core/providers/providerEnvironment.ts237export function getRuntimeEnvironmentVariables(CODE
LOWsrc/core/providers/providerEnvironment.ts244export function getEnvironmentVariablesForScope(CODE
LOWsrc/core/providers/providerEnvironment.ts255export function setEnvironmentVariablesForScope(CODE
LOWsrc/core/providers/providerEnvironment.ts273export function getEnvironmentReviewKeysForScope(CODE
LOWsrc/core/providers/providerEnvironment.ts302export function inferEnvironmentSnippetScope(CODE
LOWsrc/core/providers/providerEnvironment.ts321export function resolveEnvironmentSnippetScope(CODE
LOWsrc/core/providers/providerEnvironment.ts333export function getEnvironmentScopeUpdates(CODE
LOWsrc/core/providers/commands/hiddenCommands.ts4function normalizeHiddenCommandName(value: string): string {CODE
LOWsrc/core/providers/commands/hiddenCommands.ts8export function normalizeHiddenCommandList(value: unknown): string[] {CODE
LOWsrc/core/providers/commands/hiddenCommands.ts38export function getDefaultHiddenProviderCommands(): HiddenProviderCommands {CODE
LOWsrc/core/providers/commands/hiddenCommands.ts42export function normalizeHiddenProviderCommands(CODE
LOWsrc/core/providers/commands/hiddenCommands.ts62export function getHiddenProviderCommands(CODE
LOWsrc/core/providers/commands/hiddenCommands.ts69export function getHiddenProviderCommandSet(CODE
LOWsrc/core/prompt/inlineEdit.ts77export function getInlineEditSystemPrompt(): string {CODE
LOWsrc/core/prompt/titleGeneration.ts16export function buildTitleGenerationPrompt(userMessage: string): string {CODE
LOWsrc/core/prompt/titleGeneration.ts23export function parseTitleGenerationResponse(responseText: string): string | null {CODE
LOWsrc/core/prompt/instructionRefine.ts55export function parseInstructionRefineResponse(responseText: string): {CODE
LOWsrc/core/commands/builtInCommands.ts88export function isBuiltInCommandSupported(CODE
LOWsrc/core/commands/builtInCommands.ts125export function getBuiltInCommandsForDropdown(context?: BuiltInCommandSupportContext): Array<{CODE
374 more matches not shown…
Fake / Example Data61 hits · 61 pts
SeverityFileLineSnippetContext
LOWsrc/features/chat/rendering/InlineAskUserQuestion.ts310 inputEl.setAttribute('placeholder', q.isSecret ? 'Enter secret.' : 'Type something.');CODE
LOWsrc/i18n/locales/ja.json60 "placeholder": "> bash コマンドを実行...",CODE
LOWsrc/i18n/locales/ja.json162 "placeholder": "commit\nbuild\ntest"CODE
LOWsrc/i18n/locales/ja.json252 "placeholder": "エイリアス"CODE
LOWsrc/i18n/locales/ja.json262 "placeholder": "claude-opus-4-6\nclaude-opus-4-5-20251101"CODE
LOWsrc/i18n/locales/ja.json344 "placeholder": "gpt-5.4\ngpt-5.3-codex-spark"CODE
LOWsrc/i18n/locales/ja.json432 "placeholder": "Review code like an owner.\nPrioritize correctness, security, and missing test coverage.",CODE
LOWsrc/i18n/locales/de.json60 "placeholder": "> Einen Bash-Befehl ausführen...",CODE
LOWsrc/i18n/locales/de.json162 "placeholder": "commit\nbuild\ntest"CODE
LOWsrc/i18n/locales/de.json252 "placeholder": "Aliasname"CODE
LOWsrc/i18n/locales/de.json262 "placeholder": "claude-opus-4-6\nclaude-opus-4-5-20251101"CODE
LOWsrc/i18n/locales/de.json344 "placeholder": "gpt-5.4\ngpt-5.3-codex-spark"CODE
LOWsrc/i18n/locales/de.json432 "placeholder": "Review code like an owner.\nPrioritize correctness, security, and missing test coverage.",CODE
LOWsrc/i18n/locales/ru.json60 "placeholder": "> Выполнить команду bash...",CODE
LOWsrc/i18n/locales/ru.json162 "placeholder": "commit\nbuild\ntest"CODE
LOWsrc/i18n/locales/ru.json252 "placeholder": "Псевдоним"CODE
LOWsrc/i18n/locales/ru.json262 "placeholder": "claude-opus-4-6\nclaude-opus-4-5-20251101"CODE
LOWsrc/i18n/locales/ru.json344 "placeholder": "gpt-5.4\ngpt-5.3-codex-spark"CODE
LOWsrc/i18n/locales/ru.json432 "placeholder": "Review code like an owner.\nPrioritize correctness, security, and missing test coverage.",CODE
LOWsrc/i18n/locales/zh-CN.json60 "placeholder": "> 运行命令...",CODE
LOWsrc/i18n/locales/zh-CN.json162 "placeholder": "commit\nbuild\ntest"CODE
LOWsrc/i18n/locales/zh-CN.json252 "placeholder": "别名"CODE
LOWsrc/i18n/locales/zh-CN.json262 "placeholder": "claude-opus-4-6\nclaude-opus-4-5-20251101"CODE
LOWsrc/i18n/locales/zh-CN.json344 "placeholder": "gpt-5.4\ngpt-5.3-codex-spark"CODE
LOWsrc/i18n/locales/zh-CN.json432 "placeholder": "Review code like an owner.\nPrioritize correctness, security, and missing test coverage.",CODE
LOWsrc/i18n/locales/pt.json60 "placeholder": "> Executar um comando bash...",CODE
LOWsrc/i18n/locales/pt.json162 "placeholder": "commit\nbuild\ntest"CODE
LOWsrc/i18n/locales/pt.json252 "placeholder": "Apelido"CODE
LOWsrc/i18n/locales/pt.json262 "placeholder": "claude-opus-4-6\nclaude-opus-4-5-20251101"CODE
LOWsrc/i18n/locales/pt.json344 "placeholder": "gpt-5.4\ngpt-5.3-codex-spark"CODE
LOWsrc/i18n/locales/pt.json432 "placeholder": "Review code like an owner.\nPrioritize correctness, security, and missing test coverage.",CODE
LOWsrc/i18n/locales/en.json60 "placeholder": "> Run a bash command...",CODE
LOWsrc/i18n/locales/en.json162 "placeholder": "commit\nbuild\ntest"CODE
LOWsrc/i18n/locales/en.json252 "placeholder": "Alias"CODE
LOWsrc/i18n/locales/en.json262 "placeholder": "claude-opus-4-6\nclaude-opus-4-5-20251101"CODE
LOWsrc/i18n/locales/en.json344 "placeholder": "gpt-5.4\ngpt-5.3-codex-spark"CODE
LOWsrc/i18n/locales/en.json432 "placeholder": "Review code like an owner.\nPrioritize correctness, security, and missing test coverage.",CODE
LOWsrc/i18n/locales/fr.json60 "placeholder": "> Exécuter une commande bash...",CODE
LOWsrc/i18n/locales/fr.json162 "placeholder": "commit\nbuild\ntest"CODE
LOWsrc/i18n/locales/fr.json252 "placeholder": "Alias"CODE
LOWsrc/i18n/locales/fr.json262 "placeholder": "claude-opus-4-6\nclaude-opus-4-5-20251101"CODE
LOWsrc/i18n/locales/fr.json344 "placeholder": "gpt-5.4\ngpt-5.3-codex-spark"CODE
LOWsrc/i18n/locales/fr.json432 "placeholder": "Review code like an owner.\nPrioritize correctness, security, and missing test coverage.",CODE
LOWsrc/i18n/locales/ko.json60 "placeholder": "> bash 명령 실행...",CODE
LOWsrc/i18n/locales/ko.json162 "placeholder": "commit\nbuild\ntest"CODE
LOWsrc/i18n/locales/ko.json252 "placeholder": "별칭"CODE
LOWsrc/i18n/locales/ko.json262 "placeholder": "claude-opus-4-6\nclaude-opus-4-5-20251101"CODE
LOWsrc/i18n/locales/ko.json344 "placeholder": "gpt-5.4\ngpt-5.3-codex-spark"CODE
LOWsrc/i18n/locales/ko.json432 "placeholder": "Review code like an owner.\nPrioritize correctness, security, and missing test coverage.",CODE
LOWsrc/i18n/locales/zh-TW.json60 "placeholder": "> 執行 bash 指令...",CODE
LOWsrc/i18n/locales/zh-TW.json162 "placeholder": "commit\nbuild\ntest"CODE
LOWsrc/i18n/locales/zh-TW.json252 "placeholder": "別名"CODE
LOWsrc/i18n/locales/zh-TW.json262 "placeholder": "claude-opus-4-6\nclaude-opus-4-5-20251101"CODE
LOWsrc/i18n/locales/zh-TW.json344 "placeholder": "gpt-5.4\ngpt-5.3-codex-spark"CODE
LOWsrc/i18n/locales/zh-TW.json432 "placeholder": "Review code like an owner.\nPrioritize correctness, security, and missing test coverage.",CODE
LOWsrc/i18n/locales/es.json60 "placeholder": "> Ejecuta un comando bash...",CODE
LOWsrc/i18n/locales/es.json162 "placeholder": "commit\nbuild\ntest"CODE
LOWsrc/i18n/locales/es.json252 "placeholder": "Alias"CODE
LOWsrc/i18n/locales/es.json262 "placeholder": "claude-opus-4-6\nclaude-opus-4-5-20251101"CODE
LOWsrc/i18n/locales/es.json344 "placeholder": "gpt-5.4\ngpt-5.3-codex-spark"CODE
1 more matches not shown…
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOW…atures/chat/controllers/ConversationController.test.ts2012 // Step 1: Session 0 is empty, persistent paths = [A]COMMENT
LOW…atures/chat/controllers/ConversationController.test.ts2019 // Step 2: User switches to session 1 and adds path B, settings now have [A, B]COMMENT
LOW…atures/chat/controllers/ConversationController.test.ts2032 // Step 3: User returns to session 0 (empty)COMMENT
Structural Annotation Overuse3 hits · 6 pts
SeverityFileLineSnippetContext
LOW…atures/chat/controllers/ConversationController.test.ts2012 // Step 1: Session 0 is empty, persistent paths = [A]COMMENT
LOW…atures/chat/controllers/ConversationController.test.ts2019 // Step 2: User switches to session 1 and adds path B, settings now have [A, B]COMMENT
LOW…atures/chat/controllers/ConversationController.test.ts2032 // Step 3: User returns to session 0 (empty)COMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMsrc/features/chat/tabs/TabManager.ts474 // Compare view references directly (more robust than leaf comparison)COMMENT
MEDIUMsrc/features/chat/ui/StatusPanel.ts120 // Create panel element (no border/background - seamless)COMMENT
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/claude-code-review.yml1name: Claude Code ReviewCOMMENT
LOW.github/workflows/claude.yml41 actions: readCOMMENT