AI Slop Code Risk Monitor

dosco/graphjin

SlopCodeMonitor badge for dosco/graphjin Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

One governed graph for AI agents — GraphQL + MCP over your databases, files, APIs, and code

1.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for dosco/graphjin, a Go project with 3,226 GitHub stars. SynthScan examined 503,271 lines of code across 1562 source files, recording 501 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 1.7 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

1.7
Adjusted Signal
1.7
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
3.2K
Stars
Go
Language
503.3K
Lines of Code
1.6K
Files
501
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 6.0/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 430 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.0/100 · LOW

Are imports declared and package/API names verified? 46 finding(s).

Agent Over-Engineering Ratio 1.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 26 finding(s).

PR Review Velocity Impact 7.5/100 · LOW

Which changes need focused human review? 501 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 6HIGH 1MEDIUM 113LOW 381

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 501 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block301 hits · 292 pts
SeverityFileLineSnippetContext
LOW.goreleaser.yml161# grade: stableCOMMENT
LOWbenchmark/query.sh1#!/bin/shCOMMENT
LOWbenchmark/subs.sh1#!/bin/shCOMMENT
LOWcmd/eval_replay_test.go201COMMENT
LOWcmd/eval_replay_test.go281 // corrected route, nor that it carries it: this fixture's filter is legalCOMMENT
LOWcmd/demo_catalog_evidence_test.go21// fixes turned out to depend on:COMMENT
LOWcmd/demo_catalog_evidence_test.go141// against real GraphJin, for zero provider tokens, because the unit tests aroundCOMMENT
LOWcmd/demo_catalog_evidence_test.go241 }COMMENT
LOWcmd/cmd_admin.go1package mainCOMMENT
LOWcmd/cmd_admin.go21// c := &cobra.Command{COMMENT
LOWcmd/cmd_admin.go41// c1 := &cobra.Command{COMMENT
LOWcmd/cmd_admin.go61// // cmdInit initializes the admin databaseCOMMENT
LOWcmd/cmd_admin.go81// }COMMENT
LOWcmd/cmd_admin.go101// }COMMENT
LOWcmd/eval_reset_race_test.go21COMMENT
LOWcmd/eval_sample.go21//COMMENT
LOWcmd/eval_suite_fingerprint_test.go1package mainCOMMENT
LOWcmd/clone_types.go1package mainCOMMENT
LOWcmd/cmd_eval_publish.go581 //COMMENT
LOWcmd/eval_external.go261 case action == "world" || strings.HasPrefix(action, "world/"):COMMENT
LOWcmd/env_serve_config.go141 return os.Chdir(absolute)COMMENT
LOWcmd/world_generate.go1package mainCOMMENT
LOWcmd/image_role.go1package mainCOMMENT
LOWcmd/image_role.go21// ordinary precedence order. A plain `go build` sets nothing and behavesCOMMENT
LOWcmd/eval_auto_resume.go21// belong in the tool rather than in whatever shell script the operatorCOMMENT
LOWcmd/clone.go21// An organization that wants to tune a model on its own data has a problem: theCOMMENT
LOWcmd/cmd_env.go21// The environment server turns a GraphJin project into something a trainingCOMMENT
LOWcmd/cmd_env.go81// Two labs comparing numbers need to know they ran the same thing. Version andCOMMENT
LOWcmd/generator_model.go61 return firstNonEmptyValue(flags.Provider, flags.Model, flags.APIKeyEnv, flags.BaseURL,COMMENT
LOWcmd/generator_model.go81// the agent's configuration is deliberate: someone who has only set up one modelCOMMENT
LOWcmd/watch_oracle_contract_test.go21// Two managed-root bugs made that contract unsatisfiable for every model onCOMMENT
LOWcmd/benchmark/model-pricing.yaml1# Provider list prices for published benchmark rows, in USD per million tokens.COMMENT
LOWcmd/tmpl/prod.yml21# When production mode is 'true' only queries from the queries COMMENT
LOWcmd/tmpl/prod.yml41# encrypting the cursor dataCOMMENT
LOWcmd/tmpl/prod.yml61# api_path: "/data"COMMENT
LOWcmd/tmpl/prod.yml141 allow_workflow_execution: falseCOMMENT
LOWcmd/tmpl/prod.yml181 # Max time after which database connections are not reusedCOMMENT
LOWcmd/tmpl/agentic.yml41# The agent is enabled automatically. REST and MCP use GraphJin-owned modelCOMMENT
LOWcmd/tmpl/dev.yml41enable_schema: falseCOMMENT
LOWcmd/tmpl/dev.yml81# Disables all aggregation functions like count, sum, etcCOMMENT
LOWcmd/tmpl/dev.yml101# OpenCensus tracing and metrics: when debug is enabled you will getCOMMENT
LOWcmd/tmpl/dev.yml121# bucket: 3COMMENT
LOWcmd/tmpl/dev.yml141 # sign_salt: "signed encrypted cookie"COMMENT
LOWcmd/tmpl/dev.yml201COMMENT
LOWcmd/tmpl/dev.yml221# need source entries.COMMENT
LOWcmd/tmpl/dev.yml241# port: 5432COMMENT
LOWcmd/tmpl/dev.yml261# schema: "public"COMMENT
LOWcmd/tmpl/dev.yml281# kind: databaseCOMMENT
LOWcmd/tmpl/dev.yml301COMMENT
LOWcmd/tmpl/dev.yml321# host: localhostCOMMENT
LOWcmd/tmpl/dev.yml341# # key_passphrase: optional-if-key-is-encryptedCOMMENT
LOWcmd/tmpl/dev.yml361#COMMENT
LOWcmd/tmpl/dev.yml401# column: stripe_idCOMMENT
LOWcmd/tmpl/dev.yml421# - name: usersCOMMENT
LOWcmd/tmpl/dev.yml441# # added to the role like below.COMMENT
LOWcmd/tmpl/dev.yml461# # filters: ["{ user_id: { eq: $user_id } }"]COMMENT
LOWcore/pretty_test.go101 // Safety check: Is the semantic content (ignoring whitespace) the same?COMMENT
LOWcore/config.go1481 // without extension (e.g. "interaction_studio" matchesCOMMENT
LOWcore/config.go1881//COMMENT
LOWcore/cache.go61// SWRRefresher is an optional interface a ResponseCacheProvider can implementCOMMENT
241 more matches not shown…
Modern AI Meta-Vocabulary70 hits · 210 pts
SeverityFileLineSnippetContext
MEDIUM⚡README.md105Answers come back as `{status, answer, data, evidence, actions, next}`, grounded by server-side protocol guards. You canCODE
MEDIUM⚡README.md105Answers come back as `{status, answer, data, evidence, actions, next}`, grounded by server-side protocol guards. You canCODE
MEDIUM⚡README.md115graphjin serve --demo --path examples/coffee-roastery # flagship agentic demo (Postgres + BigQuery-emu + CodeSQL)CODE
MEDIUMREADME.md929- [Agent Evaluation](https://graphjin.com/agentic/evaluation/) — gate a releaseCODE
MEDIUMCONFIG.md2203 allowed_roles: [operator] # required in prod/agentic modesCODE
MEDIUMAGENTIC.md42# switches into agentic mode and enables the built-in agent automaticallyCOMMENT
MEDIUMAGENTIC.md185disabled by default; see the [server agent configuration](https://graphjin.com/agentic/server-agent/).CODE
MEDIUMAGENTIC.md1191[Catalog Annotations](https://graphjin.com/agentic/annotations/).CODE
MEDIUMcmd/cmd_conf.go271 // a scaffold mid-configuration (e.g. database source still commented out)COMMENT
MEDIUMcmd/cmd_demo_default.go22// seeded example instead of an empty scaffold.COMMENT
MEDIUMcmd/eval_external.go20// A lab with its own scaffold does not want GraphJin's agent loop; it wants itsCOMMENT
MEDIUMcmd/tmpl/agentic.yml9# Defaults on in agentic mode so operators can inspect catalog, runtime,COMMENT
MEDIUMcmd/tmpl/dev.yml8# Defaults on in dev and agentic modes. Set false to disable the console.COMMENT
MEDIUMcore/config.go70 // gj_* system root public and mounts the agentic surface; defaultingCOMMENT
MEDIUMcore/config.go72 // dev/agentic selection (GO_ENV, dev.yml/agentic.yml, or `mode:`);COMMENT
MEDIUMcore/config.go835 // prod is the only pre-agentic compatibility mode: the agentic surface isCOMMENT
MEDIUMcore/validate_test.go411 // prod is the only pre-agentic compatibility mode: the agentic surface isCOMMENT
MEDIUMcore/internal/catalog/build.go856 `mode: prod # disables dev auto-enables, mounts nothing agentic, fails closed`,CODE
MEDIUMcore/internal/jsn/README.md19## Validation guardrailsCOMMENT
MEDIUMwebsite/content/_index.md61<div class="home-card-grid"><article class="home-card"><div class="stat-figure">$2.5T<sup><a href="#sources">1</a></sup>CODE
MEDIUMwebsite/content/configure/environment-production.md23# config/agentic.ymlCOMMENT
MEDIUMwebsite/content/agentic/server-agent.md19# switches into agentic mode and enables the built-in agent automaticallyCOMMENT
MEDIUMwebsite/content/agentic/server-agent.md54# agentic.yml (provider overrides are optional)COMMENT
MEDIUMwebsite/layouts/shortcodes/watch-landing.html64 <div class="home-actions"><a class="button-primary" href="/start/demos/">Run the demo</a><a class="button-secondary" hCODE
MEDIUMwebsite/layouts/shortcodes/root-doc.html4{{- $content = replaceRE `\(AGENTIC\.md#([^)]+)\)` `(/story/agentic/#$1)` $content -}}CODE
MEDIUMdocs/GRAPHJIN-EVAL.md5> <https://graphjin.com/agentic/evaluation/> for gating a release. This file isCODE
MEDIUMdocs/DESIGN-SERVICE.md311web_ui: true # defaults on in dev/agentic, off in prodCODE
MEDIUMexamples/embed.go4// seeded example instead of an empty scaffold.COMMENT
MEDIUMexamples/embed.go30//go:embed saas-ops/agentic.ymlCOMMENT
MEDIUMexamples/lib/smoke-common.sh16# and agentic-mode (JWT-verified) servers alikeCOMMENT
MEDIUMexamples/lib/smoke-common.sh161# isolation tests run against dev header trust and agentic JWT verification.COMMENT
MEDIUMexamples/lib/smoke-common.sh1066# gj_security in agentic mode) return a GraphQL error for normal users — aCOMMENT
MEDIUMexamples/coffee-roastery/README.md83# agentic mode: mint a demo JWT (requires jq + openssl)COMMENT
MEDIUMserv/catalog_column_values_test.go15// and the guardrails that keep it from publishing anything else.COMMENT
MEDIUMserv/config.go112 // Enable the web UI. Defaults on in dev and agentic modes, off in prod.COMMENT
MEDIUMserv/config.go323 // database-only prod/agentic configs, where it must be explicitly enabled.COMMENT
MEDIUMserv/config.go342 // Dev and agentic configs expose both the agent and primitives by default.COMMENT
MEDIUMserv/config.go571// RuntimeEventsConfig configures bounded agentic runtime observability rows.COMMENT
MEDIUMserv/config.go965// applyRuntimeModeDefaults makes parsed dev and agentic configurationsCOMMENT
MEDIUMserv/config.go1226 // Server-side agent defaults. Parsed dev and agentic configs enable theCOMMENT
MEDIUMserv/mcp_recorder.go17// agent — a lab's own scaffold connecting over MCP — there is nobody to ask butCOMMENT
MEDIUMserv/mcp_registration_test.go438 // Sources mock runs in agentic mode, so the dev-only config tools stayCOMMENT
MEDIUMserv/mcp_registration_test.go1220 // Mode selects the surface: dev/agentic mount MCP, prod hard-gates it.COMMENT
MEDIUMserv/control_plane_graphql_test.go890 // New security model: prod hard-gates the agentic surface, so the MCP serverCOMMENT
MEDIUMserv/control_plane_graphql_test.go1067 // The capability is disabled by the agentic default, so the root is absent.COMMENT
MEDIUMserv/control_plane_graphql_test.go1106 // agentic mode, so access policy cannot resurrect these roots.COMMENT
MEDIUMserv/control_plane_graphql_test.go1163 // New security model: prod hard-gates the agentic surface, so the systemCOMMENT
MEDIUMserv/control_plane_graphql_test.go1610 // New security model: prod hard-gates the agentic surface, so the workflowsCOMMENT
MEDIUMserv/mcp_instructions.go140- Watches (standing questions): create with a unique per-conversation name and a cursor-backed subscription scoped to thCODE
MEDIUMserv/security_roots_access_test.go67// a root that agentic mode otherwise reserves for admins.COMMENT
MEDIUM⚡serv/sources.go12// agenticSurfaceEnabled reports whether the agentic surface — catalog, artifactsCOMMENT
MEDIUM⚡serv/sources.go14// the agent — may mount. prod is the only pre-agentic compatibility mode and neverCOMMENT
MEDIUM⚡serv/sources.go15// mounts the agentic surface, regardless of individual enabled flags. This is theCOMMENT
MEDIUMserv/sources.go48 // Source mode: prod hard-gates the agentic surface (security model); theCOMMENT
MEDIUMserv/mcp_config_docs.go26//go:embed config_docs/agentic.ymlCOMMENT
MEDIUMserv/mcp_config_docs.go30// given variant ("dev", "prod", or "agentic"); any other value returns dev.COMMENT
MEDIUMserv/agent_handler_test.go76// TestValidateConfRefusesDevAuthInAgenticMode locks in audit finding F2: agenticCOMMENT
MEDIUMserv/agent_handler_test.go79// authorization control in agentic mode.COMMENT
MEDIUMserv/agent_handler_test.go96 // Not agentic, or verified auth: allowed.COMMENT
MEDIUMserv/metadata_test.go29 // Catalog mirror + code db-reference linking are agentic-surface features.COMMENT
10 more matches not shown…
Decorative Section Separators24 hits · 108 pts
SeverityFileLineSnippetContext
MEDIUM⚡cmd/tmpl/prod.yml104# ============================================================================COMMENT
MEDIUM⚡cmd/tmpl/prod.yml106# ============================================================================COMMENT
MEDIUM⚡cmd/tmpl/prod.yml109# ============================================================================COMMENT
MEDIUM⚡cmd/tmpl/prod.yml143# ============================================================================COMMENT
MEDIUM⚡cmd/tmpl/prod.yml145# ============================================================================COMMENT
MEDIUM⚡cmd/tmpl/prod.yml153# ============================================================================COMMENT
MEDIUM⚡cmd/tmpl/dev.yml176# ============================================================================COMMENT
MEDIUM⚡cmd/tmpl/dev.yml178# ============================================================================COMMENT
MEDIUM⚡cmd/tmpl/dev.yml186# ============================================================================COMMENT
MEDIUM⚡cmd/tmpl/dev.yml216# ============================================================================COMMENT
MEDIUM⚡cmd/tmpl/dev.yml218# ============================================================================COMMENT
MEDIUM⚡cmd/tmpl/dev.yml226# ============================================================================COMMENT
MEDIUM⚡serv/config_docs/prod.yml103# ============================================================================COMMENT
MEDIUM⚡serv/config_docs/prod.yml105# ============================================================================COMMENT
MEDIUM⚡serv/config_docs/prod.yml108# ============================================================================COMMENT
MEDIUM⚡serv/config_docs/prod.yml142# ============================================================================COMMENT
MEDIUM⚡serv/config_docs/prod.yml144# ============================================================================COMMENT
MEDIUM⚡serv/config_docs/prod.yml153# ============================================================================COMMENT
MEDIUM⚡serv/config_docs/dev.yml182# ============================================================================COMMENT
MEDIUM⚡serv/config_docs/dev.yml184# ============================================================================COMMENT
MEDIUM⚡serv/config_docs/dev.yml192# ============================================================================COMMENT
MEDIUM⚡serv/config_docs/dev.yml222# ============================================================================COMMENT
MEDIUM⚡serv/config_docs/dev.yml224# ============================================================================COMMENT
MEDIUM⚡serv/config_docs/dev.yml232# ============================================================================COMMENT
Hallucination Indicators6 hits · 60 pts
SeverityFileLineSnippetContext
CRITICALcore/subs.go452 params := s.s.cs.st.md.Params()CODE
CRITICALcore/subs.go534 if len(sub.s.cs.st.md.Params()) != 0 && dialectSupportsSubscriptionBatching(targetCtx.schema.DBType()) {CODE
CRITICALcore/subs.go803 hasParams := len(sub.s.cs.st.md.Params()) != 0CODE
CRITICALcore/subs.go819 mdParams := sub.s.cs.st.md.Params()CODE
CRITICALcore/api.go2526 Operation: s.cs.st.qc.Type.String(),CODE
CRITICALcore/api.go2648 Operation: s.cs.st.qc.Type.String(),CODE
Slop Phrases11 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUMcmd/tmpl/prod.yml60# Default API path prefix is /api you can change it if you likeCOMMENT
MEDIUMcmd/tmpl/dev.yml66# Default API path prefix is /api you can change it if you likeCOMMENT
MEDIUMcmd/tmpl/dev.yml247# # alternatively you can use a connection stringCOMMENT
MEDIUM⚡core/internal/jsn/test7.json1{"data":{"published":true,"body":"---\nsidebar: auto\n---\n# Guide to GraphJin\n\nGraphJin is a service that instantly aCODE
MEDIUMexamples/webshop/prod.yml57# Default API path prefix is /api you can change it if you likeCOMMENT
MEDIUMexamples/webshop/dev.yml60# Default API path prefix is /api you can change it if you likeCOMMENT
MEDIUMexamples/webshop/dev.yml179 # alternatively you can use a connection stringCOMMENT
MEDIUMserv/config_docs/prod.yml59# Default API path prefix is /api you can change it if you likeCOMMENT
MEDIUMserv/config_docs/prod.yml168 # alternatively you can use a connection stringCOMMENT
MEDIUMserv/config_docs/dev.yml72# Default API path prefix is /api you can change it if you likeCOMMENT
MEDIUMserv/config_docs/dev.yml253# # alternatively you can use a connection stringCOMMENT
Verbosity Indicators17 hits · 27 pts
SeverityFileLineSnippetContext
LOW⚡cmd/cmd_validate.go61 // Step 1: Load configurationCOMMENT
LOW⚡cmd/cmd_validate.go69 // Step 2: Initialize GraphJin service (tests primary DB, Redis, core)COMMENT
LOWcmd/cmd_validate.go106 // Step 3: Test additional databases (multi-DB mode)COMMENT
LOWcore/internal/introspection/tables.go959 // Step 1: Build per-table column sets and PK setsCOMMENT
LOWcore/internal/introspection/tables.go976 // Step 2: For each table with no PK, find the best matching base tableCOMMENT
LOWcore/internal/dialect/mssql.go637 // We need to check if any element in the column's array exists in the provided listCOMMENT
LOWcore/internal/dialect/mssql.go2433 // We need to check if any element in the column's array exists in the provided listCOMMENT
LOWcore/internal/dialect/mssql.go3219 // Step 1: Capture the IDs being disconnected into a variableCOMMENT
LOWcore/internal/dialect/mssql.go3230 // Step 2: Perform the actual disconnect (UPDATE child SET fk = NULL)COMMENT
LOWcore/internal/dialect/sqlite.go984 // Step 1: SELECT to capture IDs matching the filterCOMMENT
LOWcore/internal/dialect/sqlite.go1007 // Step 2: Determine relationship direction and perform appropriate UPDATECOMMENT
LOWcore/internal/dialect/mongodb.go4223 // Step 1: $unwind the embedded arrayCOMMENT
LOWcore/internal/dialect/mongodb.go4258 // Step 4: $group back to reconstruct the documentCOMMENT
LOWcore/internal/dialect/mongodb.go4299 // Step 5: Final $project to select only requested fields from embedded elementsCOMMENT
LOWcore/internal/dialect/oracle.go391 // We need to check if any element in the column's array exists in the provided listCOMMENT
LOWcore/internal/dialect/oracle.go1444 // Step 1: Capture the IDs being disconnected into a variableCOMMENT
LOWcore/internal/dialect/oracle.go1464 // Step 2: Perform the actual disconnect (UPDATE child SET fk = NULL)COMMENT
Fake / Example Data21 hits · 25 pts
SeverityFileLineSnippetContext
LOWcore/internal/psql/query_test.go159 "email": json.RawMessage(`"test@test.com"`),CODE
LOWcore/internal/psql/linear_test.go42 full_name: "John Doe",CODE
LOWcore/internal/psql/linear_test.go121 full_name: "Jane Doe",CODE
LOWcore/internal/psql/update_test.go189 "connect": { "id": 5, "email": "test@test.com" }CODE
LOWcore/internal/psql/redshift_dialect_test.go74 sql := compileRedshiftSQL(t, `mutation { users(id: 1, update: {phone: "555-0100"}) { id phone } }`)CODE
LOWcore/internal/psql/redshift_dialect_test.go75 for _, want := range []string{`INSERT INTO _gj_ids`, `UPDATE "public"."users" SET "phone" = CAST('555-0100' AS VARCHAR)CODE
LOWcore/internal/qcode/qcode_test.go175 products(where: { users: { email: { eq: "test@test.com" } } }) {CODE
LOWauth/auth_test.go24 // "name": "John Doe",COMMENT
LOWauth/auth_test.go43 assert.Equal(t, "John Doe", auth.UserName(c))CODE
LOW⚡tests/schema_diff_test.go358 _, _ = db.Exec(fmt.Sprintf(`INSERT INTO "%s" (email, name) VALUES ('test@test.com', 'Test')`, tableName))CODE
LOW⚡tests/schema_diff_test.go359 _, err = db.Exec(fmt.Sprintf(`INSERT INTO "%s" (email, name) VALUES ('test@test.com', 'Test2')`, tableName))CODE
LOW⚡tests/schema_diff_test.go362 _, _ = db.Exec(fmt.Sprintf("INSERT INTO `%s` (email, name) VALUES ('test@test.com', 'Test')", tableName))CODE
LOW⚡tests/schema_diff_test.go363 _, err = db.Exec(fmt.Sprintf("INSERT INTO `%s` (email, name) VALUES ('test@test.com', 'Test2')", tableName))CODE
LOW⚡tests/schema_diff_test.go366 _, _ = db.Exec(fmt.Sprintf(`INSERT INTO "%s" (email, name) VALUES ('test@test.com', 'Test')`, tableName))CODE
LOW⚡tests/schema_diff_test.go367 _, err = db.Exec(fmt.Sprintf(`INSERT INTO "%s" (email, name) VALUES ('test@test.com', 'Test2')`, tableName))CODE
LOWtests/redshift_surface_test.go286 users(id: 710002, update: { phone: "555-7102" }) {CODE
LOWtests/redshift_surface_test.go294 if !bytes.Contains(res.Data, []byte(`"id":710002`)) || !bytes.Contains(res.Data, []byte(`"phone":"555-7102"`)) {CODE
LOWtests/redshift_surface_test.go315 users(insert: { id: 710003, org_id: 1, email: "delete-redshift@example.com", phone: "555-7103" }) {CODE
LOWagent/remote_join_path_test.go427 if !strings.Contains(err.Error(), "placeholder") {CODE
LOWserv/semantic_index_test.go168 // the dummy-value guidance CONFIG.md already gives for keyless endpoints.COMMENT
LOWserv/mcp_contract_test.go311 "emial": map[string]any{"eq": "admin@example.com"},CODE
Structural Annotation Overuse12 hits · 20 pts
SeverityFileLineSnippetContext
LOW⚡cmd/cmd_validate.go61 // Step 1: Load configurationCOMMENT
LOW⚡cmd/cmd_validate.go69 // Step 2: Initialize GraphJin service (tests primary DB, Redis, core)COMMENT
LOWcmd/cmd_validate.go106 // Step 3: Test additional databases (multi-DB mode)COMMENT
LOWcore/internal/introspection/tables.go959 // Step 1: Build per-table column sets and PK setsCOMMENT
LOWcore/internal/introspection/tables.go976 // Step 2: For each table with no PK, find the best matching base tableCOMMENT
LOWcore/internal/dialect/mssql.go3219 // Step 1: Capture the IDs being disconnected into a variableCOMMENT
LOWcore/internal/dialect/mssql.go3230 // Step 2: Perform the actual disconnect (UPDATE child SET fk = NULL)COMMENT
LOWcore/internal/dialect/sqlite.go984 // Step 1: SELECT to capture IDs matching the filterCOMMENT
LOWcore/internal/dialect/sqlite.go1007 // Step 2: Determine relationship direction and perform appropriate UPDATECOMMENT
LOWcore/internal/dialect/mongodb.go4299 // Step 5: Final $project to select only requested fields from embedded elementsCOMMENT
LOWcore/internal/dialect/oracle.go1444 // Step 1: Capture the IDs being disconnected into a variableCOMMENT
LOWcore/internal/dialect/oracle.go1464 // Step 2: Perform the actual disconnect (UPDATE child SET fk = NULL)COMMENT
Unused Imports19 hits · 19 pts
SeverityFileLineSnippetContext
LOWtraining/measure.py14CODE
LOWtraining/sft_from_export.py19CODE
LOWtraining/policy_server.py13CODE
LOWtraining/rollout_smoke.py8CODE
LOWtraining/grpo_smoke.py17CODE
LOWtraining/graphjin_env/client.py10CODE
LOWtraining/graphjin_env/__init__.py8CODE
LOWtraining/graphjin_env/__init__.py8CODE
LOWtraining/graphjin_env/__init__.py8CODE
LOWtraining/graphjin_env/__init__.py9CODE
LOWtraining/graphjin_env/__init__.py9CODE
LOWtraining/graphjin_env/__init__.py9CODE
LOWtraining/graphjin_env/__init__.py9CODE
LOWtraining/graphjin_env/__init__.py9CODE
LOWtraining/graphjin_env/__init__.py9CODE
LOWtraining/graphjin_env/__init__.py9CODE
LOWtraining/graphjin_env/__init__.py9CODE
LOWtraining/graphjin_env/__init__.py9CODE
LOWtraining/graphjin_env/step.py20CODE
AI Slop Vocabulary6 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMcore/gstate.go419// without performing schema validation. Uses the graph parser for robust parsing.COMMENT
MEDIUM⚡core/internal/jsn/test7.json1{"data":{"published":true,"body":"---\nsidebar: auto\n---\n# Guide to GraphJin\n\nGraphJin is a service that instantly aCODE
LOW⚡core/internal/jsn/test7.json1{"data":{"published":true,"body":"---\nsidebar: auto\n---\n# Guide to GraphJin\n\nGraphJin is a service that instantly aCODE
MEDIUM⚡core/internal/jsn/test7.json1{"data":{"published":true,"body":"---\nsidebar: auto\n---\n# Guide to GraphJin\n\nGraphJin is a service that instantly aCODE
MEDIUMcore/internal/dialect/mssql.go248 // To be robust, we strip the prefix if present before parsing.COMMENT
MEDIUMagent/mutation_column_repair.go26// lands, so the offer arrives with leverage the join repair never had.COMMENT
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippetContext
LOWinstall.sh122# Check if directory is in PATHCOMMENT
LOWwebsite/public/install.sh123# Check if directory is in PATHCOMMENT
LOWwebsite/static/install.sh122# Check if directory is in PATHCOMMENT
LOWserv/config_docs/agentic.yml19# Set GJ_SECRETS_KEYSTORE_KEY to a base64-encoded 32-byte key before usingCOMMENT
LOWscripts/test-parallel.sh134# Print output for failed suitesCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH⚡core/internal/jsn/test7.json1{"data":{"published":true,"body":"---\nsidebar: auto\n---\n# Guide to GraphJin\n\nGraphJin is a service that instantly aCODE
Self-Referential Comments3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMinstall.sh240 echo " graphjin serve new myapp # Create a new project"CODE
MEDIUMwebsite/public/install.sh241 echo " graphjin serve new myapp # Create a new project"CODE
MEDIUMwebsite/static/install.sh240 echo " graphjin serve new myapp # Create a new project"CODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWauth/auth.go4// Example usage:COMMENT
LOWserv/api.go4// Example usage:COMMENT
LOWscripts/test-parallel.sh6# Usage:COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtraining/graphjin_env/__init__.py21__all__ = [CODE
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWserv/web/src/pages/AgentChat.jsx763function extractClarificationQuestion(answer) {CODE