Repository Analysis

chatboxai/chatbox

Powerful AI Client

6.7 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of chatboxai/chatbox, a TypeScript project with 41,599 GitHub stars. SynthScan v2.0 examined 244,060 lines of code across 1231 source files, recording 1754 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 6.7 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).

6.7
Adjusted Score
6.7
Raw Score
100%
Time Factor
2026-08-14
Last Push
41.6K
Stars
TypeScript
Language
244.1K
Lines of Code
1.2K
Files
1.8K
Pattern Hits
2026-08-29
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 5MEDIUM 40LOW 1709

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 1754 distinct pattern matches across 9 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.

Fake / Example Data1205 hits · 920 pts
SeverityFileLineSnippetContext
LOWtest/cases/file-conversation/sample.md113 "street": "123 Main St",CODE
LOWtest/cases/file-conversation/sample-large.txt5Line 1: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt5Line 1: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt6Line 2: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt6Line 2: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt7Line 3: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt7Line 3: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt8Line 4: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt8Line 4: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt9Line 5: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt9Line 5: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt10Line 6: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt10Line 6: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt11Line 7: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt11Line 7: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt12Line 8: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt12Line 8: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt13Line 9: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt13Line 9: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eCODE
LOWtest/cases/file-conversation/sample-large.txt14Line 10: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt14Line 10: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt15Line 11: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt15Line 11: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt16Line 12: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt16Line 12: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt17Line 13: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt17Line 13: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt18Line 14: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt18Line 14: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt19Line 15: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt19Line 15: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt20Line 16: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt20Line 16: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt21Line 17: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt21Line 17: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt22Line 18: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt22Line 18: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt23Line 19: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt23Line 19: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt24Line 20: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt24Line 20: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt25Line 21: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt25Line 21: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt26Line 22: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt26Line 22: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt27Line 23: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt27Line 23: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt28Line 24: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt28Line 24: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt29Line 25: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt29Line 25: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt30Line 26: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt30Line 26: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt31Line 27: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt31Line 27: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt32Line 28: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt32Line 28: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt33Line 29: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt33Line 29: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
LOWtest/cases/file-conversation/sample-large.txt34Line 30: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do CODE
1145 more matches not shown…
Hyper-Verbose Identifiers448 hits · 464 pts
SeverityFileLineSnippetContext
LOWtest/integration/file-conversation/test-harness.ts90export function createUserMessageWithFiles(content: string, files: TestFile[]): Message {CODE
LOWdocs/technical/code-execution.md104export function computeEffectiveAgentMode(agentModeValue, agentModeSupported) {CODE
LOWsrc/renderer/Sidebar.tsx47function setIosTextInteractionEnabled(enabled: boolean) {CODE
LOWsrc/renderer/native/stream-http.ts6export function createNativeReadableStream(options: StartStreamOptions): ReadableStream<Uint8Array> {CODE
LOWsrc/renderer/platform/filter_writer.ts115export function isDocumentsParentDirectoryError(error: unknown): boolean {CODE
LOWsrc/renderer/platform/web_platform_utils.ts16export async function parseFileLocallyInBrowser(CODE
LOW…c/renderer/setup/session_attachment_rag_maintenance.ts101export async function runSessionAttachmentRagMaintenancePass() {CODE
LOW…c/renderer/setup/session_attachment_rag_maintenance.ts112export function initSessionAttachmentRagMaintenance() {CODE
LOWsrc/renderer/stores/imageGenerationStore.ts60export function useImageGenerationHistory(pageSize: number = 20) {CODE
LOWsrc/renderer/stores/sessionAttachmentRagErrors.ts19export function isSessionAttachmentRagAuthError(errorCode: string | undefined): boolean {CODE
LOWsrc/renderer/stores/sessionAttachmentRagErrors.ts30export function isSessionAttachmentRagIndexingError(errorCode: string | undefined): boolean {CODE
LOWsrc/renderer/stores/premiumActions.ts16export function reconcileLoginLicenseState() {CODE
LOWsrc/renderer/stores/premiumActions.ts46export function initLoginLicenseStateReconciliation() {CODE
LOWsrc/renderer/stores/sessionActivityStore.ts24export function markSessionReplyCompleted(sessionId: string, message: Message): void {CODE
LOWsrc/renderer/stores/sessionActivityStore.ts62export function resetSessionActivityStore(): void {CODE
LOWsrc/renderer/stores/scrollActions.ts93export function getMessageListViewportHeight() {CODE
LOWsrc/renderer/stores/settingsStore.ts24export function getPlatformDefaultDocumentParser(): DocumentParserConfig {CODE
LOWsrc/renderer/stores/imageGenerationActions.ts58function getFailedImageGenerationError(CODE
LOWsrc/renderer/stores/defaultChatModel.ts23function isChatboxLicenseDefaultModelId(value: string | undefined): value is ChatboxLicenseDefaultModelId {CODE
LOWsrc/renderer/stores/defaultChatModel.ts27export function resolveChatboxLicenseDefaultModel(CODE
LOWsrc/renderer/stores/firstSuccessfulChat.ts48export function markFirstSuccessfulChatCompleted(): void {CODE
LOWsrc/renderer/stores/firstSuccessfulChat.ts52export function resetFirstSuccessfulChatForDebug(): void {CODE
LOWsrc/renderer/stores/firstSuccessfulChat.ts68export function hasSuccessfulConversation(session: Session): boolean {CODE
LOWsrc/renderer/stores/firstSuccessfulChat.ts72async function inferFirstSuccessfulChatCompletedFromSessions(): Promise<boolean> {CODE
LOWsrc/renderer/stores/firstSuccessfulChat.ts89export async function getHasCompletedFirstSuccessfulChat(): Promise<boolean> {CODE
LOWsrc/renderer/stores/chatStore-cache.ts7export function getSessionMetadataSnapshot(session: Session): SessionMetadataUpdate {CODE
LOWsrc/renderer/stores/chatStore-cache.ts18export function assertNoMessageDataUpdate(update: object): void {CODE
LOWsrc/renderer/stores/chatStore-cache.ts26export function mergeCachedGeneratingMessages(updated: Session, cached: Session | null | undefined): Session {CODE
LOWsrc/renderer/stores/sessionAttachmentRagIndexing.ts11function shouldIndexPreparedAttachment(CODE
LOWsrc/renderer/stores/sessionAttachmentRagIndexing.ts33function mapPreparedAttachmentState(CODE
LOWsrc/renderer/stores/sessionAttachmentRagIndexing.ts53function mapMessageFileAttachmentState(file: MessageFile, attachment: SessionAttachment): MessageFile {CODE
LOWsrc/renderer/stores/sessionAttachmentRagIndexing.ts67export async function startPreparedSessionAttachmentIndexing(params: {CODE
LOWsrc/renderer/stores/sessionAttachmentRagIndexing.ts107export async function ensureMessageFileSessionAttachment(params: {CODE
LOWsrc/renderer/stores/approvalAttentionStore.ts33export function setApprovalActionsVisible(toolCallId: string, instanceId: string, visible: boolean) {CODE
LOWsrc/renderer/stores/approvalAttentionStore.ts61export function flashApprovalCardHighlight(toolCallId: string) {CODE
LOWsrc/renderer/stores/approvalAttentionStore.ts72export function useApprovalCardHighlighted(toolCallId: string): boolean {CODE
LOWsrc/renderer/stores/approvalAttentionStore.ts93export function registerApprovalActionsElement(toolCallId: string, instanceId: string, element: HTMLElement) {CODE
LOWsrc/renderer/stores/approvalAttentionStore.ts102export function unregisterApprovalActionsElement(toolCallId: string, instanceId: string) {CODE
LOWsrc/renderer/stores/approvalAttentionStore.ts109function getApprovalActionsElement(toolCallId: string): HTMLElement | undefined {CODE
LOWsrc/renderer/stores/sessionHelpers.ts149function reportFilePreprocessFailure(file: File, failure: FilePreprocessFailure): void {CODE
LOWsrc/renderer/stores/sessionHelpers.ts165function normalizeFilePreprocessFailure(error: unknown, stage: FilePreprocessStage): FilePreprocessFailure | undefined {CODE
LOWsrc/renderer/stores/sessionHelpers.ts214function buildParsedContentTooLargeAttachmentResult(CODE
LOWsrc/renderer/stores/sessionHelpers.ts274function getEffectiveDocumentParserConfig(): DocumentParserConfig {CODE
LOWsrc/renderer/stores/sessionHelpers.ts287function hasUsableSessionAttachmentRagLicense(): boolean {CODE
LOWsrc/renderer/stores/sessionHelpers.ts298function hasDefaultSessionAttachmentEmbeddingModel(): boolean {CODE
LOWsrc/renderer/stores/sessionHelpers.ts303function getDefaultSessionAttachmentEmbeddingModelLabel(): string {CODE
LOWsrc/renderer/stores/sessionHelpers.ts310async function canUseSessionAttachmentRag(): Promise<boolean> {CODE
LOWsrc/renderer/stores/sessionHelpers.ts375async function fallbackToChatboxAIParser(CODE
LOWsrc/renderer/stores/sessionHelpers.ts404function shouldFallbackToChatboxAI(options: LocalParserFallbackOptions): boolean {CODE
LOWsrc/renderer/stores/sessionHelpers.ts410async function parseFileWithLocalFallback(CODE
LOWsrc/renderer/stores/sessionHelpers.ts487async function parseFileWithMineruService(CODE
LOWsrc/renderer/stores/sessionHelpers.ts1106export function getCurrentThreadHistoryHash(s: Session) {CODE
LOWsrc/renderer/stores/chatStore.ts130export async function listArchivedSessionsMetaPage(cursor: number, limit?: number): Promise<SessionMetaPage> {CODE
LOWsrc/renderer/stores/chatStore.ts140export async function countArchivedSessionsMeta(): Promise<number> {CODE
LOWsrc/renderer/stores/chatStore.ts223async function refreshArchivedSessionListCache() {CODE
LOWsrc/renderer/stores/chatStore.ts231function updateArchivedSessionListData(updater: (items: SessionMetaRecord[]) => SessionMetaRecord[]) {CODE
LOWsrc/renderer/stores/chatStore.ts351export async function updateSessionWithMessages(CODE
LOWsrc/renderer/stores/chatStore.ts459async function cleanupSessionAttachmentRagEntries(ids: string[], operation: string) {CODE
LOWsrc/renderer/stores/chatStore.ts472function cleanupDeletedSessionRuntimeState(id: string) {CODE
LOWsrc/renderer/stores/chatStore.ts563function mergeDefaultSessionSettings(session: Session): SessionSettings {CODE
388 more matches not shown…
Decorative Section Separators37 hits · 111 pts
SeverityFileLineSnippetContext
MEDIUM…enderer/stores/session/__tests__/tools-builder.test.ts3// ── Hoisted mocks (environment + modules) ──────────────────────────────────COMMENT
MEDIUM…enderer/stores/session/__tests__/tools-builder.test.ts168// ── Helpers ────────────────────────────────────────────────────────────────COMMENT
MEDIUM…enderer/stores/session/__tests__/tools-builder.test.ts251// ── Tests ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…res/session/__tests__/agent-mode-orchestration.test.ts19// ── sandboxMode computation ───────────────────────────────────────────────COMMENT
MEDIUM…res/session/__tests__/agent-mode-orchestration.test.ts48// ── stream persistence policy ──────────────────────────────────────────────COMMENT
MEDIUMsrc/renderer/components/stories/HeaderReal.stories.tsx40// ─── Mock Data Factory ──────────────────────────────────────────────COMMENT
MEDIUMsrc/renderer/components/stories/HeaderReal.stories.tsx56// ─── Stories ────────────────────────────────────────────────────────COMMENT
MEDIUM…er/components/stories/ReasoningContentReal.stories.tsx31// ─── Mock Data Factories ────────────────────────────────────────────COMMENT
MEDIUM…er/components/stories/ReasoningContentReal.stories.tsx53// ─── Stories ────────────────────────────────────────────────────────COMMENT
MEDIUM…nderer/components/stories/ToolCallPartReal.stories.tsx7// ─── ToolCallPartUI Stories ─────────────────────────────────────────COMMENT
MEDIUM…nderer/components/stories/ToolCallPartReal.stories.tsx32// ─── Mock Data Factories ────────────────────────────────────────────COMMENT
MEDIUM…nderer/components/stories/ToolCallPartReal.stories.tsx45// ─── Stories ────────────────────────────────────────────────────────COMMENT
MEDIUM…erer/components/stories/MessageErrTipsReal.stories.tsx31// ─── Mock Data Factory ──────────────────────────────────────────────COMMENT
MEDIUM…erer/components/stories/MessageErrTipsReal.stories.tsx44// ─── Stories ────────────────────────────────────────────────────────COMMENT
MEDIUM…c/renderer/components/message-parts/ToolCallPartUI.tsx88// ─── Tool Error Result ──────────────────────────────────────────────COMMENT
MEDIUM…c/renderer/components/message-parts/ToolCallPartUI.tsx233// ─── Tool Icon Mapping ──────────────────────────────────────────────COMMENT
MEDIUM…c/renderer/components/message-parts/ToolCallPartUI.tsx288// ─── Pill Header (shared) ───────────────────────────────────────────COMMENT
MEDIUM…c/renderer/components/message-parts/ToolCallPartUI.tsx356// ─── Web Search ─────────────────────────────────────────────────────COMMENT
MEDIUM…c/renderer/components/message-parts/ToolCallPartUI.tsx537// ─── Parse Link ─────────────────────────────────────────────────────COMMENT
MEDIUM…c/renderer/components/message-parts/ToolCallPartUI.tsx653// ─── General Tool Call ──────────────────────────────────────────────COMMENT
MEDIUM…c/renderer/components/message-parts/ToolCallPartUI.tsx717// ─── Create Download ─────────────────────────────────────────────────COMMENT
MEDIUM…c/renderer/components/message-parts/ToolCallPartUI.tsx958// ─── User Exec ──────────────────────────────────────────────────────COMMENT
MEDIUM…c/renderer/components/message-parts/ToolCallPartUI.tsx1106// ─── Entry Point ────────────────────────────────────────────────────COMMENT
MEDIUM…c/renderer/components/message-parts/ToolCallPartUI.tsx1136// ─── Tool Call Timeline (consecutive tool calls) ─────────────────COMMENT
MEDIUM…c/renderer/components/message-parts/ToolCallPartUI.tsx2091// ─── Reasoning / Thinking (Minimal Inline) ──────────────────────────COMMENT
MEDIUMsrc/renderer/packages/user-exec-whitelist.ts17// ── Simple read-only commands (no subcommand check needed) ──────────COMMENT
MEDIUMsrc/renderer/packages/user-exec-whitelist.ts129// ── Subcommand-aware rules ──────────────────────────────────────────COMMENT
MEDIUMsrc/renderer/packages/user-exec-whitelist.ts170// ── Dangerous flags that make otherwise-safe commands unsafe ────────COMMENT
MEDIUMsrc/renderer/packages/user-exec-whitelist.ts182// ── Shell metacharacter detection ───────────────────────────────────COMMENT
MEDIUMsrc/renderer/packages/user-exec-whitelist.ts204// ── Core logic ──────────────────────────────────────────────────────COMMENT
MEDIUMsrc/main/sandbox/manager.ts55// ─── Per-session sandbox instances ───────────────────────────────────COMMENT
MEDIUMsrc/main/sandbox/manager.ts141// ─── Helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/main/sandbox/manager.ts571// ─── Sandbox lifecycle ───────────────────────────────────────────────COMMENT
MEDIUMsrc/main/sandbox/manager.ts904// ─── File operations ─────────────────────────────────────────────────COMMENT
MEDIUMsrc/main/sandbox/manager.ts1142// ─── Sandbox lifecycle (continued) ───────────────────────────────────COMMENT
MEDIUMsrc/main/sandbox/manager.ts1223// ─── Temp directory management ───────────────────────────────────────COMMENT
MEDIUMsrc/main/sandbox/manager.ts1590// ─── Temp directory cleanup ──────────────────────────────────────────COMMENT
Structural Annotation Overuse21 hits · 43 pts
SeverityFileLineSnippetContext
LOWdocs/adding-new-provider.md18### Step 1: Add Provider to EnumCOMMENT
LOWdocs/adding-new-provider.md31### Step 2: Create the Model ClassCOMMENT
LOWdocs/adding-new-provider.md78### Step 3: Create the Provider DefinitionCOMMENT
LOWdocs/adding-new-provider.md148### Step 4: Register the ProviderCOMMENT
LOWdocs/adding-new-provider.md160### Step 5: Add Provider Icon (Optional but Recommended)COMMENT
LOWsrc/renderer/packages/latex.ts10 // Step 1: Protect code blocksCOMMENT
LOWsrc/renderer/packages/latex.ts17 // Step 2: Protect existing LaTeX expressionsCOMMENT
LOWsrc/renderer/packages/latex.ts24 // Step 3: Escape dollar signs that are likely currency indicatorsCOMMENT
LOWsrc/renderer/packages/latex.ts27 // Step 4: Restore LaTeX expressionsCOMMENT
LOWsrc/renderer/packages/latex.ts30 // Step 5: Restore code blocksCOMMENT
LOWsrc/renderer/packages/latex.ts33 // Step 6: Apply additional escaping functionsCOMMENT
LOW…renderer/packages/context-management/context-tokens.ts90 // Step 1: Call buildContextForSession to get base context messagesCOMMENT
LOW…renderer/packages/context-management/context-tokens.ts93 // Step 2: Apply selectMessagesForSendContext filteringCOMMENT
LOWsrc/main/knowledge-base/remote-file-parser.ts155 // Step 1: Generate upload URLCOMMENT
LOWsrc/main/knowledge-base/remote-file-parser.ts159 // Step 2: Upload file to COSCOMMENT
LOWsrc/main/knowledge-base/remote-file-parser.ts163 // Step 3: Create file record and get parsed contentCOMMENT
LOWsrc/main/skills/builtin/data-analysis.ts30### Step 1: Understand the DataCOMMENT
LOWsrc/main/skills/builtin/data-analysis.ts37### Step 2: Data Quality AssessmentCOMMENT
LOWsrc/main/skills/builtin/data-analysis.ts49### Step 3: Exploratory AnalysisCOMMENT
LOWsrc/main/skills/builtin/data-analysis.ts59### Step 4: Deep AnalysisCOMMENT
LOWsrc/main/skills/builtin/data-analysis.ts70### Step 5: Generate Insights and RecommendationsCOMMENT
Verbosity Indicators16 hits · 35 pts
SeverityFileLineSnippetContext
LOWsrc/renderer/packages/latex.ts10 // Step 1: Protect code blocksCOMMENT
LOWsrc/renderer/packages/latex.ts17 // Step 2: Protect existing LaTeX expressionsCOMMENT
LOWsrc/renderer/packages/latex.ts24 // Step 3: Escape dollar signs that are likely currency indicatorsCOMMENT
LOWsrc/renderer/packages/latex.ts27 // Step 4: Restore LaTeX expressionsCOMMENT
LOWsrc/renderer/packages/latex.ts30 // Step 5: Restore code blocksCOMMENT
LOWsrc/renderer/packages/latex.ts33 // Step 6: Apply additional escaping functionsCOMMENT
LOW…renderer/packages/context-management/context-tokens.ts90 // Step 1: Call buildContextForSession to get base context messagesCOMMENT
LOW…renderer/packages/context-management/context-tokens.ts93 // Step 2: Apply selectMessagesForSendContext filteringCOMMENT
LOWsrc/main/knowledge-base/remote-file-parser.ts155 // Step 1: Generate upload URLCOMMENT
LOWsrc/main/knowledge-base/remote-file-parser.ts159 // Step 2: Upload file to COSCOMMENT
LOWsrc/main/knowledge-base/remote-file-parser.ts163 // Step 3: Create file record and get parsed contentCOMMENT
LOWsrc/main/skills/builtin/data-analysis.ts30### Step 1: Understand the DataCOMMENT
LOWsrc/main/skills/builtin/data-analysis.ts37### Step 2: Data Quality AssessmentCOMMENT
LOWsrc/main/skills/builtin/data-analysis.ts49### Step 3: Exploratory AnalysisCOMMENT
LOWsrc/main/skills/builtin/data-analysis.ts59### Step 4: Deep AnalysisCOMMENT
LOWsrc/main/skills/builtin/data-analysis.ts70### Step 5: Generate Insights and RecommendationsCOMMENT
Magic Placeholder Names5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHdocs/technical/session-attachment-rag-eval.md49CHATBOX_EVAL_API_KEY="your-api-key" \CODE
HIGHscripts/session-rag-eval/README.md20CHATBOX_EVAL_API_KEY="your-api-key" \CODE
HIGHsrc/renderer/components/settings/mcp/registries.ts110 GITHUB_PERSONAL_ACCESS_TOKEN: '<YOUR_TOKEN>',CODE
HIGHsrc/renderer/components/settings/mcp/registries.ts124 GITLAB_PERSONAL_ACCESS_TOKEN: '<YOUR_TOKEN>',CODE
HIGHsrc/renderer/components/settings/mcp/registries.ts402 args: ['logfire-mcp', '--read-token=YOUR_TOKEN_HERE'],CODE
Over-Commented Block18 hits · 18 pts
SeverityFileLineSnippetContext
LOW.erb/scripts/check-native-dep.js61 COMMENT
LOWsrc/renderer/setupTests.ts1// jest-dom adds custom jest matchers for asserting on DOM nodes.COMMENT
LOWsrc/renderer/stores/migration.test.ts821 //COMMENT
LOWsrc/renderer/components/common/PopoverConfirm.tsx61 // return (COMMENT
LOWsrc/renderer/packages/token_config.ts1// import { ModelProvider, SessionSettings } from '../../shared/types'COMMENT
LOWsrc/renderer/packages/token_config.ts21// settings.openaiMaxTokens = defaults.settings().openaiMaxTokensCOMMENT
LOWsrc/renderer/packages/token_config.ts41// return settingsCOMMENT
LOWsrc/renderer/packages/remote.ts161// }COMMENT
LOW…enderer/packages/model-calls/toolsets/sandbox-paths.ts1import type { SandboxProvider } from '@shared/sandbox-provider'COMMENT
LOWsrc/shared/defaults.ts1import { v4 as uuidv4 } from 'uuid'COMMENT
LOWsrc/shared/defaults.ts21COMMENT
LOWsrc/shared/defaults.ts41 // claudeModel: 'claude-3-5-sonnet-20241022',COMMENT
LOWsrc/shared/types/settings.ts201 // clients' data still parses.COMMENT
LOWsrc/main/menu.ts141 },COMMENT
LOWsrc/main/pdfjs-globals.ts1// pdfjs-dist (used by file-parser.ts for local PDF text extraction) referencesCOMMENT
LOWsrc/main/readability.ts1// import { Readability } from '@mozilla/readability'COMMENT
LOWsrc/main/readability.ts21// title,COMMENT
LOWsrc/main/deeplinks.ts21COMMENT
Modern AI Meta-Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMdocs/technical/session-attachment-rag-eval.md1# Session Attachment RAG EvaluationCOMMENT
MEDIUMscripts/session-rag-eval/README.md1# Session Attachment RAG Model Eval PoCCOMMENT
MEDIUMscripts/session-rag-eval/SKILL.md6# Session Attachment RAG EvalCOMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/main/sandbox/preview-server.ts128async function handleRequest(req: IncomingMessage, res: ServerResponse): Promise<void> {CODE