Repository Analysis

botpress/botpress

The open-source hub to build & deploy GPT/LLM Agents ⚡️

4.8 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of botpress/botpress, a TypeScript project with 14,784 GitHub stars. SynthScan v2.0 examined 324,437 lines of code across 3398 source files, recording 387 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 4.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).

4.8
Adjusted Score
4.8
Raw Score
100%
Time Factor
2026-07-13
Last Push
14.8K
Stars
TypeScript
Language
324.4K
Lines of Code
3.4K
Files
387
Pattern Hits
2026-07-14
Scan Date
0.03
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 82HIGH 19MEDIUM 63LOW 223

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 387 distinct pattern matches across 15 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.

Hallucination Indicators82 hits · 1010 pts
SeverityFileLineSnippetContext
CRITICALplugins/hitl/src/conv-manager.ts157 return await this._props.states.conversation.initiatingUser.set(this._conversation.id, { upstreamUserId: userId })CODE
CRITICALplugins/hitl/src/conv-manager.ts161 return await this._props.states.conversation.hitl.getOrSet(this._conversation.id, DEFAULT_STATE)CODE
CRITICALplugins/hitl/src/conv-manager.ts165 return await this._props.states.conversation.hitl.set(this._conversation.id, state)CODE
CRITICALintegrations/postmark/integration.definition.ts157 text: { schema: sdk.messages.defaults.text.schema.extend(emailProps) },CODE
CRITICALintegrations/postmark/integration.definition.ts158 image: { schema: sdk.messages.defaults.image.schema.extend(emailProps) },CODE
CRITICALintegrations/postmark/integration.definition.ts159 audio: { schema: sdk.messages.defaults.audio.schema.extend(emailProps) },CODE
CRITICALintegrations/postmark/integration.definition.ts160 video: { schema: sdk.messages.defaults.video.schema.extend(emailProps) },CODE
CRITICALintegrations/postmark/integration.definition.ts161 file: { schema: sdk.messages.defaults.file.schema.extend(emailProps) },CODE
CRITICALintegrations/postmark/integration.definition.ts162 location: { schema: sdk.messages.defaults.location.schema.extend(emailProps) },CODE
CRITICALintegrations/postmark/integration.definition.ts163 carousel: { schema: sdk.messages.defaults.carousel.schema.extend(emailProps) },CODE
CRITICALintegrations/postmark/integration.definition.ts164 card: { schema: sdk.messages.defaults.card.schema.extend(emailProps) },CODE
CRITICALintegrations/postmark/integration.definition.ts165 dropdown: { schema: sdk.messages.defaults.dropdown.schema.extend(emailProps) },CODE
CRITICALintegrations/postmark/integration.definition.ts166 choice: { schema: sdk.messages.defaults.choice.schema.extend(emailProps) },CODE
CRITICALintegrations/postmark/integration.definition.ts167 bloc: { schema: sdk.messages.defaults.bloc.schema.extend(emailProps) },CODE
CRITICALintegrations/chat/definitions/channels/messages.ts6const text = { schema: sdk.messages.defaults.text.schema.extend({ metadata }) }CODE
CRITICALintegrations/chat/definitions/channels/messages.ts7const image = { schema: sdk.messages.defaults.image.schema.extend({ metadata }) }CODE
CRITICALintegrations/chat/definitions/channels/messages.ts8const audio = { schema: sdk.messages.defaults.audio.schema.extend({ metadata }) }CODE
CRITICALintegrations/chat/definitions/channels/messages.ts9const video = { schema: sdk.messages.defaults.video.schema.extend({ metadata }) }CODE
CRITICALintegrations/chat/definitions/channels/messages.ts10const file = { schema: sdk.messages.defaults.file.schema.extend({ metadata }) }CODE
CRITICALintegrations/chat/definitions/channels/messages.ts11const location = { schema: sdk.messages.defaults.location.schema.extend({ metadata }) }CODE
CRITICALintegrations/chat/definitions/channels/messages.ts12const carousel = { schema: sdk.messages.defaults.carousel.schema.extend({ metadata }) }CODE
CRITICALintegrations/chat/definitions/channels/messages.ts13const card = { schema: sdk.messages.defaults.card.schema.extend({ metadata }) }CODE
CRITICALintegrations/chat/definitions/channels/messages.ts14const dropdown = { schema: sdk.messages.defaults.dropdown.schema.extend({ metadata }) }CODE
CRITICALintegrations/chat/definitions/channels/messages.ts15const choice = { schema: sdk.messages.defaults.choice.schema.extend({ metadata }) }CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts136 const contacts = await this._hsClient.crm.contacts.searchApi.doSearch({CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts155 const contact = await this._hsClient.crm.contacts.basicApi.getById(contactId.toString(), [CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts199 const companies = await this._hsClient.crm.companies.searchApi.doSearch({CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts220 const company = await this._hsClient.crm.companies.basicApi.getById(companyId.toString(), [CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts240 const updatedCompany = await this._hsClient.crm.companies.basicApi.update(companyId.toString(), {CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts248 const ticket = await this._hsClient.crm.tickets.basicApi.getById(ticketId.toString(), [CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts313 const newContact = await this._hsClient.crm.contacts.basicApi.create({CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts362 return this._hsClient.crm.properties.coreApi.getAll(objectType)CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts370 const contact = await this._hsClient.crm.contacts.basicApi.getById(CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts399 const updatedContact = await this._hsClient.crm.contacts.basicApi.update(CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts415 await this._hsClient.crm.contacts.basicApi.archive(contactId)CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts420 const { results, paging } = await this._hsClient.crm.contacts.basicApi.getPage(PAGING_LIMIT, nextToken, [CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts568 return await this._hsClient.crm.tickets.basicApi.create(ticketCreateInput)CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts587 const deals = await this._hsClient.crm.deals.searchApi.doSearch({CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts608 const deal = await this._hsClient.crm.deals.basicApi.getById(dealId, [CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts619 await this._hsClient.crm.deals.basicApi.archive(dealId)CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts634 const deal = await this._hsClient.crm.deals.basicApi.update(dealId, {CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts647 const deal = await this._hsClient.crm.deals.basicApi.create({CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts669 const lead = await this._hsClient.crm.objects.leads.basicApi.create({CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts694 const lead = await this._hsClient.crm.objects.leads.basicApi.getById(leadId, [CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts703 await this._hsClient.crm.objects.leads.basicApi.archive(leadId)CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts718 const lead = await this._hsClient.crm.objects.leads.basicApi.update(leadId, {CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts744 const leads = await this._hsClient.crm.objects.leads.searchApi.doSearch({CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts860 const company = await this._hsClient.crm.companies.basicApi.getById(canonicalInput, [CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts868 const companies = await this._hsClient.crm.companies.searchApi.doSearch({CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts1011 const pipelines = await this._hsClient.crm.pipelines.pipelinesApi.getAll('ticket')CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts1044 const properties = await this._hsClient.crm.properties.coreApi.getAll('contacts')CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts1054 return await this._hsClient.crm.owners.ownersApi.getById(numericOwnerId)CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts1070 const owners = await this._hsClient.crm.owners.ownersApi.getPage(email, undefined, 1, false)CODE
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts1082 const ticket = await this._hsClient.crm.tickets.basicApi.getById(id)CODE
CRITICAL…tegrations/hubspot/src/hubspot-api/properties-cache.ts108 const properties = await this._hsClient.crm.properties.coreApi.getAll(this._type, false)CODE
CRITICAL…ons/messenger/definitions/channels/channel/messages.ts13 text: { schema: sdk.messages.defaults.text.schema.merge(commentIdSchema) },CODE
CRITICAL…ons/messenger/definitions/channels/channel/messages.ts14 image: { schema: sdk.messages.defaults.image.schema.merge(commentIdSchema) },CODE
CRITICAL…ons/messenger/definitions/channels/channel/messages.ts15 audio: { schema: sdk.messages.defaults.audio.schema.merge(commentIdSchema) },CODE
CRITICAL…ons/messenger/definitions/channels/channel/messages.ts16 video: { schema: sdk.messages.defaults.video.schema.merge(commentIdSchema) },CODE
CRITICAL…ons/messenger/definitions/channels/channel/messages.ts17 file: { schema: sdk.messages.defaults.file.schema.merge(commentIdSchema) },CODE
22 more matches not shown…
Cross-Language Confusion (JS/TS)18 hits · 120 pts
SeverityFileLineSnippetContext
HIGHpackages/llmz/e2e/chat-mode.test.ts819print(f"Hello {name}! You are {age} years old.")CODE
HIGHpackages/llmz/e2e/chat-mode.test.ts820print(f"Next year: {age + 1}")CODE
HIGHpackages/llmz/e2e/chat-mode.test.ts821print(f"Uppercase: {name.upper()}")CODE
HIGHpackages/llmz/e2e/chat-mode.test.ts825print(f"Price: \${price:.2f}")CODE
HIGHpackages/llmz/e2e/chat-mode.test.ts826print(f"Hex: {255:#x}")CODE
HIGHpackages/llmz/e2e/chat-mode.test.ts827print(f"Percentage: {0.846:.1%}")CODE
HIGHpackages/llmz/e2e/chat-mode.test.ts833 print(f"Valid phone: {phone}")CODE
HIGHpackages/llmz/e2e/chat-mode.test.ts905 print(f"Hello {name}! You are {age} years old.")CODE
HIGHpackages/llmz/e2e/chat-mode.test.ts906 print(f"Next year: {age + 1}")CODE
HIGHpackages/llmz/e2e/chat-mode.test.ts907 print(f"Uppercase: {name.upper()}")CODE
HIGHpackages/llmz/e2e/chat-mode.test.ts914 print(f"Price: \${price:.2f}") # Two decimal placesCODE
HIGHpackages/llmz/e2e/chat-mode.test.ts915 print(f"Hex: {255:#x}") # HexadecimalCODE
HIGHpackages/llmz/e2e/chat-mode.test.ts916 print(f"Percentage: {0.846:.1%}") # PercentageCODE
HIGHpackages/llmz/e2e/chat-mode.test.ts925 print(f"Valid phone: {phone}")CODE
HIGHpackages/llmz/e2e/chat-mode.test.ts661elif [[ ! -z "\${NAME}" ]]; thenCODE
HIGHpackages/llmz/e2e/chat-mode.test.ts760 elif [[ ! -z "\${NAME}" ]]; thenCODE
HIGHpackages/llmz/e2e/chat-mode.test.ts850print(f"User: {user['name']} ({user.get('role', 'user')})")STRING
HIGHpackages/llmz/e2e/chat-mode.test.ts950 print(f"User: {user['name']} ({user.get('role', 'user')})")STRING
Decorative Section Separators45 hits · 100 pts
SeverityFileLineSnippetContext
MEDIUM…ations/whatsapp/src/channels/message-types/carousel.ts60// ─── Partitioning ───────────────────────────────────────────────────COMMENT
MEDIUM…ations/whatsapp/src/channels/message-types/carousel.ts156// ─── Native-carousel construction ───────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts13//* ─────────────────────────── UI & Metadata ───────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts79//* ─────────────────────────── Errors & Issues ───────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts280//* ─────────────────────────── Parsing ──────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts363//* ─────────────────────────── Base Type ───────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts565//* ─────────────────────────── ZodAny ───────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts574//* ─────────────────────────── ZodArray ─────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts613//* ─────────────────────────── ZodBigInt ────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts657//* ─────────────────────────── ZodBoolean ───────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts667//* ─────────────────────────── ZodBranded ───────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts689//* ─────────────────────────── ZodCatch ────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts703//* ─────────────────────────── ZodDate ─────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts731//* ─────────────────────────── ZodDefault ───────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts746//* ─────────────────────────── ZodEnum ─────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts788//* ─────────────────────────── ZodNever ────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts797//* ─────────────────────────── ZodNullable ─────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts810//* ─────────────────────────── ZodOptional ────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts823//* ─────────────────────────── ZodTuple ────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts864//* ─────────────────────────── ZodObject ────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1068//* ─────────────────────────── ZodDiscriminatedUnion ──────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1097//* ─────────────────────────── ZodUnknown ───────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1106//* ─────────────────────────── ZodFunction ───────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1148//* ─────────────────────────── ZodIntersection ──────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1160//* ─────────────────────────── ZodLazy ─────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1179//* ─────────────────────────── ZodLiteral ───────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1192//* ─────────────────────────── ZodMap ───────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1207//* ─────────────────────────── ZodNaN ───────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1216//* ─────────────────────────── ZodNativeEnum ────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1233//* ─────────────────────────── ZodNull ─────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1242//* ─────────────────────────── ZodNumber ────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1300//* ─────────────────────────── ZodPipeline ──────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1314//* ─────────────────────────── ZodPromise ───────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1327//* ─────────────────────────── ZodReadonly ───────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1364//* ─────────────────────────── ZodString ────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1522//* ─────────────────────────── ZodRecord ────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1553//* ─────────────────────────── ZodRef ───────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1563//* ─────────────────────────── ZodSet ───────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1588//* ─────────────────────────── ZodSymbol ────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1597//* ─────────────────────────── ZodEffects ───────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1642//* ─────────────────────────── ZodUndefined ─────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1651//* ─────────────────────────── ZodUnion ────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1666//* ─────────────────────────── ZodVoid ─────────────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1675//* ─────────────────────────── ZodNativeType ───────────────────────────────COMMENT
MEDIUMpackages/zui/src/z/typings.ts1728//* ─────────────────────────── Builders ──────────────────────────────COMMENT
Fake / Example Data90 hits · 94 pts
SeverityFileLineSnippetContext
LOWbots/hit-looper/src/index.ts52 name: 'John Doe',CODE
LOW…ile-synchronizer/src/sync-queue/file-processor.test.ts32const EXISTING_FILE = 'dummy-id'CODE
LOW…tions/confluence/src/parser/testFiles/jsonExample.json121 "type": "placeholder",CODE
LOW…tions/confluence/src/parser/testFiles/jsonExample.json255 "type": "placeholder",CODE
LOW…tions/confluence/src/parser/testFiles/jsonExample.json338 "type": "placeholder",CODE
LOW…tions/confluence/src/parser/testFiles/jsonExample.json413 "type": "placeholder",CODE
LOW…tions/confluence/src/parser/testFiles/jsonExample.json488 "type": "placeholder",CODE
LOW…tions/confluence/src/parser/testFiles/jsonExample.json535 "type": "placeholder",CODE
LOW…tions/confluence/src/parser/testFiles/jsonExample.json579 "placeholder": [CODE
LOW…tions/confluence/src/parser/testFiles/jsonExample.json597 "type": "placeholder",CODE
LOW…tions/confluence/src/parser/testFiles/jsonExample.json747 "type": "placeholder",CODE
LOW…tions/confluence/src/parser/testFiles/jsonExample.json768 "type": "placeholder",CODE
LOW…tions/confluence/src/parser/testFiles/jsonExample.json789 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample3.json290 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample3.json309 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample3.json365 { "type": "placeholder", "attrs": { "text": "P. ex., simplifier l'expérience utilisateur" } }CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample3.json377 { "type": "placeholder", "attrs": { "text": "P. ex., le score de satisfaction client augmente" } }CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample3.json413 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample3.json432 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample3.json459 "placeholder": [CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample3.json477 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample3.json560 "content": [{ "type": "placeholder", "attrs": { "text": "P. ex., doit être « responsive »" } }]CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample3.json572 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample3.json657 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample3.json740 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample3.json755 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample3.json770 "content": [{ "type": "placeholder", "attrs": { "text": "Saisissez // pour ajouter une date" } }]CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample3.json791 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample2.json54 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample2.json88 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample2.json122 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample2.json175 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample2.json195 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample2.json215 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample2.json253 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample2.json287 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample2.json321 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample2.json355 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample2.json675 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample2.json720 "type": "placeholder",CODE
LOW…ions/confluence/src/parser/testFiles/jsonExample2.json760 "type": "placeholder",CODE
LOWintegrations/slack/hub.md41 name: 'John Doe'CODE
LOWintegrations/slack/hub.md60 name: 'John Doe'CODE
LOWintegrations/slack/src/misc/replace-mentions.test.ts9 const mentions: Mention[] = [{ start: 6, end: 10, user: { id: 'u1', name: 'John Doe' } }]CODE
LOWintegrations/slack/src/misc/replace-mentions.test.ts15 { start: 0, end: 5, user: { id: 'u1', name: 'John Doe' } },CODE
LOWintegrations/slack/src/misc/replace-mentions.test.ts16 { start: 6, end: 11, user: { id: 'u2', name: 'Jane Doe' } },CODE
LOWintegrations/slack/src/misc/replace-mentions.test.ts27 const mentions: Mention[] = [{ start: 0, end: 4, user: { id: 'u1', name: 'John Doe' } }]CODE
LOW…ons/whatsapp/src/misc/markdown-to-whatsapp-rtf.test.ts136 expect(convertMarkdownToWhatsApp('test@test.com')).toBe('test@test.com')CODE
LOWintegrations/stripe/src/misc/custom-schemas.ts233 name: z.string().optional().describe('The name of the customer').placeholder('John Doe').title('Name'),CODE
LOWintegrations/stripe/src/setup/handler.ts16const _signatureVerifier = new Stripe('placeholder', { apiVersion: '2023-08-16' })CODE
LOWpackages/zui/src/z/types/catch/catch.test.ts193 return 'John Doe'CODE
LOW…i/src/transforms/zui-from-object/object-to-zui.test.ts40 address: { street: '123 Main St', city: 'New York', state: 'NY' },CODE
LOW…i/src/transforms/zui-from-object/object-to-zui.test.ts118 street: '123 Main St',CODE
LOW…/src/transforms/zui-to-typescript-schema/index.test.ts665 test('placeholder', () => {CODE
LOW…s/zui/src/transforms/zui-to-typescript-schema/index.ts289 'placeholder',CODE
LOW…/src/conversation-transcript/message-formatter.test.ts19 name: 'John Doe',CODE
LOW…onversation-transcript/conversation-transcript.test.ts8 name: 'John Doe',CODE
LOWpackages/llmz/DOCS.md512 value: 'John Doe',CODE
LOWpackages/llmz/DOCS.md551const userName = user.name // "John Doe"CODE
LOWpackages/llmz/DOCS.md592// before: 'John Doe',COMMENT
30 more matches not shown…
Hyper-Verbose Identifiers70 hits · 70 pts
SeverityFileLineSnippetContext
LOW…ector/src/utils/create-integration-transfer-handler.ts22export function createIntegrationTransferHandler(props: CreateIntegrationTransferHandlerProps): {CODE
LOWintegrations/monday/src/oauth-wizard/wizard.ts42 function installMondayAppAndContinue() {CODE
LOW…grations/bigcommerce-sync/src/actions/sync-products.ts41function transformProductToTableRow(CODE
LOWintegrations/workable/src/mapping/candidate-mapper.ts9export function fromListCandidatesInputModel(CODE
LOWintegrations/workable/src/mapping/candidate-mapper.ts22export function toListCandidatesOutputModel(CODE
LOWintegrations/workable/src/mapping/candidate-mapper.ts64export function fromGetCandidateInputModel(CODE
LOWintegrations/workable/src/mapping/candidate-mapper.ts70export function toBaseDetailedCandidateModel(CODE
LOWintegrations/workable/src/mapping/candidate-mapper.ts178export function toCandidateCreatedEventModel(CODE
LOWintegrations/workable/src/mapping/candidate-mapper.ts192export function toCandidateMovedEventModel(CODE
LOWintegrations/workable/src/mapping/candidate-mapper.ts206export function fromPostEducationEntryModel(CODE
LOWintegrations/workable/src/mapping/candidate-mapper.ts230export function fromPostExperienceEntryModel(CODE
LOWintegrations/workable/src/mapping/candidate-mapper.ts252export function toPostCandidateInJobOutputModel(CODE
LOWintegrations/workable/src/mapping/candidate-mapper.ts263export function toPostCandidateInTalentPoolOutputModel(CODE
LOWintegrations/workable/src/mapping/candidate-mapper.ts280export function fromPostCandidateInTalentPoolModel(CODE
LOWintegrations/workable/src/mapping/candidate-mapper.ts321export function fromPostCandidateInTalentPoolInputModel(CODE
LOWintegrations/workable/src/mapping/candidate-mapper.ts332export function fromPostCandidateInJobInputModel(CODE
LOWintegrations/workable/src/mapping/candidate-mapper.ts350export function fromUpdateCandidateInputModel(CODE
LOWintegrations/workable/src/mapping/candidate-mapper.ts400export function toUpdateCandidateOutputModel(CODE
LOWintegrations/workable/src/mapping/jobs-mapper.ts5export function toGetJobQuestionsOutputModel(CODE
LOWintegrations/workable/src/mapping/jobs-mapper.ts28export function fromGetJobQuestionsInputModel(CODE
LOWintegrations/zendesk-messaging-hitl/src/setup/util.ts1export function getAgentWorkspaceSwitchboardIntegrationName(): string {CODE
LOW…ssaging-hitl/src/events/switchboard-release-control.ts4export async function handleSwitchboardReleaseControl(CODE
LOW…desk-messaging-hitl/src/events/conversation-message.ts4export async function handleConversationMessage(CODE
LOWintegrations/messenger/src/misc/meta-client.ts344export async function createAuthenticatedMetaClient({CODE
LOWintegrations/messenger/src/misc/messenger-client.ts5export async function createAuthenticatedMessengerClient(client: bp.Client, ctx: bp.Context): Promise<MessengerClient> {CODE
LOWintegrations/messenger/src/misc/utils.ts7export function getGoogleMapLinkFromLocation(payload: Location) {CODE
LOWintegrations/messenger/src/misc/facebook-client.ts109export async function createAuthenticatedFacebookClient(ctx: bp.Context, client: bp.Client): Promise<FacebookClient> {CODE
LOWintegrations/messenger/src/misc/auth.ts11export async function getMessengerClientCredentials(CODE
LOWintegrations/messenger/src/misc/auth.ts50export async function getFacebookClientCredentials(CODE
LOWintegrations/messenger/src/misc/auth.ts89export async function getOAuthMetaClientCredentials(CODE
LOWintegrations/messenger/src/misc/auth.ts105export async function patchOAuthMetaClientCredentials(CODE
LOWintegrations/google-ai/src/actions/generate-content.ts108async function buildGenerateContentRequest(CODE
LOWintegrations/google-ai/src/actions/generate-content.ts311function buildFunctionCallingConfig(CODE
LOWintegrations/kommo/src/actions/contact.ts6function mapKommoContactToBotpress(contact: KommoContact) {CODE
LOWintegrations/sunco/src/events/conversation-message.ts4export async function handleConversationMessage(CODE
LOW…rations/telegram/src/misc/markdown-to-telegram-html.ts145export function stdMarkdownToTelegramHtml(markdown: string): MarkdownToTelegramHtmlResult {CODE
LOW…rations/telegram/src/misc/markdown-to-telegram-html.ts186export function markdownHtmlToTelegramPayloads(html: string, images: ImageData[]): MixedPayloads {CODE
LOW…egrations/teams/src/markdown/teams-html-to-markdown.ts6export function transformTeamsHtmlToStdMarkdown(teamsHtml: string) {CODE
LOWintegrations/loops/src/loops.webhook.ts8export function validateWebhookSigningSecret(value: string): void {CODE
LOWintegrations/anthropic/src/actions/generate-content.ts221async function mapToAnthropicMessageContent(message: llm.Message): Promise<Anthropic.MessageParam['content']> {CODE
LOWintegrations/anthropic/src/actions/generate-content.ts268async function mapMultipartMessageContentToAnthropicContent(CODE
LOWintegrations/slack/src/misc/markdown-to-slack.ts54export function transformMarkdownForSlack(text: string): string {CODE
LOWintegrations/instagram/refreshTokens.ts25async function refreshSandboxAccessToken(args: RefreshSecretArgs) {CODE
LOWintegrations/whatsapp/src/misc/template-utils.ts138export function parseTemplateVariablesJSON(templateVariablesJson: string, logger: bp.Logger): TemplateVariables {CODE
LOWintegrations/whatsapp/src/misc/template-utils.ts398export function buildBodyComponentFromLegacy(variables: TemplateVariables): TemplateComponent | undefined {CODE
LOW…grations/whatsapp/src/misc/markdown-to-whatsapp-rtf.ts58export function convertMarkdownToWhatsApp(markdown: string): string {CODE
LOWintegrations/openai/src/index.ts592function getOpenAIImageGenerationParams(modelId: ImageModelId): {CODE
LOWintegrations/twilio/src/markdown-to-twilio.ts29export function transformMarkdownForTwilio(text: string, channel: TwilioChannel) {CODE
LOWscripts/upload-sandbox-scripts.ts11function readIntegrationDefinition(integrationPath: string): any {CODE
LOWpackages/cognitive/src/cognitive-v2/adapter.ts27export function buildResponseFromBetaMetadata(output: string, metadata: CognitiveMetadata): Response {CODE
LOWpackages/zui/src/transforms/common/utils.ts6export function primitiveToTypscriptLiteralType(x: Primitive): string {CODE
LOWpackages/zui/src/transforms/common/utils.ts20export function primitiveToTypescriptValue(x: Primitive): string {CODE
LOWpackages/cli/src/code-generation/generators.ts47export function primitiveToTypescriptValue(x: Primitive): string {CODE
LOWpackages/cli/src/code-generation/generators.ts54export function primitiveRecordToTypescriptValues(x: Record<string, Primitive>): Record<string, string> {CODE
LOWpackages/common/src/llm/errors.ts5export function createUpstreamProviderFailedError(cause: Error, message?: string) {CODE
LOWpackages/common/src/llm/openai.ts237async function mapToOpenAIMessageContent(message: Message) {CODE
LOWpackages/common/src/llm/openai.ts265async function mapMultipartMessageToOpenAIMessageParts(CODE
LOWpackages/common/src/llm/openai.ts413export function validateGptOssReasoningEffort(CODE
LOWpackages/common/src/llm/openai.ts445export function validateOpenAIReasoningEffort(CODE
LOWpackages/sdk/src/serve.ts96async function mapIncomingMessageToRequest(incoming: http.IncomingMessage): Promise<Request> {CODE
10 more matches not shown…
Structural Annotation Overuse22 hits · 46 pts
SeverityFileLineSnippetContext
LOW…grations/bigcommerce-sync/src/actions/sync-products.ts302 // Step 1: Load categories and brandsCOMMENT
LOW…grations/bigcommerce-sync/src/actions/sync-products.ts309 // Step 2: Get first page synchronouslyCOMMENT
LOW…grations/bigcommerce-sync/src/actions/sync-products.ts328 // Step 3: Process first page using unified functionCOMMENT
LOW…grations/bigcommerce-sync/src/actions/sync-products.ts345 // Step 4: If there are more pages, send webhook to trigger background processingCOMMENT
LOWintegrations/notion/hub.md38#### Step 1 - Create IntegrationCOMMENT
LOWintegrations/notion/hub.md42#### Step 2 - Give access to Notion AssetsCOMMENT
LOWintegrations/notion/hub.md46#### Step 3 - Configure your BotCOMMENT
LOWintegrations/notion/hub.md54#### Step 4 - Setup Webhooks (optional)COMMENT
LOWintegrations/kommo/hub.md17### Step 1: Create a Private Integration in KommoCOMMENT
LOWintegrations/kommo/hub.md26### Step 2: Generate an Access TokenCOMMENT
LOWintegrations/kommo/hub.md32### Step 3: Configure Botpress IntegrationCOMMENT
LOWintegrations/slack/hub.md112#### Step 1 - Preparing your Slack applicationCOMMENT
LOWintegrations/slack/hub.md146#### Step 2 - Completing the setup wizardCOMMENT
LOWintegrations/slack/hub.md153#### Step 3 - Enabling webhooksCOMMENT
LOWpackages/llmz/examples/21_chat_tool_components/index.ts98 // Step 1: Show progressCOMMENT
LOWpackages/llmz/examples/21_chat_tool_components/index.ts102 // Step 2: Show more progressCOMMENT
LOWpackages/llmz/examples/21_chat_tool_components/index.ts106 // Step 3: Yiels the ticket component itselfCOMMENT
LOWpackages/zai/src/operations/patch.ts649 // Step 1: Split files that are too largeCOMMENT
LOWpackages/zai/src/operations/patch.ts656 // Step 2: Create batches that fit within token limitsCOMMENT
LOWpackages/zai/src/operations/patch.ts659 // Step 3: Process batches in parallelCOMMENT
LOWpackages/zai/src/operations/patch.ts663 // Step 4: Merge results - combine patches from all batches per fileCOMMENT
LOWpackages/zai/src/operations/patch.ts673 // Step 5: Apply merged patches to original files (with JSON validation/repair for .json files)COMMENT
Modern AI Meta-Vocabulary12 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMpackages/llmz/DOCS.md1000 // Implement guardrailsCOMMENT
MEDIUMpackages/llmz/DOCS.md1397### Citations (RAG Support)COMMENT
MEDIUMpackages/llmz/DOCS.md1436#### RAG Implementation ExampleCOMMENT
MEDIUMpackages/llmz/docs/TODO.md256 // Implement guardrailsCOMMENT
MEDIUMpackages/llmz/docs/TODO.md796### RAG Implementation ExampleCOMMENT
MEDIUMpackages/llmz/examples/20_chat_rag/README.md1## RAG / Knowledge BasesCOMMENT
MEDIUMpackages/llmz/examples/07_chat_guardrails/index.ts50// Main execution loop with safety guardrailsCOMMENT
MEDIUMpackages/llmz/examples/07_chat_guardrails/index.ts63 // Use Zai to analyze the generated code against our guardrailsCOMMENT
MEDIUMpackages/llmz/examples/07_chat_guardrails/index.ts85 // This causes the LLM to regenerate code that complies with guardrailsCOMMENT
MEDIUMpackages/llmz/examples/07_chat_guardrails/index.ts89 // All guardrails passed - safe to executeCOMMENT
MEDIUMpackages/llmz/src/prompts/chat-mode/system.md.ts1export default "# Important Instructions\n\nYou are a helpful assistant with a defined Personality, Role, Capabilities aCODE
MEDIUMpackages/llmz/src/prompts/worker-mode/system.md.ts1export default "# Important Instructions\n\nYou are a helpful background AI Agent with defined Role, Capabilities and ReCODE
Verbosity Indicators13 hits · 27 pts
SeverityFileLineSnippetContext
LOW…grations/bigcommerce-sync/src/actions/sync-products.ts302 // Step 1: Load categories and brandsCOMMENT
LOW…grations/bigcommerce-sync/src/actions/sync-products.ts309 // Step 2: Get first page synchronouslyCOMMENT
LOW…grations/bigcommerce-sync/src/actions/sync-products.ts328 // Step 3: Process first page using unified functionCOMMENT
LOW…grations/bigcommerce-sync/src/actions/sync-products.ts345 // Step 4: If there are more pages, send webhook to trigger background processingCOMMENT
LOWpackages/llmz/examples/21_chat_tool_components/index.ts98 // Step 1: Show progressCOMMENT
LOWpackages/llmz/examples/21_chat_tool_components/index.ts102 // Step 2: Show more progressCOMMENT
LOWpackages/llmz/examples/21_chat_tool_components/index.ts106 // Step 3: Yiels the ticket component itselfCOMMENT
LOWpackages/llmz/src/context.ts710 // probably we need to check if max tokens is 75% reached and then summarize messages and variables if neededCOMMENT
LOWpackages/zai/src/operations/patch.ts649 // Step 1: Split files that are too largeCOMMENT
LOWpackages/zai/src/operations/patch.ts656 // Step 2: Create batches that fit within token limitsCOMMENT
LOWpackages/zai/src/operations/patch.ts659 // Step 3: Process batches in parallelCOMMENT
LOWpackages/zai/src/operations/patch.ts663 // Step 4: Merge results - combine patches from all batches per fileCOMMENT
LOWpackages/zai/src/operations/patch.ts673 // Step 5: Apply merged patches to original files (with JSON validation/repair for .json files)COMMENT
Over-Commented Block25 hits · 25 pts
SeverityFileLineSnippetContext
LOWintegrations/intercom/integration.definition.ts21 .describe('The client secret of the Intercom app, used for event signature validation'),COMMENT
LOWpackages/zui/src/z/types/tuple/tuple.test.ts81})COMMENT
LOWpackages/zui/src/z/types/object/index.ts241 // augmentation: AugmentationCOMMENT
LOWpackages/zui/src/z/types/object/index.ts261 ...this._def.shape(),COMMENT
LOWpackages/zui/src/z/types/object/index.ts281 // }>COMMENT
LOWpackages/zui/src/z/__tests__/language-server.test.ts1import { test } from 'vitest'COMMENT
LOWpackages/zui/src/z/__tests__/language-server.test.ts21// const instanceVariable =COMMENT
LOWpackages/zui/src/z/__tests__/language-server.test.ts41// // const instanceVariable = sourceFile.getVariableDeclarationOrThrow(COMMENT
LOWpackages/zui/src/z/__tests__/language-server.test.ts61// // // Find usage of TestMerge.f2 propertyCOMMENT
LOWpackages/zui/src/z/__tests__/language-server.test.ts81// // });COMMENT
LOWpackages/zui/src/z/__tests__/language-server.test.ts101// expect(parentOfProperty?.getName()).toEqual("Test");COMMENT
LOWpackages/zui/src/z/__tests__/language-server.test.ts121// expect(definitionOfProperty?.getText()).toEqual(COMMENT
LOWpackages/zui/src/z/__tests__/language-server.test.ts141// );COMMENT
LOWpackages/zui/src/z/__tests__/language-server.test.ts161// );COMMENT
LOWpackages/zui/src/z/__tests__/language-server.test.ts181// );COMMENT
LOWpackages/zui/src/z/__tests__/language-server.test.ts201// );COMMENT
LOWpackages/zui/src/z/__tests__/primitive.test.ts401 // literalStringSchemaTest,COMMENT
LOWpackages/zui/src/z/error/error.test.ts161 expect(result.error.issues[0]?.code).toEqual('custom')COMMENT
LOWpackages/zui/src/z/error/error.test.ts481 if (!result.success) {COMMENT
LOWpackages/sdk/src/bot/workflow-proxy/proxy.ts1import type * as client from '@botpress/client'COMMENT
LOWpackages/sdk/src/bot/workflow-proxy/proxy.ts21// character in the workflow definition's tag definition. The pluginCOMMENT
LOWpackages/llmz/DOCS.md461 },COMMENT
LOWpackages/llmz/DOCS.md581```typescriptCOMMENT
LOWpackages/llmz/examples/01_chat_basic/index.ts21// Initialize the Botpress Client for LLM interactionsCOMMENT
LOWpackages/zai/README.md141// Result: [COMMENT
Slop Phrases5 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMpackages/llmz/e2e/chat-mode.test.ts157 Here's how you can create a React component with state:CODE
MEDIUMpackages/llmz/src/vm/vm-jsx.test.ts395 In TypeScript, the \`Omit\` utility type is used to create a new type by omitting specific properties from an existingCODE
MEDIUMpackages/llmz/src/vm/vm-jsx.test.ts427 In TypeScript, the \`Omit\` utility type is used to create a new type by omitting specific properties from an exCODE
MEDIUMpackages/llmz/src/prompts/chat-mode/system.md.ts1export default "# Important Instructions\n\nYou are a helpful assistant with a defined Personality, Role, Capabilities aCODE
MEDIUMpackages/llmz/src/prompts/worker-mode/system.md.ts1export default "# Important Instructions\n\nYou are a helpful background AI Agent with defined Role, Capabilities and ReCODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHpackages/llmz/src/vm/vm-jsx.test.ts358// Modify the code snippet as requested and provide the updated versionCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpackages/llmz/src/snapshots.ts52 * ### Creating a SnapshotCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/prod-master-version-verification.yml35 # Check if integration should be skippedCOMMENT
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpackages/zai/e2e/patch.test.ts656 lines.push(` // TODO: implement feature ${i / 10}`)CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpackages/zai/e2e/sort.test.ts574 function processData(data) {CODE