Official JavaScript / TypeScript library for the OpenAI API
This report presents the forensic synthetic code analysis of openai/openai-node, a TypeScript project with 11,085 GitHub stars. SynthScan v2.0 examined 220,331 lines of code across 675 source files, recording 354 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 12.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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 354 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | MIGRATION.md | 65 | - `client.beta.threads.runs.steps.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 66 | - `client.beta.threads.runs.steps.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 70 | - `client.admin.organization.users.roles.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 71 | - `client.admin.organization.users.roles.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 72 | - `client.admin.organization.groups.users.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 73 | - `client.admin.organization.groups.users.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 74 | - `client.admin.organization.groups.roles.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 75 | - `client.admin.organization.groups.roles.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 76 | - `client.admin.organization.projects.users.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 77 | - `client.admin.organization.projects.users.update()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 78 | - `client.admin.organization.projects.users.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 79 | - `client.admin.organization.projects.users.roles.create()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 80 | - `client.admin.organization.projects.users.roles.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 81 | - `client.admin.organization.projects.users.roles.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 82 | - `client.admin.organization.projects.users.roles.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 83 | - `client.admin.organization.projects.serviceAccounts.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 84 | - `client.admin.organization.projects.serviceAccounts.update()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 85 | - `client.admin.organization.projects.serviceAccounts.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 86 | - `client.admin.organization.projects.serviceAccounts.apiKeys.create()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 87 | - `client.admin.organization.projects.apiKeys.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 88 | - `client.admin.organization.projects.apiKeys.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 89 | - `client.admin.organization.projects.rateLimits.updateRateLimit()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 90 | - `client.admin.organization.projects.groups.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 91 | - `client.admin.organization.projects.groups.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 92 | - `client.admin.organization.projects.groups.roles.create()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 93 | - `client.admin.organization.projects.groups.roles.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 94 | - `client.admin.organization.projects.groups.roles.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 95 | - `client.admin.organization.projects.groups.roles.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 96 | - `client.admin.organization.projects.roles.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 97 | - `client.admin.organization.projects.roles.update()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 98 | - `client.admin.organization.projects.roles.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 99 | - `client.admin.organization.projects.spendAlerts.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 100 | - `client.admin.organization.projects.spendAlerts.update()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 101 | - `client.admin.organization.projects.spendAlerts.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 175 | - `client.admin.organization.users.roles.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 177 | - `client.admin.organization.groups.users.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 178 | - `client.admin.organization.groups.roles.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 184 | - `client.admin.organization.projects.users.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 185 | - `client.admin.organization.projects.serviceAccounts.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 186 | - `client.admin.organization.projects.apiKeys.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 187 | - `client.admin.organization.projects.rateLimits.listRateLimits()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 188 | - `client.admin.organization.projects.groups.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 189 | - `client.admin.organization.projects.roles.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 190 | - `client.admin.organization.projects.spendAlerts.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 191 | - `client.admin.organization.projects.certificates.list()` | CODE |
| CRITICAL | tests/api-resources/beta/threads/runs/steps.test.ts | 13 | const responsePromise = client.beta.threads.runs.steps.retrieve('step_id', { | CODE |
| CRITICAL | tests/api-resources/beta/threads/runs/steps.test.ts | 27 | const response = await client.beta.threads.runs.steps.retrieve('step_id', { | CODE |
| CRITICAL | tests/api-resources/beta/threads/runs/steps.test.ts | 35 | const responsePromise = client.beta.threads.runs.steps.list('run_id', { thread_id: 'thread_id' }); | CODE |
| CRITICAL | tests/api-resources/beta/threads/runs/steps.test.ts | 46 | const response = await client.beta.threads.runs.steps.list('run_id', { | CODE |
| CRITICAL | …urces/admin/organization/projects/spend-alerts.test.ts | 13 | const responsePromise = client.admin.organization.projects.spendAlerts.create('project_id', { | CODE |
| CRITICAL | …urces/admin/organization/projects/spend-alerts.test.ts | 29 | const response = await client.admin.organization.projects.spendAlerts.create('project_id', { | CODE |
| CRITICAL | …urces/admin/organization/projects/spend-alerts.test.ts | 42 | const responsePromise = client.admin.organization.projects.spendAlerts.retrieve('alert_id', { | CODE |
| CRITICAL | …urces/admin/organization/projects/spend-alerts.test.ts | 55 | const response = await client.admin.organization.projects.spendAlerts.retrieve('alert_id', { | CODE |
| CRITICAL | …urces/admin/organization/projects/spend-alerts.test.ts | 61 | const responsePromise = client.admin.organization.projects.spendAlerts.update('alert_id', { | CODE |
| CRITICAL | …urces/admin/organization/projects/spend-alerts.test.ts | 78 | const response = await client.admin.organization.projects.spendAlerts.update('alert_id', { | CODE |
| CRITICAL | …urces/admin/organization/projects/spend-alerts.test.ts | 92 | const responsePromise = client.admin.organization.projects.spendAlerts.list('project_id'); | CODE |
| CRITICAL | …urces/admin/organization/projects/spend-alerts.test.ts | 105 | client.admin.organization.projects.spendAlerts.list( | CODE |
| CRITICAL | …urces/admin/organization/projects/spend-alerts.test.ts | 119 | const responsePromise = client.admin.organization.projects.spendAlerts.delete('alert_id', { | CODE |
| CRITICAL | …urces/admin/organization/projects/spend-alerts.test.ts | 132 | const response = await client.admin.organization.projects.spendAlerts.delete('alert_id', { | CODE |
| CRITICAL | …/admin/organization/projects/model-permissions.test.ts | 13 | const responsePromise = client.admin.organization.projects.modelPermissions.retrieve('project_id'); | CODE |
| 171 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/responsesItems.test.ts | 7 | function isInputCompatibleOutputItem( | CODE |
| LOW | …s/benchmarks/structured-output-and-embeddings.bench.ts | 267 | function assertEmbeddingDimensions(value: number[] | undefined): void { | CODE |
| LOW | tests/lib/ChatCompletionRunFunctions.test.ts | 39 | function mockStreamingChatCompletionFetch() { | CODE |
| LOW | tests/helpers/zod.test.ts | 56 | function expectDefinitionRefsToResolve(schema: Record<string, unknown>) { | CODE |
| LOW | tests/helpers/standard-schema.test.ts | 86 | function makeStrictSchemaFactories(jsonSchema: Record<string, unknown>) { | CODE |
| LOW | tests/helpers/standard-schema.test.ts | 105 | function strictSchemasForAllHelpers(jsonSchema: Record<string, unknown>) { | CODE |
| LOW | src/bedrock.ts | 87 | function restoreBedrockStreamOutputText(responses: API.Responses): API.Responses { | CODE |
| LOW | src/client.ts | 1376 | function getConnectionErrorMessage(error: Error): string | undefined { | CODE |
| LOW | src/client.ts | 1390 | function isUndiciDispatcherVersionMismatchError(error: unknown): boolean { | CODE |
| LOW | src/_vendor/zod-to-json-schema/parsers/object.ts | 5 | function decideAdditionalProperties(def: ZodObjectDef, refs: Refs) { | CODE |
| LOW | src/auth/subject-token-providers.ts | 64 | export function azureManagedIdentityTokenProvider( | CODE |
| LOW | src/providers/bedrock/aws.ts | 48 | function validateStaticCredentials(options: BedrockProviderOptions): AwsCredentialIdentity | undefined { | CODE |
| LOW | src/providers/bedrock/aws.ts | 102 | function validateCredentialIdentity(identity: AwsCredentialIdentity): AwsCredentialIdentity { | CODE |
| LOW | src/internal/bedrock.ts | 82 | export function assertProviderOwnsAuthorization(headers: Headers): void { | CODE |
| LOW | src/realtime/internal-base.ts | 165 | export function getAzureRealtimeConnection( | CODE |
| LOW | src/lib/transform.ts | 173 | function stripUndefinedSchemaKeywords( | CODE |
| LOW | src/lib/transform.ts | 430 | function planPromotedRootAnyOfDefinitionRenames( | CODE |
| LOW | src/lib/transform.ts | 476 | function rewriteLocalRefsIntoPromotedRootAnyOfBranch( | CODE |
| LOW | src/lib/transform.ts | 529 | function hasOnlyRootRefAndDefinitions(schema: JSONSchema): boolean { | CODE |
| LOW | src/lib/transform.ts | 546 | function normalizeSingletonTypeArrays(schema: JSONSchemaDefinition): void { | CODE |
| LOW | src/lib/transform.ts | 1038 | function hasOnlyAnnotationSiblings(schema: JSONSchema, keyword: string): boolean { | CODE |
| LOW | src/lib/transform.ts | 1052 | function hasOnlyRootAllOfMetadataSiblings(schema: JSONSchema): boolean { | CODE |
| LOW | src/lib/transform.ts | 1063 | function hasOnlyRootAnyOfMetadataSiblings(schema: JSONSchema): boolean { | CODE |
| LOW | src/lib/transform.ts | 1088 | function isRedundantUnionWrapperType(type: JSONSchema['type'], branchType: 'object' | 'array'): boolean { | CODE |
| LOW | src/lib/transform.ts | 1095 | function normalizeObjectUnionWrapper(jsonSchema: JSONSchema, path: string[], root: JSONSchema): void { | CODE |
| LOW | src/lib/transform.ts | 1137 | function normalizeArrayUnionWrapper(jsonSchema: JSONSchema, root: JSONSchema): void { | CODE |
| LOW | src/lib/transform.ts | 1151 | function normalizeAnyOfFalseBranches(jsonSchema: JSONSchema): void { | CODE |
| LOW | src/lib/transform.ts | 1214 | function encodeJSONPointerTokenForURIFragment(token: string): string { | CODE |
| LOW | src/lib/transform.ts | 1228 | export function rewriteLocalRefsIntoMovedOneOfBranches(root: JSONSchema): void { | CODE |
| LOW | src/lib/transform.ts | 1279 | function rewriteLocalRefsIntoFilteredAnyOfBranches(root: JSONSchema): void { | CODE |
| LOW | src/lib/transform.ts | 1430 | function preserveDiscardedAllOfPropertyRefTargets(root: JSONSchema, discardedPaths: string[][]): void { | CODE |
| LOW | src/lib/transform.ts | 1605 | function normalizeObjectAllOfBranches( | CODE |
| LOW | src/lib/transform.ts | 1643 | export function normalizeObjectAllOfForExclusivity( | CODE |
| LOW | src/lib/transform.ts | 1968 | function hasObjectShapeWithoutAllOf(schema: JSONSchema): boolean { | CODE |
| LOW | src/lib/transform.ts | 1975 | function hasOnlyNeutralAllOfBranchKeywords(schema: JSONSchema): boolean { | CODE |
| LOW | src/lib/parser.ts | 33 | export function isChatCompletionFunctionTool(tool: ToolCall): tool is ChatCompletionFunctionTool { | CODE |
| LOW | src/lib/parser.ts | 289 | export function assertToolCallsAreChatCompletionFunctionToolCalls( | CODE |
| LOW | src/lib/ChatCompletionStream.ts | 143 | export function makeChatCompletionReadableStreamMessageChunk( | CODE |
| LOW | src/lib/ChatCompletionStream.ts | 163 | function isChatCompletionReadableStreamMessage( | CODE |
| LOW | src/lib/ChatCompletionStream.ts | 174 | function getChatCompletionReadableStreamMessage( | CODE |
| LOW | src/helpers/standard-schema.ts | 116 | function formatStandardSchemaIssues(issues: ReadonlyArray<StandardSchemaIssue>): string { | CODE |
| LOW | src/helpers/standard-schema.ts | 189 | function haveDisjointLiteralValues(left: unknown, right: unknown): boolean { | CODE |
| LOW | src/helpers/standard-schema.ts | 208 | function haveDisjointObjectDiscriminator(left: unknown, right: unknown, root: JSONSchema): boolean { | CODE |
| LOW | src/helpers/standard-schema.ts | 246 | function getClosedObjectPropertySet( | CODE |
| LOW | src/helpers/standard-schema.ts | 277 | function haveDisjointClosedObjectPropertySets(left: unknown, right: unknown): boolean { | CODE |
| LOW | src/helpers/standard-schema.ts | 312 | function resolveLocalRefForExclusivity( | CODE |
| LOW | src/helpers/standard-schema.ts | 350 | function areOneOfBranchesMutuallyExclusive(branches: unknown[], root: JSONSchema): boolean { | CODE |
| LOW | src/helpers/standard-schema.ts | 364 | function normalizeStructuredOutputSchema(schema: JSONSchema): JSONSchema { | CODE |
| LOW | src/helpers/standard-schema.ts | 432 | function resolveStandardJSONSchema( | CODE |
| LOW | src/helpers/zod.ts | 51 | function encodeSchemaDefinitionRefToken(token: string): string { | CODE |
| LOW | src/helpers/zod.ts | 55 | function validateSchemaDefinitions(schemaDefinitions: ZodSchemaDefinitions | undefined): void { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ecosystem-tests/cloudflare-worker/tsconfig.json | 21 | // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when tar | COMMENT |
| LOW | ecosystem-tests/cloudflare-worker/tsconfig.json | 41 | "allowJs": true /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from th | COMMENT |
| LOW | ecosystem-tests/cloudflare-worker/tsconfig.json | 61 | // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output | COMMENT |
| LOW | ecosystem-tests/cloudflare-worker/tsconfig.json | 81 | // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the r | COMMENT |
| LOW | ecosystem-tests/cloudflare-worker/wrangler.toml | 1 | name = "cfw" | COMMENT |
| LOW | ecosystem-tests/cloudflare-worker/wrangler.toml | 21 | COMMENT | |
| LOW | tests/qs/utils.test.ts | 21 | // 'merges a standalone and an object into an array', | COMMENT |
| LOW | tests/qs/stringify.test.ts | 61 | stringify({ 'name.obj': { first: 'John', last: 'Doe' } }, { allowDots: true, encodeDotInKeys: false }), | COMMENT |
| LOW | tests/qs/stringify.test.ts | 81 | // { allowDots: true, encodeDotInKeys: false }, | COMMENT |
| LOW | tests/qs/stringify.test.ts | 141 | ), | COMMENT |
| LOW | tests/qs/stringify.test.ts | 181 | }); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 261 | // st.equal(stringify({ a: { b: 'c' } }, { allowDots: true }), 'a.b=c'); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 281 | // 'comma => comma', | COMMENT |
| LOW | tests/qs/stringify.test.ts | 341 | test('should throw when allowEmptyArrays is not of type boolean', function () { | COMMENT |
| LOW | tests/qs/stringify.test.ts | 401 | }); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 441 | // ); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 541 | COMMENT | |
| LOW | tests/qs/stringify.test.ts | 581 | ).toBe('a=%2C&a=&a=c%2Cd%25'); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 621 | stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'comma' }), | COMMENT |
| LOW | tests/qs/stringify.test.ts | 641 | // st.equal( | COMMENT |
| LOW | tests/qs/stringify.test.ts | 661 | // { a: ',', b: '', c: 'c,d%' }, | COMMENT |
| LOW | tests/qs/stringify.test.ts | 701 | COMMENT | |
| LOW | tests/qs/stringify.test.ts | 761 | // ), | COMMENT |
| LOW | tests/qs/stringify.test.ts | 801 | expect(stringify({ a: { b: ['c', 'd'] } }, { allowDots: true, encodeValuesOnly: true })).toBe( | COMMENT |
| LOW | tests/qs/stringify.test.ts | 821 | // ); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 841 | // st.equal( | COMMENT |
| LOW | tests/qs/stringify.test.ts | 861 | ); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 881 | // '???', | COMMENT |
| LOW | tests/qs/stringify.test.ts | 901 | }); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 921 | // ); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1021 | // ); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1061 | // st.equal( | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1121 | // with skipNulls | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1281 | // function () { | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1321 | function: 'gte', | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1381 | // st.equal( | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1461 | 'a=c&b=f&z%5Bi%5D=b&z%5Bj%5D=a', | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1501 | // { 県: '大阪府', '': '' }, | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1621 | ), | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1661 | // st['throws'](function () { | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1701 | // st.equal( | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1801 | test('encodeValuesOnly', function () { | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1841 | { encodeValuesOnly: true, arrayFormat: 'repeat' }, | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1981 | // 'no array, bracket', | COMMENT |
| LOW | tests/qs/stringify.test.ts | 2001 | expect(stringify(obj, { encode: false, arrayFormat: 'repeat' })).toBe('a[b][c]=d&a[b][e]=f'); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 2021 | // 'a[b][c]=d&a[b][e]=f', | COMMENT |
| LOW | tests/qs/stringify.test.ts | 2041 | // st.equal( | COMMENT |
| LOW | tests/qs/stringify.test.ts | 2061 | ); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 2101 | // st.equal( | COMMENT |
| LOW | tests/qs/stringify.test.ts | 2121 | expect( | COMMENT |
| LOW | tests/qs/stringify.test.ts | 2181 | test('stringifies an object with empty string key with ' + testCase.input, function () { | COMMENT |
| LOW | tests/qs/stringify.test.ts | 2201 | testCase.stringify_output.brackets, | COMMENT |
| LOW | examples/stream-to-client-next.ts | 1 | import OpenAI from 'openai'; | COMMENT |
| LOW | examples/tool-calls-stream.ts | 1 | #!/usr/bin/env -S npm run tsn -- -T | COMMENT |
| LOW | scripts/utils/check-is-in-git-install.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | src/lib/transform.ts | 661 | return ensureStrictJsonSchema(jsonSchema, path, root); | COMMENT |
| LOW | src/lib/AssistantStream.ts | 81 | //We are accumulating many types so the value here is not strict | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/resources/content-provenance-checks.ts | 15 | * uploaded file. The content could still have been generated by OpenAI if the | COMMENT |
| HIGH | src/resources/content-provenance-checks.ts | 71 | * file. The content could still have been generated by OpenAI if the metadata was | COMMENT |
| HIGH | src/resources/content-provenance-checks.ts | 105 | * could still have been generated by OpenAI if the metadata was stripped or has | COMMENT |
| HIGH | src/resources/fine-tuning/jobs/jobs.ts | 425 | * through directly to WandB. Some default tags are generated by OpenAI: | COMMENT |
| HIGH | src/resources/fine-tuning/jobs/jobs.ts | 608 | * through directly to WandB. Some default tags are generated by OpenAI: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/lib/parser.test.ts | 80 | "content": "{"type":"form","label":"User Profile Form","children":[{"type":"field","label":"First Name","child | CODE |
| LOW | tests/lib/parser.test.ts | 95 | "name": "placeholder", | CODE |
| LOW | tests/lib/parser.test.ts | 114 | "name": "placeholder", | CODE |
| LOW | tests/lib/parser.test.ts | 133 | "name": "placeholder", | CODE |
| LOW | tests/lib/parser.test.ts | 629 | "content": "{"person1":{"name":"Jane Doe","phone_number":".","roles":["other"],"description":"Engineer at Open | CODE |
| LOW | tests/lib/parser.test.ts | 633 | "name": "Jane Doe", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/utils/mock-fetch.ts | 49 | function handleRequest(handle: typeof fetch): Promise<void> { | CODE |
| LOW | tests/lib/ChatCompletionRunFunctions.test.ts | 22 | function handleRequest( | CODE |
| LOW | tests/lib/ChatCompletionRunFunctions.test.ts | 42 | function handleRequest( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/utils/check-is-in-git-install.sh | 2 | # Check if you happen to call prepare for a repository that's already in node_modules. | COMMENT |