Repository Analysis

botpress/botpress

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

4.1 Likely human-written View on GitHub
4.1
Adjusted Score
4.1
Raw Score
100%
Time Factor
2026-05-29
Last Push
14,711
Stars
TypeScript
Language
343,488
Lines of Code
3334
Files
305
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 82HIGH 19MEDIUM 51LOW 153

Pattern Findings

305 matches across 12 categories. Click a row to expand file-level details.

Hallucination Indicators82 hits · 1010 pts
SeverityFileLineSnippet
CRITICALplugins/hitl/src/conv-manager.ts157 return await this._props.states.conversation.initiatingUser.set(this._conversation.id, { upstreamUserId: userId })
CRITICALplugins/hitl/src/conv-manager.ts161 return await this._props.states.conversation.hitl.getOrSet(this._conversation.id, DEFAULT_STATE)
CRITICALplugins/hitl/src/conv-manager.ts165 return await this._props.states.conversation.hitl.set(this._conversation.id, state)
CRITICALintegrations/postmark/integration.definition.ts157 text: { schema: sdk.messages.defaults.text.schema.extend(emailProps) },
CRITICALintegrations/postmark/integration.definition.ts158 image: { schema: sdk.messages.defaults.image.schema.extend(emailProps) },
CRITICALintegrations/postmark/integration.definition.ts159 audio: { schema: sdk.messages.defaults.audio.schema.extend(emailProps) },
CRITICALintegrations/postmark/integration.definition.ts160 video: { schema: sdk.messages.defaults.video.schema.extend(emailProps) },
CRITICALintegrations/postmark/integration.definition.ts161 file: { schema: sdk.messages.defaults.file.schema.extend(emailProps) },
CRITICALintegrations/postmark/integration.definition.ts162 location: { schema: sdk.messages.defaults.location.schema.extend(emailProps) },
CRITICALintegrations/postmark/integration.definition.ts163 carousel: { schema: sdk.messages.defaults.carousel.schema.extend(emailProps) },
CRITICALintegrations/postmark/integration.definition.ts164 card: { schema: sdk.messages.defaults.card.schema.extend(emailProps) },
CRITICALintegrations/postmark/integration.definition.ts165 dropdown: { schema: sdk.messages.defaults.dropdown.schema.extend(emailProps) },
CRITICALintegrations/postmark/integration.definition.ts166 choice: { schema: sdk.messages.defaults.choice.schema.extend(emailProps) },
CRITICALintegrations/postmark/integration.definition.ts167 bloc: { schema: sdk.messages.defaults.bloc.schema.extend(emailProps) },
CRITICALintegrations/chat/definitions/channels/messages.ts6const text = { schema: sdk.messages.defaults.text.schema.extend({ metadata }) }
CRITICALintegrations/chat/definitions/channels/messages.ts7const image = { schema: sdk.messages.defaults.image.schema.extend({ metadata }) }
CRITICALintegrations/chat/definitions/channels/messages.ts8const audio = { schema: sdk.messages.defaults.audio.schema.extend({ metadata }) }
CRITICALintegrations/chat/definitions/channels/messages.ts9const video = { schema: sdk.messages.defaults.video.schema.extend({ metadata }) }
CRITICALintegrations/chat/definitions/channels/messages.ts10const file = { schema: sdk.messages.defaults.file.schema.extend({ metadata }) }
CRITICALintegrations/chat/definitions/channels/messages.ts11const location = { schema: sdk.messages.defaults.location.schema.extend({ metadata }) }
CRITICALintegrations/chat/definitions/channels/messages.ts12const carousel = { schema: sdk.messages.defaults.carousel.schema.extend({ metadata }) }
CRITICALintegrations/chat/definitions/channels/messages.ts13const card = { schema: sdk.messages.defaults.card.schema.extend({ metadata }) }
CRITICALintegrations/chat/definitions/channels/messages.ts14const dropdown = { schema: sdk.messages.defaults.dropdown.schema.extend({ metadata }) }
CRITICALintegrations/chat/definitions/channels/messages.ts15const choice = { schema: sdk.messages.defaults.choice.schema.extend({ metadata }) }
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts136 const contacts = await this._hsClient.crm.contacts.searchApi.doSearch({
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts155 const contact = await this._hsClient.crm.contacts.basicApi.getById(contactId.toString(), [
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts199 const companies = await this._hsClient.crm.companies.searchApi.doSearch({
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts220 const company = await this._hsClient.crm.companies.basicApi.getById(companyId.toString(), [
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts240 const updatedCompany = await this._hsClient.crm.companies.basicApi.update(companyId.toString(), {
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts248 const ticket = await this._hsClient.crm.tickets.basicApi.getById(ticketId.toString(), [
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts313 const newContact = await this._hsClient.crm.contacts.basicApi.create({
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts362 return this._hsClient.crm.properties.coreApi.getAll(objectType)
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts370 const contact = await this._hsClient.crm.contacts.basicApi.getById(
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts399 const updatedContact = await this._hsClient.crm.contacts.basicApi.update(
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts415 await this._hsClient.crm.contacts.basicApi.archive(contactId)
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts420 const { results, paging } = await this._hsClient.crm.contacts.basicApi.getPage(PAGING_LIMIT, nextToken, [
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts568 return await this._hsClient.crm.tickets.basicApi.create(ticketCreateInput)
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts587 const deals = await this._hsClient.crm.deals.searchApi.doSearch({
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts608 const deal = await this._hsClient.crm.deals.basicApi.getById(dealId, [
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts619 await this._hsClient.crm.deals.basicApi.archive(dealId)
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts634 const deal = await this._hsClient.crm.deals.basicApi.update(dealId, {
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts647 const deal = await this._hsClient.crm.deals.basicApi.create({
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts669 const lead = await this._hsClient.crm.objects.leads.basicApi.create({
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts694 const lead = await this._hsClient.crm.objects.leads.basicApi.getById(leadId, [
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts703 await this._hsClient.crm.objects.leads.basicApi.archive(leadId)
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts718 const lead = await this._hsClient.crm.objects.leads.basicApi.update(leadId, {
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts744 const leads = await this._hsClient.crm.objects.leads.searchApi.doSearch({
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts860 const company = await this._hsClient.crm.companies.basicApi.getById(canonicalInput, [
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts868 const companies = await this._hsClient.crm.companies.searchApi.doSearch({
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts1011 const pipelines = await this._hsClient.crm.pipelines.pipelinesApi.getAll('ticket')
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts1044 const properties = await this._hsClient.crm.properties.coreApi.getAll('contacts')
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts1054 return await this._hsClient.crm.owners.ownersApi.getById(numericOwnerId)
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts1070 const owners = await this._hsClient.crm.owners.ownersApi.getPage(email, undefined, 1, false)
CRITICALintegrations/hubspot/src/hubspot-api/hubspot-client.ts1082 const ticket = await this._hsClient.crm.tickets.basicApi.getById(id)
CRITICAL…tegrations/hubspot/src/hubspot-api/properties-cache.ts108 const properties = await this._hsClient.crm.properties.coreApi.getAll(this._type, false)
CRITICAL…ons/messenger/definitions/channels/channel/messages.ts13 text: { schema: sdk.messages.defaults.text.schema.merge(commentIdSchema) },
CRITICAL…ons/messenger/definitions/channels/channel/messages.ts14 image: { schema: sdk.messages.defaults.image.schema.merge(commentIdSchema) },
CRITICAL…ons/messenger/definitions/channels/channel/messages.ts15 audio: { schema: sdk.messages.defaults.audio.schema.merge(commentIdSchema) },
CRITICAL…ons/messenger/definitions/channels/channel/messages.ts16 video: { schema: sdk.messages.defaults.video.schema.merge(commentIdSchema) },
CRITICAL…ons/messenger/definitions/channels/channel/messages.ts17 file: { schema: sdk.messages.defaults.file.schema.merge(commentIdSchema) },
22 more matches not shown…
Cross-Language Confusion (JS/TS)18 hits · 120 pts
SeverityFileLineSnippet
HIGHpackages/llmz/e2e/chat-mode.test.ts819print(f"Hello {name}! You are {age} years old.")
HIGHpackages/llmz/e2e/chat-mode.test.ts820print(f"Next year: {age + 1}")
HIGHpackages/llmz/e2e/chat-mode.test.ts821print(f"Uppercase: {name.upper()}")
HIGHpackages/llmz/e2e/chat-mode.test.ts825print(f"Price: \${price:.2f}")
HIGHpackages/llmz/e2e/chat-mode.test.ts826print(f"Hex: {255:#x}")
HIGHpackages/llmz/e2e/chat-mode.test.ts827print(f"Percentage: {0.846:.1%}")
HIGHpackages/llmz/e2e/chat-mode.test.ts833 print(f"Valid phone: {phone}")
HIGHpackages/llmz/e2e/chat-mode.test.ts905 print(f"Hello {name}! You are {age} years old.")
HIGHpackages/llmz/e2e/chat-mode.test.ts906 print(f"Next year: {age + 1}")
HIGHpackages/llmz/e2e/chat-mode.test.ts907 print(f"Uppercase: {name.upper()}")
HIGHpackages/llmz/e2e/chat-mode.test.ts914 print(f"Price: \${price:.2f}") # Two decimal places
HIGHpackages/llmz/e2e/chat-mode.test.ts915 print(f"Hex: {255:#x}") # Hexadecimal
HIGHpackages/llmz/e2e/chat-mode.test.ts916 print(f"Percentage: {0.846:.1%}") # Percentage
HIGHpackages/llmz/e2e/chat-mode.test.ts925 print(f"Valid phone: {phone}")
HIGHpackages/llmz/e2e/chat-mode.test.ts661elif [[ ! -z "\${NAME}" ]]; then
HIGHpackages/llmz/e2e/chat-mode.test.ts760 elif [[ ! -z "\${NAME}" ]]; then
HIGHpackages/llmz/e2e/chat-mode.test.ts850print(f"User: {user['name']} ({user.get('role', 'user')})")
HIGHpackages/llmz/e2e/chat-mode.test.ts950 print(f"User: {user['name']} ({user.get('role', 'user')})")
Decorative Section Separators45 hits · 100 pts
SeverityFileLineSnippet
MEDIUM…ations/whatsapp/src/channels/message-types/carousel.ts60// ─── Partitioning ───────────────────────────────────────────────────
MEDIUM…ations/whatsapp/src/channels/message-types/carousel.ts156// ─── Native-carousel construction ───────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts13//* ─────────────────────────── UI & Metadata ───────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts79//* ─────────────────────────── Errors & Issues ───────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts280//* ─────────────────────────── Parsing ──────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts363//* ─────────────────────────── Base Type ───────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts563//* ─────────────────────────── ZodAny ───────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts572//* ─────────────────────────── ZodArray ─────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts611//* ─────────────────────────── ZodBigInt ────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts655//* ─────────────────────────── ZodBoolean ───────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts665//* ─────────────────────────── ZodBranded ───────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts687//* ─────────────────────────── ZodCatch ────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts701//* ─────────────────────────── ZodDate ─────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts729//* ─────────────────────────── ZodDefault ───────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts744//* ─────────────────────────── ZodEnum ─────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts786//* ─────────────────────────── ZodNever ────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts795//* ─────────────────────────── ZodNullable ─────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts808//* ─────────────────────────── ZodOptional ────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts821//* ─────────────────────────── ZodTuple ────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts862//* ─────────────────────────── ZodObject ────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1066//* ─────────────────────────── ZodDiscriminatedUnion ──────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1095//* ─────────────────────────── ZodUnknown ───────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1104//* ─────────────────────────── ZodFunction ───────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1146//* ─────────────────────────── ZodIntersection ──────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1158//* ─────────────────────────── ZodLazy ─────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1170//* ─────────────────────────── ZodLiteral ───────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1183//* ─────────────────────────── ZodMap ───────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1198//* ─────────────────────────── ZodNaN ───────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1207//* ─────────────────────────── ZodNativeEnum ────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1224//* ─────────────────────────── ZodNull ─────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1233//* ─────────────────────────── ZodNumber ────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1291//* ─────────────────────────── ZodPipeline ──────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1305//* ─────────────────────────── ZodPromise ───────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1318//* ─────────────────────────── ZodReadonly ───────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1355//* ─────────────────────────── ZodString ────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1513//* ─────────────────────────── ZodRecord ────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1544//* ─────────────────────────── ZodRef ───────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1554//* ─────────────────────────── ZodSet ───────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1579//* ─────────────────────────── ZodSymbol ────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1588//* ─────────────────────────── ZodEffects ───────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1633//* ─────────────────────────── ZodUndefined ─────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1642//* ─────────────────────────── ZodUnion ────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1657//* ─────────────────────────── ZodVoid ─────────────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1666//* ─────────────────────────── ZodNativeType ───────────────────────────────
MEDIUMpackages/zui/src/z/typings.ts1719//* ─────────────────────────── Builders ──────────────────────────────
Hyper-Verbose Identifiers66 hits · 66 pts
SeverityFileLineSnippet
LOW…ector/src/utils/create-integration-transfer-handler.ts22export function createIntegrationTransferHandler(props: CreateIntegrationTransferHandlerProps): {
LOW…grations/bigcommerce-sync/src/actions/sync-products.ts41function transformProductToTableRow(
LOWintegrations/workable/src/mapping/candidate-mapper.ts9export function fromListCandidatesInputModel(
LOWintegrations/workable/src/mapping/candidate-mapper.ts22export function toListCandidatesOutputModel(
LOWintegrations/workable/src/mapping/candidate-mapper.ts64export function fromGetCandidateInputModel(
LOWintegrations/workable/src/mapping/candidate-mapper.ts70export function toBaseDetailedCandidateModel(
LOWintegrations/workable/src/mapping/candidate-mapper.ts178export function toCandidateCreatedEventModel(
LOWintegrations/workable/src/mapping/candidate-mapper.ts192export function toCandidateMovedEventModel(
LOWintegrations/workable/src/mapping/candidate-mapper.ts206export function fromPostEducationEntryModel(
LOWintegrations/workable/src/mapping/candidate-mapper.ts230export function fromPostExperienceEntryModel(
LOWintegrations/workable/src/mapping/candidate-mapper.ts252export function toPostCandidateInJobOutputModel(
LOWintegrations/workable/src/mapping/candidate-mapper.ts263export function toPostCandidateInTalentPoolOutputModel(
LOWintegrations/workable/src/mapping/candidate-mapper.ts280export function fromPostCandidateInTalentPoolModel(
LOWintegrations/workable/src/mapping/candidate-mapper.ts321export function fromPostCandidateInTalentPoolInputModel(
LOWintegrations/workable/src/mapping/candidate-mapper.ts332export function fromPostCandidateInJobInputModel(
LOWintegrations/workable/src/mapping/candidate-mapper.ts350export function fromUpdateCandidateInputModel(
LOWintegrations/workable/src/mapping/candidate-mapper.ts400export function toUpdateCandidateOutputModel(
LOWintegrations/workable/src/mapping/jobs-mapper.ts5export function toGetJobQuestionsOutputModel(
LOWintegrations/workable/src/mapping/jobs-mapper.ts28export function fromGetJobQuestionsInputModel(
LOWintegrations/zendesk-messaging-hitl/src/setup/util.ts1export function getAgentWorkspaceSwitchboardIntegrationName(): string {
LOW…ssaging-hitl/src/events/switchboard-release-control.ts4export async function handleSwitchboardReleaseControl(
LOW…desk-messaging-hitl/src/events/conversation-message.ts4export async function handleConversationMessage(
LOWintegrations/messenger/src/misc/meta-client.ts344export async function createAuthenticatedMetaClient({
LOWintegrations/messenger/src/misc/messenger-client.ts5export async function createAuthenticatedMessengerClient(client: bp.Client, ctx: bp.Context): Promise<MessengerClient> {
LOWintegrations/messenger/src/misc/utils.ts7export function getGoogleMapLinkFromLocation(payload: Location) {
LOWintegrations/messenger/src/misc/facebook-client.ts109export async function createAuthenticatedFacebookClient(ctx: bp.Context, client: bp.Client): Promise<FacebookClient> {
LOWintegrations/messenger/src/misc/auth.ts11export async function getMessengerClientCredentials(
LOWintegrations/messenger/src/misc/auth.ts50export async function getFacebookClientCredentials(
LOWintegrations/messenger/src/misc/auth.ts89export async function getOAuthMetaClientCredentials(
LOWintegrations/messenger/src/misc/auth.ts105export async function patchOAuthMetaClientCredentials(
LOWintegrations/google-ai/src/actions/generate-content.ts108async function buildGenerateContentRequest(
LOWintegrations/google-ai/src/actions/generate-content.ts311function buildFunctionCallingConfig(
LOWintegrations/kommo/src/actions/contact.ts6function mapKommoContactToBotpress(contact: KommoContact) {
LOWintegrations/sunco/src/events/conversation-message.ts4export async function handleConversationMessage(
LOW…rations/telegram/src/misc/markdown-to-telegram-html.ts145export function stdMarkdownToTelegramHtml(markdown: string): MarkdownToTelegramHtmlResult {
LOW…rations/telegram/src/misc/markdown-to-telegram-html.ts186export function markdownHtmlToTelegramPayloads(html: string, images: ImageData[]): MixedPayloads {
LOW…egrations/teams/src/markdown/teams-html-to-markdown.ts6export function transformTeamsHtmlToStdMarkdown(teamsHtml: string) {
LOWintegrations/loops/src/loops.webhook.ts8export function validateWebhookSigningSecret(value: string): void {
LOWintegrations/anthropic/src/actions/generate-content.ts221async function mapToAnthropicMessageContent(message: llm.Message): Promise<Anthropic.MessageParam['content']> {
LOWintegrations/anthropic/src/actions/generate-content.ts268async function mapMultipartMessageContentToAnthropicContent(
LOWintegrations/slack/src/misc/markdown-to-slack.ts54export function transformMarkdownForSlack(text: string): string {
LOWintegrations/instagram/refreshTokens.ts25async function refreshSandboxAccessToken(args: RefreshSecretArgs) {
LOWintegrations/whatsapp/src/misc/template-utils.ts138export function parseTemplateVariablesJSON(templateVariablesJson: string, logger: bp.Logger): TemplateVariables {
LOWintegrations/whatsapp/src/misc/template-utils.ts398export function buildBodyComponentFromLegacy(variables: TemplateVariables): TemplateComponent | undefined {
LOW…grations/whatsapp/src/misc/markdown-to-whatsapp-rtf.ts58export function convertMarkdownToWhatsApp(markdown: string): string {
LOWintegrations/openai/src/index.ts592function getOpenAIImageGenerationParams(modelId: ImageModelId): {
LOWintegrations/twilio/src/markdown-to-twilio.ts29export function transformMarkdownForTwilio(text: string, channel: TwilioChannel) {
LOWscripts/upload-sandbox-scripts.ts11function readIntegrationDefinition(integrationPath: string): any {
LOWpackages/zui/src/transforms/common/utils.ts6export function primitiveToTypscriptLiteralType(x: Primitive): string {
LOWpackages/zui/src/transforms/common/utils.ts20export function primitiveToTypescriptValue(x: Primitive): string {
LOWpackages/cli/src/code-generation/generators.ts47export function primitiveToTypescriptValue(x: Primitive): string {
LOWpackages/cli/src/code-generation/generators.ts54export function primitiveRecordToTypescriptValues(x: Record<string, Primitive>): Record<string, string> {
LOWpackages/common/src/llm/errors.ts5export function createUpstreamProviderFailedError(cause: Error, message?: string) {
LOWpackages/common/src/llm/openai.ts237async function mapToOpenAIMessageContent(message: Message) {
LOWpackages/common/src/llm/openai.ts265async function mapMultipartMessageToOpenAIMessageParts(
LOWpackages/common/src/llm/openai.ts413export function validateGptOssReasoningEffort(
LOWpackages/common/src/llm/openai.ts445export function validateOpenAIReasoningEffort(
LOWpackages/sdk/src/serve.ts60async function mapIncomingMessageToRequest(incoming: http.IncomingMessage): Promise<Request> {
LOWpackages/llmz/src/exit-parser.ts142function tryUnionPrimitiveWrapping(
LOWpackages/llmz/src/abort-signal.ts23export function createJoinedAbortController(signals: (AbortSignal | undefined | null)[]): AbortController {
6 more matches not shown…
Fake / Example Data47 hits · 50 pts
SeverityFileLineSnippet
LOWbots/hit-looper/src/index.ts52 name: 'John Doe',
LOWintegrations/slack/hub.md41 name: 'John Doe'
LOWintegrations/slack/hub.md60 name: 'John Doe'
LOWintegrations/slack/src/misc/replace-mentions.test.ts9 const mentions: Mention[] = [{ start: 6, end: 10, user: { id: 'u1', name: 'John Doe' } }]
LOWintegrations/slack/src/misc/replace-mentions.test.ts15 { start: 0, end: 5, user: { id: 'u1', name: 'John Doe' } },
LOWintegrations/slack/src/misc/replace-mentions.test.ts16 { start: 6, end: 11, user: { id: 'u2', name: 'Jane Doe' } },
LOWintegrations/slack/src/misc/replace-mentions.test.ts27 const mentions: Mention[] = [{ start: 0, end: 4, user: { id: 'u1', name: 'John Doe' } }]
LOW…ons/whatsapp/src/misc/markdown-to-whatsapp-rtf.test.ts136 expect(convertMarkdownToWhatsApp('test@test.com')).toBe('test@test.com')
LOWintegrations/stripe/src/misc/custom-schemas.ts233 name: z.string().optional().describe('The name of the customer').placeholder('John Doe').title('Name'),
LOWpackages/zui/src/z/types/catch/catch.test.ts193 return 'John Doe'
LOW…i/src/transforms/zui-from-object/object-to-zui.test.ts40 address: { street: '123 Main St', city: 'New York', state: 'NY' },
LOW…i/src/transforms/zui-from-object/object-to-zui.test.ts118 street: '123 Main St',
LOW…/src/conversation-transcript/message-formatter.test.ts19 name: 'John Doe',
LOW…onversation-transcript/conversation-transcript.test.ts8 name: 'John Doe',
LOWpackages/llmz/DOCS.md512 value: 'John Doe',
LOWpackages/llmz/DOCS.md551const userName = user.name // "John Doe"
LOWpackages/llmz/DOCS.md592// before: 'John Doe',
LOWpackages/llmz/e2e/chat-mode.test.ts648NAME="John Doe"
LOWpackages/llmz/e2e/chat-mode.test.ts747 NAME="John Doe"
LOWpackages/llmz/e2e/worker-mode.test.ts252 'First try to return invalid data: email="not-an-email", age=200. When that fails, return valid data: email="u
LOWpackages/llmz/src/objects.ts85 * value: 'John Doe',
LOWpackages/llmz/src/objects.ts285 * value: 'John Doe',
LOWpackages/llmz/src/objects.test.ts212 value: { street: '123 Main St', city: 'Toronto' },
LOWpackages/llmz/src/objects.test.ts235 }> = { street: "123 Main St", city: "Toronto" }
LOWpackages/llmz/src/vm-jsx.test.ts408 name: 'John Doe',
LOWpackages/llmz/src/vm-jsx.test.ts440 name: 'John Doe',
LOWpackages/llmz/src/exit-parser.test.ts512 email: 'user@example.com',
LOWpackages/llmz/src/exit-parser.test.ts523 email: 'user@example.com',
LOWpackages/llmz/src/vm.test.ts767 address: { street: '123 Main St' },
LOWpackages/llmz/src/vm.test.ts856 address: { street: '123 Main St' },
LOWpackages/zai/README.md40// Result: { name: 'John Doe', age: 30, location: 'New York' }
LOWpackages/zai/e2e/patch.test.ts2004 author: 'Acme Corp',
LOWpackages/zai/e2e/patch.test.ts2090 expect(parsed.author).toBe('Acme Corp')
LOWpackages/zai/e2e/group.test.ts626 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolor
LOWpackages/zai/e2e/group.test.ts626 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolor
LOWpackages/zai/e2e/group.test.ts648 Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit.
LOWpackages/zai/e2e/group.test.ts648 Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit.
LOWpackages/zai/e2e/extract.test.ts33 "name": "John Doe",
LOWpackages/zai/e2e/extract.test.ts41 safeParse: () => ({ success: true, data: { name: 'John Doe', age: 30 } }),
LOWpackages/zai/e2e/extract.test.ts70 "name": "John Doe",
LOWpackages/zai/e2e/extract.test.ts75 "name": "Jane Doe",
LOWpackages/zai/e2e/extract.test.ts104 "a": "John Doe",
LOWpackages/zai/e2e/extract.test.ts162 "name": "John Doe",
LOWpackages/zai/e2e/rate.test.ts40 address: '123 Main St',
LOWpackages/zai/e2e/answer.test.ts1043 "name": "John Doe"
LOWpackages/zai/e2e/answer.test.ts1417 metadata: { author: 'John Doe', year: 2015 },
LOWpackages/zai/src/operations/extract.ts70 * // Result: { name: 'John Doe', age: 35, email: 'john@example.com' }
Verbosity Indicators13 hits · 26 pts
SeverityFileLineSnippet
LOW…grations/bigcommerce-sync/src/actions/sync-products.ts302 // Step 1: Load categories and brands
LOW…grations/bigcommerce-sync/src/actions/sync-products.ts309 // Step 2: Get first page synchronously
LOW…grations/bigcommerce-sync/src/actions/sync-products.ts328 // Step 3: Process first page using unified function
LOW…grations/bigcommerce-sync/src/actions/sync-products.ts345 // Step 4: If there are more pages, send webhook to trigger background processing
LOWpackages/llmz/examples/21_chat_tool_components/index.ts98 // Step 1: Show progress
LOWpackages/llmz/examples/21_chat_tool_components/index.ts102 // Step 2: Show more progress
LOWpackages/llmz/examples/21_chat_tool_components/index.ts106 // Step 3: Yiels the ticket component itself
LOWpackages/llmz/src/context.ts710 // probably we need to check if max tokens is 75% reached and then summarize messages and variables if needed
LOWpackages/zai/src/operations/patch.ts649 // Step 1: Split files that are too large
LOWpackages/zai/src/operations/patch.ts656 // Step 2: Create batches that fit within token limits
LOWpackages/zai/src/operations/patch.ts659 // Step 3: Process batches in parallel
LOWpackages/zai/src/operations/patch.ts663 // Step 4: Merge results - combine patches from all batches per file
LOWpackages/zai/src/operations/patch.ts673 // Step 5: Apply merged patches to original files (with JSON validation/repair for .json files)
Over-Commented Block25 hits · 25 pts
SeverityFileLineSnippet
LOWintegrations/intercom/integration.definition.ts21 .title('Client Secret')
LOWpackages/zui/src/z/types/tuple/tuple.test.ts81})
LOWpackages/zui/src/z/types/object/index.ts241 // augmentation: Augmentation
LOWpackages/zui/src/z/types/object/index.ts261 ...this._def.shape(),
LOWpackages/zui/src/z/types/object/index.ts281 // }>
LOWpackages/zui/src/z/__tests__/language-server.test.ts1import { test } from 'vitest'
LOWpackages/zui/src/z/__tests__/language-server.test.ts21// const instanceVariable =
LOWpackages/zui/src/z/__tests__/language-server.test.ts41// // const instanceVariable = sourceFile.getVariableDeclarationOrThrow(
LOWpackages/zui/src/z/__tests__/language-server.test.ts61// // // Find usage of TestMerge.f2 property
LOWpackages/zui/src/z/__tests__/language-server.test.ts81// // });
LOWpackages/zui/src/z/__tests__/language-server.test.ts101// expect(parentOfProperty?.getName()).toEqual("Test");
LOWpackages/zui/src/z/__tests__/language-server.test.ts121// expect(definitionOfProperty?.getText()).toEqual(
LOWpackages/zui/src/z/__tests__/language-server.test.ts141// );
LOWpackages/zui/src/z/__tests__/language-server.test.ts161// );
LOWpackages/zui/src/z/__tests__/language-server.test.ts181// );
LOWpackages/zui/src/z/__tests__/language-server.test.ts201// );
LOWpackages/zui/src/z/__tests__/primitive.test.ts401 // literalStringSchemaTest,
LOWpackages/zui/src/z/error/error.test.ts161 expect(result.error.issues[0]?.code).toEqual('custom')
LOWpackages/zui/src/z/error/error.test.ts481 if (!result.success) {
LOWpackages/sdk/src/bot/workflow-proxy/proxy.ts1import type * as client from '@botpress/client'
LOWpackages/sdk/src/bot/workflow-proxy/proxy.ts21// character in the workflow definition's tag definition. The plugin
LOWpackages/llmz/DOCS.md461 },
LOWpackages/llmz/DOCS.md581```typescript
LOWpackages/llmz/examples/01_chat_basic/index.ts21// Initialize the Botpress Client for LLM interactions
LOWpackages/zai/README.md141// Result: [
Slop Phrases5 hits · 10 pts
SeverityFileLineSnippet
MEDIUMpackages/llmz/e2e/chat-mode.test.ts157 Here's how you can create a React component with state:
MEDIUMpackages/llmz/src/vm-jsx.test.ts395 In TypeScript, the \`Omit\` utility type is used to create a new type by omitting specific properties from an existing
MEDIUMpackages/llmz/src/vm-jsx.test.ts427 In TypeScript, the \`Omit\` utility type is used to create a new type by omitting specific properties from an ex
MEDIUMpackages/llmz/src/prompts/chat-mode/system.md.ts1export default "# Important Instructions\n\nYou are a helpful assistant with a defined Personality, Role, Capabilities a
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 Re
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippet
HIGHpackages/llmz/src/vm-jsx.test.ts358// Modify the code snippet as requested and provide the updated version
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMpackages/llmz/src/snapshots.ts52 * ### Creating a Snapshot
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOW.github/workflows/prod-master-version-verification.yml35 # Check if integration should be skipped
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOWpackages/zai/e2e/sort.test.ts574 function processData(data) {