Repository Analysis

InsForge/InsForge

The all-in-one, open-source backend platform for agentic coding. InsForge gives your coding agent database, auth, storage, compute, hosting, and AI gateway to ship full-stack apps end-to-end.

4.0 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of InsForge/InsForge, a TypeScript project with 12,793 GitHub stars. SynthScan v2.0 examined 294,084 lines of code across 1305 source files, recording 553 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 4.0 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.0
Adjusted Score
4.0
Raw Score
100%
Time Factor
2026-08-25
Last Push
12.8K
Stars
TypeScript
Language
294.1K
Lines of Code
1.3K
Files
553
Pattern Hits
2026-08-29
Scan Date
0.02
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 15HIGH 6MEDIUM 186LOW 346

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 553 distinct pattern matches across 18 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.

Decorative Section Separators179 hits · 538 pts
SeverityFileLineSnippetContext
MEDIUMdocker-compose.yml165 # ─── Custom Compute: Docker provider (opt-in) ──────────────────────────COMMENT
MEDIUMdocker-compose.prod.yml152 # ─── Custom Compute: Docker provider (opt-in) ──────────────────────────COMMENT
MEDIUMdeploy/dokploy/docker-compose.yml106 # ─── Custom Compute: Docker provider (opt-in) ──────────────────────────COMMENT
MEDIUMdeploy/coolify/docker-compose.yml117 # ─── Custom Compute: Docker provider (opt-in) ──────────────────────────COMMENT
MEDIUMdeploy/docker-compose/docker-compose.yml145 # ─── Custom Compute: Docker provider (opt-in) ────────────────────────COMMENT
MEDIUM…nd/tests/unit/schedules-http-timeout-migration.test.ts20 // ── idempotency ─────────────────────────────────────────────────────COMMENT
MEDIUM…nd/tests/unit/schedules-http-timeout-migration.test.ts38 // ── HTTP timeouts are configured ─────────────────────────────────────COMMENT
MEDIUM…nd/tests/unit/schedules-http-timeout-migration.test.ts56 // ── still uses the existing http extension (not pg_net) ──────────────COMMENT
MEDIUM…nd/tests/unit/schedules-http-timeout-migration.test.ts68 // ── preserves the existing exception path ────────────────────────────COMMENT
MEDIUM…nd/tests/unit/schedules-http-timeout-migration.test.ts73 // ── ordering ─────────────────────────────────────────────────────────COMMENT
MEDIUM…/unit/secrets-deduplicate-and-unique-migration.test.ts55 // ── Step 1: Dedupe ────────────────────────────────────────────────────COMMENT
MEDIUM…/unit/secrets-deduplicate-and-unique-migration.test.ts104 // ── Step 2: UNIQUE(key) constraint ────────────────────────────────────COMMENT
MEDIUM…/unit/secrets-deduplicate-and-unique-migration.test.ts150 // ── Safety: no destructive operations ─────────────────────────────────COMMENT
MEDIUM…ests/unit/consolidate-retention-jobs-migration.test.ts29 // ── schedules config table ────────────────────────────────────────COMMENT
MEDIUM…ests/unit/consolidate-retention-jobs-migration.test.ts39 // ── cleanup function ──────────────────────────────────────────────COMMENT
MEDIUM…ests/unit/consolidate-retention-jobs-migration.test.ts64 // ── idempotency ───────────────────────────────────────────────────COMMENT
MEDIUM…ests/unit/consolidate-retention-jobs-migration.test.ts93 // ── schedule configuration ────────────────────────────────────────COMMENT
MEDIUM…ests/unit/consolidate-retention-jobs-migration.test.ts118 // ── ordering ─────────────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/unit/database-backups-migration.test.ts19 // ── Idempotency guards ───────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/unit/database-backups-migration.test.ts38 // ── Structure ────────────────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/unit/database-config-migration.test.ts19 // ── Idempotency guards ───────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/unit/database-config-migration.test.ts46 // ── Structure ────────────────────────────────────────────────────────COMMENT
MEDIUM…nd/tests/unit/redirect-url-whitelist-migration.test.ts19 // ── Idempotent rename ────────────────────────────────────────────────COMMENT
MEDIUM…nd/tests/unit/redirect-url-whitelist-migration.test.ts32 // ── Trigger idempotency ──────────────────────────────────────────────COMMENT
MEDIUM…nd/tests/unit/redirect-url-whitelist-migration.test.ts45 // ── allowed_redirect_urls column ─────────────────────────────────────COMMENT
MEDIUM…nd/tests/unit/redirect-url-whitelist-migration.test.ts52 // ── sign_in_redirect_to migration is guarded ─────────────────────────COMMENT
MEDIUM…nd/tests/unit/redirect-url-whitelist-migration.test.ts64 // ── email_otps redirect_to column ────────────────────────────────────COMMENT
MEDIUM…nd/tests/unit/redirect-url-whitelist-migration.test.ts71 // ── Ordering ─────────────────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts49// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts51// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts77 // ── PORT regression ──────────────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts91// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts93// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts133// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts135// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts174// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts176// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts206// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts208// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts232// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts234// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts341// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts343// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts414// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts416// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts464// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts466// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts502 // ── storage.appKey regression ─────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts609// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts611// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts625// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts627// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts676// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts678// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts692// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/tests/unit/app.config.test.ts694// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…/tests/unit/storage-third-party-auth-migration.test.ts19 // ── FK drop is idempotent ────────────────────────────────────────────COMMENT
MEDIUM…/tests/unit/storage-third-party-auth-migration.test.ts26 // ── Column widen is idempotent ───────────────────────────────────────COMMENT
MEDIUM…/tests/unit/storage-third-party-auth-migration.test.ts41 // ── Path helpers use CREATE OR REPLACE ───────────────────────────────COMMENT
MEDIUM…/tests/unit/storage-third-party-auth-migration.test.ts54 // ── auth.jwt() helper ────────────────────────────────────────────────COMMENT
119 more matches not shown…
Hallucination Indicators15 hits · 185 pts
SeverityFileLineSnippetContext
CRITICALbackend/tests/unit/oauth-native-client-ids.test.ts93 const insertCall = mocks.client.query.mock.calls.find(CODE
CRITICALbackend/tests/unit/oauth-native-client-ids.test.ts129 const updateCall = mocks.client.query.mock.calls.find(CODE
CRITICALbackend/tests/unit/auth-email-otp.service.test.ts222 const insertCall = mocks.client.query.mock.calls.find(CODE
CRITICALbackend/tests/unit/auth-email-otp.service.test.ts233 mocks.client.query.mock.calls.some(CODE
CRITICALbackend/tests/unit/auth-email-otp.service.test.ts278 mocks.client.query.mock.calls.some(CODE
CRITICALbackend/tests/unit/auth-email-otp.service.test.ts283 mocks.client.query.mock.calls.some(CODE
CRITICALbackend/tests/unit/auth-email-otp.service.test.ts340 const insertCall = mocks.client.query.mock.calls.find(CODE
CRITICALbackend/tests/unit/auth-email-otp.service.test.ts345 mocks.client.query.mock.calls.filter(CODE
CRITICALbackend/tests/unit/auth-email-otp.service.test.ts350 mocks.client.query.mock.calls.some(CODE
CRITICALbackend/tests/unit/auth-email-otp.service.test.ts257 const updateCall = mocks.client.query.mock.calls.find(CODE
CRITICALbackend/tests/unit/auth-email-otp.service.test.ts308 mocks.client.query.mock.calls.some(CODE
CRITICALbackend/tests/unit/auth-otp-attempts.test.ts234 const sql = mocks.client.query.mock.calls.map(([q]) => q);CODE
CRITICALbackend/tests/unit/auth-otp-attempts.test.ts255 const sql = mocks.client.query.mock.calls.map(([q]) => q);CODE
CRITICALbackend/tests/unit/auth-otp-attempts.test.ts275 const sql = mocks.client.query.mock.calls.map(([q]) => q);CODE
CRITICALbackend/src/infra/socket/socket.manager.ts548 return this.io.sockets.adapter.rooms.get(room)?.size || 0;CODE
Fake / Example Data114 hits · 128 pts
SeverityFileLineSnippetContext
LOW.archive/docs/deprecated/insforge-auth-api.md16Body: `{"email": "user@example.com", "password": "password", "name": "User Name"}`CODE
LOW.archive/docs/deprecated/insforge-auth-api.md25Body: `{"email": "user@example.com", "password": "password"}`CODE
LOW.archive/docs/deprecated/insforge-db-api.md90 "name": "John Doe",CODE
LOW.archive/docs/deprecated/insforge-db-api.md106 "name": "John Doe",CODE
LOWbackend/tests/unit/auth-create-user-route.test.ts127 const validBody = { email: 'test@test.com', password: 'Pass1234', name: 'Test' };CODE
LOW…end/tests/unit/auth-oauth-unsupported-provider.test.ts55 email: 'test@test.com',CODE
LOW…end/tests/unit/auth-oauth-unsupported-provider.test.ts63 email: 'test@test.com',CODE
LOWbackend/tests/unit/smtp-link-validation.test.ts69 await provider.sendWithTemplate('user@example.com', 'App', 'email-verification-link', {CODE
LOWbackend/tests/unit/smtp-link-validation.test.ts78 await provider.sendWithTemplate('user@example.com', 'App', 'email-verification-link', {CODE
LOWbackend/tests/unit/smtp-link-validation.test.ts87 await provider.sendWithTemplate('user@example.com', 'App', 'email-verification-link', {CODE
LOWbackend/tests/unit/smtp-link-validation.test.ts97 await provider.sendWithTemplate('user@example.com', 'App', 'email-verification-link', {CODE
LOWbackend/tests/unit/smtp-link-validation.test.ts107 await provider.sendWithTemplate('user@example.com', 'App', 'email-verification-link', {CODE
LOWbackend/tests/unit/smtp-link-validation.test.ts116 await provider.sendWithTemplate('user@example.com', 'App', 'email-verification-link', {CODE
LOWbackend/tests/unit/email.test.ts88 'user@example.com',CODE
LOWbackend/tests/unit/email.test.ts89 'John Doe',CODE
LOWbackend/tests/unit/email.test.ts101 email: 'user@example.com',CODE
LOWbackend/tests/unit/email.test.ts102 name: 'John Doe',CODE
LOWbackend/tests/unit/email.test.ts122 'user@example.com',CODE
LOWbackend/tests/unit/email.test.ts123 'John Doe',CODE
LOWbackend/tests/unit/email.test.ts143 await emailService.sendWithTemplate('user@example.com', 'Jane Smith', 'reset-password-code', {CODE
LOWbackend/tests/unit/email.test.ts162 await emailService.sendWithTemplate('user@example.com', 'Jane Smith', 'reset-password-link', {CODE
LOWbackend/tests/unit/email.test.ts181 emailService.sendWithTemplate('user@example.com', 'John', 'email-verification-code', {CODE
LOWbackend/tests/unit/email.test.ts187 emailService.sendWithTemplate('user@example.com', 'John', 'email-verification-code', {CODE
LOWbackend/tests/unit/email.test.ts201 emailService.sendWithTemplate('user@example.com', 'John', 'email-verification-code', {CODE
LOWbackend/tests/unit/email.test.ts207 emailService.sendWithTemplate('user@example.com', 'John', 'email-verification-code', {CODE
LOWbackend/tests/unit/email.test.ts222 emailService.sendWithTemplate('user@example.com', '', 'email-verification-code')CODE
LOWbackend/tests/unit/email.test.ts229 'user@example.com',CODE
LOWbackend/tests/unit/email.test.ts244 emailService.sendWithTemplate('user@example.com', 'John', 'email-verification-code', {CODE
LOWbackend/tests/unit/email.test.ts263 emailService.sendWithTemplate('user@example.com', 'John', 'email-verification-code', {CODE
LOWbackend/tests/unit/email.test.ts282 emailService.sendWithTemplate('user@example.com', 'John', 'email-verification-code', {CODE
LOWbackend/tests/unit/email.test.ts301 emailService.sendWithTemplate('user@example.com', 'John', 'email-verification-code', {CODE
LOWbackend/tests/unit/email.test.ts320 emailService.sendWithTemplate('user@example.com', 'John', 'email-verification-code', {CODE
LOWbackend/tests/unit/email.test.ts339 emailService.sendWithTemplate('user@example.com', 'John', 'email-verification-code', {CODE
LOWbackend/tests/unit/email.test.ts354 emailService.sendWithTemplate('user@example.com', 'John', 'email-verification-code', {CODE
LOWbackend/tests/unit/email.test.ts364 emailService.sendWithTemplate('user@example.com', 'John', 'email-verification-code', {CODE
LOWbackend/tests/unit/email.test.ts378 'user@example.com',CODE
LOWbackend/tests/unit/email.test.ts379 'John Doe',CODE
LOWbackend/tests/unit/email.test.ts400 emailService.sendWithTemplate('user@example.com', 'John', 'email-verification-code', {CODE
LOWbackend/tests/unit/smtp-schemas.test.ts45 senderEmail: 'test@test.com',CODE
LOWbackend/tests/unit/smtp-schemas.test.ts59 senderEmail: 'test@test.com',CODE
LOWbackend/tests/unit/smtp-schemas.test.ts71 senderEmail: 'test@test.com',CODE
LOWbackend/tests/unit/smtp-schemas.test.ts83 senderEmail: 'test@test.com',CODE
LOWbackend/tests/unit/smtp-schemas.test.ts107 senderEmail: 'test@test.com',CODE
LOWbackend/tests/unit/smtp-schemas.test.ts119 senderEmail: 'test@test.com',CODE
LOWbackend/tests/unit/auth-email-otp-route.test.ts57 email: 'user@example.com',CODE
LOWbackend/tests/unit/auth-email-otp-route.test.ts143 expect(mocks.sendSignInOTP).toHaveBeenCalledWith('user@example.com');CODE
LOWbackend/tests/unit/auth-email-otp-route.test.ts149 email: 'user@example.com',CODE
LOWbackend/tests/unit/auth-email-otp-route.test.ts159 expect(mocks.signInWithOTP).toHaveBeenCalledWith('user@example.com', '123456', 'Ada');CODE
LOWbackend/tests/unit/auth-email-otp-route.test.ts168 { method: 'otp', email: 'user@example.com', otp: '123456' },CODE
LOWbackend/tests/unit/auth-email-otp-route.test.ts178 email: 'user@example.com',CODE
LOWbackend/tests/unit/auth-email-otp-route.test.ts183 expect(mocks.login).toHaveBeenCalledWith('user@example.com', 'securepassword123');CODE
LOWbackend/tests/unit/auth-email-otp-route.test.ts191 email: 'user@example.com',CODE
LOWbackend/tests/unit/auth-email-otp-route.test.ts196 expect(mocks.login).toHaveBeenCalledWith('user@example.com', 'securepassword123');CODE
LOWbackend/tests/unit/smtp-provider.test.ts85 await provider.sendWithTemplate('user@example.com', 'Test App', 'email-verification-code', {CODE
LOWbackend/tests/unit/smtp-provider.test.ts92 to: 'user@example.com',CODE
LOWbackend/tests/unit/smtp-provider.test.ts125 provider.sendWithTemplate('user@example.com', 'App', 'email-verification-code', {CODE
LOWbackend/tests/unit/smtp-provider.test.ts181 to: 'user@example.com',CODE
LOWbackend/tests/unit/auth-email-otp.service.test.ts173 await authService.sendSignInOTP('user@example.com');CODE
LOWbackend/tests/unit/auth-email-otp.service.test.ts176 'user@example.com',CODE
LOWbackend/tests/unit/auth-email-otp.service.test.ts181 expect(mocks.sendWithTemplate).toHaveBeenCalledWith('user@example.com', 'User', 'request-otp', {CODE
54 more matches not shown…
Hyper-Verbose Identifiers112 hits · 115 pts
SeverityFileLineSnippetContext
LOW…d/tests/unit/payments-multi-provider-migration.test.ts46function getCandidateProviderObject(row: LegacyPaymentHistoryRow): {CODE
LOW…d/tests/unit/payments-multi-provider-migration.test.ts81function compareLegacyPaymentHistoryRows(a: LegacyPaymentHistoryRow, b: LegacyPaymentHistoryRow) {CODE
LOW…d/tests/unit/payments-multi-provider-migration.test.ts98function simulatePaymentHistoryBackfill(CODE
LOW…d/tests/unit/payments-multi-provider-migration.test.ts154function simulateWebhookEventBackfillAndCleanup(rows: LegacyWebhookEventRow[]) {CODE
LOWbackend/tests/unit/razorpay-config.service.test.ts77function expectRazorpayScopedDelete(tableName: string, params: unknown[]) {CODE
LOWbackend/tests/unit/razorpay-config.service.test.ts86function expectRazorpayRuntimeDelete(tableName: string, params: unknown[]) {CODE
LOWbackend/tests/unit/razorpay-config.service.test.ts93function expectRazorpayTransactionDelete() {CODE
LOWbackend/tests/unit/telemetry.service.test.ts75function clearDeploymentEnvironment(): void {CODE
LOWbackend/tests/unit/apify-config.service.test.ts48function createBehaviouralSecretStore() {CODE
LOWbackend/tests/unit/stripe-services.test.ts97function expectStripeRuntimeDelete(CODE
LOWbackend/tests/unit/stripe-services.test.ts110function expectProviderRuntimeDelete(CODE
LOW…ckend/tests/unit/razorpay-subscription.service.test.ts88function buildProviderSubscription(CODE
LOWbackend/src/providers/payments/stripe.provider.ts32function getExpectedStripeKeyPrefix(environment: StripeEnvironment): string {CODE
LOWbackend/src/providers/payments/razorpay.provider.ts14function getExpectedRazorpayKeyPrefix(environment: RazorpayEnvironment): string {CODE
LOWbackend/src/utils/utils.ts9export function getPasswordRequirementsMessage(config: AuthConfigSchema): string {CODE
LOWbackend/src/utils/validations.ts133export function getIdentifierErrorMessage(identifier: string, type: string = 'identifier'): string {CODE
LOWbackend/src/utils/cookies.ts22export function setAdminRefreshTokenCookie(res: Response, value: string): void {CODE
LOWbackend/src/utils/cookies.ts49export function clearAdminRefreshTokenCookie(res: Response): void {CODE
LOWbackend/src/api/middlewares/rate-limiters.ts38export function destroyEmailCooldownInterval(): void {CODE
LOWbackend/src/api/middlewares/rate-limiters.ts297function getWriteEndpointLimitsUrl(): string {CODE
LOWbackend/src/api/middlewares/rate-limiters.ts335export function resetWriteEndpointLimitsToDefaults(): void {CODE
LOWbackend/src/api/middlewares/rate-limiters.ts339async function fetchWriteEndpointLimitsConfig(): Promise<Partial<CODE
LOWbackend/src/api/middlewares/rate-limiters.ts388function getWriteEndpointLimitsRefreshMs(): number {CODE
LOWbackend/src/api/middlewares/rate-limiters.ts414export function startWriteEndpointLimitsRefresh(): void {CODE
LOWbackend/src/api/middlewares/rate-limiters.ts437export function destroyWriteEndpointLimitsRefresh(): void {CODE
LOWbackend/src/api/middlewares/rate-limiters.ts450function createWriteEndpointLimiter(category: WriteLimiterCategory) {CODE
LOWbackend/src/api/routes/database/advance.routes.ts28function invalidateColumnTypeCacheFromChanges(changes: DatabaseResourceUpdate[]): void {CODE
LOWbackend/src/api/routes/webscraper/index.routes.ts146function assertSelfHostedWebscraperConfig(): void {CODE
LOWbackend/src/api/routes/ai/index.routes.ts204function assertSelfHostedModelGatewayConfig(): void {CODE
LOWbackend/src/api/routes/webhooks/stripe.routes.ts9export function normalizeStripeWebhookError(error: unknown) {CODE
LOWbackend/src/api/routes/analytics/index.routes.ts108function assertSelfHostedAnalyticsConfig(): void {CODE
LOWbackend/src/services/database/helpers.ts14export function isInternalDashboardSchema(schemaName: string): boolean {CODE
LOWbackend/src/services/database/helpers.ts18export function normalizeDatabaseSchemaName(schemaName: unknown): string {CODE
LOWbackend/src/services/database/helpers.ts50export function postgrestProfileHeaderName(method: string): 'accept-profile' | 'content-profile' {CODE
LOWbackend/src/services/database/helpers.ts128export function splitQualifiedTableReference(CODE
LOWbackend/src/services/database/user-context.service.ts151async function setTransactionLocalConfig(CODE
LOWbackend/src/services/database/database-table.service.ts42function getSafeDollarQuotedLiteral(s: string) {CODE
LOWbackend/src/services/payments/helpers.ts28function formatPaymentValidationIssues(error: {CODE
LOWbackend/src/services/payments/helpers.ts52export function getBillingSubjectFromProviderAttributes(CODE
LOWbackend/src/services/payments/helpers.ts65export function addBillingSubjectToProviderAttributes(CODE
LOWbackend/src/services/payments/helpers.ts112export function buildStripeIdempotencyKey(CODE
LOWbackend/src/services/payments/helpers.ts124export function isPostgresPermissionError(error: unknown): boolean {CODE
LOWbackend/src/services/payments/helpers.ts165export function normalizePaymentTransactionRow(row: PaymentTransactionRow): PaymentTransaction {CODE
LOW…ckend/src/services/payments/razorpay/config.service.ts57function getRazorpayWebhookSecretName(environment: RazorpayEnvironment): string {CODE
LOWbackend/src/services/payments/stripe/constants.ts17export function getStripeWebhookSecretName(environment: StripeEnvironment): string {CODE
LOWbackend/src/services/compute/services.service.ts472export function warnIfFlyCredentialsIncomplete(): void {CODE
LOWbackend/src/services/telemetry/telemetry.service.ts96export function isTelemetryRuntimeDisabled(): boolean {CODE
LOWbackend/src/services/email/helpers.ts11export async function lockEmailProviderConfiguration(client: PoolClient): Promise<void> {CODE
LOWbackend/src/services/email/helpers.ts15export async function hasAvailableEmailProvider(client: PoolClient): Promise<boolean> {CODE
LOWbackend/src/services/email/helpers.ts34export function emailProviderNotConfiguredError(): AppError {CODE
LOWpackages/dashboard/src/layout/AppLayout.tsx59function getEmbeddedDashboardRoute(path: string): string | null {CODE
LOWpackages/dashboard/src/features/database/helpers.ts256export function buildDatabaseSchemaSearch(schemaName: string): string {CODE
LOWpackages/dashboard/src/features/database/helpers.ts262export function parseDatabaseTableReference(CODE
LOW…d/src/features/database/components/DatabaseSidebar.tsx83function DatabaseStudioSidebarItem({ label, href, sectionEnd }: DatabaseStudioSidebarItemProps) {CODE
LOW…d/src/features/database/components/DatabaseSidebar.tsx116export function DatabaseStudioSidebarPanel({ onBack }: DatabaseStudioSidebarPanelProps) {CODE
LOW…/src/features/database/components/DatabaseDataGrid.tsx64function DatabaseBooleanCellEditor({CODE
LOW…/features/database/hooks/useDatabaseSchemaSelection.ts10export function useDatabaseSchemaSelection() {CODE
LOW…ard/src/features/database/hooks/useTablePreferences.ts23function createEmptyTablePreferences(): StoredTablePreferences {CODE
LOW…ard/src/features/database/hooks/useTablePreferences.ts55function sanitizeStoredTablePreferences(value: unknown): StoredTablePreferences {CODE
LOW…ard/src/features/database/hooks/useTablePreferences.ts66function setStoredTablePreferences(CODE
52 more matches not shown…
Structural Annotation Overuse37 hits · 59 pts
SeverityFileLineSnippetContext
LOWGITHUB_OAUTH_SETUP.md5## Step 1: Create a GitHub OAuth ApplicationCOMMENT
LOWGITHUB_OAUTH_SETUP.md14## Step 2: Fill in Application InformationCOMMENT
LOWGITHUB_OAUTH_SETUP.md29## Step 3: Get Client ID and Client SecretCOMMENT
LOWGITHUB_OAUTH_SETUP.md37## Step 4: Configure Environment VariablesCOMMENT
LOW.archive/docs/deprecated/insforge-storage-api.md192// Step 1: Upload object with known keyCOMMENT
LOW.archive/docs/deprecated/insforge-storage-api.md201// Step 2: Store metadataCOMMENT
LOW.archive/docs/deprecated/insforge-storage-api.md218// Step 1: Upload object with auto-generated keyCOMMENT
LOW.archive/docs/deprecated/insforge-storage-api.md228// Step 2: Store metadata with generated keyCOMMENT
LOWdeploy/docker-deploy.md10### Step 1: Get the repositoryCOMMENT
LOWdeploy/docker-deploy.md30### Step 2: Start InsForgeCOMMENT
LOWdeploy/docker-deploy.md37### Step 3: Access InsForgeCOMMENT
LOWdeploy/docker-deploy.md49### Step 1: Run the setup script once per directoryCOMMENT
LOWdeploy/docker-deploy.md60### Step 2: Give each one its own project name and portsCOMMENT
LOWdeploy/docker-deploy.md86### Step 3: Start each projectCOMMENT
LOW.agents/docs/insforge-instructions-sdk.md23### Step 1: Download TemplateCOMMENT
LOW.agents/docs/insforge-instructions-sdk.md27### Step 2: Install SDKCOMMENT
LOW.agents/docs/insforge-instructions-sdk.md33### Step 3: Create SDK ClientCOMMENT
LOWbackend/tests/local/test-public-bucket.sh48# Step 1: Create a public bucketCOMMENT
LOWbackend/tests/local/test-public-bucket.sh71# Step 2: Create a private bucketCOMMENT
LOWbackend/tests/local/test-public-bucket.sh93# Step 3: Upload a test file to public bucketCOMMENT
LOWbackend/tests/local/test-public-bucket.sh119# Step 4: Upload a test file to private bucketCOMMENT
LOWbackend/tests/local/test-public-bucket.sh145# Step 5: Test accessing PUBLIC file WITHOUT API keyCOMMENT
LOWbackend/tests/local/test-public-bucket.sh156# Step 6: Test accessing PRIVATE file WITHOUT API keyCOMMENT
LOWbackend/tests/local/test-public-bucket.sh166# Step 7: Test accessing PRIVATE file WITH API keyCOMMENT
LOWbackend/tests/local/test-public-bucket.sh178# Step 8: List all bucketsCOMMENT
LOWbackend/tests/local/test-public-bucket.sh196# Step 9: Test PUT upload with specified keyCOMMENT
LOWbackend/tests/local/test-public-bucket.sh230# Step 10: Update bucket visibilityCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh27# Step 1: Login to get auth tokenCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh42# Step 2: Create bucketCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh55# Step 3: Request upload strategyCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh88# Step 4: Upload based on strategyCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh152# Step 5: Confirm upload if requiredCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh179# Step 6: Get download URLCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh200# Step 7: Test downloadCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh225# Step 8: List objectsCOMMENT
LOWbackend/tests/manual/test-rawsql-export-import.sh105# Step 1: Create the basic tableCOMMENT
LOWbackend/tests/manual/test-rawsql-export-import.sh130 # Step 2: Add indexes, triggers and RLSCOMMENT
Over-Commented Block39 hits · 39 pts
SeverityFileLineSnippetContext
LOWdocker-compose.rustfs.yml1# Optional bundled RustFS object storage for self-hosted InsForge.COMMENT
LOWdocker-compose.minio.yml1# Optional bundled MinIO object storage for self-hosted InsForge.COMMENT
LOWdocker-compose.yml161 - INSFORGE_TELEMETRY_DISABLED=${INSFORGE_TELEMETRY_DISABLED:-}COMMENT
LOWdocker-compose.yml181 # Host address used to build URLs for `port` ingress. Unset, no URL isCOMMENT
LOWdocker-compose.prod.yml141 - X_CLIENT_ID=${X_CLIENT_ID:-}COMMENT
LOWdocker-compose.prod.yml161 - COMPUTE_PROVIDER=${COMPUTE_PROVIDER:-}COMMENT
LOWdocker-compose.prod.yml181 # Seconds an upload may send nothing before it is treated as stalled andCOMMENT
LOW.archive/docs/deprecated/insforge-auth-sdk.md41// After OAuth, user returns to redirectTo URL already authenticatedCOMMENT
LOWdocker/entrypoint.sh1#!/bin/shCOMMENT
LOWdeploy/setup.sh1#!/usr/bin/env shCOMMENT
LOWdeploy/setup.sh121COMMENT
LOWdeploy/backup.sh1#!/usr/bin/env bashCOMMENT
LOWdeploy/dokploy/docker-compose.yml1# InsForge on DokployCOMMENT
LOWdeploy/dokploy/docker-compose.yml121 # Ceiling on an uploaded source-build context. Express buffers the wholeCOMMENT
LOWdeploy/coolify/docker-compose.yml1# InsForge on CoolifyCOMMENT
LOWdeploy/coolify/docker-compose.yml21# port 7130 in Coolify's UI, then set API_BASE_URL and VITE_API_BASE_URL to it —COMMENT
LOWdeploy/coolify/docker-compose.yml121 # labels. Treat it as untested until someone runs it.COMMENT
LOWdeploy/docker-compose/docker-compose.yml141 # Set S3_USE_PRESIGNED_URLS=false to proxy object bytes through the backendCOMMENT
LOWdeploy/docker-compose/docker-compose.yml181 deno:COMMENT
LOWbackend/tests/local/test-schedules.sh1#!/bin/bashCOMMENT
LOWbackend/tests/local/test-storage-rls.sh1#!/bin/bashCOMMENT
LOWbackend/tests/cloud/test-s3-gateway.sh1#!/usr/bin/env bashCOMMENT
LOWbackend/src/infra/config/app.config.ts201 // host port at all, which is right for the majority of compute (queueCOMMENT
LOWbackend/src/providers/payments/razorpay-errors.ts61COMMENT
LOWbackend/src/providers/compute/fly.provider.ts261 autostart: true,COMMENT
LOWbackend/src/providers/compute/docker.client.ts261}): Promise<DockerBuildResult> {COMMENT
LOWbackend/src/services/compute/services.service.ts181 status: row.status as ServiceSchema['status'],COMMENT
LOWbackend/src/services/compute/services.service.ts321COMMENT
LOWbackend/src/services/compute/services.service.ts1381 // and nesting this under the id check would drop it. Omitting the fieldCOMMENT
LOWscripts/sync-skills.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/update-mintlify-skill.sh1#!/usr/bin/env bashCOMMENT
LOW…/src/features/webscraper/components/ApifyTokenForm.tsx1import { useId, useState } from 'react';COMMENT
LOW…components/__tests__/WebScraperSettingsDialog.test.tsx81 renderDialog();COMMENT
LOW…oard/components/observability/ObservabilitySection.tsx261 // number. Bars stack bottom-up (System, WAL, Database) so the gap aboveCOMMENT
LOW…rc/features/compute/components/CreateServiceDialog.tsx61 const [region, setRegion] = useState('iad');COMMENT
LOWpackages/dashboard/src/features/compute/lib/health.ts1// Derive a simple crash-loop signal from container lifecycle events.COMMENT
LOW…atures/analytics/components/posthog/PosthogKeyForm.tsx21};COMMENT
LOWpackages/shared-schemas/src/ai-api.schema.ts101 // Content can be a string or an array of content parts (OpenAI-compatible).COMMENT
LOWfunctions/worker-template.js61// the handler AFTER the top-level `await import(...)` below (cold import canCOMMENT
Verbosity Indicators20 hits · 32 pts
SeverityFileLineSnippetContext
LOWbackend/tests/local/test-public-bucket.sh48# Step 1: Create a public bucketCOMMENT
LOWbackend/tests/local/test-public-bucket.sh71# Step 2: Create a private bucketCOMMENT
LOWbackend/tests/local/test-public-bucket.sh93# Step 3: Upload a test file to public bucketCOMMENT
LOWbackend/tests/local/test-public-bucket.sh119# Step 4: Upload a test file to private bucketCOMMENT
LOWbackend/tests/local/test-public-bucket.sh145# Step 5: Test accessing PUBLIC file WITHOUT API keyCOMMENT
LOWbackend/tests/local/test-public-bucket.sh156# Step 6: Test accessing PRIVATE file WITHOUT API keyCOMMENT
LOWbackend/tests/local/test-public-bucket.sh166# Step 7: Test accessing PRIVATE file WITH API keyCOMMENT
LOWbackend/tests/local/test-public-bucket.sh178# Step 8: List all bucketsCOMMENT
LOWbackend/tests/local/test-public-bucket.sh196# Step 9: Test PUT upload with specified keyCOMMENT
LOWbackend/tests/local/test-public-bucket.sh230# Step 10: Update bucket visibilityCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh27# Step 1: Login to get auth tokenCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh42# Step 2: Create bucketCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh55# Step 3: Request upload strategyCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh88# Step 4: Upload based on strategyCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh152# Step 5: Confirm upload if requiredCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh179# Step 6: Get download URLCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh200# Step 7: Test downloadCOMMENT
LOWbackend/tests/manual/test-universal-storage.sh225# Step 8: List objectsCOMMENT
LOWbackend/tests/manual/test-rawsql-export-import.sh105# Step 1: Create the basic tableCOMMENT
LOWbackend/tests/manual/test-rawsql-export-import.sh130 # Step 2: Add indexes, triggers and RLSCOMMENT
Magic Placeholder Names4 hits · 22 pts
SeverityFileLineSnippetContext
HIGH.archive/docs/deprecated/insforge-instructions.md101 -H "x-api-key: your-api-key" \CODE
HIGH.archive/docs/deprecated/insforge-instructions.md109 -H "x-api-key: your-api-key" \CODE
HIGHbackend/tests/unit/app.config.test.ts60 expect(c.app.apiKey).toBe('your_api_key');CODE
HIGHbackend/src/infra/config/app.config.ts159 apiKey: process.env.ACCESS_API_KEY || 'your_api_key',CODE
Redundant / Tautological Comments12 hits · 19 pts
SeverityFileLineSnippetContext
LOWdeploy/docker-init/logs/vector.yml86 # Check if this is a request log (has duration field)COMMENT
LOWbackend/tests/test-config.sh81# Check if required tools are installedCOMMENT
LOWbackend/tests/run-all-tests.sh60# Check if root admin credentials are setCOMMENT
LOWbackend/tests/run-all-tests.sh69# Check if running cloud testsCOMMENT
LOWbackend/tests/cleanup-all-test-data.sh110 # Check if table matches any test patternCOMMENT
LOWbackend/tests/cleanup-all-test-data.sh154 # Check if bucket matches any test patternCOMMENT
LOWbackend/tests/local/test-traditional-rest.sh96# Check if registration was successfulCOMMENT
LOWbackend/tests/manual/test-ai-model-plugins.sh44 # Check if annotations are present in the responseCOMMENT
LOWbackend/tests/manual/test-database-advance.sh118 # Check if file existsCOMMENT
LOWbackend/tests/manual/test-rawsql-export-import.sh90# Check if login was successfulCOMMENT
LOWbackend/tests/manual/test-rawsql-export-import.sh211 # Check if response contains success informationCOMMENT
LOWbackend/scripts/test-deno-subhosting.sh52# Check if API is reachableCOMMENT
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMbackend/tests/local/test-secrets.sh165# Create a simple function that returns the secretCOMMENT
MEDIUMbackend/tests/local/test-secrets.sh182# Create the functionCOMMENT
MEDIUMbackend/tests/local/test-id-field.sh109# Create a test tableCOMMENT
MEDIUMbackend/tests/local/test-traditional-rest.sh183 # Create a test bucketCOMMENT
MEDIUMbackend/tests/manual/test-database-advance.sh247# Define the path to the SQL fileCOMMENT
MEDIUMbackend/tests/cloud/test-s3-multitenant.sh38# Create a test bucketCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH.claude/skills/doc-author/INSFORGE.md43## Sound human, not AI-generatedCOMMENT
Unused Imports6 hits · 6 pts
SeverityFileLineSnippetContext
LOWexamples/python-ml-experiment-tracker/tracker/config.py1CODE
LOWexamples/python-ml-experiment-tracker/tracker/models.py1CODE
LOWexamples/python-ml-experiment-tracker/tracker/client.py1CODE
LOWexamples/python-ml-experiment-tracker/tracker/serve.py1CODE
LOWexamples/python-ml-experiment-tracker/tracker/cli.py1CODE
LOWexamples/python-ml-experiment-tracker/tracker/cli.py14CODE
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHpackages/dashboard/src/features/ai/constants.ts47print(completion.choices[0].message)`,CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.claude/skills/doc-author/SKILL.md238## Verification guardrailsCOMMENT
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWexamples/python-ml-experiment-tracker/tracker/client.py65 except Exception:CODE
LOWexamples/python-ml-experiment-tracker/tracker/serve.py129 except Exception:CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWexamples/python-ml-experiment-tracker/tracker/cli.py74CODE
LOWscripts/build-docs-langs.py31CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/sync-skills.sh14# Usage:COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWexamples/python-ml-experiment-tracker/tracker/config.py57def update_tokens(access_token: str, refresh_token: str) -> None:CODE