Repository Analysis

maximhq/bifrost

Fastest enterprise AI gateway (50x faster than LiteLLM) with adaptive load balancer, cluster mode, guardrails, 1000+ models support & <100 µs overhead at 5k RPS.

4.2 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of maximhq/bifrost, a Go project with 6,511 GitHub stars. SynthScan v2.0 examined 956,983 lines of code across 2536 source files, recording 2499 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 4.2 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

4.2
Adjusted Score
4.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
6.5K
Stars
Go
Language
957.0K
Lines of Code
2.5K
Files
2.5K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 29MEDIUM 658LOW 1812

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 2499 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators577 hits · 1704 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
MEDIUMterraform/modules/bifrost/azure/main.tf153# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/main.tf155# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/main.tf164# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/main.tf166# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aci/main.tf1# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aci/main.tf3# =============================================================================COMMENT
MEDIUMterraform/modules/bifrost/azure/services/aci/main.tf13# =============================================================================COMMENT
MEDIUMterraform/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
517 more matches not shown…
Over-Commented Block575 hits · 536 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/clientLayout.tsx41 // anonymous visitor arriving with `#t=<token>` gets a stripped MinimalShell.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…backs/enterprise/lib/registrations/modelLimitScopes.ts1// OSS-build fallback for the enterprise scope registrations.COMMENT
LOWui/app/workspace/mcp-sessions/auth/page.tsx1// Auth landing route for inline-401 URLs returned by the inference path.COMMENT
LOW…app/workspace/mcp-sessions/views/sessionsFilterBar.tsx1// Inline filter row above the sessions table: search input + three multi-COMMENT
LOWui/app/workspace/mcp-sessions/views/sessionsTable.tsx1// Base sessions table: renders token rows + pending flow rows + per-userCOMMENT
LOWui/components/headersForm.tsx1// Reusable form for the MCP per-user-headers flow.COMMENT
LOWui/components/headersForm.tsx21import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip";COMMENT
LOWui/components/headersForm.tsx41 onSubmit: (values: Record<string, string>) => Promise<void> | void;COMMENT
LOWui/components/tempTokenScope.tsx1// TempTokenScope wraps a page that authenticates via a short-lived temp tokenCOMMENT
LOWui/components/tempTokenScope.tsx21import { useEffect, useState } from "react";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/store/apis/mcpSessionsApi.ts41 }),COMMENT
LOWui/lib/store/apis/tempToken.ts1// Module-level state for the temp-token scope wrapper.COMMENT
LOWcore/bifrost_test.go1701// caused the "send on closed channel" production panic in the OLD code.COMMENT
LOWcore/bifrost_test.go2081 if t.Failed() {COMMENT
LOWcore/utils.go341// internal sub-request (e.g. a plugin generating an embedding for its ownCOMMENT
LOWcore/bifrost.go101// Producers must check the closing flag or select on the done channel before sending.COMMENT
LOWcore/bifrost.go121// - Producers bail via case <-pq.done: — safeCOMMENT
LOWcore/bifrost.go2781// tool executions so PostMCPHook consumers (e.g. the logging plugin) see an explicit value.COMMENT
LOWcore/bifrost.go3581 return errCOMMENT
LOWcore/bifrost.go3861}COMMENT
LOWcore/bifrost.go3881// Message string `json:"message"`COMMENT
LOWcore/bifrost.go3961// Returns:COMMENT
LOWcore/bifrost.go4021//COMMENT
LOWcore/bifrost.go4061 )COMMENT
LOWcore/bifrost.go4461 ShortCircuitResponse *schemas.BifrostResponseCOMMENT
LOWcore/bifrost.go5701// errAllKeysDead is returned by a keyProvider closure when every key in the configured poolCOMMENT
LOWcore/bifrost.go6361 // BifrostContextKeyStoreRawRequestResponse). A context value set to either trueCOMMENT
LOWcore/bifrost.go6601 // snapshots its own attemptResolvedModel inside the per-attempt closure.COMMENT
LOWcore/bifrost.go6641 // Snapshot per-attempt so postHookRunner doesn't observe a later retry'sCOMMENT
LOWcore/bifrost.go7301// top-level request. Plugins mutate req.Provider, req.Model, req.Fallbacks (and any other fieldCOMMENT
LOWcore/bifrost.go7341COMMENT
LOWcore/bifrost.go8201// permitted. Key selection (choosing which key to use) is deferred to executeRequestWithRetriesCOMMENT
LOWcore/providers/gemini/passthrough_usage.go261COMMENT
LOWcore/providers/gemini/types.go61 // Token generation reached a natural stopping point or a configured stop sequence.COMMENT
LOWcore/providers/gemini/types.go221 // will validate function calls with constrained decoding. If "allowed_function_names"COMMENT
LOWcore/providers/gemini/types.go261 Behavior Behavior `json:"behavior,omitempty"`COMMENT
LOWcore/providers/gemini/types.go281 // "age": { "type": "integer" } }, "additionalProperties": false, "required": ["name",COMMENT
LOWcore/providers/gemini/types.go301 // If set, the system will wait to receive the function response before continuing theCOMMENT
LOWcore/providers/gemini/types.go441COMMENT
LOWcore/providers/gemini/types.go461COMMENT
LOWcore/providers/gemini/types.go481 // - The audience for the token will be set to the URL in the server URL defined inCOMMENT
LOWcore/providers/gemini/types.go621 // for those data stores. This is only considered for Engines with multiple data stores.COMMENT
LOWcore/providers/gemini/types.go701 // only or ragfiles. Currently only support one corpus or multiple files from one corpus.COMMENT
LOWcore/providers/gemini/types.go721 // Use data source powered by external API for grounding.COMMENT
LOWcore/providers/gemini/types.go741 // to the model for generation.COMMENT
LOWcore/providers/gemini/types.go841// and https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/content-generation-parameters.COMMENT
LOWcore/providers/gemini/types.go861 // Optional. Positive penalties.COMMENT
LOWcore/providers/gemini/types.go881 // otherwise the behavior is undefined. This is a preview feature.COMMENT
LOWcore/providers/gemini/types.go941COMMENT
LOWcore/providers/gemini/types.go1281COMMENT
LOWcore/providers/gemini/types.go1581 // calls (see FunctionDeclaration.behavior for details), ignored otherwise. If false,COMMENT
515 more matches not shown…
Structural Annotation Overuse296 hits · 472 pts
SeverityFileLineSnippetContext
LOWui/app/workspace/mcp-logs/views/emptyState.tsx88# Step 1: Initialize OpenAI client with BifrostCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx94# Step 2: Send chat requestCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx100# Step 3: Check for tool callsCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx104 # Step 4: Execute tool via BifrostCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx117 # Step 5: Continue conversation with resultsCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx129// Step 1: Initialize OpenAI client with BifrostCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx135// Step 2: Send chat requestCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx143// Step 3: Check for tool callsCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx146 // Step 4: Execute tool via BifrostCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx160 // Step 5: Continue conversation with resultsCOMMENT
LOWcore/bifrost_test.go1750 // Step 1: isClosing() passes — queue is open.COMMENT
LOWcore/bifrost_test.go1763 // Step 2: enter the exact select guard used in production.COMMENT
LOWcore/bifrost_test.go2133 // Step 2: atomically replace — new producers now get newPqCOMMENT
LOWcore/bifrost_test.go2135 // Step 4: signal old closing — stale producers will detect thisCOMMENT
LOWcore/bifrost_test.go2371 // Step 2: expose newPq first so stale producers can re-route to itCOMMENT
LOWcore/bifrost_test.go2375 // Step 3: transfer buffered messages oldPq → newPq.COMMENT
LOWcore/bifrost_test.go2391 // Step 4: signal closing — producers holding a stale oldPq ref nowCOMMENT
LOWcore/bifrost.go3536 // Step 1: Load the ProviderQueue and verify provider existsCOMMENT
LOWcore/bifrost.go3543 // Step 2: Signal closing. Blocks new producers (isClosing() returns true) andCOMMENT
LOWcore/bifrost.go3548 // Step 3: Wait for all workers to finish in-flight requests and exit.COMMENT
LOWcore/bifrost.go3567 // Step 4: Remove the provider from the request queues.COMMENT
LOWcore/bifrost.go3570 // Step 5: Remove the provider from the wait groups.COMMENT
LOWcore/bifrost.go3573 // Step 6: Remove the provider from the providers slice.COMMENT
LOWcore/bifrost.go3648 // Step 1: Create provider instance before touching live routing state. IfCOMMENT
LOWcore/bifrost.go3655 // Step 2: Create new ProviderQueue and wait group with updated settings.COMMENT
LOWcore/bifrost.go3663 // Step 3: Atomically replace the provider in the providers slice before newCOMMENT
LOWcore/bifrost.go3777 // Step 6: Register cleanup before signalling the old queue. OtherwiseCOMMENT
LOWcore/bifrost.go3787 // Step 7: Signal the old queue is closing. Stale producers that still hold aCOMMENT
LOWcore/bifrost.go3792 // Step 8: Cleanup old workers asynchronously. Waiting here under the providerCOMMENT
LOWcore/bifrost.go6403 // Step 2: derive per-side capture and strip flags.COMMENT
LOWcore/bifrost.go6411 // Step 3: write all internal signals explicitly (never touch the user override keys).COMMENT
LOWcore/bifrost.go3706 // Step 4: Publish the new queue/wait group and start new workers before oldCOMMENT
LOWcore/bifrost.go3722 // Step 5: Transfer buffered requests from the old queue to the new queue BEFORECOMMENT
LOWcore/bifrost.go6379 // Step 1: compute effective value for each flag (provider config ← per-request override).COMMENT
LOWcore/providers/utils/models.go274 // Step 1: resolve name — collect all alias matches (or the raw ID if none match).COMMENT
LOWcore/providers/utils/models.go281 // Step 2: allowlist check.COMMENT
LOWcore/providers/utils/models.go297 // Step 3: blacklist check — blacklist always wins regardless of allowlist or aliases.COMMENT
LOWcore/providers/utils/utils_test.go353 // Step 1: Parse the error (like ParseOpenAIError does)COMMENT
LOWcore/providers/utils/utils_test.go366 // Step 2: Enrich with request (like providers do)COMMENT
LOWcore/providers/bedrock/bedrock_test.go2526 // Step 1: BedrockConverseRequest → BifrostResponsesRequestCOMMENT
LOWcore/providers/bedrock/bedrock_test.go2534 // Step 2: BifrostResponsesRequest → BedrockConverseRequestCOMMENT
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/openai/realtime_test.go759 // Step 1: Parse the client event (same path as wsrealtime.go).COMMENT
LOWcore/providers/openai/realtime_test.go768 // Step 2: Convert back to provider format.COMMENT
LOWcore/providers/openai/realtime_test.go775 // 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
LOWcore/internal/llmtests/provider_feature_support_test.go889 // Step 1: Validate tools for providerCOMMENT
LOWcore/internal/llmtests/provider_feature_support_test.go898 // Step 2: Convert bifrost request → anthropic requestCOMMENT
LOWcore/internal/llmtests/provider_feature_support_test.go919 // Step 3: Verify web_search tool type if expectedCOMMENT
LOWcore/internal/llmtests/provider_feature_support_test.go934 // Step 4: Run beta header injectionCOMMENT
236 more matches not shown…
Verbosity Indicators225 hits · 365 pts
SeverityFileLineSnippetContext
LOWui/app/workspace/mcp-logs/views/emptyState.tsx88# Step 1: Initialize OpenAI client with BifrostCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx94# Step 2: Send chat requestCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx100# Step 3: Check for tool callsCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx104 # Step 4: Execute tool via BifrostCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx117 # Step 5: Continue conversation with resultsCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx129// Step 1: Initialize OpenAI client with BifrostCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx135// Step 2: Send chat requestCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx143// Step 3: Check for tool callsCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx146 // Step 4: Execute tool via BifrostCOMMENT
LOWui/app/workspace/mcp-logs/views/emptyState.tsx160 // Step 5: Continue conversation with resultsCOMMENT
LOWcore/bifrost_test.go1750 // Step 1: isClosing() passes — queue is open.COMMENT
LOWcore/bifrost_test.go1763 // Step 2: enter the exact select guard used in production.COMMENT
LOWcore/bifrost_test.go2133 // Step 2: atomically replace — new producers now get newPqCOMMENT
LOWcore/bifrost_test.go2135 // Step 4: signal old closing — stale producers will detect thisCOMMENT
LOWcore/bifrost_test.go2371 // Step 2: expose newPq first so stale producers can re-route to itCOMMENT
LOWcore/bifrost_test.go2375 // Step 3: transfer buffered messages oldPq → newPq.COMMENT
LOWcore/bifrost_test.go2391 // Step 4: signal closing — producers holding a stale oldPq ref nowCOMMENT
LOWcore/bifrost.go3536 // Step 1: Load the ProviderQueue and verify provider existsCOMMENT
LOWcore/bifrost.go3543 // Step 2: Signal closing. Blocks new producers (isClosing() returns true) andCOMMENT
LOWcore/bifrost.go3548 // Step 3: Wait for all workers to finish in-flight requests and exit.COMMENT
LOWcore/bifrost.go3567 // Step 4: Remove the provider from the request queues.COMMENT
LOWcore/bifrost.go3570 // Step 5: Remove the provider from the wait groups.COMMENT
LOWcore/bifrost.go3573 // Step 6: Remove the provider from the providers slice.COMMENT
LOWcore/bifrost.go3648 // Step 1: Create provider instance before touching live routing state. IfCOMMENT
LOWcore/bifrost.go3655 // Step 2: Create new ProviderQueue and wait group with updated settings.COMMENT
LOWcore/bifrost.go3663 // Step 3: Atomically replace the provider in the providers slice before newCOMMENT
LOWcore/bifrost.go3777 // Step 6: Register cleanup before signalling the old queue. OtherwiseCOMMENT
LOWcore/bifrost.go3787 // Step 7: Signal the old queue is closing. Stale producers that still hold aCOMMENT
LOWcore/bifrost.go3792 // Step 8: Cleanup old workers asynchronously. Waiting here under the providerCOMMENT
LOWcore/bifrost.go6403 // Step 2: derive per-side capture and strip flags.COMMENT
LOWcore/bifrost.go6411 // Step 3: write all internal signals explicitly (never touch the user override keys).COMMENT
LOWcore/bifrost.go3706 // Step 4: Publish the new queue/wait group and start new workers before oldCOMMENT
LOWcore/bifrost.go3722 // Step 5: Transfer buffered requests from the old queue to the new queue BEFORECOMMENT
LOWcore/bifrost.go6379 // Step 1: compute effective value for each flag (provider config ← per-request override).COMMENT
LOWcore/providers/utils/models.go274 // Step 1: resolve name — collect all alias matches (or the raw ID if none match).COMMENT
LOWcore/providers/utils/models.go281 // Step 2: allowlist check.COMMENT
LOWcore/providers/utils/models.go297 // Step 3: blacklist check — blacklist always wins regardless of allowlist or aliases.COMMENT
LOWcore/providers/utils/utils_test.go353 // Step 1: Parse the error (like ParseOpenAIError does)COMMENT
LOWcore/providers/utils/utils_test.go366 // Step 2: Enrich with request (like providers do)COMMENT
LOWcore/providers/bedrock/bedrock_test.go2526 // Step 1: BedrockConverseRequest → BifrostResponsesRequestCOMMENT
LOWcore/providers/bedrock/bedrock_test.go2534 // Step 2: BifrostResponsesRequest → BedrockConverseRequestCOMMENT
LOWcore/providers/anthropic/responses.go2530 // If ContentIndex is 0, we need to check if there's reasoning content in the responseCOMMENT
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.go987 // So we need to check if the response.Usage is nil and then if usage != nilCOMMENT
LOWcore/providers/openai/realtime_test.go759 // Step 1: Parse the client event (same path as wsrealtime.go).COMMENT
LOWcore/providers/openai/realtime_test.go768 // Step 2: Convert back to provider format.COMMENT
LOWcore/providers/openai/realtime_test.go775 // Step 3: Verify the output JSON contains the audio field with correct value.COMMENT
LOWcore/providers/openai/openai.go672 // So we need to check if the response.Usage is nil and then if usage != nilCOMMENT
LOWcore/providers/openai/openai.go1329 // 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
LOWcore/internal/llmtests/transcription.go164 // Step 2: Transcribe the generated audioCOMMENT
165 more matches not shown…
Excessive Try-Catch Wrapping206 hits · 172 pts
SeverityFileLineSnippetContext
LOWtests/load_test_parameter_ordering.sh635except Exception as e:CODE
LOWtests/integrations/python/README.md996 except Exception as e:CODE
LOWtests/integrations/python/README.md1361 except Exception as e:CODE
MEDIUMtests/integrations/python/README.md1362 print(f"Error extracting tool calls: {e}")CODE
LOWtests/integrations/python/README.md1471 except Exception as e:CODE
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.py4191def test_11_file_upload_and_container_upload(self, files_beta_client):CODE
LOWtests/integrations/python/tests/test_anthropic.py1130 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1133 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py941 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py944 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py999 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1002 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1049 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1112 except Exception as download_error:CODE
LOWtests/integrations/python/tests/test_anthropic.py1179 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1257 except Exception:CODE
LOWtests/integrations/python/tests/test_anthropic.py1305 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1347 except Exception as results_error:CODE
LOWtests/integrations/python/tests/test_anthropic.py1362 except Exception:CODE
LOWtests/integrations/python/tests/test_anthropic.py1365 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py1441 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py2667 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py4217 except Exception as e:CODE
LOWtests/integrations/python/tests/test_anthropic.py4219 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3113 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3640 except Exception:CODE
LOWtests/integrations/python/tests/test_openai.py3807 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3898 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3904 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py357 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py843 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py1011 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py1162 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py1207 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py1243 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py1277 except Exception as base64_error:CODE
LOWtests/integrations/python/tests/test_openai.py1280 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py1724 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py2308 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py2442 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py2915 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py2968 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3015 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3175 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3213 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3217 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3292 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3297 except Exception as e:CODE
LOWtests/integrations/python/tests/test_openai.py3371 except Exception:CODE
LOWtests/integrations/python/tests/test_openai.py3409 except Exception:CODE
LOWtests/integrations/python/tests/test_openai.py3414 except Exception:CODE
LOWtests/integrations/python/tests/test_openai.py3483 except Exception:CODE
LOWtests/integrations/python/tests/test_openai.py3488 except Exception:CODE
LOWtests/integrations/python/tests/test_openai.py3534 except Exception:CODE
LOWtests/integrations/python/tests/test_openai.py3571 except Exception:CODE
LOWtests/integrations/python/tests/test_openai.py3716 except Exception as e:CODE
146 more matches not shown…
Hyper-Verbose Identifiers196 hits · 158 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.tsx4export default function GuardrailsConfigurationView() {CODE
LOW…ponents/large-payload/largePayloadSettingsFragment.tsx9export default function LargePayloadSettingsFragment(_props: LargePayloadSettingsFragmentProps) {CODE
LOW…/prompt-deployments/promptDeploymentsAccordionItem.tsx8export 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/page.tsx156function preventNegativeBoundaryKey(event: KeyboardEvent<HTMLInputElement>) {CODE
LOWui/app/workspace/complexity-router/page.tsx162function preventNegativeBoundaryPaste(event: ClipboardEvent<HTMLInputElement>) {CODE
LOWui/app/workspace/complexity-router/page.tsx168function preventNegativeBoundaryDrop(event: DragEvent<HTMLInputElement>) {CODE
LOWui/app/workspace/guardrails/configuration/page.tsx3export default function GuardrailsConfigurationPage() {CODE
LOW…orkspace/plugins/dialogs/confirmDeletePluginDialog.tsx22export default function ConfirmDeletePluginDialog({ show, onCancel, onDelete, plugin }: Props) {CODE
LOWui/app/workspace/providers/routing-rules/page.tsx3export default function ProvidersRoutingRulesPage() {CODE
LOW…kspace/providers/dialogs/addNewCustomProviderSheet.tsx42export function AddCustomProviderSheetContent({ show = true, onClose, onSave }: AddCustomProviderSheetContentProps) {CODE
LOW…pace/providers/dialogs/confirmDeleteProviderDialog.tsx23export default function ConfirmDeleteProviderDialog({ show, onCancel, onDelete, provider }: Props) {CODE
LOW…rkspace/providers/views/modelProviderKeysTableView.tsx85export default function ModelProviderKeysTableView({ provider, className, headerActions, isKeyless }: Props) {CODE
LOWui/app/workspace/adaptive-routing/settings/page.tsx3export default function AdaptiveRoutingSettingsPage() {CODE
LOW…ustom-pricing/overrides/scopedPricingOverridesView.tsx36function PricingOverrideActionsMenu({CODE
LOW…ustom-pricing/overrides/scopedPricingOverridesView.tsx165export default function ScopedPricingOverridesView() {CODE
LOW…ustom-pricing/overrides/pricingOverridesEmptyState.tsx10export function PricingOverridesEmptyState({ onCreateClick }: PricingOverridesEmptyStateProps) {CODE
LOWui/app/workspace/custom-pricing/overrides/page.tsx3export default function ScopedPricingOverridesPage() {CODE
LOW…ard/components/charts/externalCacheTokenMeterChart.tsx16function ExternalCacheTokenMeterChartImpl({ data }: ExternalCacheTokenMeterChartProps) {CODE
LOW…hboard/components/charts/localCacheTokenMeterChart.tsx13function LocalCacheTokenMeterChartImpl({ data }: LocalCacheTokenMeterChartProps) {CODE
LOW…/mcp-registry/library/views/mcpLibraryServersTable.tsx190export function MCPLibraryServersTableSkeleton({ rows = 8 }: { rows?: number }) {CODE
LOW…ce/mcp-registry/library/views/mcpLibraryServerCard.tsx226export function MCPLibraryServerCardSkeleton() {CODE
LOWui/app/workspace/mcp-registry/views/mcpClientSheet.tsx55function toolSyncIntervalToMinutes(v: number | undefined | null): number {CODE
LOWui/app/workspace/mcp-registry/views/mcpClientSheet.tsx64function toolExecutionTimeoutToSeconds(v: string | number | undefined | null): number {CODE
LOW…pp/workspace/mcp-registry/views/mcpUsageGuide/utils.ts68export function isClientAllowedForVirtualKey(client: MCPClient, virtualKey: VirtualKey): boolean {CODE
LOW…/mcpUsageGuide/harnesses/antigravityHarnessInstall.tsx13export function AntigravityHarnessInstall({CODE
LOWui/app/workspace/mcp-registry/oauth-callback/page.tsx15export default function MCPRegistryOAuthCallbackPage() {CODE
LOW…p/workspace/logs/sheets/observabilitySettingsSheet.tsx9export function ObservabilitySettingsSheet({ open, onOpenChange }: ObservabilitySettingsSheetProps) {CODE
LOWui/app/workspace/logs/views/logsHeaderView.tsx343function parseRecalculateCostStreamError(data: string): Error {CODE
LOWui/app/workspace/logs/views/columns.tsx44function getAssistantToolCallSummary(log?: LogEntry): string {CODE
LOWui/app/workspace/governance/business-units/page.tsx3export default function GovernanceBusinessUnitsPage() {CODE
LOWui/app/workspace/governance/virtual-keys/page.tsx14export default function GovernanceVirtualKeysPage() {CODE
LOWui/app/workspace/mcp-sessions/auth-success/page.tsx3export default function MCPSessionsAuthSuccessPage() {CODE
LOWui/app/workspace/mcp-sessions/auth-failed/page.tsx4export default function MCPSessionsAuthFailedPage() {CODE
LOWui/components/devProfiler.tsx85function loadSkippedGoroutineFiles(): Set<string> {CODE
LOWui/components/devProfiler.tsx96function saveSkippedGoroutineFiles(skipped: Set<string>): void {CODE
LOWui/lib/message/variables.ts26export function extractVariablesFromMessages(messages: Message[]): string[] {CODE
LOWui/lib/message/variables.ts56export function replaceVariablesInMessages(messages: Message[], variables: VariableMap): Message[] {CODE
LOWui/lib/utils/validation.ts209export function isValidVertexAuthCredentials(value: string): boolean {CODE
LOWui/lib/utils/celConverterRouting.ts332export function validateRateLimitAndBudgetRules(ruleGroup: RuleGroupType | undefined): string[] {CODE
LOWui/lib/utils/routingRuleGroupQuery.ts20export function normalizeRoutingRuleGroupQuery(q: unknown): RuleGroupType {CODE
LOWui/lib/store/apis/mcpSessionsApi.ts18function buildMCPSessionsListParams(params?: MCPSessionsQueryParams) {CODE
LOWtests/integrations/python/README.md1299def extract_your_integration_tool_calls(response) -> List[Dict[str, Any]]:CODE
LOWtests/integrations/python/README.md1345def extract_your_integration_tool_calls(response: Any) -> List[Dict[str, Any]]:CODE
LOWtests/integrations/python/README.md1395def assert_valid_chat_response(response):CODE
LOWtests/integrations/python/README.md1409def convert_to_your_integration_tools(tools: List[Dict[str, Any]]) -> List[Dict[str, Any]]:CODE
LOWtests/integrations/python/README.md1428def convert_to_your_integration_messages(messages: List[Dict[str, Any]]) -> List[Dict[str, Any]]:CODE
LOWtests/integrations/python/tests/test_anthropic.py138def get_provider_anthropic_client(provider, passthrough: bool = False):CODE
LOWtests/integrations/python/tests/test_anthropic.py161def convert_to_anthropic_messages(CODE
LOWtests/integrations/python/tests/test_anthropic.py211def convert_to_anthropic_tools(tools: List[Dict[str, Any]]) -> List[Dict[str, Any]]:CODE
LOWtests/integrations/python/tests/test_anthropic.py2978def serialize_anthropic_content(content_blocks: List[Any]) -> List[Dict[str, Any]]:CODE
LOWtests/integrations/python/tests/test_anthropic.py3006def extract_anthropic_tool_calls(response: Any) -> List[Dict[str, Any]]:CODE
LOWtests/integrations/python/tests/test_openai.py206def extract_openai_tool_calls(response: Any) -> list[dict[str, Any]]:CODE
LOWtests/integrations/python/tests/test_openai.py247def get_provider_openai_client(provider, vk_enabled=False):CODE
LOWtests/integrations/python/tests/test_openai.py313def _wait_for_video_terminal_status(CODE
LOWtests/integrations/python/tests/test_openai.py1796 def test_chat_completion_with_file(self, test_config, provider, model, vk_enabled):CODE
LOWtests/integrations/python/tests/test_openai.py2605 def test_xai_x_search_with_handles(self, openai_client, test_config):CODE
136 more matches not shown…
Redundant / Tautological Comments119 hits · 158 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.py599 # Check if response is approximately 5 words (allow some flexibility)COMMENT
LOWtests/integrations/python/tests/test_anthropic.py2582 # Check if cache was writtenCOMMENT
LOWtests/integrations/python/tests/test_anthropic.py2615 # Check if cache was readCOMMENT
LOWtests/integrations/python/tests/test_anthropic.py3433 # Check if compaction triggered a pauseCOMMENT
LOWtests/integrations/python/tests/test_anthropic.py3563 # Check if compaction occurredCOMMENT
LOWtests/integrations/python/tests/test_openai.py684 # Check if response is approximately 5 words (allow some flexibility)COMMENT
LOWtests/integrations/python/tests/test_openai.py2346 # Check if we have a reasoning message typeCOMMENT
LOWtests/integrations/python/tests/test_langchain.py1305 # Check if usage metadata is available (Gemini-specific)COMMENT
LOWtests/integrations/python/tests/test_bedrock.py471 # Check if response has contentCOMMENT
LOWtests/integrations/python/tests/test_bedrock.py785 # Check if response has contentCOMMENT
LOWtests/integrations/python/tests/test_bedrock.py910 # 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.py606 # Check if function call was made (Google GenAI might return function calls)COMMENT
LOWtests/integrations/python/tests/test_google.py630 # Check if function calls were madeCOMMENT
LOWtests/integrations/python/tests/test_google.py655 # Check if function call was madeCOMMENT
LOWtests/integrations/python/tests/test_google.py693 # Check if function calls were madeCOMMENT
LOWtests/integrations/python/tests/utils/common.py3410 # 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.py2710 # Check if this is a LangChain AIMessage objectCOMMENT
LOWtests/integrations/python/tests/utils/common.py2752 # Check if we have a reasoning message typeCOMMENT
LOWtests/integrations/python/tests/utils/common.py3395 # 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.sh40# Check if Newman is installedCOMMENT
LOWtests/e2e/api/runners/run-newman-api-tests.sh47# 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…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…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
LOW…runners/individual/run-newman-anthropic-integration.sh55# Check if Newman is installedCOMMENT
LOW…runners/individual/run-newman-anthropic-integration.sh62# Check if collection existsCOMMENT
LOW…runners/individual/run-newman-anthropic-integration.sh68# Check if environment existsCOMMENT
LOW…runners/individual/run-newman-anthropic-integration.sh259 # Check if we're entering a JSON blockCOMMENT
LOW…runners/individual/run-newman-anthropic-integration.sh273 # Check if we're exiting a JSON blockCOMMENT
LOW…e2e/api/runners/individual/run-newman-vk-auth-tests.sh76# Check if Newman is installedCOMMENT
LOW…e2e/api/runners/individual/run-newman-vk-auth-tests.sh83# Check if collection existsCOMMENT
LOWdocs/openapi/bundle.py175 # Check if this resolves to a registered componentCOMMENT
59 more matches not shown…
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
Fake / Example Data74 hits · 82 pts
SeverityFileLineSnippetContext
LOW…re/providers/gemini/list_models_single_payload_test.go50 key := schemas.Key{Value: *schemas.NewSecretVar("dummy-key")}CODE
LOWcore/providers/gemini/fileupload_test.go29 if got := r.Header.Get("x-goog-api-key"); got != "dummy-key" {CODE
LOWcore/providers/gemini/fileupload_test.go109 key := schemas.Key{Value: *schemas.NewSecretVar("dummy-key")}CODE
LOWcore/providers/bedrock/bedrock_test.go5989 Input: json.RawMessage(`{"name":"John Doe","age":28,"city":"Pune"}`),CODE
LOWcore/providers/bedrock/bedrock_test.go6024 Input: json.RawMessage(`{"name":"John Doe","age":28,"city":"Pune"}`),CODE
LOWframework/encrypt/encrypt_test.go41 plaintext: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doCODE
LOWframework/encrypt/encrypt_test.go41 plaintext: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doCODE
LOWtransports/bifrost-http/lib/validator_test.go476 "name": "Acme Corp"CODE
LOWtransports/bifrost-http/lib/validator_test.go494 "name": "Acme Corp"CODE
LOWtests/integrations/python/dummy-gcp-credentials.json4 "private_key_id": "dummy-key-id-12345",CODE
LOWtests/integrations/python/tests/test_pydanticai.py517 api_key="dummy-key"CODE
LOWtests/integrations/python/tests/test_langchain.py988 api_key="dummy-key", # Keys managed by BifrostCODE
LOWtests/integrations/python/tests/test_langchain.py1018 api_key="dummy-key",CODE
LOWtests/integrations/python/tests/test_langchain.py1166 api_key="dummy-key",CODE
LOWtests/integrations/python/tests/test_langchain.py1202 api_key="dummy-key",CODE
LOWtests/integrations/python/tests/test_langchain.py1252 api_key="dummy-key",CODE
LOWtests/integrations/python/tests/test_langchain.py1290 api_key="dummy-key",CODE
LOWtests/integrations/python/tests/test_langchain.py1399 api_key="dummy-key",CODE
LOWtests/integrations/python/tests/test_langchain.py1430 api_key="dummy-key",CODE
LOWtests/integrations/python/tests/test_langchain.py1465 api_key="dummy-key",CODE
LOWtests/integrations/typescript/tests/test-azure.test.ts129 const apiKey = hasApiKey('azure') ? getApiKey('azure') : 'dummy-key'CODE
LOWtests/integrations/typescript/tests/test-openai.test.ts129 const apiKey = hasApiKey('openai') ? getApiKey('openai') : 'dummy-key'CODE
LOWtests/integrations/typescript/tests/test-google.test.ts80 const apiKey = hasApiKey('gemini') ? getApiKey('gemini') : 'dummy-key'CODE
LOW…s/integrations/typescript/tests/test-anthropic.test.ts102 const apiKey = hasApiKey('anthropic') ? getApiKey('anthropic') : 'dummy-key'CODE
LOW…s/integrations/typescript/tests/test-langchain.test.ts53 const apiKey = hasApiKey('openai') ? getApiKey('openai') : 'dummy-key'CODE
LOW…s/integrations/typescript/tests/test-langchain.test.ts70 const apiKey = hasApiKey('anthropic') ? getApiKey('anthropic') : 'dummy-key'CODE
LOW…s/integrations/typescript/tests/test-langchain.test.ts84 const apiKey = hasApiKey('gemini') ? getApiKey('gemini') : 'dummy-key'CODE
LOW…s/integrations/typescript/tests/test-langchain.test.ts213 const apiKey = hasApiKey('openai') ? getApiKey('openai') : 'dummy-key'CODE
LOW…s/integrations/typescript/tests/test-langchain.test.ts383 const apiKey = hasApiKey('anthropic') ? getApiKey('anthropic') : 'dummy-key'CODE
LOW…s/integrations/typescript/tests/test-langchain.test.ts726 const apiKey = hasApiKey('openai') ? getApiKey('openai') : 'dummy-key'CODE
LOW…s/integrations/typescript/tests/test-langchain.test.ts768 const apiKey = hasApiKey('anthropic') ? getApiKey('anthropic') : 'dummy-key'CODE
LOW…s/integrations/typescript/tests/test-langchain.test.ts808 const apiKey = hasApiKey('gemini') ? getApiKey('gemini') : 'dummy-key'CODE
LOWtests/governance/providerbudget_test.go75 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/providerbudget_test.go75 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/providerbudget_test.go81 "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/providerbudget_test.go81 "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/providerbudget_test.go165 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/providerbudget_test.go165 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/providerbudget_test.go171 "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/providerbudget_test.go171 "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/teambudget_test.go84 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/teambudget_test.go84 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/teambudget_test.go90 "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/teambudget_test.go90 "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/customerbudget_test.go84 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/customerbudget_test.go84 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/customerbudget_test.go90 "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/customerbudget_test.go90 "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/customerbudget_test.go260 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/customerbudget_test.go260 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/customerbudget_test.go266 "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/customerbudget_test.go266 "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/edgecases_test.go115 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/edgecases_test.go115 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/edgecases_test.go121 "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/edgecases_test.go121 "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/vkbudget_test.go56 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/vkbudget_test.go56 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/vkbudget_test.go62 "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOWtests/governance/vkbudget_test.go62 "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
14 more matches not shown…
Modern AI Meta-Vocabulary29 hits · 71 pts
SeverityFileLineSnippetContext
MEDIUMAGENTS.md46│ │ ├── agent.go # Agent orchestration loop (multi-turn tool calling)CODE
MEDIUMAGENTS.md266├── <name>.go # Controller: constructor, interface methods, HTTP orchestrationCODE
MEDIUM…/components/guardrails/guardrailsConfigurationView.tsx12 readmeLink="https://docs.getbifrost.ai/enterprise/guardrails"CODE
MEDIUM…prise/components/guardrails/guardrailsProviderView.tsx12 readmeLink="https://docs.getbifrost.ai/enterprise/guardrails"CODE
MEDIUMcore/providers/bedrock/types.go192 GuardContent *BedrockGuardContent `json:"guardContent,omitempty"` // Guard content for guardrailsCODE
MEDIUMcore/providers/bedrock/types.go216 // Guard content (for guardrails)COMMENT
MEDIUMcore/providers/bedrock/types.go330// BedrockGuardContent represents guard content for guardrailsCOMMENT
MEDIUMcore/providers/bedrock/types.go344// BedrockGuardContentText represents text content for guardrailsCOMMENT
MEDIUMcore/providers/anthropic/types.go290// AnthropicTaskBudget represents an advisory token budget for a full agentic loop (output_config.task_budget).COMMENT
MEDIUMcore/providers/anthropic/types.go296 Total int `json:"total"` // total advisory token budget across the agentic loopCODE
MEDIUMcore/providers/anthropic/types.go954// AnthropicToolCallerType identifies which agentic caller produced a toolCOMMENT
MEDIUMcore/network/http.go30 // ClientPurposeAPI is used for general API requests (guardrails, etc.)COMMENT
MEDIUMcore/schemas/responses.go1485// server_tool_use / *_tool_result blocks. It links a tool call to the agenticCOMMENT
MEDIUMcore/schemas/responses.go1547 // Caller links this call to the agentic caller that produced it (programmaticCOMMENT
MEDIUMcore/schemas/redaction.go19// RedactionData carries request-scoped redaction data from guardrails to log and trace sinks.COMMENT
MEDIUMcore/schemas/bifrost.go329 BifrostContextKeyRedactionData BifrostContextKey = "bifrost-redaction-data" CODE
MEDIUMtests/integrations/python/config.yml834 max_tokens: 32000 # 32k token context window for TTSCODE
MEDIUMtests/integrations/python/config.yml848 max_tokens: 32000 # 32k token context window for TTSCODE
MEDIUMtests/integrations/python/tests/test_anthropic.py727 max_tokens=4000, # Reduced to prevent token limit errors for smaller context window modelsCODE
MEDIUMtests/integrations/typescript/config.yml834 max_tokens: 32000 # 32k token context window for TTSCODE
MEDIUMtests/integrations/typescript/config.yml848 max_tokens: 32000 # 32k token context window for TTSCODE
MEDIUMexamples/k8s/enterprise/values-guardrails.yaml1# Enterprise overlay: guardrails documentation sample.COMMENT
MEDIUMexamples/k8s/enterprise/values-guardrails.yaml96 endpoint: "https://example-guardrails.cognitiveservices.azure.com/"CODE
MEDIUMexamples/k8s/enterprise/values-guardrails.yaml112 endpoint: "https://example-guardrails.cognitiveservices.azure.com/"CODE
MEDIUMexamples/k8s/enterprise/values-guardrails.yaml130 endpoint: "https://example-guardrails.cognitiveservices.azure.com/"CODE
MEDIUMexamples/k8s/enterprise/values-guardrails.yaml224 endpoint: "https://example-guardrails.cognitiveservices.azure.com/"CODE
MEDIUMexamples/k8s/enterprise/README.md34## Add enterprise guardrails overlayCOMMENT
MEDIUM…s/bifrost-migration-cli/scripts/create_virtual_keys.sh245# --- Case 26: guardrails ---------------------------------------------------COMMENT
MEDIUMscripts/bifrost-migration-cli/scripts/create_teams.sh211# --- Case 18: guardrails (enterprise) --------------------------------------COMMENT
Self-Referential Comments19 hits · 55 pts
SeverityFileLineSnippetContext
MEDIUMcore/mcp/codemode/starlark/getdocs.go153 sb.WriteString("# This file contains Python documentation for a specific tool on this MCP server.\n")CODE
MEDIUMcore/mcp/codemode/starlark/getdocs.go155 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.py1509 # Create a job to cancelCOMMENT
MEDIUMtests/integrations/python/tests/test_google.py259 # Create a function declaration dictionary with lowercase typesCOMMENT
MEDIUMtests/integrations/python/tests/test_google.py276 # Create a Tool object containing the function declarationCOMMENT
MEDIUMtests/integrations/python/tests/test_google.py311 # Create a white backgroundCOMMENT
MEDIUMtests/integrations/python/tests/test_google.py1950 # 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.github/workflows/scripts/test-bifrost-http.sh181 # Create a temporary log file for server outputCOMMENT
MEDIUM…-charts/bifrost/values-examples/postgres-weaviate.yaml61 # 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.yaml119 # 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.yaml48 # Create the secret with: kubectl create secret generic bifrost-semantic-cache --from-literal=openai-key=sk-YOUR_OCOMMENT
MEDIUM…lm-charts/bifrost/values-examples/postgres-qdrant.yaml69 # 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.yaml49 # Create the secret with: kubectl create secret generic bifrost-semantic-cache --from-literal=openai-key=sk-YOUR_OCOMMENT
MEDIUMhelm-charts/bifrost/values-examples/sqlite-redis.yaml62 # 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.yaml64 # Create the secret with: kubectl create secret generic bifrost-semantic-cache --from-literal=openai-key=sk-YOUR_OCOMMENT
Deep Nesting90 hits · 47 pts
SeverityFileLineSnippetContext
LOWtests/integrations/python/run_all_tests.py210CODE
LOWtests/integrations/python/tests/test_anthropic.py161CODE
LOWtests/integrations/python/tests/test_anthropic.py2978CODE
LOWtests/integrations/python/tests/test_anthropic.py3006CODE
LOWtests/integrations/python/tests/test_anthropic.py502CODE
LOWtests/integrations/python/tests/test_anthropic.py718CODE
LOWtests/integrations/python/tests/test_anthropic.py794CODE
LOWtests/integrations/python/tests/test_anthropic.py1905CODE
LOWtests/integrations/python/tests/test_anthropic.py2092CODE
LOWtests/integrations/python/tests/test_anthropic.py2172CODE
LOWtests/integrations/python/tests/test_anthropic.py2297CODE
LOWtests/integrations/python/tests/test_anthropic.py2351CODE
LOWtests/integrations/python/tests/test_anthropic.py2460CODE
LOWtests/integrations/python/tests/test_anthropic.py2507CODE
LOWtests/integrations/python/tests/test_anthropic.py2626CODE
LOWtests/integrations/python/tests/test_anthropic.py2674CODE
LOWtests/integrations/python/tests/test_anthropic.py2725CODE
LOWtests/integrations/python/tests/test_anthropic.py3206CODE
LOWtests/integrations/python/tests/test_anthropic.py3314CODE
LOWtests/integrations/python/tests/test_anthropic.py3674CODE
LOWtests/integrations/python/tests/test_anthropic.py3943CODE
LOWtests/integrations/python/tests/test_openai.py1842CODE
LOWtests/integrations/python/tests/test_openai.py1889CODE
LOWtests/integrations/python/tests/test_openai.py1925CODE
LOWtests/integrations/python/tests/test_openai.py1972CODE
LOWtests/integrations/python/tests/test_openai.py2179CODE
LOWtests/integrations/python/tests/test_openai.py2318CODE
LOWtests/integrations/python/tests/test_openai.py2565CODE
LOWtests/integrations/python/tests/test_openai.py2634CODE
LOWtests/integrations/python/tests/test_openai.py3128CODE
LOWtests/integrations/python/tests/test_openai.py3325CODE
LOWtests/integrations/python/tests/test_openai.py3494CODE
LOWtests/integrations/python/tests/test_openai.py3651CODE
LOWtests/integrations/python/tests/test_openai.py3984CODE
LOWtests/integrations/python/tests/test_openai.py4102CODE
LOWtests/integrations/python/tests/test_openai.py4250CODE
LOWtests/integrations/python/tests/test_openai.py4305CODE
LOWtests/integrations/python/tests/test_openai.py4358CODE
LOWtests/integrations/python/tests/conftest.py32CODE
LOWtests/integrations/python/tests/conftest.py92CODE
LOWtests/integrations/python/tests/test_pydanticai.py187CODE
LOWtests/integrations/python/tests/test_langchain.py1040CODE
LOWtests/integrations/python/tests/test_langchain.py1195CODE
LOWtests/integrations/python/tests/test_langchain.py1282CODE
LOWtests/integrations/python/tests/test_bedrock.py288CODE
LOWtests/integrations/python/tests/test_bedrock.py569CODE
LOWtests/integrations/python/tests/test_bedrock.py666CODE
LOWtests/integrations/python/tests/test_bedrock.py3009CODE
LOWtests/integrations/python/tests/test_bedrock.py3191CODE
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.py235CODE
LOWtests/integrations/python/tests/test_google.py364CODE
LOWtests/integrations/python/tests/test_google.py977CODE
LOWtests/integrations/python/tests/test_google.py1420CODE
LOWtests/integrations/python/tests/test_google.py2298CODE
LOWtests/integrations/python/tests/test_google.py3440CODE
LOWtests/integrations/python/tests/utils/config_loader.py90CODE
30 more matches not shown…
AI Slop Vocabulary15 hits · 42 pts
SeverityFileLineSnippetContext
MEDIUMui/app/workspace/logs/views/logsVolumeChart.tsx264 // This is more robust than exact timestamp matchingCOMMENT
MEDIUMcore/providers/gemini/types.go709 // Live API, if `store_context` bool is specified, Gemini will leverage it to automaticallyCOMMENT
MEDIUMcore/providers/openai/openai.go3492 // Determine image index with robust tracking for interleaved chunksCOMMENT
MEDIUMcore/providers/openai/openai.go4978 // Determine image index with robust tracking for interleaved chunksCOMMENT
MEDIUMcore/network/http.go275 // 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.go206// Plugin authors should ensure their hooks are robust to both response and error being nil, and should not assume eitheCOMMENT
MEDIUMframework/logstore/rdb.go230 // Use array overlap operator which can leverage the GIN index onCOMMENT
MEDIUMframework/logstore/rdb.go345 // Use @> containment operator to leverage GIN index on metadata::jsonb.COMMENT
MEDIUMplugins/semanticcache/plugin_embedding_test.go182 // minimum margin that's robust to seconds-level rounding + a slow CI.COMMENT
MEDIUMtransports/bifrost-http/.air.debug.toml29# Run binary via delve debugger in headless mode on port 2345COMMENT
MEDIUMtests/integrations/python/tests/test_google.py3630 # 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
MEDIUMscripts/bifrost-migration-cli/scripts/seed_models.sh3# seed_models.sh - seed the comprehensive model fixture into a running LiteLLMCOMMENT
MEDIUM.github/workflows/scripts/create-docker-manifest.sh21# is robust to buildx changing the layout.COMMENT
Unused Imports35 hits · 22 pts
SeverityFileLineSnippetContext
LOWtests/integrations/python/run_all_tests.py23CODE
LOWtests/integrations/python/run_all_tests.py23CODE
LOWtests/integrations/python/tests/test_openai.py101CODE
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.py56CODE
LOWtests/integrations/python/tests/test_langchain.py56CODE
LOWtests/integrations/python/tests/test_langchain.py59CODE
LOWtests/integrations/python/tests/test_langchain.py113CODE
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.py89CODE
LOWtests/integrations/python/tests/test_litellm.py112CODE
LOWtests/integrations/python/tests/test_azure.py76CODE
LOWtests/integrations/python/tests/test_azure.py76CODE
LOWtests/integrations/python/tests/test_google.py72CODE
LOWtests/integrations/python/tests/test_google.py72CODE
LOWtests/integrations/python/tests/test_google.py72CODE
LOWtests/integrations/python/tests/utils/parametrize.py8CODE
LOWdocs/openapi/bundle.py32CODE
Cross-Language Confusion (JS/TS)3 hits · 18 pts
SeverityFileLineSnippetContext
HIGHui/app/workspace/mcp-logs/views/emptyState.tsx126 print(final_response.choices[0].message.content)`,CODE
HIGHui/app/workspace/mcp-logs/views/emptyState.tsx200print(response.choices[0].message.content)CODE
HIGHui/app/workspace/mcp-logs/views/emptyState.tsx204 print("Pending tools requiring approval:",CODE
Example Usage Blocks11 hits · 16 pts
SeverityFileLineSnippetContext
LOWplugins/telemetry/docker-compose.pushgateway.yml3# Usage:COMMENT
LOWtransports/bifrost-http/main.go30// Example 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…ost/values-examples/semantic-cache-secret-example.yaml6# Usage:COMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHcore/internal/mcptests/fixtures.go772 // Return the error as requestedCOMMENT
HIGHcore/internal/llmtests/image_generation.go129 // Validate dimensions are 1024x1024 as requestedCOMMENT
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
Magic Placeholder Names2 hits · 12 pts
SeverityFileLineSnippetContext
HIGHtests/integrations/python/README.md1370export YOUR_INTEGRATION_API_KEY="your-api-key"CODE
HIGHtests/integrations/typescript/README.md195 apiKey: 'your-api-key',CODE
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