AI Slop Code Risk Monitor

scalar/scalar

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

Scalar is an open-source API platform:                                       🌐 Modern REST API Client                                        📖 Beautiful API References                                        ✨ 1st-Class OpenAPI/Swagger Support

1.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for scalar/scalar, a TypeScript project with 16,354 GitHub stars. SynthScan examined 1,043,900 lines of code across 7438 source files, recording 879 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 1.5 (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.5
Adjusted Signal
1.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
16.4K
Stars
TypeScript
Language
1.0M
Lines of Code
7.4K
Files
879
Pattern Hits
2026-10-31
Scan Date
0.01
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 2.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.4/100 · LOW

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

Agent Over-Engineering Ratio 1.9/100 · LOW

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

PR Review Velocity Impact 7.2/100 · LOW

Which changes need focused human review? 879 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 88MEDIUM 96LOW 689

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 879 distinct pattern matches across 19 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.

Fake / Example Data244 hits · 276 pts
SeverityFileLineSnippetContext
LOWdocumentation/learn/openapi/api-mocking.md89**Dynamic.** The mock generates fresh values from the schema on each request, often with a fake-data library. You get vaCODE
LOW⚡documentation/guides/app/dynamic-variables.md280### Lorem ipsumCOMMENT
LOW⚡documentation/guides/app/dynamic-variables.md284| `{{$randomLoremWord}}` | A random word of lorem ipsum text |CODE
LOW⚡documentation/guides/app/dynamic-variables.md285| `{{$randomLoremWords}}` | Some random words of lorem ipsum text |CODE
LOW⚡documentation/guides/app/dynamic-variables.md286| `{{$randomLoremSentence}}` | A random sentence of lorem ipsum text |CODE
LOW⚡documentation/guides/app/dynamic-variables.md287| `{{$randomLoremSentences}}` | A random 2 to 6 sentences of lorem ipsum text |CODE
LOW⚡documentation/guides/app/dynamic-variables.md288| `{{$randomLoremParagraph}}` | A random paragraph of lorem ipsum text |CODE
LOW⚡documentation/guides/app/dynamic-variables.md289| `{{$randomLoremParagraphs}}` | 3 random paragraphs of lorem ipsum text |CODE
LOW⚡documentation/guides/app/dynamic-variables.md290| `{{$randomLoremText}}` | A random amount of lorem ipsum text |CODE
LOW⚡documentation/guides/app/dynamic-variables.md291| `{{$randomLoremSlug}}` | A random lorem ipsum URL slug |CODE
LOW⚡documentation/guides/app/dynamic-variables.md292| `{{$randomLoremLines}}` | 1 to 5 random lines of lorem ipsum |CODE
LOWdocumentation/guides/mock-server/data-seeding.md64 author: 'Jane Doe'CODE
LOW…/src/features/collection/components/LabelInput.test.ts16 expect(input.attributes('placeholder')).toBe('Untitled Document')CODE
LOW…nd-palette/components/CommandPaletteImportCurl.test.ts62 expect(input.props('placeholder')).toContain('Curl example key')CODE
LOW…ommand-palette/components/CommandPaletteImport.test.ts76 expect(input.props('placeholder')).toBe('OpenAPI/Swagger/Postman URL or cURL')CODE
LOW…ommand-palette/helpers/get-operation-from-curl.test.ts261 name: 'John Doe',CODE
LOW…mport-listener/helpers/get-url-query-parameter.test.ts78 expect(nameResult).toBe('John Doe')CODE
LOW…mport-listener/helpers/get-url-query-parameter.test.ts141 expect(result).toBe('John Doe')CODE
LOWintegrations/docker/example/docs/users-api.json170 "example": "John Doe"CODE
LOWintegrations/docker/example/docs/users-api.json198 "example": "John Doe"CODE
LOWintegrations/docker/example/docs/internal/admin-api.yml278 example: 'John Doe'CODE
LOW…t/aspire/playground/Scalar.Aspire.UserService/index.js98 { id: 1, name: 'John Doe', email: 'john@example.com', createdAt: '2025-01-01T00:00:00Z' },CODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md14Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md14Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md16Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md16Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md18Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md18Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md20Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md20Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md22Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md22Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md24Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md24Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md26Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md26Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md28Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md28Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md30Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md30Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md32Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md32Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md34Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md34Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md36Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md36Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md38Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md38Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md40Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md40Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md42Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md42Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md44Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW⚡…ocusaurus/playground/blog/2019-05-29-long-blog-post.md44Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW…cusaurus/playground/blog/2019-05-28-first-blog-post.md12Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW…cusaurus/playground/blog/2019-05-28-first-blog-post.md12Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsumCODE
LOW…blocks/src/code-example/components/CodeExample.test.ts1348 value: { event: 'user.created', userId: '123', data: { name: 'John Doe' } },CODE
LOW…blocks/src/code-example/components/CodeExample.test.ts1373 expect(copiedContent).toContain('John Doe')CODE
LOW…-example/helpers/operation-to-har/process-body.test.ts291 name: { type: 'string', example: 'John Doe' },CODE
LOW…-example/helpers/operation-to-har/process-body.test.ts304 name: 'John Doe',CODE
184 more matches not shown…
Cross-Language Confusion (JS/TS)58 hits · 248 pts
SeverityFileLineSnippetContext
HIGHdocumentation/assets/sdk-demo.js95 print(assignment.id, assignment.policy.name)`,CODE
HIGH…es/snippetz/src/plugins/python/python3/python3.test.ts281print(response.read().decode())CODE
HIGH…es/snippetz/src/plugins/python/python3/python3.test.ts330print(response.read().decode())CODE
HIGH…es/snippetz/src/plugins/python/python3/python3.test.ts379print(response.read().decode())CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts12 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts25 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts39 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts62 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts76 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts108 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts131 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts158 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts172 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts197 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts210 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts231 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts252 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts277 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts295 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts325 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts350 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts370 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts393 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts406 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts429 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts442 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts455 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts476 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts490 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts515 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts550 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts573 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts609 print(response.body);CODE
HIGHpackages/snippetz/src/plugins/dart/http/http.test.ts664 print(response.body);CODE
HIGH…tz/src/plugins/swift/nsurlsession/nsurlsession.test.ts257print(String(data: data, encoding: .utf8) ?? "")`)CODE
HIGH…tz/src/plugins/swift/nsurlsession/nsurlsession.test.ts364print(String(data: data, encoding: .utf8) ?? "")`)CODE
HIGH…tz/src/plugins/swift/nsurlsession/nsurlsession.test.ts412print(String(data: data, encoding: .utf8) ?? "")`)CODE
HIGHpackages/code-highlight/playground/main.ts331print(response.json())`CODE
HIGHpackages/code-highlight/playground/main.ts366 print(planets[i].greet())CODE
HIGHpackages/code-highlight/playground/main.ts370 print(vec)`CODE
HIGHpackages/highlight/test/samples.ts47 return FalseCODE
HIGHpackages/highlight/test/samples.ts49 return TrueCODE
HIGHpackages/highlight/test/samples.ts62 print(f"rejected {key!r} at {time.time():.3f}", file=sys.stderr)CODE
HIGHpackages/highlight/test/samples.ts1013 print(--[==[ a level 2 comment keeps ]=] literal ]==] line)STRING
HIGHpackages/highlight/test/samples.ts1257 print(f"luma={p.luma()} flags={flags:#x} scale={scale}")STRING
HIGHpackages/highlight/test/samples.ts1263 print("scaled", m.dot(m), sep=", ")STRING
HIGHpackages/highlight/test/samples.ts1860 print('\${byShelf.length.toString()} shelves, \${1.toString()} pass');STRING
HIGHpackages/highlight/test/samples.ts1861 print(r'raw: $notInterpolated and \\n stay literal');STRING
HIGHpackages/highlight/test/samples.ts2110 print(io, "Item($(item.sku), \"$(item.name)\", $(item.price_cents / 100))")CODE
HIGHpackages/highlight/test/samples.ts2768 print("GET \(url.absoluteString) -> \(status)")CODE
HIGHpackages/highlight/src/langs/lua.test.ts150 print(--[==[ a level 2 comment keeps ]=] literal ]==] line)CODE
HIGHpackages/highlight/src/langs/dart.test.ts118 print('\${byShelf.length.toString()} shelves, \${1.toString()} pass');STRING
HIGHpackages/highlight/src/langs/dart.test.ts119 print(r'raw: $notInterpolated and \\n stay literal');STRING
HIGHpackages/highlight/src/langs/swift.test.ts97 print("GET \(url.absoluteString) -> \(status)")CODE
HIGHpackages/highlight/src/langs/languages.test.ts1450 const code = `match value:\n case ${pattern}: return True\n`CODE
HIGHpackages/highlight/src/langs/languages.test.ts1561 expect(scopeOf(`match x:\n case ${pattern}: return True\n`, 'python', 'case')).toBe('keyword.control')CODE
HIGHpackages/highlight/src/langs/mojo.test.ts133 print(f"luma={p.luma()} flags={flags:#x} scale={scale}")CODE
HIGHpackages/highlight/src/langs/mojo.test.ts139 print("scaled", m.dot(m), sep=", ")CODE
Decorative Section Separators67 hits · 207 pts
SeverityFileLineSnippetContext
MEDIUMpackages/schemas/scripts/generate-types.ts34// ─── Constants ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/schemas/scripts/generate-types.ts60// ─── Generated file IO ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/schemas/scripts/generate-types.ts121// ─── Schema and typegen helpers ────────────────────────────────────────────────COMMENT
MEDIUMpackages/schemas/scripts/generate-types.ts166// ─── Folder helpers ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/schemas/scripts/generate-types.ts202// ─── Write tally ───────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/schemas/scripts/generate-types.ts226// ─── High-level generators ─────────────────────────────────────────────────────COMMENT
MEDIUMpackages/schemas/scripts/generate-types.ts281// ─── Biome formatter ───────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/schemas/scripts/generate-types.ts304// ─── Main ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…src/components/ScalarVirtualText/ScalarVirtualText.vue91// ── Search ────────────────────────────────────────────────────────────COMMENT
MEDIUM…src/components/ScalarVirtualText/ScalarVirtualText.vue207// ── Scroll / resize ───────────────────────────────────────────────────COMMENT
MEDIUM…src/components/ScalarVirtualText/ScalarVirtualText.vue227// ── Line rendering with highlights ────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue103// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue105// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue121// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue123// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue171// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue173// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue207// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue215// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue238// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue240// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue270// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue272// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue422// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue424// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue440// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cks/scalar-address-bar-block/components/AddressBar.vue442// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…eatures/modal/helpers/resolve-route-parameters.test.ts43 // ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…eatures/modal/helpers/resolve-route-parameters.test.ts45 // ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…eatures/modal/helpers/resolve-route-parameters.test.ts159 // ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…eatures/modal/helpers/resolve-route-parameters.test.ts161 // ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…eatures/modal/helpers/resolve-route-parameters.test.ts222 // ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…eatures/modal/helpers/resolve-route-parameters.test.ts224 // ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…eatures/modal/helpers/resolve-route-parameters.test.ts327 // ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…eatures/modal/helpers/resolve-route-parameters.test.ts329 // ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…eatures/modal/helpers/resolve-route-parameters.test.ts494 // ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…eatures/modal/helpers/resolve-route-parameters.test.ts496 // ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue207// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue209// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue234// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue236// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue274// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue276// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue424// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue426// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue519// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue521// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue607// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue609// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue692// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue694// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue733// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue735// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue857// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…-client/src/v2/components/code-input/CodeInputLite.vue859// ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workspace-store/src/events/definitions/ui.ts100 // ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workspace-store/src/events/definitions/ui.ts102 // ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workspace-store/src/events/definitions/ui.ts114 // ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workspace-store/src/events/definitions/ui.ts116 // ────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡packages/workspace-store/src/events/definitions/ui.ts149 // ────────────────────────────────────────────────────────────COMMENT
7 more matches not shown…
Over-Commented Block196 hits · 196 pts
SeverityFileLineSnippetContext
LOWdocumentation/assets/landing.js941 eyeX: 0.3,COMMENT
LOWdocumentation/assets/landing.js961 turn: 24,COMMENT
LOWtooling/scripts/delete-cloudflare-pages-preview.sh1#!/usr/bin/env bashCOMMENT
LOWintegrations/rust/src/config.rs1//! Type-safe configuration types for the Scalar API reference.COMMENT
LOW…ore/Extensions/ScalarEndpointRouteBuilderExtensions.cs21COMMENT
LOW…ore/Extensions/ScalarEndpointRouteBuilderExtensions.cs41 /// <remarks>COMMENT
LOW…ore/Extensions/ScalarEndpointRouteBuilderExtensions.cs61 /// <br />COMMENT
LOW…ore/Extensions/ScalarEndpointRouteBuilderExtensions.cs81 configureOptions?.Invoke(options, httpContext);COMMENT
LOW…ore/Extensions/ScalarEndpointRouteBuilderExtensions.cs101 /// </summary>COMMENT
LOW…ore/Extensions/ScalarEndpointRouteBuilderExtensions.cs121 /// <summary>COMMENT
LOW…ore/Extensions/ScalarEndpointRouteBuilderExtensions.cs141 /// </summary>COMMENT
LOW…ore/Extensions/ScalarEndpointRouteBuilderExtensions.cs161 /// </summary>COMMENT
LOW…Core/Extensions/EndpointConventionBuilderExtensions.cs21 /// <summary>COMMENT
LOW…Core/Extensions/EndpointConventionBuilderExtensions.cs41COMMENT
LOW…calar.AspNetCore/Extensions/ScalarOptionsExtensions.cs41 /// Configures the API key authentication options.COMMENT
LOW…calar.AspNetCore/Extensions/ScalarOptionsExtensions.cs61 /// <param name="oauth2Options">The OAuth2 options to set.</param>COMMENT
LOW…calar.AspNetCore/Extensions/ScalarOptionsExtensions.cs81 }COMMENT
LOW…calar.AspNetCore/Extensions/ScalarOptionsExtensions.cs161COMMENT
LOW…calar.AspNetCore/Extensions/ScalarOptionsExtensions.cs181 /// </summary>COMMENT
LOW…calar.AspNetCore/Extensions/ScalarOptionsExtensions.cs221 /// <summary>COMMENT
LOW…calar.AspNetCore/Extensions/ScalarOptionsExtensions.cs241 /// <remarks>The provided content will be appended.</remarks>COMMENT
LOW…calar.AspNetCore/Extensions/ScalarOptionsExtensions.cs261 return options;COMMENT
LOW…calar.AspNetCore/Extensions/ScalarOptionsExtensions.cs281 /// </summary>COMMENT
LOW…calar.AspNetCore/Extensions/ScalarOptionsExtensions.cs301 /// Configures Scalar to generate a fresh cryptographically random nonce on every request and emit it on each scriptCOMMENT
LOW…ore/src/Scalar.AspNetCore/Attributes/BadgeAttribute.cs61 /// <summary>COMMENT
LOW…rc/Scalar.AspNetCore/Attributes/DeprecatedAttribute.cs1namespace Scalar.AspNetCore.Attributes;COMMENT
LOW…ws-lambda/src/Scalar.Aws.Lambda/IScalarApiReference.cs1using Amazon.Lambda.APIGatewayEvents;COMMENT
LOW…bda/src/Scalar.Aws.Lambda/ScalarApiReferenceHandler.cs1using Amazon.Lambda.APIGatewayEvents;COMMENT
LOW…c/Scalar.Aws.Lambda/Options/ScalarOptions.AwsLambda.cs1namespace Scalar.Aws.Lambda;COMMENT
LOW…Lambda/Extensions/ScalarServiceCollectionExtensions.cs1using Microsoft.Extensions.DependencyInjection;COMMENT
LOW…otnet/shared/src/Scalar.Shared/Options/ScalarServer.cs1#if SCALAR_ASPIRECOMMENT
LOW…net/shared/src/Scalar.Shared/Options/ScalarDocument.cs1#if SCALAR_ASPIRECOMMENT
LOW…net/shared/src/Scalar.Shared/Options/ScalarDocument.cs21/// <param name="IsDefault">Indicates whether this document is the default document.</param>COMMENT
LOW…src/Scalar.Shared/Options/ScalarLocalizationOptions.cs1using System.Text.Json.Nodes;COMMENT
LOW…hared/src/Scalar.Shared/Options/ScalarOptions.Shell.cs41 /// </summary>COMMENT
LOW…hared/src/Scalar.Shared/Options/ScalarOptions.Shell.cs61 /// </example>COMMENT
LOW…hared/src/Scalar.Shared/Options/ScalarOptions.Shell.cs81 public string? JavaScriptConfiguration { get; set; }COMMENT
LOW…t/shared/src/Scalar.Shared/Options/ScalarMcpOptions.cs1#if SCALAR_ASPIRECOMMENT
LOW…t/shared/src/Scalar.Shared/Options/ScalarMcpOptions.cs21 /// <summary>COMMENT
LOW…shared/src/Scalar.Shared/Options/ScalarAgentOptions.cs1#if SCALAR_ASPIRECOMMENT
LOW…tnet/shared/src/Scalar.Shared/Options/ScalarOptions.cs21 /// <summary>COMMENT
LOW…tnet/shared/src/Scalar.Shared/Options/ScalarOptions.cs41 /// <summary>COMMENT
LOW…tnet/shared/src/Scalar.Shared/Options/ScalarOptions.cs61 public string OpenApiRoutePattern { get; set; } = "/openapi/{documentName}.json";COMMENT
LOW…tnet/shared/src/Scalar.Shared/Options/ScalarOptions.cs81 /// <summary>COMMENT
LOW…tnet/shared/src/Scalar.Shared/Options/ScalarOptions.cs101COMMENT
LOW…tnet/shared/src/Scalar.Shared/Options/ScalarOptions.cs121 public string? CustomCss { get; set; }COMMENT
LOW…tnet/shared/src/Scalar.Shared/Options/ScalarOptions.cs141 /// </summary>COMMENT
LOW…tnet/shared/src/Scalar.Shared/Options/ScalarOptions.cs161 /// </summary>COMMENT
LOW…tnet/shared/src/Scalar.Shared/Options/ScalarOptions.cs181 /// </summary>COMMENT
LOW…tnet/shared/src/Scalar.Shared/Options/ScalarOptions.cs201 /// <summary>COMMENT
LOW…tnet/shared/src/Scalar.Shared/Options/ScalarOptions.cs221 /// <summary>COMMENT
LOW…tnet/shared/src/Scalar.Shared/Options/ScalarOptions.cs241 public bool? HideClientButton { get; set; }COMMENT
LOW…tnet/shared/src/Scalar.Shared/Options/ScalarOptions.cs261 public bool? PersistentAuthentication { get; set; }COMMENT
LOW…tnet/shared/src/Scalar.Shared/Options/ScalarOptions.cs281COMMENT
LOW…tnet/shared/src/Scalar.Shared/Options/ScalarOptions.cs301COMMENT
LOW…alar.Shared/Options/Authentication/HttpBasicOptions.cs1#if !SCALAR_ASPIRE && !SCALAR_SERVERLESSCOMMENT
LOW…/Scalar.Shared/Options/Authentication/ApiKeyOptions.cs1#if SCALAR_ASPIRECOMMENT
LOW…lar.Shared/Options/Authentication/HttpBearerOptions.cs1#if !SCALAR_ASPIRE && !SCALAR_SERVERLESSCOMMENT
LOW…/Options/Authentication/ScalarAuthenticationOptions.cs1using System.Text.Json.Serialization;COMMENT
LOW…/Options/Authentication/ScalarAuthenticationOptions.cs41 /// enabling more flexible authentication configuration for OpenAPI operations.COMMENT
136 more matches not shown…
Hyper-Verbose Identifiers172 hits · 178 pts
SeverityFileLineSnippetContext
LOWdocumentation/blog/2026-10-08-openapi-with-fastapi.md158def custom_generate_unique_id(route: APIRoute) -> str:CODE
LOWtooling/scripts/vite-lib-config.ts58export function createPreserveModulesOutput() {CODE
LOWtooling/scripts/vite-lib-config.ts73export function createExternalsFromPackageJson(packageJsonPath = './package.json') {CODE
LOWtooling/scripts/src/commands/generate-blog.ts211function parseExistingDescriptions(indexContent: string): Map<string, string> {CODE
LOWtooling/scripts/src/commands/generate-blog.ts263function extractFirstTextParagraph(lines: string[]): string {CODE
LOWtooling/scripts/src/commands/generate-blog.ts365function collectExistingPostChildren(CODE
LOWtooling/scripts/src/commands/packages/format.ts192async function formatDirectoryPackageFiles(folder: PackageType, root: string) {CODE
LOW…/electron/helpers/custom-fetch/to-web-response.test.ts15function createMockTransportResponse({CODE
LOWprojects/scalar-app/src/features/app/app-events.ts10export function initializeAppEventHandlers({CODE
LOWintegrations/fastapi/tests/test_imports.py9def test_scalar_fastapi_imports():CODE
LOWintegrations/fastapi/tests/test_imports.py94def test_theme_enum_completeness():CODE
LOWintegrations/fastapi/tests/test_imports.py113def test_theme_enum_uniqueness():CODE
LOW⚡integrations/fastapi/tests/test_scalar_fastapi.py611 def test_route_is_hidden_from_schema_by_default(self):CODE
LOW⚡integrations/fastapi/tests/test_scalar_fastapi.py621 def test_returns_the_app_for_chaining(self):CODE
LOW⚡integrations/fastapi/tests/test_scalar_fastapi.py630 def test_string_values_are_accepted(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py27 def test_search_hot_key_enum_values(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py52 def test_theme_enum_all_values(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py169 def test_top_level_agent_disabled_in_config(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py180 def test_per_source_agent_in_config(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py197 def test_theme_parameter_all_values(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py219 def test_theme_with_other_parameters(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py266 def test_theme_in_configuration_object(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py280 def test_hidden_clients_dict_format(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py316 def test_authentication_parameter(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py376 def test_configuration_script(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py391 def test_developer_tools_visibility(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py400 def test_order_schema_properties_by_preserve(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py440 def test_fastapi_with_custom_config(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py483 def test_special_characters_in_title_are_escaped(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py514 def test_resource_urls_remain_single_attributes(self, parameter, tag, attribute, url):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py536 def test_content_with_closing_script_tag_cannot_break_out(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py548 def test_complex_json_in_configuration(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py581 def test_registers_route_and_serves_html(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py596 def test_custom_route_and_passthrough_kwargs(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py647 def test_default_string_values_are_omitted(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py666 def test_default_theme_string_still_injects_styles(self):CODE
LOWintegrations/fastapi/tests/test_scalar_fastapi.py678 def test_string_and_enum_produce_identical_output(self):CODE
LOWintegrations/fastapi/tests/test_integration.py78 def test_basic_endpoints_work(self, client):CODE
LOWintegrations/fastapi/tests/test_integration.py92 def test_scalar_endpoint_returns_html(self, client, app):CODE
LOWintegrations/fastapi/tests/test_integration.py125 def test_scalar_custom_endpoint(self, client, app):CODE
LOWintegrations/fastapi/tests/test_integration.py154 def test_scalar_theme_endpoint(self, client, app):CODE
LOWintegrations/fastapi/tests/test_integration.py177 def test_openapi_schema_endpoint(self, client):CODE
LOW⚡integrations/fastapi/tests/test_integration.py201 def test_scalar_uses_correct_openapi_url(self, client, app):CODE
LOW⚡integrations/fastapi/tests/test_integration.py210 def test_scalar_script_included(self, client):CODE
LOW⚡integrations/fastapi/tests/test_integration.py218 def test_scalar_configuration_script(self, client):CODE
LOWintegrations/fastapi/tests/test_integration.py229 def test_scalar_favicon_included(self, client):CODE
LOWintegrations/fastapi/tests/test_integration.py244 def test_multiple_scalar_endpoints(self, client):CODE
LOWintegrations/fastapi/tests/test_integration.py283 def test_layout_configuration(self, client):CODE
LOWintegrations/fastapi/tests/test_integration.py313 def test_sidebar_configuration(self, client):CODE
LOWintegrations/fastapi/tests/test_integration.py326 def test_dark_mode_configuration(self, client):CODE
LOWintegrations/fastapi/tests/test_integration.py339 def test_search_hotkey_configuration(self, client):CODE
LOWintegrations/fastapi/tests/test_integration.py356 def test_all_theme_values_work(self, client):CODE
LOWintegrations/fastapi/tests/test_integration.py388 def test_theme_with_complex_configuration(self, client):CODE
LOWintegrations/django-ninja/tests/test_imports.py29def test_scalar_ninja_imports():CODE
LOWintegrations/django-ninja/tests/test_imports.py52def test_document_download_type_enum():CODE
LOWintegrations/django-ninja/tests/test_imports.py105def test_theme_enum_completeness():CODE
LOWintegrations/django-ninja/tests/test_imports.py137def test_theme_enum_uniqueness():CODE
LOWintegrations/django-ninja/tests/test_imports.py177def test_openapi_source_model():CODE
LOW⚡integrations/django-ninja/tests/test_integration.py76 def test_scalar_viewer_instantiation(self, api):CODE
LOW⚡integrations/django-ninja/tests/test_integration.py82 def test_scalar_viewer_with_api(self, api, request_factory):CODE
112 more matches not shown…
Magic Placeholder Names19 hits · 120 pts
SeverityFileLineSnippetContext
HIGH…025-04-06-how-we-extended-the-openapi-specification.md74 client = mycompany_sdk.Client("YOUR_API_KEY")CODE
HIGH⚡documentation/integrations/spring-boot.md281scalar.authentication.apiKey.your-api-key.name=X-API-KeyCODE
HIGH⚡documentation/integrations/spring-boot.md282scalar.authentication.apiKey.your-api-key.value=your-api-key-valueCODE
HIGH⚡documentation/integrations/spring-boot.md285scalar.authentication.preferredSecurityScheme=your-api-keyCODE
HIGH⚡documentation/integrations/spring-boot.md289# scalar.authentication.preferredSecuritySchemes[1]=your-api-keyCOMMENT
HIGHdocumentation/integrations/spring-boot.md313# scalar.authentication.preferredSecuritySchemes[1]=your-api-keyCOMMENT
HIGH⚡documentation/integrations/spring-boot.md341 # - your-api-keyCOMMENT
HIGH⚡documentation/integrations/spring-boot.md345 your-api-key:CODE
HIGH⚡documentation/integrations/spring-boot.md347 value: your-api-key-valueCODE
HIGH…etCore.Playground/ApiKeyAuthenticationSchemeOptions.cs26 if (apiKey != "your-api-key")CODE
HIGH…ore/playground/Scalar.AspNetCore.Playground/Program.cs30 .AddApiKeyAuthentication(AuthConstants.ApiKeyScheme, scheme => scheme.Value = "your-api-key")CODE
HIGH…NetCore.Tests.Api/ApiKeyAuthenticationSchemeHandler.cs26 if (apiKey != "your-api-key")CODE
HIGH…e/tests/Scalar.AspNetCore.Tests/ScalarEndpointTests.cs231 client.DefaultRequestHeaders.Add("X-Api-Key", "your-api-key");STRING
HIGHintegrations/dotnet/aspnetcore/docs/authentication.md313 apiKey.Value = "your-api-key";CODE
HIGHintegrations/dotnet/aspnetcore/docs/authentication.md334 apiKey.Value = "your-api-key";CODE
HIGH…hared.Tests/Extensions/ScalarOptionsExtensionsTests.cs356 header.Value = "your-api-key";CODE
HIGH…hared.Tests/Extensions/ScalarOptionsExtensionsTests.cs366 apiKeyScheme.Value.Should().Be("your-api-key");CODE
HIGH…ck-server/src/utils/log-authentication-instructions.ts69 log(' Authorization: Bearer YOUR_TOKEN_HERE')CODE
HIGH…rver/src/utils/log-authentication-instructions.test.ts27 expect(log).toHaveBeenCalledWith(' Authorization: Bearer YOUR_TOKEN_HERE')CODE
Structural Annotation Overuse47 hits · 76 pts
SeverityFileLineSnippetContext
LOW…entation/learn/mcp/generate-mcp-server-from-openapi.md55### Step 1: pick the operationCOMMENT
LOW…entation/learn/mcp/generate-mcp-server-from-openapi.md83### Step 2: install the SDKCOMMENT
LOW…entation/learn/mcp/generate-mcp-server-from-openapi.md93### Step 3: write the serverCOMMENT
LOW…entation/learn/mcp/generate-mcp-server-from-openapi.md157### Step 4: connect a clientCOMMENT
LOW…entation/learn/mcp/generate-mcp-server-from-openapi.md181### Step 5: serve it over HTTP insteadCOMMENT
LOWdocumentation/learn/mcp/mcp-oauth.md69### Step 1: the client calls the server and gets a 401COMMENT
LOWdocumentation/learn/mcp/mcp-oauth.md81### Step 2: the client reads the protected resource metadataCOMMENT
LOW⚡documentation/learn/mcp/mcp-oauth.md94### Step 3: the client reads the authorization server metadataCOMMENT
LOW⚡documentation/learn/mcp/mcp-oauth.md100### Step 4: the client gets a client IDCOMMENT
LOW⚡documentation/learn/mcp/mcp-oauth.md104### Step 5: the user signs inCOMMENT
LOWdocumentation/learn/mcp/mcp-oauth.md122### Step 6: the redirect comes back and the client validates itCOMMENT
LOWdocumentation/learn/mcp/mcp-oauth.md126### Step 7: the client exchanges the code for a tokenCOMMENT
LOWdocumentation/learn/mcp/mcp-oauth.md141### Step 8: every MCP request carries the tokenCOMMENT
LOWdocumentation/learn/mcp/build-mcp-server.md54### Step 1: create the projectCOMMENT
LOWdocumentation/learn/mcp/build-mcp-server.md66### Step 2: write the serverCOMMENT
LOWdocumentation/learn/mcp/build-mcp-server.md138### Step 3: run itCOMMENT
LOWdocumentation/learn/mcp/build-mcp-server.md150### Step 1: create the projectCOMMENT
LOWdocumentation/learn/mcp/build-mcp-server.md160### Step 2: write the serverCOMMENT
LOWdocumentation/learn/mcp/build-mcp-server.md214### Step 3: run itCOMMENT
LOWdocumentation/learn/sdk/generate-sdk-from-openapi.md39## Step 1: Prepare the OpenAPI documentCOMMENT
LOWdocumentation/learn/sdk/generate-sdk-from-openapi.md159## Step 2: Choose a generatorCOMMENT
LOWdocumentation/learn/sdk/generate-sdk-from-openapi.md183## Step 3: Generate with an open-source CLICOMMENT
LOWdocumentation/learn/sdk/generate-sdk-from-openapi.md210## Step 4: Generate with ScalarCOMMENT
LOWdocumentation/learn/sdk/generate-sdk-from-openapi.md371## Step 5: Publish to npm, PyPI, and Go modulesCOMMENT
LOWdocumentation/learn/sdk/generate-sdk-from-openapi.md405## Step 6: Regenerate from CICOMMENT
LOWdocumentation/integrations/java.md22### Step 1: Update DependenciesCOMMENT
LOWdocumentation/integrations/java.md50### Step 2: ConfigurationCOMMENT
LOWdocumentation/integrations/java.md54### Step 3: Custom Controllers (if applicable)COMMENT
LOW…entation/integrations/aspnetcore/legacy-integration.md10## Step 1: Enable OpenAPI support in your projectCOMMENT
LOW…entation/integrations/aspnetcore/legacy-integration.md44## Step 2: Create the directory structureCOMMENT
LOW…entation/integrations/aspnetcore/legacy-integration.md55## Step 3: Create the HTML file for ScalarCOMMENT
LOW…entation/integrations/aspnetcore/legacy-integration.md76## Step 4: Create the configuration fileCOMMENT
LOW…entation/integrations/aspnetcore/legacy-integration.md88## Step 5: Accessing your API ReferenceCOMMENT
LOW⚡documentation/migration/stainless.md34## Step 1: Export your OpenAPI documentCOMMENT
LOW⚡documentation/migration/stainless.md40## Step 2: Take your `stainless.yml`COMMENT
LOW⚡documentation/migration/stainless.md44## Step 3: Import into ScalarCOMMENT
LOW⚡documentation/migration/stainless.md50## Step 4: Verify before you publishCOMMENT
LOWdocumentation/migration/stainless.md62## Step 5: Publish from your own repositoryCOMMENT
LOWdocumentation/migration/zuplo.md139### Step 1: Export OpenAPI from ZuploCOMMENT
LOWdocumentation/migration/zuplo.md153### Step 2: Create a Scalar AccountCOMMENT
LOWdocumentation/migration/zuplo.md157### Step 3: Upload OpenAPI DocumentCOMMENT
LOWdocumentation/migration/zuplo.md168### Step 4: Set Up Scalar ConfigCOMMENT
LOWdocumentation/migration/zuplo.md199### Step 5: Migrate Custom StylingCOMMENT
LOWdocumentation/migration/stoplight.md56## Step 1: Create a free Scalar accountCOMMENT
LOWdocumentation/migration/stoplight.md60## Step 2: Introduce your OpenAPI to ScalarCOMMENT
LOWdocumentation/migration/stoplight.md90## Step 3: Scalar ConfigCOMMENT
LOWdocumentation/migration/stoplight.md212## Step 4: Review The New DocumentationCOMMENT
Hallucination Indicators6 hits · 60 pts
SeverityFileLineSnippetContext
CRITICALdocumentation/guides/app/testing.md282pm.response.to.not.have.status(404)CODE
CRITICALintegrations/nuxt/src/module.ts53 _nuxt.options.imports.transform.exclude.push(/scalar/)CODE
CRITICAL…scalar-address-bar-block/components/AddressBar.test.ts504 expect(codeInput.vm.codeMirror.state.doc.toString()).toBe('')CODE
CRITICAL…scalar-address-bar-block/components/AddressBar.test.ts550 expect(codeInput.vm.codeMirror.state.doc.toString()).toBe('/users')CODE
CRITICAL…scalar-address-bar-block/components/AddressBar.test.ts662 expect(codeInput.vm.codeMirror.state.doc.toString()).toBe(pastedUrl)CODE
CRITICAL…scalar-address-bar-block/components/AddressBar.test.ts716 expect(codeInput.vm.codeMirror.state.doc.toString()).toBe('')CODE
Synthetic Comment Markers8 hits · 58 pts
SeverityFileLineSnippetContext
HIGHdocumentation/alternatives/redoc.md25| Tool | License | Send requests from the docs | Auto-generated code samples | Layout | Best for |CODE
HIGH…ain/java/com/scalar/maven/core/enums/ScalarTarget.java3// This code was generated by the Scalar Java enum generator.COMMENT
HIGH…ain/java/com/scalar/maven/core/enums/ScalarClient.java3// This code was generated by the Scalar Java enum generator.COMMENT
HIGH…ared/src/Scalar.Shared/Enums/ScalarTarget.Generated.cs3// This code was generated by the Scalar .NET enum generator.COMMENT
HIGH…ared/src/Scalar.Shared/Enums/ScalarClient.Generated.cs3// This code was generated by the Scalar .NET enum generator.COMMENT
HIGH…/Scalar.Shared/Mapper/ScalarOptionsMapper.Generated.cs3// This code was generated by the Scalar .NET enum generator.COMMENT
HIGHpackages/snippetz/scripts/generate-java-enums.ts267// This code was generated by the Scalar Java enum generator.COMMENT
HIGHpackages/snippetz/scripts/generate-dotnet-enums.ts295// This code was generated by the Scalar .NET enum generator.COMMENT
Modern AI Meta-Vocabulary11 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMdocumentation/asyncapi.md223## Mocking an event-driven APICOMMENT
MEDIUMdocumentation/learn/api-management/api-governance.md19- [AsyncAPI and event-driven APIs](#asyncapi-and-event-driven-apis)CODE
MEDIUMdocumentation/learn/api-management/api-governance.md248## AsyncAPI and event-driven APIsCOMMENT
MEDIUMdocumentation/learn/mcp/what-is-mcp.md41Anthropic [introduced MCP in November 2024](https://www.anthropic.com/news/model-context-protocol) as an open standard, CODE
MEDIUMdocumentation/learn/mcp/mcp-vs-function-calling.md233## The context window problemCOMMENT
MEDIUMdocumentation/changelog/sdk-generator/index.md733- C# SDKs now include repository scaffolding (`.editorconfig`, devcontainer, contribution guidelines).CODE
MEDIUMdocumentation/blog/2026-03-05-agent-scalar.md5# Your API? 0.2% of your context windowCOMMENT
MEDIUM…26-10-01-migrating-off-stainless-week-one-checklist.md135## Day 5: Put guardrails on the API and tell your teamCOMMENT
MEDIUMdocumentation/compare/openapi-generator.md131**OpenAPI Generator customises by template.** Each generator is a set of Mustache templates. You extract them with `openCODE
MEDIUMprojects/galaxy-scalar-com/CHANGELOG.md35- [#9628](https://github.com/scalar/scalar/pull/9628): Add the Scalar Galaxy AsyncAPI document as a source on galaxy.scaCODE
MEDIUMpackages/mock-server/CHANGELOG.md276- [#9572](https://github.com/scalar/scalar/pull/9572): Add `createAsyncApiMockServer` to mock event-driven APIs from an CODE
Unused Imports20 hits · 20 pts
SeverityFileLineSnippetContext
LOWintegrations/fastapi/run_tests.py25CODE
LOWintegrations/fastapi/scalar_fastapi/__init__.py1CODE
LOWintegrations/fastapi/scalar_fastapi/__init__.py1CODE
LOWintegrations/fastapi/scalar_fastapi/__init__.py1CODE
LOWintegrations/fastapi/scalar_fastapi/__init__.py1CODE
LOWintegrations/fastapi/scalar_fastapi/__init__.py1CODE
LOWintegrations/fastapi/scalar_fastapi/__init__.py1CODE
LOWintegrations/fastapi/scalar_fastapi/__init__.py1CODE
LOWintegrations/fastapi/scalar_fastapi/__init__.py1CODE
LOWintegrations/fastapi/scalar_fastapi/scalar_fastapi.py1CODE
LOWintegrations/fastapi/tests/test_imports.py66CODE
LOWintegrations/django-ninja/run_tests.py32CODE
LOWintegrations/django-ninja/scalar_ninja/__init__.py1CODE
LOWintegrations/django-ninja/scalar_ninja/__init__.py1CODE
LOWintegrations/django-ninja/scalar_ninja/__init__.py1CODE
LOWintegrations/django-ninja/scalar_ninja/__init__.py1CODE
LOWintegrations/django-ninja/scalar_ninja/__init__.py1CODE
LOWintegrations/django-ninja/scalar_ninja/__init__.py1CODE
LOWintegrations/django-ninja/scalar_ninja/__init__.py1CODE
LOWintegrations/django-ninja/scalar_ninja/__init__.py1CODE
Self-Referential Comments7 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM⚡integrations/django-ninja/tests/test_integration.py88 # Create a mock requestCOMMENT
MEDIUMpackages/highlight/test/samples.ts1950### Create a customerSTRING
MEDIUMpackages/highlight/src/langs/http.test.ts58### Create a customerCOMMENT
MEDIUMpackages/highlight/src/langs/http.test.ts220 const between = '# Get the user\nGET /users/1 HTTP/1.1\n\n# Create a user\nPOST /users HTTP/1.1\n'CODE
MEDIUMpackages/highlight/src/langs/http.test.ts222 assertHas(between, 'http', '# Create a user', 'comment')CODE
MEDIUM…-markdown/src/create-openapi-markdown-renderer.test.ts747 expect(operation.startsWith('# Create a message\n')).toBe(true)CODE
MEDIUM.github/workflows/publish-integrations.yml577 # Create an account on Sonatype and add the credentials to the repository secrets.COMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHintegrations/fastapi/tests/test_scalar_fastapi.py0test that the configuration script is properly generatedSTRING
HIGHintegrations/fastapi/tests/test_integration.py0test that the configuration script is properly generatedSTRING
HIGHintegrations/django-ninja/tests/test_integration.py0test that the configuration script is properly generatedSTRING
Slop Phrases7 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUM…ests/openapi3-examples/3.0/fail/invalidSchemaName.json20 "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io]CODE
MEDIUM…or/tests/openapi3-examples/3.0/fail/invalidSchema.json20 "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io]CODE
MEDIUM…/tests/openapi3-examples/3.0/fail/hasFlowNotFlows.json20 "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io]CODE
MEDIUM…tests/openapi3-examples/3.0/fail/incorrectSecType.json20 "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io]CODE
MEDIUM…ests/openapi3-examples/3.0/fail/openapi-vue/edit1.json4 "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io]CODE
MEDIUM…ts/openapi3-examples/3.0/fail/openapi-vue/openapi.json4 "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io]CODE
MEDIUM…penapi3-examples/3.0/pass/swagger2openapi/openapi.json20 "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io]CODE
AI Slop Vocabulary4 hits · 11 pts
SeverityFileLineSnippetContext
MEDIUM…/electron/helpers/custom-fetch/to-web-response.test.ts204 // must be robust against it to avoid a TypeError from the Response constructor.COMMENT
MEDIUM…ckages/api-reference/public/examples/long-strings.yaml11 ### Even Longer Heading Level Three That Definitely Needs WrappingCOMMENT
MEDIUM…ckages/api-reference/public/examples/long-strings.yaml194 ### Even Longer Subheading That Definitely Needs WrappingCOMMENT
MEDIUM…ckages/api-reference/public/examples/long-strings.yaml210 $ref: '#/components/headers/X-Really-Extremely-Long-Header-Name-That-Definitely-Needs-Wrapping'CODE
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippetContext
LOWtooling/scripts/bash/pack.sh6 # Check if directoryCOMMENT
LOWintegrations/docker/scan-documents.sh17# Check if mount directory existsCOMMENT
LOWintegrations/docker/start.sh6# Check if configuration was generatedCOMMENT
LOWintegrations/fastapi/run_tests.py23 # Check if pytest is availableCOMMENT
LOWintegrations/django-ninja/run_tests.py30 # Check if pytest is availableCOMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpackages/validation/src/validate.test.ts560 // TODO: implement thisCOMMENT
LOWpackages/validation/src/coerce.ts138 // TODO: implement smarter scoring for recordsCOMMENT
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWintegrations/fastapi/scalar_fastapi/__init__.py12__all__ = [CODE
LOWintegrations/django-ninja/scalar_ninja/__init__.py12__all__ = [CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWintegrations/fastapi/scalar_fastapi/scalar_fastapi.py222CODE