AI Slop Code Risk Monitor

maximhq/bifrost

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

Open-source, high-performance AI gateway that works as your LLM gateway, MCP gateway and agent gateway. One OpenAI-compatible API for 10,000+ models, with failover, load balancing, semantic caching, virtual keys, budgets and MCP Code Mode. Works with any SDK or agent and adds under 200µs of overhead at 5k RPS.

3.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for maximhq/bifrost, a Go project with 9,251 GitHub stars. SynthScan examined 1,941,917 lines of code across 4603 source files, recording 4518 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 3.3 (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.

3.3
Adjusted Signal
3.3
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
9.3K
Stars
Go
Language
1.9M
Lines of Code
4.6K
Files
4.5K
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 9.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.8/100 · LOW

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

Agent Over-Engineering Ratio 6.2/100 · LOW

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

PR Review Velocity Impact 15.5/100 · LOW

Which changes need focused human review? 4518 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 0HIGH 58MEDIUM 859LOW 3601

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 4518 distinct pattern matches across 22 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 Block2075 hits · 1924 pts
SeverityFileLineSnippetContext
LOW…aform/modules/bifrost/tests/root_validation.tftest.hcl141COMMENT
LOWterraform/modules/bifrost/aws/services/eks/main.tf1# =============================================================================COMMENT
LOWui/next-env.d.ts1/// <reference types="next" />COMMENT
LOWui/app/oauth/consent/layout.tsx1import TempTokenScope from "@/components/tempTokenScope";COMMENT
LOW…/components/load-balancer/loadBalancerSettingsView.tsx1// On OSS, the adaptive routing settings page shows the same enterprise upsell as theCOMMENT
LOW…/_fallbacks/enterprise/lib/registrations/userPicker.ts1// OSS-build fallback for the enterprise user picker registration.COMMENT
LOWui/app/_fallbacks/enterprise/lib/registrations/logs.ts1// OSS-build fallback for the Logs page registrations.COMMENT
LOW…p/_fallbacks/enterprise/lib/registrations/dashboard.ts1// OSS-build fallback for the dashboard registrations.COMMENT
LOW…_fallbacks/enterprise/lib/registrations/liveNotices.ts1// OSS-build fallback for the enterprise live-notice registrations (clusterCOMMENT
LOW…cks/enterprise/lib/registrations/businessUnitPicker.ts1// OSS-build fallback for the enterprise business unit picker registration.COMMENT
LOW…backs/enterprise/lib/registrations/modelLimitScopes.ts1// OSS-build fallback for the enterprise scope registrations.COMMENT
LOWui/app/workspace/complexity-router/page.tsx281 // An empty cache means the same thing. It lives only in the gateway's memoryCOMMENT
LOWui/app/workspace/complexity-router/page.tsx401 //COMMENT
LOWui/app/workspace/complexity-router/views/sections.tsx41COMMENT
LOW…space/complexity-router/views/embeddingConfigSheet.tsx61 canSave: boolean;COMMENT
LOWui/app/workspace/config/views/securityView.tsx81 // save below included) carries it, and the server accepts it as first-admin proof,COMMENT
LOWui/app/workspace/config/views/warpView.tsx161 // embedding space it ran under, so a space change cannot leave it on screenCOMMENT
LOWui/app/workspace/config/views/warpView.tsx221 // hide the running job or its cancel action after a reload - the statusCOMMENT
LOWui/app/workspace/config/views/warpView.tsx261 // window would re-tag the job with the new space, so its terminal statusCOMMENT
LOWui/app/workspace/config/views/warpView.tsx281 // ran under a space that has since been saved over: the id-pinned pollCOMMENT
LOWui/app/workspace/config/views/warpView.tsx361 // The date pickers default to "last 7 days" at mount time, which no longerCOMMENT
LOWui/app/workspace/config/views/warpView.tsx1181 // The default row keeps the ids it had as the page's only model.COMMENT
LOW…kspace/oauth-grants/views/oauthGrantsFilterSidebar.tsx421// UsersFilterSection – restricts grants to a set of users, mirroringCOMMENT
LOW…app/workspace/dashboard/components/charts/barShape.tsx21export function rankingBarShape(props: BarShapeProps) {COMMENT
LOW…/app/workspace/mcp-registry/views/oauth2Authorizer.tsx21 // config's bootstrap status has been "authorized" since the client wasCOMMENT
LOWui/app/workspace/mcp-registry/views/mcpClientSheet.tsx861 ? undefinedCOMMENT
LOWui/app/workspace/mcp-registry/views/mcpClientsTable.tsx1121 const canReconnect = canReconnectMCPClient(c.config);COMMENT
LOWui/app/workspace/mcp-sessions/auth/page.tsx1// Auth landing route for inline-401 URLs returned by the inference path.COMMENT
LOWui/app/workspace/mcp-sessions/views/sessionsTable.tsx1// Base sessions table: renders token rows + pending flow rows + per-userCOMMENT
LOWui/app/workspace/virtual-keys/views/virtualKeySheet.tsx461 // Only a resolved profile governs. "Managed by your access profile" is a claim about aCOMMENT
LOWui/components/headersForm.tsx1// Reusable form for the MCP per-user-headers flow.COMMENT
LOWui/components/headersForm.tsx41 // Submit handler. Required.COMMENT
LOWui/components/tempTokenScope.tsx1// TempTokenScope wraps a page that authenticates via a short-lived temp tokenCOMMENT
LOWui/components/tempTokenScope.tsx21 name: string;COMMENT
LOWui/components/ui/icons.tsx1941 <path d="M15.688 2.343a2.588 2.588 0 00-3.61 0l-9.626 9.44a.863.863 0 01-1.203 0 .823.823 0 010-1.18l9.626-9.44a4.313COMMENT
LOWui/components/entitySelectors/teamSelector.tsx1// Unified async team selector — the single way to pick a governance teamCOMMENT
LOWui/components/entitySelectors/entitySelector.tsx1// Shared shell behind every async entity selector (virtual keys, users,COMMENT
LOWui/lib/types/mcp.ts161}COMMENT
LOWui/lib/types/mcp.ts181 // SSO login flow always requests a token self-audienced to itself, so aCOMMENT
LOWui/lib/types/mcp.ts261 oauth_resource?: string;COMMENT
LOWui/lib/types/mcp.ts301 virtual_key_name: string;COMMENT
LOWui/lib/types/mcp.ts421 per_user_header_keys?: string[];COMMENT
LOWui/lib/types/schemas.ts381//COMMENT
LOWui/lib/types/mcpPerUserHeaders.ts1// Types for the MCP per-user headers credential flow.COMMENT
LOWui/lib/types/mcpSessions.ts1// Types for the MCP Auth Sessions tab + auth landing flow.COMMENT
LOWui/lib/types/mcpSessions.ts61 created_at: string;COMMENT
LOWui/lib/registries/modelLimitScopes.tsx1// Runtime registry of model_config scopes available to the UI.COMMENT
LOWui/lib/registries/modelLimitScopes.tsx41 PickerComponent?: ComponentType<ScopePickerProps>;COMMENT
LOWui/lib/registries/modelLimitScopes.tsx61 // displayed, without colliding with "user" as a distinct filterable option.COMMENT
LOWui/lib/registries/businessUnitPicker.tsx1// Runtime registry for the governance business unit picker.COMMENT
LOWui/lib/registries/userPicker.tsx1// Runtime registry for the governance user picker.COMMENT
LOWui/lib/constants/config.ts141// on the red/amber/blue states.COMMENT
LOWui/lib/utils/decisionModelProviders.ts21// so it is still recognised here. Custom providers have no logo of their own: the name is whateverCOMMENT
LOWui/lib/store/apis/setupToken.ts1// OSS setup lock helpers.COMMENT
LOWui/lib/store/apis/providersApi.ts401 }),COMMENT
LOWui/lib/store/apis/tempToken.ts1// Module-level state for the temp-token scope wrapper.COMMENT
LOWcmd/e2eseed/seed/seed.go301 "e2e_seed_team_tiggings": prefix + "-team-tiggings",COMMENT
LOWcore/injectedtools.go841// returns the tool set the attempt should use.COMMENT
LOWcore/encryptedreasoning.go21// write a replayed reasoning item's encrypted_content into. One Responses payloadCOMMENT
LOWcore/encryptedreasoning.go41// before it ever attempts to decrypt, so its 400 quotes neither the JSON key nor anCOMMENT
2015 more matches not shown…
Decorative Section Separators638 hits · 1822 pts
SeverityFileLineSnippetContext
MEDIUMterraform/modules/bifrost/variables.tf180# -----------------------------------------------------------------------------------------COMMENT
MEDIUMterraform/modules/bifrost/variables.tf183#-----------------------------------------------------------------------------------------COMMENT
MEDIUMterraform/modules/bifrost/azure/main.tf1# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/main.tf3# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/main.tf34# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/main.tf36# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/main.tf50# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/main.tf52# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/main.tf72# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/main.tf74# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/main.tf101# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/main.tf103# =============================================================================COMMENT
MEDIUM⚡terraform/modules/bifrost/azure/main.tf153# =============================================================================COMMENT
MEDIUM⚡terraform/modules/bifrost/azure/main.tf155# =============================================================================COMMENT
MEDIUM⚡terraform/modules/bifrost/azure/main.tf164# =============================================================================COMMENT
MEDIUM⚡terraform/modules/bifrost/azure/main.tf166# =============================================================================COMMENT
MEDIUM⚡terraform/modules/bifrost/azure/services/aci/main.tf1# =============================================================================COMMENT
MEDIUM⚡terraform/modules/bifrost/azure/services/aci/main.tf3# =============================================================================COMMENT
MEDIUM⚡terraform/modules/bifrost/azure/services/aci/main.tf13# =============================================================================COMMENT
MEDIUM⚡terraform/modules/bifrost/azure/services/aci/main.tf15# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf1# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf3# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf16# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf18# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf53# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf55# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf68# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf70# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf85# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf87# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf151# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf153# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf289# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf291# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf318# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf320# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf364# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aks/main.tf366# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/gcp_cloudrun.tftest.hcl1# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/gcp_cloudrun.tftest.hcl3# =============================================================================COMMENT
MEDIUM…raform/modules/bifrost/tests/config_merging.tftest.hcl1# =============================================================================COMMENT
MEDIUM…raform/modules/bifrost/tests/config_merging.tftest.hcl3# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/azure_aks.tftest.hcl1# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/azure_aks.tftest.hcl3# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/azure_aci.tftest.hcl1# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/azure_aci.tftest.hcl3# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/aws_shared.tftest.hcl1# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/aws_shared.tftest.hcl3# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/aws_eks.tftest.hcl1# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/aws_eks.tftest.hcl3# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/kubernetes.tftest.hcl1# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/kubernetes.tftest.hcl3# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/gcp_gke.tftest.hcl1# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/gcp_gke.tftest.hcl3# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/aws_ecs.tftest.hcl1# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/aws_ecs.tftest.hcl3# =============================================================================COMMENT
MEDIUM…aform/modules/bifrost/tests/root_validation.tftest.hcl1# =============================================================================COMMENT
MEDIUM…aform/modules/bifrost/tests/root_validation.tftest.hcl7# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/setup/main.tf1# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/tests/setup/main.tf10# =============================================================================COMMENT
578 more matches not shown…
Structural Annotation Overuse319 hits · 504 pts
SeverityFileLineSnippetContext
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx93# Step 1: Initialize OpenAI client with BifrostCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx99# Step 2: Send chat requestCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx105# Step 3: Check for tool callsCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx109 # Step 4: Execute tool via BifrostCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx122 # Step 5: Continue conversation with resultsCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx134// Step 1: Initialize OpenAI client with BifrostCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx140// Step 2: Send chat requestCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx148// Step 3: Check for tool callsCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx151 // Step 4: Execute tool via BifrostCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx165 // Step 5: Continue conversation with resultsCOMMENT
LOWcore/bifrost_test.go2266 // Step 1: isClosing() passes — queue is open.COMMENT
LOWcore/bifrost_test.go2279 // Step 2: enter the exact select guard used in production.COMMENT
LOW⚡core/bifrost_test.go2649 // Step 2: atomically replace — new producers now get newPqCOMMENT
LOW⚡core/bifrost_test.go2651 // Step 4: signal old closing — stale producers will detect thisCOMMENT
LOW⚡core/bifrost_test.go2887 // Step 2: expose newPq first so stale producers can re-route to itCOMMENT
LOW⚡core/bifrost_test.go2891 // Step 3: transfer buffered messages oldPq → newPq.COMMENT
LOWcore/bifrost_test.go2907 // Step 4: signal closing — producers holding a stale oldPq ref nowCOMMENT
LOW⚡core/bifrost.go4270 // Step 1: Load the ProviderQueue and verify provider existsCOMMENT
LOW⚡core/bifrost.go4277 // Step 2: Signal closing. Blocks new producers (isClosing() returns true) andCOMMENT
LOW⚡core/bifrost.go4282 // Step 3: Wait for all workers to finish in-flight requests and exit.COMMENT
LOW⚡core/bifrost.go4301 // Step 4: Remove the provider from the request queues.COMMENT
LOW⚡core/bifrost.go4304 // Step 5: Remove the provider from the wait groups.COMMENT
LOW⚡core/bifrost.go4307 // Step 6: Remove the provider from the providers slice.COMMENT
LOW⚡core/bifrost.go4382 // Step 1: Create provider instance before touching live routing state. IfCOMMENT
LOW⚡core/bifrost.go4389 // Step 2: Create new ProviderQueue and wait group with updated settings.COMMENT
LOW⚡core/bifrost.go4397 // Step 3: Atomically replace the provider in the providers slice before newCOMMENT
LOW⚡core/bifrost.go4513 // Step 6: Register cleanup before signalling the old queue. OtherwiseCOMMENT
LOW⚡core/bifrost.go4523 // Step 7: Signal the old queue is closing. Stale producers that still hold aCOMMENT
LOW⚡core/bifrost.go4528 // Step 8: Cleanup old workers asynchronously. Waiting here under the providerCOMMENT
LOW⚡core/bifrost.go8141 // Step 2: derive per-side capture and strip flags.COMMENT
LOW⚡core/bifrost.go8149 // Step 3: write all internal signals explicitly (never touch the user override keys).COMMENT
LOWcore/bifrost.go4440 // Step 4: Publish the new queue/wait group and start new workers before oldCOMMENT
LOWcore/bifrost.go4456 // Step 5: Transfer buffered requests from the old queue to the new queue BEFORECOMMENT
LOWcore/bifrost.go8117 // Step 1: compute effective value for each flag (provider config ← per-request override).COMMENT
LOW⚡core/providers/utils/models.go277 // Step 1: resolve name — collect all alias matches (or the raw ID if none match).COMMENT
LOW⚡core/providers/utils/models.go284 // Step 2: allowlist check.COMMENT
LOWcore/providers/utils/models.go300 // Step 3: blacklist check — blacklist always wins regardless of allowlist or aliases.COMMENT
LOWcore/providers/utils/utils_test.go358 // Step 1: Parse the error (like ParseOpenAIError does)COMMENT
LOWcore/providers/utils/utils_test.go371 // Step 2: Enrich with request (like providers do)COMMENT
LOW⚡core/providers/bedrock/bedrock_test.go2605 // Step 1: BedrockConverseRequest → BifrostResponsesRequestCOMMENT
LOW⚡core/providers/bedrock/bedrock_test.go2613 // Step 2: BifrostResponsesRequest → BedrockConverseRequestCOMMENT
LOWcore/providers/anthropic/serversidefallback_test.go134 // Step 1: Anthropic -> BifrostCOMMENT
LOWcore/providers/anthropic/serversidefallback_test.go155 // Step 2: Bifrost -> AnthropicCOMMENT
LOWcore/providers/anthropic/websearch_test.go183 // Step 1: output_item.addedCOMMENT
LOWcore/providers/anthropic/websearch_test.go199 // Step 2: FunctionCallArgumentsDelta events (should be skipped)COMMENT
LOWcore/providers/anthropic/websearch_test.go211 // Step 3: output_item.done with full accumulated argumentsCOMMENT
LOWcore/providers/anthropic/compaction_test.go598 // Step 1: Anthropic → BifrostCOMMENT
LOWcore/providers/anthropic/compaction_test.go629 // Step 2: Bifrost → AnthropicCOMMENT
LOW⚡core/providers/openai/realtime_test.go818 // Step 1: Parse the client event (same path as wsrealtime.go).COMMENT
LOW⚡core/providers/openai/realtime_test.go827 // Step 2: Convert back to provider format.COMMENT
LOW⚡core/providers/openai/realtime_test.go834 // Step 3: Verify the output JSON contains the audio field with correct value.COMMENT
LOWcore/internal/mcptests/codemode_files_test.go626 // Step 1: List tool files (returns a tree structure as text)COMMENT
LOWcore/internal/mcptests/codemode_files_test.go646 // Step 2: Read a tool file using readToolFileCOMMENT
LOWcore/internal/mcptests/codemode_files_test.go666 // Step 3: Execute code that uses the toolsCOMMENT
LOWcore/internal/llmtests/transcription_stream.go71 // Step 1: Generate TTS audioCOMMENT
LOWcore/internal/llmtests/transcription_stream.go138 // Step 2: Test streaming transcriptionCOMMENT
LOWcore/internal/llmtests/transcription.go98 // Step 1: Generate TTS audioCOMMENT
LOWcore/internal/llmtests/transcription.go164 // Step 2: Transcribe the generated audioCOMMENT
LOW⚡core/internal/llmtests/provider_feature_support_test.go901 // Step 1: Validate tools for providerCOMMENT
LOW⚡core/internal/llmtests/provider_feature_support_test.go911 // Step 2: Convert bifrost request → anthropic requestCOMMENT
259 more matches not shown…
AI Slop Vocabulary119 hits · 388 pts
SeverityFileLineSnippetContext
MEDIUMui/app/workspace/logs/views/logsVolumeChart.tsx274 // This is more robust than exact timestamp matchingCOMMENT
MEDIUMcore/providers/gemini/types.go933 // Live API, if `store_context` bool is specified, Gemini will leverage it to automaticallyCOMMENT
MEDIUMcore/providers/openai/openai.go4173 // Determine image index with robust tracking for interleaved chunksCOMMENT
MEDIUMcore/providers/openai/openai.go5909 // Determine image index with robust tracking for interleaved chunksCOMMENT
MEDIUMcore/network/http.go744 // RetryIfErr normally sees raw io.EOF; we match both to stay robust across versions.COMMENT
MEDIUMcore/internal/llmtests/test_retry_conditions.go37 // Check for textual content using the already robust GetResultContent functionCOMMENT
MEDIUMcore/schemas/plugin.go283// Plugin authors should ensure their hooks are robust to both response and error being nil, and should not assume eitheCOMMENT
MEDIUMframework/logstore/rdb.go636 // Use @> containment operator to leverage GIN index on metadata::jsonb.COMMENT
MEDIUMframework/warp/flows.go1152// closes that gap and is the highest-leverage call available for answerCOMMENT
MEDIUMplugins/semanticcache/plugin_embedding_test.go182 // minimum margin that's robust to seconds-level rounding + a slow CI.COMMENT
MEDIUMtransports/bifrost-http/.air.debug.toml30# Run binary via delve debugger in headless mode on port 2345COMMENT
MEDIUMtests/docker-compose.yml25 - "127.0.0.1:50051:50051" # gRPC, used by the harness config's grpc_configCODE
MEDIUMtests/integrations/python/config.json1498 "description": "Provider harness only (folder 117, #7538). Sends the request to OpenAI on a model OpenAI rejectsCODE
MEDIUMtests/integrations/python/config.json1513 "description": "Provider harness only (folder 117, #7538). Same as harness-custom-provider-fallback-boot, but thCODE
MEDIUMtests/integrations/python/tests/test_typesafe.py461# TypeScript suites and by the provider-harness generator.COMMENT
MEDIUMtests/integrations/python/tests/test_google.py4050 # Generate one source image and reuse it to keep test robust/lightweight.COMMENT
MEDIUMtests/e2e/features/dashboard/pages/dashboard.page.ts36 // Chart cards - using data-testid for robust selectorsCOMMENT
MEDIUMtests/e2e/api/runners/proxy/run-proxy-matrix.sh15# Each cell boots a fresh gateway (harness-gateway.sh), runs the provider harness onCOMMENT
MEDIUMtests/e2e/api/runners/proxy/run-proxy-matrix.sh37# Provider secrets come from the environment, as for `make run-provider-harness-test`;COMMENT
MEDIUMtests/e2e/api/runners/proxy/run-proxy-matrix.sh67# shellcheck source=../../../../../.github/workflows/scripts/harness-gateway.shCOMMENT
MEDIUM⚡tests/e2e/api/runners/proxy/run-proxy-matrix.sh228# reset_cell_artifacts deletes the harness's shared outputs before a cell runs. They liveCOMMENT
MEDIUM⚡tests/e2e/api/runners/proxy/run-proxy-matrix.sh229# in tmp/ for every cell, so a cell whose harness dies before newman writes wouldCOMMENT
MEDIUM⚡tests/e2e/api/runners/proxy/run-proxy-matrix.sh239# stream_cancel_failed reports whether the last harness run ran the stream-cancellationCOMMENT
MEDIUMtests/e2e/api/runners/proxy/run-proxy-matrix.sh349 # Start from empty proxy logs and harness outputs, so a cell that fails setup does notCOMMENT
MEDIUM…api/runners/individual/run-newman-mcp-harness-tests.sh5# Boots a fresh Bifrost server and runs collections/mcp-harness.json against it.COMMENT
MEDIUM…api/runners/individual/run-newman-mcp-harness-tests.sh8# The collection is generated from runners/build-mcp-harness.mjs at the start of each run and isCOMMENT
MEDIUMscripts/bifrost-migration-cli/scripts/seed_models.sh3# seed_models.sh - seed the comprehensive model fixture into a running LiteLLMCOMMENT
MEDIUM.github/workflows/run-core-tests.yml89 # job log, corrupting the harness counters.COMMENT
MEDIUM⚡.github/workflows/release-pipeline.yml301 # core build, then runs the provider harness (tests/e2e/api/collections/provider-harness.json)COMMENT
MEDIUM⚡.github/workflows/release-pipeline.yml303 # .github/workflows/scripts/test-provider-harness.sh. The harness runs on theCOMMENT
MEDIUM⚡.github/workflows/release-pipeline.yml308 # Gated on core alone. The provider harness only exercises core's providerCOMMENT
MEDIUM⚡.github/workflows/release-pipeline.yml313 # harness. Every downstream release job already acceptsCOMMENT
MEDIUM⚡.github/workflows/release-pipeline.yml316 # test-api-integrations and test-migrations. Matches test-cli-harness.COMMENT
MEDIUM⚡.github/workflows/release-pipeline.yml1175 # test-cli-harness's matrix below.COMMENT
MEDIUM⚡.github/workflows/release-pipeline.yml1183 # Must track test-cli-harness's gate exactly - this job exists only to buildCOMMENT
MEDIUM⚡.github/workflows/release-pipeline.yml1184 # that matrix, so running it when the harness is skipped resolves versionsCOMMENT
MEDIUM⚡.github/workflows/release-pipeline.yml1258 # tmp/cli-harness-<cli>.log and uploaded with the reports below.COMMENT
MEDIUM⚡.github/workflows/release-pipeline.yml1261 # Gated on core alone, matching test-core. What this harness actually coversCOMMENT
MEDIUM⚡.github/workflows/release-pipeline.yml1264 # accept `needs.test-cli-harness.result == 'skipped'`.COMMENT
MEDIUM.github/workflows/release-pipeline.yml55 # upstream provider: test-core (the ~90 minute provider harness),COMMENT
MEDIUM.github/workflows/release-pipeline.yml57 # test-proxy-e2e (the harness smoke set through real proxies). EveryCOMMENT
MEDIUM.github/workflows/release-pipeline.yml71 # nothing to do with that provider - not to get a red harness out the door.COMMENT
MEDIUM.github/workflows/release-pipeline.yml204 # cli-harness leg: `make build-ui` ~54s, `go build` on bifrost-http ~2m30s -COMMENT
MEDIUM.github/workflows/release-pipeline.yml207 # every build helper honours (harness-gateway.sh, test-api-integrations.sh,COMMENT
MEDIUM.github/workflows/release-pipeline.yml331 # 127.0.0.1:8080 is the bifrost-http binary the harness drives.COMMENT
MEDIUM.github/workflows/release-pipeline.yml497 # Additional vars the provider harness forwards to newman:COMMENT
MEDIUM.github/workflows/release-pipeline.yml508 # harness prints, turning "fail 141" into "fail ***4***". NotCOMMENT
MEDIUM.github/workflows/release-pipeline.yml534 # Publishes the provider harness's failure breakdown to R2 for the releaseCOMMENT
MEDIUM.github/workflows/release-pipeline.yml551 # cli-harness reports the changelog links alongside it.COMMENT
MEDIUM.github/workflows/release-pipeline.yml597 # other host the harness sources name, which check-egress-allowlist.shCOMMENT
MEDIUM.github/workflows/release-pipeline.yml598 # requires of a harness job (the .invalid and example names never resolve).COMMENT
MEDIUM.github/workflows/release-pipeline.yml692 # The harness runs with provider secrets and nothing here uses git afterwards,COMMENT
MEDIUM.github/workflows/release-pipeline.yml777 # Additional vars the provider harness forwards to newman:COMMENT
MEDIUM.github/workflows/release-pipeline.yml788 # harness prints, turning "fail 141" into "fail ***4***". NotCOMMENT
MEDIUM.github/workflows/release-pipeline.yml1042 # test-provider-harness.sh), so reaching this job means three attempts failedCOMMENT
MEDIUM.github/workflows/release-pipeline.yml1231 # CLI harness - installs the real Claude Code, Codex and OpenCode CLIs andCOMMENT
MEDIUM.github/workflows/release-pipeline.yml1234 # narrow: one model per CLI and a core scenario set. See test-cli-harness.shCOMMENT
MEDIUM.github/workflows/release-pipeline.yml1275 # The five run_cases invocations in test-cli-harness.sh each passCOMMENT
MEDIUM.github/workflows/release-pipeline.yml1279 # harness artifacts too. Raised twice: 90 -> 120 when the opencode suite wasCOMMENT
MEDIUM.github/workflows/release-pipeline.yml1298 # under XDG_CACHE_HOME - which the harness points at a fresh temp dirCOMMENT
59 more matches not shown…
Verbosity Indicators219 hits · 351 pts
SeverityFileLineSnippetContext
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx93# Step 1: Initialize OpenAI client with BifrostCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx99# Step 2: Send chat requestCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx105# Step 3: Check for tool callsCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx109 # Step 4: Execute tool via BifrostCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx122 # Step 5: Continue conversation with resultsCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx134// Step 1: Initialize OpenAI client with BifrostCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx140// Step 2: Send chat requestCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx148// Step 3: Check for tool callsCOMMENT
LOW⚡ui/app/workspace/mcp-logs/views/emptyState.tsx151 // Step 4: Execute tool via BifrostCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx165 // Step 5: Continue conversation with resultsCOMMENT
LOWcore/bifrost_test.go2266 // Step 1: isClosing() passes — queue is open.COMMENT
LOWcore/bifrost_test.go2279 // Step 2: enter the exact select guard used in production.COMMENT
LOW⚡core/bifrost_test.go2649 // Step 2: atomically replace — new producers now get newPqCOMMENT
LOW⚡core/bifrost_test.go2651 // Step 4: signal old closing — stale producers will detect thisCOMMENT
LOW⚡core/bifrost_test.go2887 // Step 2: expose newPq first so stale producers can re-route to itCOMMENT
LOW⚡core/bifrost_test.go2891 // Step 3: transfer buffered messages oldPq → newPq.COMMENT
LOWcore/bifrost_test.go2907 // Step 4: signal closing — producers holding a stale oldPq ref nowCOMMENT
LOW⚡core/bifrost.go4270 // Step 1: Load the ProviderQueue and verify provider existsCOMMENT
LOW⚡core/bifrost.go4277 // Step 2: Signal closing. Blocks new producers (isClosing() returns true) andCOMMENT
LOW⚡core/bifrost.go4282 // Step 3: Wait for all workers to finish in-flight requests and exit.COMMENT
LOW⚡core/bifrost.go4301 // Step 4: Remove the provider from the request queues.COMMENT
LOW⚡core/bifrost.go4304 // Step 5: Remove the provider from the wait groups.COMMENT
LOW⚡core/bifrost.go4307 // Step 6: Remove the provider from the providers slice.COMMENT
LOW⚡core/bifrost.go4382 // Step 1: Create provider instance before touching live routing state. IfCOMMENT
LOW⚡core/bifrost.go4389 // Step 2: Create new ProviderQueue and wait group with updated settings.COMMENT
LOW⚡core/bifrost.go4397 // Step 3: Atomically replace the provider in the providers slice before newCOMMENT
LOW⚡core/bifrost.go4513 // Step 6: Register cleanup before signalling the old queue. OtherwiseCOMMENT
LOW⚡core/bifrost.go4523 // Step 7: Signal the old queue is closing. Stale producers that still hold aCOMMENT
LOW⚡core/bifrost.go4528 // Step 8: Cleanup old workers asynchronously. Waiting here under the providerCOMMENT
LOW⚡core/bifrost.go8141 // Step 2: derive per-side capture and strip flags.COMMENT
LOW⚡core/bifrost.go8149 // Step 3: write all internal signals explicitly (never touch the user override keys).COMMENT
LOWcore/bifrost.go4440 // Step 4: Publish the new queue/wait group and start new workers before oldCOMMENT
LOWcore/bifrost.go4456 // Step 5: Transfer buffered requests from the old queue to the new queue BEFORECOMMENT
LOWcore/bifrost.go8117 // Step 1: compute effective value for each flag (provider config ← per-request override).COMMENT
LOW⚡core/providers/utils/models.go277 // Step 1: resolve name — collect all alias matches (or the raw ID if none match).COMMENT
LOW⚡core/providers/utils/models.go284 // Step 2: allowlist check.COMMENT
LOWcore/providers/utils/models.go300 // Step 3: blacklist check — blacklist always wins regardless of allowlist or aliases.COMMENT
LOWcore/providers/utils/utils_test.go358 // Step 1: Parse the error (like ParseOpenAIError does)COMMENT
LOWcore/providers/utils/utils_test.go371 // Step 2: Enrich with request (like providers do)COMMENT
LOW⚡core/providers/bedrock/bedrock_test.go2605 // Step 1: BedrockConverseRequest → BifrostResponsesRequestCOMMENT
LOW⚡core/providers/bedrock/bedrock_test.go2613 // Step 2: BifrostResponsesRequest → BedrockConverseRequestCOMMENT
LOWcore/providers/anthropic/serversidefallback_test.go134 // Step 1: Anthropic -> BifrostCOMMENT
LOWcore/providers/anthropic/serversidefallback_test.go155 // Step 2: Bifrost -> AnthropicCOMMENT
LOWcore/providers/anthropic/websearch_test.go183 // Step 1: output_item.addedCOMMENT
LOWcore/providers/anthropic/websearch_test.go199 // Step 2: FunctionCallArgumentsDelta events (should be skipped)COMMENT
LOWcore/providers/anthropic/websearch_test.go211 // Step 3: output_item.done with full accumulated argumentsCOMMENT
LOWcore/providers/anthropic/compaction_test.go598 // Step 1: Anthropic → BifrostCOMMENT
LOWcore/providers/anthropic/compaction_test.go629 // Step 2: Bifrost → AnthropicCOMMENT
LOWcore/providers/anthropic/anthropic.go1186 // So we need to check if the response.Usage is nil and then if usage != nilCOMMENT
LOW⚡core/providers/openai/realtime_test.go818 // Step 1: Parse the client event (same path as wsrealtime.go).COMMENT
LOW⚡core/providers/openai/realtime_test.go827 // Step 2: Convert back to provider format.COMMENT
LOW⚡core/providers/openai/realtime_test.go834 // Step 3: Verify the output JSON contains the audio field with correct value.COMMENT
LOWcore/providers/openai/openai.go872 // So we need to check if the response.Usage is nil and then if usage != nilCOMMENT
LOWcore/providers/openai/openai.go1767 // So we need to check if the response.Usage is nil and then if usage != nilCOMMENT
LOWcore/internal/mcptests/codemode_files_test.go626 // Step 1: List tool files (returns a tree structure as text)COMMENT
LOWcore/internal/mcptests/codemode_files_test.go646 // Step 2: Read a tool file using readToolFileCOMMENT
LOWcore/internal/mcptests/codemode_files_test.go666 // Step 3: Execute code that uses the toolsCOMMENT
LOWcore/internal/llmtests/transcription_stream.go71 // Step 1: Generate TTS audioCOMMENT
LOWcore/internal/llmtests/transcription_stream.go138 // Step 2: Test streaming transcriptionCOMMENT
LOWcore/internal/llmtests/transcription.go98 // Step 1: Generate TTS audioCOMMENT
159 more matches not shown…
Hyper-Verbose Identifiers326 hits · 285 pts
SeverityFileLineSnippetContext
LOWui/app/pprof/page.tsx78function loadSkippedGoroutineFiles(): Set<string> {CODE
LOWui/app/pprof/page.tsx88function saveSkippedGoroutineFiles(skipped: Set<string>): void {CODE
LOW…/components/guardrails/guardrailsConfigurationView.tsx5export default function GuardrailsConfigurationView() {CODE
LOW…ponents/large-payload/largePayloadSettingsFragment.tsx9export default function LargePayloadSettingsFragment(_props: LargePayloadSettingsFragmentProps) {CODE
LOW…/prompt-deployments/promptDeploymentsAccordionItem.tsx9export function PromptDeploymentsAccordionItem({ activeSection }: { activeSection: SettingsSidebarSection | undefined })CODE
LOW…cks/enterprise/lib/store/utils/baseQueryWithRefresh.ts10export function createBaseQueryWithRefresh(baseQuery: BaseQueryFn): BaseQueryFn {CODE
LOWui/app/workspace/scim/oauth-discover-callback/page.tsx3export default function OAuthDiscoverCallbackPage() {CODE
LOWui/app/workspace/complexity-router/formSchema.ts42export function countCanonicalSemanticPhrases(keywords: Record<KeywordListKey, string[]>) {CODE
LOWui/app/workspace/complexity-router/formSchema.ts382export function decisionGuidanceFormValues(CODE
LOWui/app/workspace/complexity-router/formSchema.ts406export function decisionCriteriaFromDefaults(defaults: DecisionGuidanceDefaults): DecisionGuidanceFormValues["criteria"]CODE
LOWui/app/workspace/complexity-router/formSchema.ts417export function isDecisionGuidanceDefault(criteria: DecisionGuidanceFormValues["criteria"], defaults: DecisionGuidanceDeCODE
LOWui/app/workspace/complexity-router/formSchema.ts520export function semanticTimeoutFieldValue(timeout: string | undefined): string | number {CODE
LOWui/app/workspace/complexity-router/formSchema.ts527export function decisionTimeoutFieldValue(timeout: string | undefined): string | number {CODE
LOW…complexity-router/views/classifierStatusBadge.utils.ts19export function semanticWarmupFailureMessage(status: SemanticStatusInfo): string {CODE
LOW…complexity-router/views/classifierStatusBadge.utils.ts30export function semanticWarmupImpactMessage(status: SemanticStatusInfo, fallback: SemanticFallback): string {CODE
LOWui/app/workspace/guardrails/configuration/page.tsx3export default function GuardrailsConfigurationPage() {CODE
LOW…kspace/relay-logs/views/relayLogsExportDialog.utils.ts109export function formatRelayActiveFiltersSummary(filters: RelayLogFilters): string[] {CODE
LOW…kspace/relay-logs/views/relayLogsExportDialog.utils.ts143export function normalizeRelayExportFilters(filters: RelayLogFilters, timezone?: string): RelayLogFilters {CODE
LOWui/app/workspace/config/views/warpView.utils.ts46export function validateWarpRetentionDays(value: unknown): true | string {CODE
LOWui/app/workspace/config/views/warpView.utils.ts61export function validateWarpMaxIterations(value: unknown): true | string {CODE
LOWui/app/workspace/config/views/warpView.utils.ts106export function retainFinishedWarpBackfill(CODE
LOWui/app/workspace/config/views/warpView.utils.ts120export function retainedWarpBackfillForSpace(retained: RetainedWarpBackfill | null, savedSpaceKey: string): WarpBackfillCODE
LOW…orkspace/plugins/dialogs/confirmDeletePluginDialog.tsx23export default function ConfirmDeletePluginDialog({ show, onCancel, onDelete, plugin }: Props) {CODE
LOW…app/workspace/providers/fragments/deploymentsTable.tsx437function UseAnthropicEndpointsToggleSection({ config, onChange, disabled, providerName }: ProviderSectionProps & { proviCODE
LOW…pace/providers/fragments/injectedToolsFormFragment.tsx265export function InjectedToolsFormFragment({ provider }: InjectedToolsFormFragmentProps) {CODE
LOW…workspace/providers/fragments/passthroughForm.utils.ts91export function savedPassthroughFormValues(policy: PassthroughPolicy | null | undefined, isCustom: boolean): PassthroughCODE
LOW…workspace/providers/fragments/passthroughForm.utils.ts128export function withPassthroughRequestsAllowed(config: CustomProviderConfig | undefined): CustomProviderConfig | undefinCODE
LOWui/app/workspace/providers/routing-rules/page.tsx3export default function ProvidersRoutingRulesPage() {CODE
LOW…kspace/providers/dialogs/cloudflareMigrationDialog.tsx65export default function CloudflareMigrationDialog({ show, provider, onDeferred, onMigrated }: Props) {CODE
LOW…kspace/providers/dialogs/addNewCustomProviderSheet.tsx49export function AddCustomProviderSheetContent({ show = true, onClose, onSave }: AddCustomProviderSheetContentProps) {CODE
LOW…pace/providers/dialogs/confirmDeleteProviderDialog.tsx24export default function ConfirmDeleteProviderDialog({ show, onCancel, onDelete, provider }: Props) {CODE
LOW…roviders/dialogs/firstPartyProviderAvailableDialog.tsx24export default function FirstPartyProviderAvailableDialog({ show, customProviderName, knownProvider, onDismiss, onProceeCODE
LOW…kspace/providers/dialogs/databricksMigrationDialog.tsx84export default function DatabricksMigrationDialog({ show, provider, onDeferred, onMigrated }: Props) {CODE
LOW…rkspace/providers/views/modelProviderKeysTableView.tsx99export default function ModelProviderKeysTableView({ provider, className, headerActions, isKeyless }: Props) {CODE
LOW…rkspace/providers/views/modelProviderKeysTableView.tsx130 async function handleRefreshProviderModels() {CODE
LOWui/app/workspace/adaptive-routing/settings/page.tsx3export default function AdaptiveRoutingSettingsPage() {CODE
LOWui/app/workspace/adaptive-routing/incidents/page.tsx4export default function AdaptiveRoutingIncidentsPage() {CODE
LOW…pp/workspace/agent-logs/views/agentLogDetailsSheet.tsx160function RawCaptureUnavailableNotice({ detail }: { detail?: AgentLogDetail }) {CODE
LOW…orkspace/agent-logs/views/agentContextDetailsSheet.tsx200function ConversationFailedResponse({ state }: { state: string }) {CODE
LOW…orkspace/agent-logs/views/agentContextDetailsSheet.tsx297function protocolActivityDefinition(operation: string): ProtocolActivityDefinition {CODE
LOW…ustom-pricing/overrides/scopedPricingOverridesView.tsx37function PricingOverrideActionsMenu({CODE
LOW…ustom-pricing/overrides/scopedPricingOverridesView.tsx194export default function ScopedPricingOverridesView() {CODE
LOW…ustom-pricing/overrides/pricingOverridesEmptyState.tsx13export function PricingOverridesEmptyState({ onCreateClick }: PricingOverridesEmptyStateProps) {CODE
LOWui/app/workspace/custom-pricing/overrides/page.tsx3export default function ScopedPricingOverridesPage() {CODE
LOW…ard/components/charts/externalCacheTokenMeterChart.tsx19function ExternalCacheTokenMeterChartImpl({ data }: ExternalCacheTokenMeterChartProps) {CODE
LOW…ashboard/components/charts/providerThroughputChart.tsx88function ProviderThroughputChartImpl({ data, chartType, startTime, endTime, selectedProvider }: ProviderThroughputChartPCODE
LOW…hboard/components/charts/localCacheTokenMeterChart.tsx17function LocalCacheTokenMeterChartImpl({ data }: LocalCacheTokenMeterChartProps) {CODE
LOW…/mcp-registry/library/views/mcpLibraryServersTable.tsx192export function MCPLibraryServersTableSkeleton({ rows = 8 }: { rows?: number }) {CODE
LOW…ce/mcp-registry/library/views/mcpLibraryServerCard.tsx237export function MCPLibraryServerCardSkeleton() {CODE
LOW…p/workspace/mcp-registry/views/mcpClientFormFields.tsx203export function useMCPClientFormSatellites(): MCPClientFormSatellites {CODE
LOW…p/workspace/mcp-registry/views/mcpClientFormFields.tsx288export function getHeadersValidationError(headers: Record<string, SecretVar> | undefined): string | null {CODE
LOW…p/workspace/mcp-registry/views/mcpClientFormFields.tsx482function effectivePerUserHeaderKeys(data: CreateMCPClientRequest, satellites: MCPClientFormSatellites): string[] {CODE
LOW…/workspace/mcp-registry/views/mcpClientOpenApiUtils.ts257export function buildOpenAPIConfigPayload(CODE
LOWui/app/workspace/mcp-registry/views/mcpClientSheet.tsx154function toolSyncIntervalToMinutes(v: number | undefined | null): number {CODE
LOWui/app/workspace/mcp-registry/views/mcpClientSheet.tsx163function toolExecutionTimeoutToSeconds(v: string | number | undefined | null): number {CODE
LOW…pace/mcp-registry/views/mcpClientCredentialSection.tsx41export function MCPClientCredentialSection({ mcpClient }: Props) {CODE
LOW…p/workspace/mcp-registry/views/tokenExchangeFields.tsx23export function tokenExchangeProfilePayload(te?: Partial<MCPTokenExchangeConfig>): Partial<MCPTokenExchangeConfig> {CODE
LOW…p/workspace/mcp-registry/views/tokenExchangeFields.tsx45export function exchangesAsSSOApplication(te?: Partial<MCPTokenExchangeConfig>): boolean {CODE
LOW…p/workspace/mcp-registry/views/tokenExchangeFields.tsx50export function tokenExchangeProfileFormValues(te?: Partial<MCPTokenExchangeConfig>): Partial<MCPTokenExchangeConfig> {CODE
LOW…pp/workspace/mcp-registry/views/mcpUsageGuide/utils.ts69export function isClientAllowedForVirtualKey(client: MCPClient, virtualKey: VirtualKey): boolean {CODE
266 more matches not shown…
Fake / Example Data190 hits · 214 pts
SeverityFileLineSnippetContext
LOWui/locales/ja/common.json143 "placeholder": "オプションを選択",CODE
LOWui/locales/ja/common.json604 "placeholder": "ベース形式を選択",CODE
LOWui/locales/ja/shell.json178 "placeholder": "ページを検索、または移動…",CODE
LOW⚡ui/locales/ja/shell.json203 "placeholder": "作成するものを検索…"CODE
LOW⚡ui/locales/ja/shell.json207 "placeholder": "テーマを検索…"CODE
LOW⚡ui/locales/ja/shell.json211 "placeholder": "言語を検索…"CODE
LOWui/locales/ja/shell.json245 "placeholder": "検索…",CODE
LOWui/locales/ja/shell.json436 "placeholder": "Bifrost のデータについて質問...",CODE
LOWui/locales/it/common.json143 "placeholder": "Seleziona opzioni",CODE
LOWui/locales/it/common.json604 "placeholder": "Seleziona il formato di base",CODE
LOWui/locales/it/shell.json178 "placeholder": "Cerca pagine o vai a…",CODE
LOW⚡ui/locales/it/shell.json203 "placeholder": "Cerca cosa creare…"CODE
LOW⚡ui/locales/it/shell.json207 "placeholder": "Cerca temi…"CODE
LOW⚡ui/locales/it/shell.json211 "placeholder": "Cerca lingue…"CODE
LOWui/locales/it/shell.json245 "placeholder": "Cerca...",CODE
LOWui/locales/it/shell.json436 "placeholder": "Chiedi sui tuoi dati Bifrost...",CODE
LOWui/locales/ru/common.json149 "placeholder": "Выберите варианты",CODE
LOWui/locales/ru/common.json638 "placeholder": "Выберите базовый формат",CODE
LOWui/locales/ru/shell.json178 "placeholder": "Найдите страницу или перейдите к…",CODE
LOW⚡ui/locales/ru/shell.json203 "placeholder": "Что создать…"CODE
LOW⚡ui/locales/ru/shell.json207 "placeholder": "Поиск темы…"CODE
LOW⚡ui/locales/ru/shell.json211 "placeholder": "Поиск языка…"CODE
LOWui/locales/ru/shell.json245 "placeholder": "Поиск...",CODE
LOWui/locales/ru/shell.json440 "placeholder": "Спросите о данных Bifrost...",CODE
LOWui/locales/zh-CN/common.json143 "placeholder": "选择选项",CODE
LOWui/locales/zh-CN/common.json604 "placeholder": "选择基础格式",CODE
LOWui/locales/zh-CN/shell.json178 "placeholder": "搜索页面或跳转到…",CODE
LOW⚡ui/locales/zh-CN/shell.json203 "placeholder": "搜索要创建的内容…"CODE
LOW⚡ui/locales/zh-CN/shell.json207 "placeholder": "搜索主题…"CODE
LOW⚡ui/locales/zh-CN/shell.json211 "placeholder": "搜索语言…"CODE
LOWui/locales/zh-CN/shell.json245 "placeholder": "搜索…",CODE
LOWui/locales/zh-CN/shell.json436 "placeholder": "询问你的 Bifrost 数据…",CODE
LOWui/locales/pt/common.json143 "placeholder": "Selecionar opções",CODE
LOWui/locales/pt/common.json604 "placeholder": "Selecionar formato base",CODE
LOWui/locales/pt/shell.json178 "placeholder": "Pesquise páginas ou vá para…",CODE
LOW⚡ui/locales/pt/shell.json203 "placeholder": "Pesquisar o que criar…"CODE
LOW⚡ui/locales/pt/shell.json207 "placeholder": "Pesquisar temas…"CODE
LOW⚡ui/locales/pt/shell.json211 "placeholder": "Pesquisar idiomas…"CODE
LOWui/locales/pt/shell.json245 "placeholder": "Pesquisar...",CODE
LOWui/locales/pt/shell.json436 "placeholder": "Pergunte sobre os seus dados do Bifrost...",CODE
LOWui/locales/zh-TW/common.json530 "placeholder": "選擇選項",CODE
LOWui/locales/zh-TW/common.json604 "placeholder": "選擇基礎格式",CODE
LOWui/locales/zh-TW/shell.json178 "placeholder": "搜尋頁面或跳至…",CODE
LOW⚡ui/locales/zh-TW/shell.json203 "placeholder": "搜尋要建立的內容…"CODE
LOW⚡ui/locales/zh-TW/shell.json207 "placeholder": "搜尋主題…"CODE
LOW⚡ui/locales/zh-TW/shell.json211 "placeholder": "搜尋語言…"CODE
LOWui/locales/zh-TW/shell.json245 "placeholder": "搜尋…",CODE
LOWui/locales/zh-TW/shell.json436 "placeholder": "詢問你的 Bifrost 資料…",CODE
LOWui/locales/de/common.json143 "placeholder": "Optionen auswählen",CODE
LOWui/locales/de/common.json604 "placeholder": "Basisformat auswählen",CODE
LOWui/locales/de/shell.json178 "placeholder": "Seiten suchen oder springen zu…",CODE
LOW⚡ui/locales/de/shell.json203 "placeholder": "Suchen, was erstellt werden soll…"CODE
LOW⚡ui/locales/de/shell.json207 "placeholder": "Designs suchen…"CODE
LOW⚡ui/locales/de/shell.json211 "placeholder": "Sprachen suchen…"CODE
LOWui/locales/de/shell.json245 "placeholder": "Suchen...",CODE
LOWui/locales/de/shell.json436 "placeholder": "Fragen zu deinen Bifrost-Daten...",CODE
LOWui/locales/ko/common.json143 "placeholder": "옵션 선택",CODE
LOWui/locales/ko/common.json604 "placeholder": "기본 형식 선택",CODE
LOWui/locales/ko/shell.json178 "placeholder": "페이지 검색 또는 이동…",CODE
LOW⚡ui/locales/ko/shell.json203 "placeholder": "만들 항목 검색…"CODE
130 more matches not shown…
Modern AI Meta-Vocabulary67 hits · 183 pts
SeverityFileLineSnippetContext
MEDIUMAGENTS.md46│ │ ├── agent.go # Agent orchestration loop (multi-turn tool calling)CODE
MEDIUMAGENTS.md281├── <name>.go # Controller: constructor, interface methods, HTTP orchestrationCODE
MEDIUM…/components/guardrails/guardrailsConfigurationView.tsx14 readmeLink="https://docs.getbifrost.ai/enterprise/guardrails"CODE
MEDIUM…prise/components/guardrails/guardrailIncidentsView.tsx14 readmeLink="https://docs.getbifrost.ai/enterprise/guardrails"CODE
MEDIUM…prise/components/guardrails/guardrailsProviderView.tsx14 readmeLink="https://docs.getbifrost.ai/enterprise/guardrails"CODE
MEDIUMui/app/workspace/guardrails/incidents/layout.tsx7// guardrails access the parent route already checks.COMMENT
MEDIUMcore/encryptedreasoning_test.go2935// it changes, and each sjson write reserialises the entire request. A long agenticCOMMENT
MEDIUMcore/failureclass.go312 // treated it. That includes a guardrail or moderation refusal: guardrails can be setCOMMENT
MEDIUMcore/providers/bedrock/types.go207 GuardContent *BedrockGuardContent `json:"guardContent,omitempty"` // Guard content for guardrailsCODE
MEDIUMcore/providers/bedrock/types.go231 // Guard content (for guardrails)COMMENT
MEDIUMcore/providers/bedrock/types.go374// BedrockGuardContent represents guard content for guardrails (a union of text and image)COMMENT
MEDIUMcore/providers/bedrock/types.go407// BedrockGuardContentText represents text content for guardrailsCOMMENT
MEDIUMcore/providers/bedrock/utils.go929// caller-chosen suffix is appended to it (see guardrails-tagging in the AWS user guide).COMMENT
MEDIUMcore/providers/bedrock/utils.go933// the query (see guardrails-contextual-grounding-check in the AWS user guide).COMMENT
MEDIUMcore/providers/bedrock/utils.go1043// splitInlineGuardTags splits text on well-formed <amazon-bedrock-guardrails-guardContent_suffix>COMMENT
MEDIUMcore/providers/bedrock/utils.go1084// <amazon-bedrock-guardrails-guardContent_{suffix}> tags plus guardrailConfig.tagSuffix; ConverseCOMMENT
MEDIUMcore/providers/anthropic/utils_test.go4348// gateway had ever allocated to this one loop, all of it garbage: long agenticCOMMENT
MEDIUMcore/providers/anthropic/utils_test.go4585// throw the struct away. On a long agentic conversation that decode expands the messagesCOMMENT
MEDIUMcore/providers/anthropic/types.go486// AnthropicTaskBudget represents an advisory token budget for a full agentic loop (output_config.task_budget).COMMENT
MEDIUMcore/providers/anthropic/types.go1317// AnthropicToolCallerType identifies which agentic caller produced a toolCOMMENT
MEDIUMcore/providers/anthropic/types.go492 Total int `json:"total"` // total advisory token budget across the agentic loopCODE
MEDIUMcore/providers/anthropic/utils.go2361// production, because the messages array (the bulk of an agentic conversation) expandsCOMMENT
MEDIUMcore/providers/anthropic/utils.go2981// N*S. Long agentic conversations carry hundreds of unsigned thinking blocks in aCOMMENT
MEDIUMcore/network/http_test.go593// factory's fasthttp proxy dialer (SCIM, guardrails and other API clients):COMMENT
MEDIUMcore/network/http.go34 // ClientPurposeAPI is used for general API requests (guardrails, etc.)COMMENT
MEDIUMcore/network/proxytest/proxytest.go13// clients (identity providers, guardrails, plugins). It is test scaffolding: only testCOMMENT
MEDIUMcore/mcp/codemode/starlark/executecode.go438 // guardrails: mark it here and raise after the pipeline, not before it.COMMENT
MEDIUMcore/schemas/responses.go2055// <amazon-bedrock-guardrails-guardContent_{suffix}> span; once any block in a request isCOMMENT
MEDIUMcore/schemas/responses.go2349// server_tool_use / *_tool_result blocks. It links a tool call to the agenticCOMMENT
MEDIUMcore/schemas/responses.go2411 // Caller links this call to the agentic caller that produced it (programmaticCOMMENT
MEDIUMcore/schemas/redaction.go72// RedactionData carries request-scoped redaction data from guardrails to log and trace sinks.COMMENT
MEDIUMcore/schemas/exportfixture.go27// way the guardrails plugin does. It must never appear in a connector's output.COMMENT
MEDIUMcore/schemas/exportfixture.go197 // Redact as the guardrails plugin does, so every connector is checked againstCOMMENT
MEDIUM⚡core/schemas/bifrost.go409 BifrostContextKeyGuardrailMetadata BifrostContextKey = "bifrost-guardrail-debug" CODE
MEDIUM⚡core/schemas/bifrost.go410 BifrostContextKeyGuardrailHeaders BifrostContextKey = "bifrost-guardrail-headers" CODE
MEDIUM⚡core/schemas/bifrost.go414 BifrostContextKeyRedactionData BifrostContextKey = "bifrost-redaction-data" CODE
MEDIUMcore/schemas/bifrost.go452 BifrostContextKeyDeferredGuardrail BifrostContextKey = "bifrost-deferred-guardrail" /CODE
MEDIUMframework/configstore/complexitylegacyexemplars.go17// 3 translation, and 3 agentic prompts. Topic ladders place related vocabularyCOMMENT
MEDIUMframework/logstore/tables.go659 // agentic response with hundreds of distinct tools cannot bloat the row.COMMENT
MEDIUMframework/logstore/rdb.go669// guardrailInterventionErrorType is the error type the guardrails pluginCOMMENT
MEDIUMframework/logstore/rdb.go1730 // A guardrail block's error_details is the short message the guardrailsCOMMENT
MEDIUMframework/streaming/gate_test.go2025// shape the native Anthropic path buffers under guardrails full-hold.COMMENT
MEDIUMframework/streaming/gate_test.go2057// TestGate_FullHoldRedactReplaySSE walks the guardrails full-hold seam with aCOMMENT
MEDIUMframework/warp/trace_test.go26// Every optional causal field (retries, error, cache, guardrails, plugin andCOMMENT
MEDIUMframework/warp/client.go317// guardrails HTTP pre-hook would otherwise have captured - without it aCOMMENT
MEDIUMplugins/routing/complexity/exemplars.go7// 3 translation, and 3 agentic prompts. Topic ladders place related vocabularyCOMMENT
MEDIUMplugins/logging/writer.go898// goroutine waits; the guardrails plugin runs the callback when its backgroundCOMMENT
MEDIUMtransports/bifrost-http/integrations/anthropic.go736 // LLM guardrails omit native MCP outputs; count their normalized itemCOMMENT
MEDIUMtransports/bifrost-http/integrations/anthropic_test.go51// guardrails evaluated it and non-Anthropic fallbacks received it.COMMENT
MEDIUMtransports/bifrost-http/integrations/anthropic_test.go1161// omitted from LLM guardrails consume no text target IDs. Billing metadata stays intact.COMMENT
MEDIUMtests/integrations/python/config.yml901 max_tokens: 32000 # 32k token context window for TTSCODE
MEDIUMtests/integrations/python/config.yml915 max_tokens: 32000 # 32k token context window for TTSCODE
MEDIUMtests/integrations/python/tests/test_anthropic.py740 max_tokens=4000, # Reduced to prevent token limit errors for smaller context window modelsCODE
MEDIUMtests/integrations/typescript/config.yml901 max_tokens: 32000 # 32k token context window for TTSCODE
MEDIUMtests/integrations/typescript/config.yml915 max_tokens: 32000 # 32k token context window for TTSCODE
MEDIUM.claude/skills/security-audit/CLOUD-AND-DEPLOYMENT.md41## Container and orchestration attack classes (subagent_type: `general`)COMMENT
MEDIUMdocs/docs.json2858 "href": "https://www.getmaxim.ai/ai-guardrails?utm_source=bifrost_docs&utm_medium=Bifrost_Footer"CODE
MEDIUMexamples/k8s/enterprise/values-guardrails.yaml1# Enterprise overlay: guardrails documentation sample.COMMENT
MEDIUMexamples/k8s/enterprise/values-guardrails.yaml100 endpoint: "https://example-guardrails.cognitiveservices.azure.com/"CODE
MEDIUMexamples/k8s/enterprise/values-guardrails.yaml116 endpoint: "https://example-guardrails.cognitiveservices.azure.com/"CODE
7 more matches not shown…
Excessive Try-Catch Wrapping213 hits · 176 pts
SeverityFileLineSnippetContext
MEDIUMcore/providers/gemini/responses_test.go1098 parts := geminiPartsFromCodeInterpreterCall(call(schemas.Ptr("print('Error: none')"), "completed", "Error: none\n"))CODE
LOWtests/load_test_parameter_ordering.sh635except Exception as e:CODE
LOWtests/integrations/python/README.md1019 except Exception as e:CODE
LOW⚡tests/integrations/python/README.md1384 except Exception as e:CODE
MEDIUM⚡tests/integrations/python/README.md1385 print(f"Error extracting tool calls: {e}")CODE
LOWtests/integrations/python/README.md1494 except Exception as e:CODE
LOWtests/integrations/python/heartbeat_test.py87 except Exception as exc: # noqa: BLE001CODE
LOWtests/integrations/python/heartbeat_test.py119 except Exception as exc: # noqa: BLE001CODE
LOWtests/integrations/python/run_integration_tests.py101 except Exception as e:CODE
LOWtests/integrations/python/run_all_tests.py155 except Exception as e:CODE
LOWtests/integrations/python/run_all_tests.py207 except Exception as e:CODE
MEDIUMtests/integrations/python/run_all_tests.py318 print(f"Error: Unknown integration '{args.integration}'")STRING
MEDIUMtests/integrations/python/tests/test_anthropic.py4299def test_11_file_upload_and_container_upload(self, files_beta_client):CODE
LOWtests/integrations/python/tests/test_anthropic.py975 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py978 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1040 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1043 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1097 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1167 except Exception as download_error:CODE
LOWtests/integrations/python/tests/test_anthropic.py1185 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1188 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1245 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1323 except Exception:CODE
LOWtests/integrations/python/tests/test_anthropic.py1371 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1415 except Exception as results_error:CODE
LOWtests/integrations/python/tests/test_anthropic.py1430 except Exception:CODE
LOWtests/integrations/python/tests/test_anthropic.py1433 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1509 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py2763 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py4325 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py4327 except Exception as e:CODE
LOW⚡tests/integrations/python/tests/test_openai.py3161 except Exception as e:CODE
LOW⚡tests/integrations/python/tests/test_openai.py3688 except Exception:CODE
LOW⚡tests/integrations/python/tests/test_openai.py3855 except Exception as e:CODE
LOW⚡tests/integrations/python/tests/test_openai.py3946 except Exception as e:CODE
LOW⚡tests/integrations/python/tests/test_openai.py3952 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py359 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py845 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py1013 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py1180 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py1225 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py1267 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py1301 except Exception as base64_error:CODE
LOWtests/integrations/python/tests/test_openai.py1304 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py1766 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py2350 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py2487 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py2963 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3016 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3063 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3223 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3261 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3265 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3340 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3345 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3419 except Exception:CODE
LOWtests/integrations/python/tests/test_openai.py3457 except Exception:CODE
LOWtests/integrations/python/tests/test_openai.py3462 except Exception:CODE
LOWtests/integrations/python/tests/test_openai.py3531 except Exception:CODE
LOWtests/integrations/python/tests/test_openai.py3536 except Exception:CODE
153 more matches not shown…
Redundant / Tautological Comments128 hits · 170 pts
SeverityFileLineSnippetContext
LOWcore/internal/mcptests/codemode_files_test.go422# Check if TestCodeModeServer exists and has methodsCOMMENT
LOWtests/integrations/python/run_integration_tests.py49 # Check if test file existsCOMMENT
LOWtests/integrations/python/run_integration_tests.py83 # Print resultsCOMMENT
LOWtests/integrations/python/tests/test_anthropic.py611 # Check if response is approximately 5 words (allow some flexibility)COMMENT
LOWtests/integrations/python/tests/test_anthropic.py2675 # Check if cache was writtenCOMMENT
LOWtests/integrations/python/tests/test_anthropic.py2708 # Check if cache was readCOMMENT
LOWtests/integrations/python/tests/test_anthropic.py3541 # Check if compaction triggered a pauseCOMMENT
LOWtests/integrations/python/tests/test_anthropic.py3671 # Check if compaction occurredCOMMENT
LOWtests/integrations/python/tests/test_openai.py686 # Check if response is approximately 5 words (allow some flexibility)COMMENT
LOWtests/integrations/python/tests/test_openai.py2391 # Check if we have a reasoning message typeCOMMENT
LOWtests/integrations/python/tests/test_langchain.py1308 # Check if usage metadata is available (Gemini-specific)COMMENT
LOWtests/integrations/python/tests/test_bedrock.py476 # Check if response has contentCOMMENT
LOWtests/integrations/python/tests/test_bedrock.py790 # Check if response has contentCOMMENT
LOWtests/integrations/python/tests/test_bedrock.py915 # Check if response is approximately 5 words (allow some flexibility)COMMENT
LOWtests/integrations/python/tests/test_azure.py568 # Check if response is approximately 5 words (allow some flexibility)COMMENT
LOWtests/integrations/python/tests/test_azure.py1545 # Check if we have a reasoning message typeCOMMENT
LOWtests/integrations/python/tests/test_google.py613 # Check if function call was made (Google GenAI might return function calls)COMMENT
LOWtests/integrations/python/tests/test_google.py637 # Check if function calls were madeCOMMENT
LOWtests/integrations/python/tests/test_google.py662 # Check if function call was madeCOMMENT
LOWtests/integrations/python/tests/test_google.py700 # Check if function calls were madeCOMMENT
LOW⚡tests/integrations/python/tests/utils/common.py3411 # Check if domain matches any blocked patternCOMMENT
LOWtests/integrations/python/tests/utils/common.py1514 # Check if it's an OpenAI-style response objectCOMMENT
LOWtests/integrations/python/tests/utils/common.py1530 # Check if usage information is presentCOMMENT
LOWtests/integrations/python/tests/utils/common.py1548 # Check if it's a direct list (embedding vector)COMMENT
LOWtests/integrations/python/tests/utils/common.py1570 # Check if it's an OpenAI-style response objectCOMMENT
LOWtests/integrations/python/tests/utils/common.py1600 # Check if it's a direct list of embeddingsCOMMENT
LOWtests/integrations/python/tests/utils/common.py2711 # Check if this is a LangChain AIMessage objectCOMMENT
LOWtests/integrations/python/tests/utils/common.py2753 # Check if we have a reasoning message typeCOMMENT
LOWtests/integrations/python/tests/utils/common.py3396 # Check if domain matches any allowed patternCOMMENT
LOWtests/e2e/api/setup-mcp.sh14# Check if MCP server is already listening on 3001 (e.g. from a previous run)COMMENT
LOWtests/e2e/api/setup-plugin.sh15# Check if plugin source existsCOMMENT
LOWtests/e2e/api/runners/run-newman-api-tests.sh43# Check if Newman is installedCOMMENT
LOWtests/e2e/api/runners/run-newman-api-tests.sh50# Check if collection existsCOMMENT
LOWtests/e2e/api/runners/run-newman-inference-tests.sh56# Check if Newman is installedCOMMENT
LOWtests/e2e/api/runners/run-newman-inference-tests.sh63# Check if collection existsCOMMENT
LOW…e/api/runners/individual/run-newman-vk-expiry-tests.sh69# Check if Newman is installedCOMMENT
LOW…e/api/runners/individual/run-newman-vk-expiry-tests.sh76# Check if collection existsCOMMENT
LOW…ers/individual/run-newman-pricing-time-of-day-tests.sh75# Check if Newman is installedCOMMENT
LOW…ers/individual/run-newman-pricing-time-of-day-tests.sh82# Check if collection existsCOMMENT
LOW…rs/individual/run-newman-vk-rotation-cooldown-tests.sh70# Check if Newman is installedCOMMENT
LOW…rs/individual/run-newman-vk-rotation-cooldown-tests.sh77# Check if collection existsCOMMENT
LOW…ers/individual/run-newman-vk-object-ownership-tests.sh71# Check if Newman is installedCOMMENT
LOW…ers/individual/run-newman-vk-object-ownership-tests.sh78# Check if collection existsCOMMENT
LOW⚡…i/runners/individual/run-newman-bedrock-integration.sh55# Check if Newman is installedCOMMENT
LOW⚡…i/runners/individual/run-newman-bedrock-integration.sh62# Check if collection existsCOMMENT
LOW⚡…i/runners/individual/run-newman-bedrock-integration.sh68# Check if environment existsCOMMENT
LOW…i/runners/individual/run-newman-bedrock-integration.sh273 # Check if we're entering a JSON blockCOMMENT
LOW…i/runners/individual/run-newman-bedrock-integration.sh287 # Check if we're exiting a JSON blockCOMMENT
LOW…/runners/individual/run-newman-request-guards-tests.sh92# Check if Newman is installedCOMMENT
LOW…/runners/individual/run-newman-request-guards-tests.sh99# Check if collection existsCOMMENT
LOW⚡…pi/runners/individual/run-newman-openai-integration.sh57# Check if Newman is installedCOMMENT
LOW⚡…pi/runners/individual/run-newman-openai-integration.sh64# Check if collection existsCOMMENT
LOW⚡…pi/runners/individual/run-newman-openai-integration.sh70# Check if environment existsCOMMENT
LOW…pi/runners/individual/run-newman-openai-integration.sh276 # Check if we're entering a JSON blockCOMMENT
LOW…pi/runners/individual/run-newman-openai-integration.sh290 # Check if we're exiting a JSON blockCOMMENT
LOW⚡…runners/individual/run-newman-composite-integration.sh56# Check if Newman is installedCOMMENT
LOW⚡…runners/individual/run-newman-composite-integration.sh63# Check if collection existsCOMMENT
LOW⚡…runners/individual/run-newman-composite-integration.sh69# Check if environment existsCOMMENT
LOW…runners/individual/run-newman-composite-integration.sh259 # Check if we're entering a JSON blockCOMMENT
LOW…runners/individual/run-newman-composite-integration.sh273 # Check if we're exiting a JSON blockCOMMENT
68 more matches not shown…
Empty Error Handlers21 hits · 105 pts
SeverityFileLineSnippetContext
HIGHtests/integrations/python/tests/test_anthropic.py1430except Exception:CODE
HIGHtests/integrations/python/tests/test_anthropic.py1323except Exception:CODE
HIGHtests/integrations/python/tests/test_openai.py3582except Exception:CODE
HIGHtests/integrations/python/tests/test_openai.py3531except Exception:CODE
HIGHtests/integrations/python/tests/test_openai.py3536except Exception:CODE
HIGHtests/integrations/python/tests/test_openai.py3688except Exception:CODE
HIGHtests/integrations/python/tests/test_openai.py3419except Exception:CODE
HIGHtests/integrations/python/tests/test_openai.py3457except Exception:CODE
HIGHtests/integrations/python/tests/test_openai.py3462except Exception:CODE
HIGHtests/integrations/python/tests/test_openai.py3619except Exception:CODE
HIGHtests/integrations/python/tests/test_litellm.py156except ImportError:CODE
HIGHtests/integrations/python/tests/test_bedrock.py757except json.JSONDecodeError:CODE
HIGHtests/integrations/python/tests/test_bedrock.py3350except json.JSONDecodeError:CODE
HIGHtests/integrations/python/tests/test_azure.py2088except Exception:CODE
HIGHtests/integrations/python/tests/test_azure.py2093except Exception:CODE
HIGHtests/integrations/python/tests/test_azure.py2154except Exception:CODE
HIGHtests/integrations/python/tests/test_google.py4200except Exception:CODE
HIGHtests/integrations/python/tests/test_google.py4230except Exception:CODE
HIGHtests/integrations/python/tests/test_google.py4259except Exception:CODE
HIGHtests/integrations/python/tests/test_google.py4291except Exception:CODE
HIGHtests/integrations/python/tests/test_google.py4349except Exception:CODE
Cross-File Repetition19 hits · 95 pts
SeverityFileLineSnippetContext
HIGHtests/integrations/python/tests/test_anthropic.py0test case 1: simple chat interaction - runs across all available providersSTRING
HIGHtests/integrations/python/tests/test_openai.py0test case 1: simple chat interaction - runs across all available providersSTRING
HIGHtests/integrations/python/tests/test_google.py0test case 1: simple chat interaction - runs across all available providersSTRING
HIGHtests/integrations/python/tests/test_anthropic.py0test case 4: multiple tool calls in one response - auto-skips providers without tool modelSTRING
HIGHtests/integrations/python/tests/test_openai.py0test case 4: multiple tool calls in one response - auto-skips providers without tool modelSTRING
HIGHtests/integrations/python/tests/test_google.py0test case 4: multiple tool calls in one response - auto-skips providers without tool modelSTRING
HIGHtests/integrations/python/tests/test_anthropic.py0test case 5: complete tool calling flow with responsesSTRING
HIGHtests/integrations/python/tests/test_openai.py0test case 5: complete tool calling flow with responsesSTRING
HIGHtests/integrations/python/tests/test_litellm.py0test case 5: complete tool calling flow with responsesSTRING
HIGHtests/integrations/python/tests/test_google.py0test case 5: complete tool calling flow with responsesSTRING
HIGHtests/integrations/python/tests/test_anthropic.py0test case 10: complex end-to-end with conversation, images, and toolsSTRING
HIGHtests/integrations/python/tests/test_openai.py0test case 10: complex end-to-end with conversation, images, and toolsSTRING
HIGHtests/integrations/python/tests/test_litellm.py0test case 10: complex end-to-end with conversation, images, and toolsSTRING
HIGHtests/integrations/python/tests/test_azure.py0test case 10: complex end-to-end with conversation, images, and toolsSTRING
HIGHtests/integrations/python/tests/test_google.py0test case 10: complex end-to-end with conversation, images, and toolsSTRING
HIGH…i/runners/individual/run-newman-bedrock-integration.sh0format json using jq if available, otherwise use python's json moduleSTRING
HIGH…pi/runners/individual/run-newman-openai-integration.sh0format json using jq if available, otherwise use python's json moduleSTRING
HIGH…runners/individual/run-newman-composite-integration.sh0format json using jq if available, otherwise use python's json moduleSTRING
HIGH…runners/individual/run-newman-anthropic-integration.sh0format json using jq if available, otherwise use python's json moduleSTRING
Deep Nesting95 hits · 50 pts
SeverityFileLineSnippetContext
LOWtests/integrations/python/heartbeat_test.py47CODE
LOWtests/integrations/python/run_all_tests.py210CODE
LOWtests/integrations/python/tests/test_anthropic.py161CODE
LOWtests/integrations/python/tests/test_anthropic.py3080CODE
LOWtests/integrations/python/tests/test_anthropic.py3108CODE
LOWtests/integrations/python/tests/test_anthropic.py514CODE
LOWtests/integrations/python/tests/test_anthropic.py730CODE
LOWtests/integrations/python/tests/test_anthropic.py818CODE
LOWtests/integrations/python/tests/test_anthropic.py1974CODE
LOWtests/integrations/python/tests/test_anthropic.py2164CODE
LOWtests/integrations/python/tests/test_anthropic.py2247CODE
LOWtests/integrations/python/tests/test_anthropic.py2375CODE
LOWtests/integrations/python/tests/test_anthropic.py2432CODE
LOWtests/integrations/python/tests/test_anthropic.py2547CODE
LOWtests/integrations/python/tests/test_anthropic.py2597CODE
LOWtests/integrations/python/tests/test_anthropic.py2722CODE
LOWtests/integrations/python/tests/test_anthropic.py2773CODE
LOWtests/integrations/python/tests/test_anthropic.py2827CODE
LOWtests/integrations/python/tests/test_anthropic.py3314CODE
LOWtests/integrations/python/tests/test_anthropic.py3422CODE
LOWtests/integrations/python/tests/test_anthropic.py3782CODE
LOWtests/integrations/python/tests/test_anthropic.py4051CODE
LOWtests/integrations/python/tests/test_openai.py1884CODE
LOWtests/integrations/python/tests/test_openai.py1931CODE
LOWtests/integrations/python/tests/test_openai.py1967CODE
LOWtests/integrations/python/tests/test_openai.py2014CODE
LOWtests/integrations/python/tests/test_openai.py2221CODE
LOWtests/integrations/python/tests/test_openai.py2360CODE
LOWtests/integrations/python/tests/test_openai.py2613CODE
LOWtests/integrations/python/tests/test_openai.py2682CODE
LOWtests/integrations/python/tests/test_openai.py3176CODE
LOWtests/integrations/python/tests/test_openai.py3373CODE
LOWtests/integrations/python/tests/test_openai.py3542CODE
LOWtests/integrations/python/tests/test_openai.py3699CODE
LOWtests/integrations/python/tests/test_openai.py4032CODE
LOWtests/integrations/python/tests/test_openai.py4150CODE
LOWtests/integrations/python/tests/test_openai.py4298CODE
LOWtests/integrations/python/tests/test_openai.py4353CODE
LOWtests/integrations/python/tests/test_openai.py4406CODE
LOWtests/integrations/python/tests/conftest.py32CODE
LOWtests/integrations/python/tests/conftest.py93CODE
LOWtests/integrations/python/tests/test_pydanticai.py187CODE
LOWtests/integrations/python/tests/test_langchain.py1043CODE
LOWtests/integrations/python/tests/test_langchain.py1198CODE
LOWtests/integrations/python/tests/test_langchain.py1285CODE
LOWtests/integrations/python/tests/test_bedrock.py293CODE
LOWtests/integrations/python/tests/test_bedrock.py574CODE
LOWtests/integrations/python/tests/test_bedrock.py671CODE
LOWtests/integrations/python/tests/test_bedrock.py3076CODE
LOWtests/integrations/python/tests/test_bedrock.py3258CODE
LOWtests/integrations/python/tests/test_azure.py1239CODE
LOWtests/integrations/python/tests/test_azure.py1278CODE
LOWtests/integrations/python/tests/test_azure.py1316CODE
LOWtests/integrations/python/tests/test_azure.py1515CODE
LOWtests/integrations/python/tests/test_google.py242CODE
LOWtests/integrations/python/tests/test_google.py371CODE
LOWtests/integrations/python/tests/test_google.py984CODE
LOWtests/integrations/python/tests/test_google.py1427CODE
LOWtests/integrations/python/tests/test_google.py2305CODE
LOWtests/integrations/python/tests/test_google.py3447CODE
35 more matches not shown…
Self-Referential Comments16 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUMcore/mcp/codemode/starlark/getdocs.go155 sb.WriteString("# This file contains Python documentation for a specific tool on this MCP server.\n")CODE
MEDIUMcore/mcp/codemode/starlark/getdocs.go157 sb.WriteString("# This file contains Python documentation for all tools available on this MCP server.\n")CODE
MEDIUMtests/integrations/python/tests/test_pydanticai.py390 # Define a tool that we'll manually executeCOMMENT
MEDIUMtests/integrations/python/tests/test_bedrock.py1514 # Create a job to cancelCOMMENT
MEDIUMtests/integrations/python/tests/test_google.py266 # Create a function declaration dictionary with lowercase typesCOMMENT
MEDIUMtests/integrations/python/tests/test_google.py283 # Create a Tool object containing the function declarationCOMMENT
MEDIUMtests/integrations/python/tests/test_google.py318 # Create a white backgroundCOMMENT
MEDIUMtests/integrations/python/tests/test_google.py1957 # Define a Pydantic model for structured outputCOMMENT
MEDIUMtests/integrations/python/tests/utils/common.py51 # Create a simple red imageCOMMENT
MEDIUMexamples/k8s/enterprise/values-scim.yaml2# This file is SAFE-BY-DEFAULT (scim.enabled=false) so placeholder valuesCOMMENT
MEDIUM…-charts/bifrost/values-examples/postgres-weaviate.yaml68 # Create the secret with: kubectl create secret generic bifrost-semantic-cache --from-literal=openai-key=sk-YOUR_OCOMMENT
MEDIUMhelm-charts/bifrost/values-examples/production-ha.yaml91 # Create the secret with: kubectl create secret generic bifrost-encryption --from-literal=key=YOUR_ENCRYPTION_KEYCOMMENT
MEDIUMhelm-charts/bifrost/values-examples/production-ha.yaml126 # Create the secret with: kubectl create secret generic bifrost-semantic-cache --from-literal=openai-key=sk-YOUR_OCOMMENT
MEDIUMhelm-charts/bifrost/values-examples/sqlite-qdrant.yaml55 # Create the secret with: kubectl create secret generic bifrost-semantic-cache --from-literal=openai-key=sk-YOUR_OCOMMENT
MEDIUM…lm-charts/bifrost/values-examples/sqlite-weaviate.yaml56 # Create the secret with: kubectl create secret generic bifrost-semantic-cache --from-literal=openai-key=sk-YOUR_OCOMMENT
MEDIUMhelm-charts/bifrost/values-examples/postgres-redis.yaml71 # Create the secret with: kubectl create secret generic bifrost-semantic-cache --from-literal=openai-key=sk-YOUR_OCOMMENT
Cross-Language Confusion6 hits · 38 pts
SeverityFileLineSnippetContext
HIGHtests/integrations/python/tests/test_langchain.py1875 The parameter is omitted rather than sent as null, so this also pins that eachSTRING
HIGHtests/integrations/python/tests/test_typesafe.py215 # The SDK's wire type excludes null, but a client can still send it andCOMMENT
HIGHtests/integrations/python/tests/test_typesafe.py404 # (object, string, null, and array shaped) carry meaning, so a correctCOMMENT
HIGHdocs/openapi/spec_invariants_test.py874 # An update request wraps the list as oneOf [list, null]; check the list.COMMENT
HIGHdocs/openapi/spec_invariants_test.py903 # PUT clears the saved list with an explicit null, so the update request must allow it.COMMENT
HIGH.github/workflows/scripts/test-migration-fixtures.py33 shell += "if declare -F append_v200_fixtures >/dev/null; then append_v200_fixtures \"$1\" \"$2\" \"'2099-01-01 0CODE
Unused Imports39 hits · 26 pts
SeverityFileLineSnippetContext
LOWtests/integrations/python/run_all_tests.py23CODE
LOWtests/integrations/python/run_all_tests.py23CODE
LOWtests/integrations/python/tests/test_openai.py103CODE
LOWtests/integrations/python/tests/test_pydanticai.py41CODE
LOWtests/integrations/python/tests/test_pydanticai.py41CODE
LOWtests/integrations/python/tests/test_pydanticai.py81CODE
LOWtests/integrations/python/tests/test_pydanticai.py81CODE
LOWtests/integrations/python/tests/test_pydanticai.py81CODE
LOWtests/integrations/python/tests/test_pydanticai.py81CODE
LOWtests/integrations/python/tests/test_pydanticai.py81CODE
LOWtests/integrations/python/tests/test_pydanticai.py81CODE
LOWtests/integrations/python/tests/test_pydanticai.py81CODE
LOWtests/integrations/python/tests/test_pydanticai.py81CODE
LOWtests/integrations/python/tests/test_pydanticai.py81CODE
LOWtests/integrations/python/tests/test_pydanticai.py81CODE
LOWtests/integrations/python/tests/test_pydanticai.py96CODE
LOWtests/integrations/python/tests/test_pydanticai.py97CODE
LOWtests/integrations/python/tests/test_langchain.py55CODE
LOWtests/integrations/python/tests/test_langchain.py55CODE
LOWtests/integrations/python/tests/test_langchain.py58CODE
LOWtests/integrations/python/tests/test_langchain.py112CODE
LOWtests/integrations/python/tests/test_litellm.py40CODE
LOWtests/integrations/python/tests/test_litellm.py40CODE
LOWtests/integrations/python/tests/test_litellm.py40CODE
LOWtests/integrations/python/tests/test_litellm.py40CODE
LOWtests/integrations/python/tests/test_litellm.py40CODE
LOWtests/integrations/python/tests/test_litellm.py121CODE
LOWtests/integrations/python/tests/test_typesafe.py28CODE
LOWtests/integrations/python/tests/test_azure.py76CODE
LOWtests/integrations/python/tests/test_azure.py76CODE
LOWtests/integrations/python/tests/test_google.py75CODE
LOWtests/integrations/python/tests/test_google.py75CODE
LOWtests/integrations/python/tests/test_google.py75CODE
LOWtests/integrations/python/tests/utils/parametrize.py8CODE
LOWtests/live/python/test_sdk_openai.py11CODE
LOWdocs/openapi/bundle.py32CODE
LOWdocs/openapi/spec_invariants_test.py12CODE
LOWdocs/openapi/sync_mintlify_navigation.py4CODE
LOWdocs/api/procuring-api-keys_test.py13CODE
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHcore/providers/bedrock/unsignedreasoning_test.go20// were generated by Claude when you pass them back",COMMENT
HIGHcore/internal/mcptests/fixtures.go772 // Return the error as requestedCOMMENT
HIGHcore/internal/llmtests/image_generation.go129 // Validate dimensions are 1024x1024 as requestedCOMMENT
Example Usage Blocks13 hits · 20 pts
SeverityFileLineSnippetContext
LOWplugins/telemetry/docker-compose.pushgateway.yml3# Usage:COMMENT
LOWtransports/bifrost-http/main.go30// Example usage:COMMENT
LOWtests/e2e/api/runners/proxy/proxy-lib.sh15# Usage:COMMENT
LOWrecipes/values-local-k8s.yaml4# Usage:COMMENT
LOW…ripts/bifrost-migration-cli/scripts/delete_entities.sh11# Usage:COMMENT
LOW…s/bifrost-migration-cli/scripts/create_virtual_keys.sh5# Usage:COMMENT
LOW…frost-migration-cli/scripts/delete_bifrost_entities.sh12# Usage:COMMENT
LOWscripts/bifrost-migration-cli/scripts/create_teams.sh5# Usage:COMMENT
LOW…/bifrost-migration-cli/scripts/create_organizations.sh5# Usage:COMMENT
LOWscripts/bifrost-migration-cli/scripts/seed_models.sh9# Usage:COMMENT
LOW.github/workflows/scripts/test-e2e-api.sh5# Usage:COMMENT
LOW⚡.github/workflows/scripts/harness-gateway.sh6# Usage:COMMENT
LOW…ost/values-examples/semantic-cache-secret-example.yaml6# Usage:COMMENT
Cross-Language Confusion (JS/TS)3 hits · 18 pts
SeverityFileLineSnippetContext
HIGH⚡ui/app/workspace/mcp-logs/views/emptyState.tsx131 print(final_response.choices[0].message.content)`,CODE
HIGHui/app/workspace/mcp-logs/views/emptyState.tsx205print(response.choices[0].message.content)CODE
HIGHui/app/workspace/mcp-logs/views/emptyState.tsx209 print("Pending tools requiring approval:",CODE
Magic Placeholder Names3 hits · 18 pts
SeverityFileLineSnippetContext
HIGHframework/openapimcp/execute_test.go710 _, err := exec.Execute(context.Background(), findTool(t, syn, "a"), map[string]any{"X-API-Key": "YOUR_API_KEY", "sid": CODE
HIGH⚡tests/integrations/python/README.md1393export YOUR_INTEGRATION_API_KEY="your-api-key"CODE
HIGHtests/integrations/typescript/README.md195 apiKey: 'your-api-key',CODE
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtests/integrations/python/tests/test_pydanticai.py188 Factory function to create a Pydantic AI model for a given provider. This is the cross-provider equivalentSTRING
HIGHtests/integrations/python/tests/utils/config_loader.py115Get the complete URL for a integration Args: integration: Integration name (openai, anthropic, googSTRING
HIGHtests/integrations/python/tests/utils/common.py687 Safely evaluate arithmetic expressions using AST parsing. Only allows basic arithmetic operations: +, -, *, /, STRING
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMcore/internal/llmtests/test_retry_conditions.go448 "as a language model",CODE
MEDIUMcore/internal/llmtests/test_retry_conditions.go1124 "as a language model",CODE
LOWplugins/telemetry/prometheus.yml8# Make sure to replace "bifrost-api" and "8080" with your actual docker container name and port if differentCOMMENT