AI Slop Code RIsk Monitor

tensorzero/tensorzero

TensorZero is an open-source LLMOps platform that unifies an LLM gateway, observability, evaluation, optimization, and experimentation.

5.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for tensorzero/tensorzero, a Rust project with 11,709 GitHub stars. SynthScan examined 680,326 lines of code across 2839 source files, recording 2380 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 5.5 (Moderate 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.

5.5
Adjusted Signal
5.5
Raw Pattern Score
100%
Time Factor
2026-06-11
Last Push
11.7K
Stars
Rust
Language
680.3K
Lines of Code
2.8K
Files
2.4K
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 12.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.3/100 · LOW

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

Agent Over-Engineering Ratio 14.1/100 · LOW

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

PR Review Velocity Impact 22.7/100 · LOW

Which changes need focused human review? 2380 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 39MEDIUM 462LOW 1879

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 2380 distinct pattern matches across 23 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.

Decorative Section Separators421 hits · 1425 pts
SeverityFileLineSnippetContext
MEDIUM…/components/autopilot/EventStream.ToolCall.stories.tsx154// ══════════════════════════════════════════════════════════════COMMENT
MEDIUM…/components/autopilot/EventStream.ToolCall.stories.tsx158// ══════════════════════════════════════════════════════════════COMMENT
MEDIUM…/components/autopilot/EventStream.ToolCall.stories.tsx257// ══════════════════════════════════════════════════════════════COMMENT
MEDIUM…/components/autopilot/EventStream.ToolCall.stories.tsx261// ══════════════════════════════════════════════════════════════COMMENT
MEDIUM…/components/autopilot/EventStream.ToolCall.stories.tsx389// ══════════════════════════════════════════════════════════════COMMENT
MEDIUM…/components/autopilot/EventStream.ToolCall.stories.tsx393// ══════════════════════════════════════════════════════════════COMMENT
MEDIUM…nts/autopilot/question-cards/QuestionCards.stories.tsx9// ── Fixtures ──────────────────────────────────────────────────────────COMMENT
MEDIUM…nts/autopilot/question-cards/QuestionCards.stories.tsx117// ── Meta ──────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-auto-approval.ts5// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-auto-approval.ts7// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-auto-approval.ts13// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-auto-approval.ts15// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-auto-approval.ts228 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-auto-approval.ts230 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-auto-approval.ts240 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-auto-approval.ts242 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-auto-approval.ts28// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-auto-approval.ts30// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-auto-approval.ts136// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-auto-approval.ts138// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-auto-approval.ts155// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-auto-approval.ts157// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-auto-approval.ts209 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-auto-approval.ts211 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-auto-approval.ts258 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-auto-approval.ts260 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-auto-approval.ts338 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-auto-approval.ts340 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-auto-approval.ts369 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-auto-approval.ts371 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-infinite-scroll-up.ts213 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-infinite-scroll-up.ts215 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-infinite-scroll-up.ts221 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-infinite-scroll-up.ts223 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-infinite-scroll-up.ts247 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-infinite-scroll-up.ts249 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-infinite-scroll-up.ts259 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡ui/app/hooks/use-infinite-scroll-up.ts261 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts6// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts8// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts49// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts51// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts128// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts130// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts145// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts147// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts196 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts198 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts325 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts327 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts348 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts350 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts384 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts386 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts397 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/app/hooks/use-infinite-scroll-up.ts399 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/e2e_tests/autopilot/user-questions.spec.ts6// ── Types ──────────────────────────────────────────────────────────────COMMENT
MEDIUMui/e2e_tests/autopilot/user-questions.spec.ts17// ── Payload builders ───────────────────────────────────────────────────COMMENT
MEDIUMui/e2e_tests/autopilot/user-questions.spec.ts139// ── Helpers ────────────────────────────────────────────────────────────COMMENT
MEDIUMui/e2e_tests/autopilot/user-questions.spec.ts151// ── Tests ──────────────────────────────────────────────────────────────COMMENT
361 more matches not shown…
Over-Commented Block650 hits · 649 pts
SeverityFileLineSnippetContext
LOWui/run_e2e_ui.sh1#! /bin/bashCOMMENT
LOWui/playwright.config.ts61 // },COMMENT
LOW…/components/autopilot/EventStream.ToolCall.stories.tsx381 { section: "deployment" },COMMENT
LOWui/e2e_tests/playground.spec.ts201COMMENT
LOW…2e_tests/observability.inferences.inference_id.spec.ts761// These inferences have metadata (in chat_inferences / json_inferences) but no dataCOMMENT
LOW…2e_tests/observability.inferences.inference_id.spec.ts781// ).toBeVisible();COMMENT
LOW…2e_tests/observability.inferences.inference_id.spec.ts801// ).toBeVisible();COMMENT
LOWcrates/.config/nextest.toml21# by using command-line '-E' flags, which are *intersected* with the default-filterCOMMENT
LOWcrates/tensorzero-python/Cargo.toml41[features]COMMENT
LOWcrates/tensorzero-python/.cargo/config.toml1# Note - this is a duplicate of the rustflags in the `.cargo/config.toml` fileCOMMENT
LOWcrates/tensorzero-python/src/lib.rs1#![recursion_limit = "256"]COMMENT
LOWcrates/tensorzero-python/src/lib.rs381}COMMENT
LOWcrates/tensorzero-python/src/lib.rs1081 _exc_type: Py<PyAny>,COMMENT
LOWcrates/tensorzero-python/src/lib.rs1141 /// Make a request to the /feedback endpoint of the gatewayCOMMENT
LOWcrates/tensorzero-python/src/lib.rs1181 match tokio_block_on_without_gil(py, fut) {COMMENT
LOWcrates/tensorzero-python/src/lib.rs1201 /// :param variant_name: If set, pins the inference request to a particular variant.COMMENT
LOWcrates/tensorzero-python/src/lib.rs1221 /// :param include_aggregated_response: If set, include the aggregated response in each streaming chunk. Only supporCOMMENT
LOWcrates/tensorzero-python/src/lib.rs1621 }COMMENT
LOWcrates/tensorzero-python/src/lib.rs1821 /// There are two things that need to happen in this function:COMMENT
LOWcrates/tensorzero-python/src/lib.rs1921 /// :param optimizer_config: The optimizer configuration dictionary.COMMENT
LOWcrates/tensorzero-python/src/lib.rs2001///COMMENT
LOWcrates/tensorzero-python/src/lib.rs2081 ) -> PyResult<()> {COMMENT
LOWcrates/tensorzero-python/src/lib.rs2161 }COMMENT
LOWcrates/tensorzero-python/src/lib.rs2181 /// :param output_schema: If set, the JSON schema of a JSON function call will be validated against the given JSON SCOMMENT
LOWcrates/tensorzero-python/src/lib.rs2301 /// :param value: The value of the feedback. It should correspond to the metric type.COMMENT
LOWcrates/tensorzero-python/src/lib.rs2681 /// * `inference_cache` - Cache configuration for inference requests ("on", "off", "read_only", or "write_only")COMMENT
LOWcrates/tensorzero-python/src/lib.rs2901 Err(e) => Err(convert_error(py, e)),COMMENT
LOWcrates/tensorzero-python/src/lib.rs2921 /// Renders stored inferences using the templates of the specified variants.COMMENT
LOWcrates/tensorzero-python/src/lib.rs3041COMMENT
LOWcrates/tensorzero-python/src/python_helpers.rs141 Ok(FunctionTool {COMMENT
LOWcrates/tensorzero-python/src/python_helpers.rs161///COMMENT
LOWcrates/tensorzero-python/src/gil_helpers.rs21/// accidentally clone the underlying `T` and then drop it from somewhere else,COMMENT
LOWcrates/tensorzero-stored-config/src/schema_dispatch.rs21 Deserialize {COMMENT
LOWcrates/tensorzero-stored-config/src/schema_dispatch.rs41///COMMENT
LOWcrates/bip39-uuid-substitution/src/lib.rs1//! UUID to BIP39 triple substitution for LLM inference.COMMENT
LOWcrates/bip39-uuid-substitution/src/lib.rs21//! a blake3 hash of the UUID's lower 8 bytes (chosen for better entropy with `UUIDv7`).COMMENT
LOWcrates/tensorzero-http/src/lib.rs121// the higher-level rate limit imposed by the model provider, which can be much higher.COMMENT
LOWcrates/tensorzero-http/src/lib.rs141/// * Workaround for long-lived `h2` spans (see `tensorzero_h2_workaround_span`)COMMENT
LOWcrates/tensorzero-http/src/lib.rs161 // * We don't attempt to detect if we're going to use HTTP2 (reqwest only exposesCOMMENT
LOWcrates/tensorzero-http/src/lib.rs381COMMENT
LOWcrates/tensorzero-http/src/lib.rs501 }COMMENT
LOWcrates/provider-proxy/src/lib.rs281 CacheMode::ReadOldWriteNew => {COMMENT
LOWcrates/provider-proxy/src/lib.rs421}COMMENT
LOWcrates/provider-proxy/src/lib.rs441pub struct Args {COMMENT
LOWcrates/provider-proxy/src/lib.rs461 #[arg(long, default_value = "true")]COMMENT
LOWcrates/tensorzero-config-paths/src/walker.rs1//! A generic walker for `TARGET_PATH_COMPONENTS` patterns over a mutable TOML-like tree.COMMENT
LOWcrates/tensorzero-config-paths/src/lib.rs21 Wildcard,COMMENT
LOWcrates/tensorzero-config-paths/src/lib.rs41/// absolute paths, without needing to know which TOML file a particular path was originally written in.COMMENT
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs41 pub variant: UninitializedChatCompletionConfig,COMMENT
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs61COMMENT
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs81COMMENT
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs141COMMENT
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs361 message: format!(COMMENT
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs461 return Err(Error::new(ErrorDetails::InternalError {COMMENT
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs601 variant_names.len()COMMENT
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs721///COMMENT
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs781///COMMENT
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs801 MetricConfigOptimize::Max => f32::NEG_INFINITY,COMMENT
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs921COMMENT
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs941 .values()COMMENT
590 more matches not shown…
Hyper-Verbose Identifiers449 hits · 405 pts
SeverityFileLineSnippetContext
LOWui/app/context/autopilot-available.tsx24export function AutopilotAvailableProvider({CODE
LOWui/app/utils/tensorzero.server.ts97export async function addEvaluationHumanFeedback(CODE
LOWui/app/utils/auth.server.ts44export async function requireValidApiKeyIfEnabled(): Promise<void> {CODE
LOW⚡ui/app/utils/urls.ts84export function toWorkflowEvaluationRunUrl(runId: string): string {CODE
LOW⚡ui/app/utils/urls.ts88export function toWorkflowEvaluationProjectUrl(projectName: string): string {CODE
LOW⚡ui/app/utils/urls.ts96export function toSupervisedFineTuningJobUrl(jobId: string): string {CODE
LOWui/app/utils/resolve.server.ts47async function resolveModelInferenceMessages(CODE
LOWui/app/utils/resolve.server.ts60async function resolveModelInferenceMessage(CODE
LOWui/app/utils/resolve.server.ts74async function resolveModelInferenceContent(CODE
LOWui/app/utils/resolve.server.ts161async function loadFileDataForInputContent(CODE
LOWui/app/utils/resolve.server.ts247export async function loadFileDataForStoredInput(CODE
LOWui/app/utils/resolve.server.ts274async function loadFileDataForStoredInputContent(CODE
LOWui/app/utils/serialize-markdown.ts22export function serializeConversationMarkdown(CODE
LOWui/app/utils/evaluations.server.ts19function toEvaluationFunctionConfig(CODE
LOWui/app/utils/clickhouse/common.ts373function storageKindToBackendStorageKind(CODE
LOWui/app/utils/clickhouse/common.ts391function storagePathToBackendStoragePath(CODE
LOWui/app/utils/clickhouse/common.ts405function displayInputMessageContentToStoredInputMessageContent(CODE
LOWui/app/utils/clickhouse/common.ts437function displayInputMessageToStoredInputMessage(CODE
LOWui/app/utils/clickhouse/common.ts453export function displayInputToStoredInput(CODE
LOWui/app/utils/clickhouse/evaluations.ts29export function consolidateEvaluationResults(CODE
LOWui/app/utils/clickhouse/inference.server.ts24export async function listInferencesWithPagination(params: {CODE
LOWui/app/utils/clickhouse/inference.server.ts88export async function countInferencesForFunction(CODE
LOWui/app/utils/clickhouse/inference.server.ts96export async function countInferencesForVariant(CODE
LOWui/app/utils/clickhouse/evaluations.server.ts7export async function loadFileDataForEvaluationResult(CODE
LOWui/app/utils/clickhouse/evaluations.server.ts50export async function getEvaluationsForDatapoint(CODE
LOWui/app/utils/config/feedback.ts78export function filterInferenceEvaluationMetrics(metrics: {CODE
LOWui/app/utils/tensorzero/errors.ts143export function isGatewayEndpointNotFoundError(error: unknown): boolean {CODE
LOWui/app/utils/tensorzero/errors.ts199export function isAutopilotUnavailableError(error: unknown): boolean {CODE
LOWui/app/utils/tensorzero/autopilot-client.ts266export function extractEditPayloadsFromConfigWrite(CODE
LOWui/app/utils/autopilot/authorize.ts7export async function submitToolCallAuthorization(CODE
LOWui/app/utils/autopilot/fetch-older-events.ts24export async function fetchOlderAutopilotEvents(CODE
LOWui/app/components/ui/chart.tsx274function getPayloadConfigFromPayload(CODE
LOWui/app/components/ui/LegacyStructuredPromptBadge.tsx13export function LegacyStructuredPromptBadge({CODE
LOWui/app/components/ui/error/PageErrorContent.stories.tsx23function createMockRouteErrorResponse(CODE
LOW…/app/components/ui/error/AutopilotUnavailableState.tsx4export function AutopilotUnavailableState() {CODE
LOWui/app/components/ui/error/ErrorContent.tsx57function GatewayUnavailableContent() {CODE
LOWui/app/components/ui/error/ErrorContent.tsx180function GatewayEndpointNotFoundContent({ routeInfo }: { routeInfo: string }) {CODE
LOW…app/components/querybuilder/InferenceFilterBuilder.tsx526function createDemonstrationFilter(): InferenceFilter {CODE
LOWui/app/components/dataset/use-dataset-options.tsx6export function getDatasetItemDataAttributes(item: string) {CODE
LOWui/app/components/layout/TensorZeroStatusIndicator.tsx12export default function TensorZeroStatusIndicator({CODE
LOW…ponents/function/variant/FeedbackSamplesTimeseries.tsx24export function transformFeedbackTimeseries(CODE
LOWui/app/components/function/variant/VariantUsage.tsx326export function transformVariantUsageData(CODE
LOW…/app/components/function/variant/VariantThroughput.tsx158export function transformVariantThroughput(parsedRows: VariantThroughput[]): {CODE
LOW…omponents/function/variant/VariantPerformanceChart.tsx153export function transformVariantPerformances(CODE
LOWui/app/components/input_output/InputElement.stories.tsx149 render: function SystemTemplateEditingStory() {CODE
LOWui/app/components/input_output/InputElement.stories.tsx278 render: function AssistantMessageEditingStory() {CODE
LOW…ponents/input_output/ChatOutputContentBlockElement.tsx18export function ChatOutputContentBlockElement({CODE
LOW…_output/content_blocks/ThoughtContentBlock.stories.tsx238 render: function MultipleSummaryBlocksStory(args) {CODE
LOW…_output/content_blocks/ThoughtContentBlock.stories.tsx271 render: function MultipleSummaryBlocksEditingStory() {CODE
LOW…ntent_blocks/InferenceResponseToolCallContentBlock.tsx14export function InferenceResponseToolCallContentBlock({CODE
LOW…pp/components/feedback/DemonstrationFeedbackButton.tsx8export function DemonstrationFeedbackButton({CODE
LOWui/app/components/model/ModelLatency.tsx111function LatencyTimeWindowSelector({CODE
LOWui/app/components/autopilot/EventVisualization.tsx59function UnknownVisualizationFallback({ raw }: { raw: unknown }) {CODE
LOW…mponents/autopilot/ApplySessionConfigChangesButton.tsx35export function ApplySessionConfigChangesButton({CODE
LOWui/app/components/autopilot/EventStream.tsx550function UserQuestionsAnswersContent({CODE
LOWui/app/components/autopilot/EventStream.tsx587function AutoEvalLabelingAnswersContent({CODE
LOWui/app/components/autopilot/EventStream.tsx703function ToolCallAuthorizationContent({CODE
LOWui/app/hooks/useAutopilotEventStream.ts37function computeImmediateToolCalls(toolCalls: GatewayEvent[]): GatewayEvent[] {CODE
LOWui/app/routes/index.tsx88function DirectoryCardDescriptionError() {CODE
LOW…app/routes/evaluations/AdvancedParametersAccordion.tsx24export function AdvancedParametersAccordion({CODE
389 more matches not shown…
Structural Annotation Overuse230 hits · 320 pts
SeverityFileLineSnippetContext
LOWclients/openai-node/tests/extra-content.test.ts39 // Step 1: Make inference request with a model that returns Thought contentCOMMENT
LOWclients/openai-node/tests/extra-content.test.ts52 // Step 2: Verify response structureCOMMENT
LOWclients/openai-node/tests/extra-content.test.ts70 // Step 3: Round-trip - send the extra content back as an assistant messageCOMMENT
LOWclients/openai-node/tests/extra-content.test.ts96 // Step 1: Make streaming inference requestCOMMENT
LOWclients/openai-node/tests/extra-content.test.ts109 // Step 2: Collect chunks and extract extra contentCOMMENT
LOW⚡clients/openai-node/tests/extra-content.test.ts133 // Step 3: Verify we received extra content in streamingCOMMENT
LOW⚡clients/openai-node/tests/extra-content.test.ts141 // Step 4: Round-trip if we have valid contentCOMMENT
LOWclients/openai-go/tests/extra_content_test.go25 // Step 1: Make inference request with a model that returns Thought contentCOMMENT
LOWclients/openai-go/tests/extra_content_test.go42 // Step 2: Verify response structureCOMMENT
LOWclients/openai-go/tests/extra_content_test.go62 // Step 3: Round-trip - send the extra content back as an assistant messageCOMMENT
LOWclients/openai-go/tests/extra_content_test.go94 // Step 1: Make streaming inference requestCOMMENT
LOWclients/openai-go/tests/extra_content_test.go110 // Step 2: Collect chunks and extract extra contentCOMMENT
LOWclients/openai-go/tests/extra_content_test.go137 // Step 3: Verify we received extra content in streamingCOMMENT
LOWclients/openai-go/tests/extra_content_test.go148 // Step 4: Round-trip if we have valid contentCOMMENT
LOW⚡ui/e2e_tests/datasets.stale-datapoint.spec.ts8 // Step 1: Create a new datapoint from an inferenceCOMMENT
LOW⚡ui/e2e_tests/datasets.stale-datapoint.spec.ts11 // Step 2: Capture the original datapoint ID from URLCOMMENT
LOW⚡ui/e2e_tests/datasets.stale-datapoint.spec.ts15 // Step 3: Edit and save the datapoint to create a new versionCOMMENT
LOW⚡ui/e2e_tests/datasets.stale-datapoint.spec.ts45 // Step 4: Navigate back to the original (now stale) datapointCOMMENT
LOW⚡ui/e2e_tests/datasets.stale-datapoint.spec.ts49 // Step 5: Verify stale behaviorCOMMENT
LOW⚡ui/e2e_tests/datasets.clone-datapoint.spec.ts7 // Step 1: Create an initial datapoint from an inferenceCOMMENT
LOW⚡ui/e2e_tests/datasets.clone-datapoint.spec.ts16 // Step 2: Clone to a new datasetCOMMENT
LOW⚡ui/e2e_tests/datasets.clone-datapoint.spec.ts34 // Step 3: Wait for success toastCOMMENT
LOW⚡ui/e2e_tests/datasets.clone-datapoint.spec.ts41 // Step 4: Navigate to the target dataset page to verify the datapoint was createdCOMMENT
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts71 // Step 2: Clone to the existing target datasetCOMMENT
LOW⚡ui/e2e_tests/datasets.clone-datapoint.spec.ts85 // Step 3: Wait for success toastCOMMENT
LOW⚡ui/e2e_tests/datasets.clone-datapoint.spec.ts92 // Step 4: Navigate to the target dataset page to verify the datapoint was clonedCOMMENT
LOW⚡ui/e2e_tests/datasets.clone-datapoint.spec.ts102 // Step 1: Create a datapoint from an inference (this sets source_inference_id)COMMENT
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts115 // Step 2: Clone to a new datasetCOMMENT
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts136 // Step 3: Navigate to the cloned datapoint and verify source_inference_idCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts241 // Step 1: Verify text block was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts244 // Step 2: Edit the text block contentCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts436 // Step 1: Verify tool result was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts441 // Step 2: Edit the tool result contentCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts536 // Step 2: Verify template was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts539 // Step 3: Edit the template argumentsCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts613 // Step 1: Verify thought block was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts616 // Step 2: Edit the thought block contentCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts992 // Step 1: Verify text block was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts995 // Step 2: Edit the text block contentCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1233 // Step 1: Verify tool result was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1238 // Step 2: Edit the tool result contentCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1349 // Step 1: Verify template was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1352 // Step 2: Edit the template argumentsCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1462 // Step 1: Verify thought block was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1465 // Step 2: Edit the thought block contentCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts22 // Step 1: Add system textCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts50 // Step 2: Edit system textCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts71 // Step 3: Delete system textCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts117 // Step 1: Delete existing system template and re-add in same edit sessionCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts136 // Step 2: Re-add system template (still in same edit session)COMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts164 // Step 3: Edit the template contentCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts267 // Step 3: Delete the text blockCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts460 // Step 3: Delete tool resultCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts495 // Step 1: Delete the text content, add a templateCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts639 // Step 3: Delete the thought blockCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts727 // Step 1: Verify file was added (URL files are converted to object_storage with image display)COMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts740 // Step 2: Delete the file blockCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1017 // Step 3: Delete the text blockCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1260 // Step 3: Delete tool resultCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1379 // Step 3: Delete the templateCOMMENT
170 more matches not shown…
Verbosity Indicators228 hits · 317 pts
SeverityFileLineSnippetContext
LOWclients/openai-node/tests/extra-content.test.ts39 // Step 1: Make inference request with a model that returns Thought contentCOMMENT
LOWclients/openai-node/tests/extra-content.test.ts52 // Step 2: Verify response structureCOMMENT
LOWclients/openai-node/tests/extra-content.test.ts70 // Step 3: Round-trip - send the extra content back as an assistant messageCOMMENT
LOWclients/openai-node/tests/extra-content.test.ts96 // Step 1: Make streaming inference requestCOMMENT
LOWclients/openai-node/tests/extra-content.test.ts109 // Step 2: Collect chunks and extract extra contentCOMMENT
LOW⚡clients/openai-node/tests/extra-content.test.ts133 // Step 3: Verify we received extra content in streamingCOMMENT
LOW⚡clients/openai-node/tests/extra-content.test.ts141 // Step 4: Round-trip if we have valid contentCOMMENT
LOWclients/openai-go/tests/extra_content_test.go25 // Step 1: Make inference request with a model that returns Thought contentCOMMENT
LOWclients/openai-go/tests/extra_content_test.go42 // Step 2: Verify response structureCOMMENT
LOWclients/openai-go/tests/extra_content_test.go62 // Step 3: Round-trip - send the extra content back as an assistant messageCOMMENT
LOWclients/openai-go/tests/extra_content_test.go94 // Step 1: Make streaming inference requestCOMMENT
LOWclients/openai-go/tests/extra_content_test.go110 // Step 2: Collect chunks and extract extra contentCOMMENT
LOWclients/openai-go/tests/extra_content_test.go137 // Step 3: Verify we received extra content in streamingCOMMENT
LOWclients/openai-go/tests/extra_content_test.go148 // Step 4: Round-trip if we have valid contentCOMMENT
LOW⚡ui/e2e_tests/datasets.stale-datapoint.spec.ts8 // Step 1: Create a new datapoint from an inferenceCOMMENT
LOW⚡ui/e2e_tests/datasets.stale-datapoint.spec.ts11 // Step 2: Capture the original datapoint ID from URLCOMMENT
LOW⚡ui/e2e_tests/datasets.stale-datapoint.spec.ts15 // Step 3: Edit and save the datapoint to create a new versionCOMMENT
LOW⚡ui/e2e_tests/datasets.stale-datapoint.spec.ts45 // Step 4: Navigate back to the original (now stale) datapointCOMMENT
LOW⚡ui/e2e_tests/datasets.stale-datapoint.spec.ts49 // Step 5: Verify stale behaviorCOMMENT
LOW⚡ui/e2e_tests/datasets.clone-datapoint.spec.ts7 // Step 1: Create an initial datapoint from an inferenceCOMMENT
LOW⚡ui/e2e_tests/datasets.clone-datapoint.spec.ts16 // Step 2: Clone to a new datasetCOMMENT
LOW⚡ui/e2e_tests/datasets.clone-datapoint.spec.ts34 // Step 3: Wait for success toastCOMMENT
LOW⚡ui/e2e_tests/datasets.clone-datapoint.spec.ts41 // Step 4: Navigate to the target dataset page to verify the datapoint was createdCOMMENT
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts71 // Step 2: Clone to the existing target datasetCOMMENT
LOW⚡ui/e2e_tests/datasets.clone-datapoint.spec.ts85 // Step 3: Wait for success toastCOMMENT
LOW⚡ui/e2e_tests/datasets.clone-datapoint.spec.ts92 // Step 4: Navigate to the target dataset page to verify the datapoint was clonedCOMMENT
LOW⚡ui/e2e_tests/datasets.clone-datapoint.spec.ts102 // Step 1: Create a datapoint from an inference (this sets source_inference_id)COMMENT
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts115 // Step 2: Clone to a new datasetCOMMENT
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts136 // Step 3: Navigate to the cloned datapoint and verify source_inference_idCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts241 // Step 1: Verify text block was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts244 // Step 2: Edit the text block contentCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts436 // Step 1: Verify tool result was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts441 // Step 2: Edit the tool result contentCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts536 // Step 2: Verify template was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts539 // Step 3: Edit the template argumentsCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts613 // Step 1: Verify thought block was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts616 // Step 2: Edit the thought block contentCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts992 // Step 1: Verify text block was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts995 // Step 2: Edit the text block contentCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1233 // Step 1: Verify tool result was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1238 // Step 2: Edit the tool result contentCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1349 // Step 1: Verify template was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1352 // Step 2: Edit the template argumentsCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1462 // Step 1: Verify thought block was addedCOMMENT
LOW⚡…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1465 // Step 2: Edit the thought block contentCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts22 // Step 1: Add system textCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts50 // Step 2: Edit system textCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts71 // Step 3: Delete system textCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts117 // Step 1: Delete existing system template and re-add in same edit sessionCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts136 // Step 2: Re-add system template (still in same edit session)COMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts164 // Step 3: Edit the template contentCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts267 // Step 3: Delete the text blockCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts460 // Step 3: Delete tool resultCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts495 // Step 1: Delete the text content, add a templateCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts639 // Step 3: Delete the thought blockCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts727 // Step 1: Verify file was added (URL files are converted to object_storage with image display)COMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts740 // Step 2: Delete the file blockCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1017 // Step 3: Delete the text blockCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1260 // Step 3: Delete tool resultCOMMENT
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1379 // Step 3: Delete the templateCOMMENT
168 more matches not shown…
Cross-File Repetition23 hits · 115 pts
SeverityFileLineSnippetContext
HIGH…cs/guides/experimentation/run-adaptive-ab-tests/ner.py0load the conll++ dataset and yield individual rows. we treat this setting as a streaming rl environment, so splits are iSTRING
HIGH…/guides/optimization/supervised-fine-tuning-sft/ner.py0load the conll++ dataset and yield individual rows. we treat this setting as a streaming rl environment, so splits are iSTRING
HIGH…s/optimization/dynamic-in-context-learning-dicl/ner.py0load the conll++ dataset and yield individual rows. we treat this setting as a streaming rl environment, so splits are iSTRING
HIGHexamples/docs/guides/optimization/gepa/ner.py0load the conll++ dataset and yield individual rows. we treat this setting as a streaming rl environment, so splits are iSTRING
HIGHexamples/blog/bandits-in-your-llm-gateway/ner.py0load the conll++ dataset and yield individual rows. we treat this setting as a streaming rl environment, so splits are iSTRING
HIGH…cs/guides/experimentation/run-adaptive-ab-tests/ner.py0flatten a dictionary of lists into a list of strings. we use this function to compare the predicted dictionary with the STRING
HIGH…/guides/optimization/supervised-fine-tuning-sft/ner.py0flatten a dictionary of lists into a list of strings. we use this function to compare the predicted dictionary with the STRING
HIGH…s/optimization/dynamic-in-context-learning-dicl/ner.py0flatten a dictionary of lists into a list of strings. we use this function to compare the predicted dictionary with the STRING
HIGHexamples/docs/guides/optimization/gepa/ner.py0flatten a dictionary of lists into a list of strings. we use this function to compare the predicted dictionary with the STRING
HIGHexamples/blog/bandits-in-your-llm-gateway/ner.py0flatten a dictionary of lists into a list of strings. we use this function to compare the predicted dictionary with the STRING
HIGH…cs/guides/experimentation/run-adaptive-ab-tests/ner.py0check if the predicted entities exactly match the label.STRING
HIGH…/guides/optimization/supervised-fine-tuning-sft/ner.py0check if the predicted entities exactly match the label.STRING
HIGH…s/optimization/dynamic-in-context-learning-dicl/ner.py0check if the predicted entities exactly match the label.STRING
HIGHexamples/docs/guides/optimization/gepa/ner.py0check if the predicted entities exactly match the label.STRING
HIGHexamples/blog/bandits-in-your-llm-gateway/ner.py0check if the predicted entities exactly match the label.STRING
HIGH…cs/guides/experimentation/run-adaptive-ab-tests/ner.py0compute the jaccard similarity between the predicted and the label. this metric is more lenient than exact match. the imSTRING
HIGH…/guides/optimization/supervised-fine-tuning-sft/ner.py0compute the jaccard similarity between the predicted and the label. this metric is more lenient than exact match. the imSTRING
HIGH…s/optimization/dynamic-in-context-learning-dicl/ner.py0compute the jaccard similarity between the predicted and the label. this metric is more lenient than exact match. the imSTRING
HIGHexamples/docs/guides/optimization/gepa/ner.py0compute the jaccard similarity between the predicted and the label. this metric is more lenient than exact match. the imSTRING
HIGHexamples/blog/bandits-in-your-llm-gateway/ner.py0compute the jaccard similarity between the predicted and the label. this metric is more lenient than exact match. the imSTRING
HIGH…guides/optimization/supervised-fine-tuning-sft/main.py0create a createdatapointrequestjson from a dataset row.STRING
HIGH…/optimization/dynamic-in-context-learning-dicl/main.py0create a createdatapointrequestjson from a dataset row.STRING
HIGHexamples/docs/guides/optimization/gepa/main.py0create a createdatapointrequestjson from a dataset row.STRING
Fake / Example Data68 hits · 78 pts
SeverityFileLineSnippetContext
LOWui/app/components/ui/code-editor.stories.tsx169 "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's stCODE
LOW⚡ui/app/components/ui/code-editor.stories.tsx214 "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's stCODE
LOW⚡ui/app/components/ui/code-editor.stories.tsx222 "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's stCODE
LOW⚡ui/app/components/ui/code-editor.stories.tsx225 "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's CODE
LOW⚡ui/app/components/ui/code-editor.stories.tsx227 "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's CODE
LOW⚡ui/app/components/ui/code-editor.stories.tsx230 "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's stCODE
LOW⚡ui/app/components/ui/code-editor.stories.tsx231 "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's stCODE
LOWui/app/components/ui/dialog.stories.tsx86 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sedCODE
LOWui/app/components/ui/dialog.stories.tsx86 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sedCODE
LOWui/app/components/layout/TextMessage.stories.tsx48 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magCODE
LOWui/app/components/layout/TextMessage.stories.tsx48 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magCODE
LOWui/app/components/layout/TemplateMessage.stories.tsx37 name: "John Doe",CODE
LOWui/app/components/input_output/InputElement.stories.tsx113 company_name: "Acme Corp",CODE
LOWui/app/components/input_output/InputElement.stories.tsx138 company_name: "Acme Corp",CODE
LOWui/app/components/input_output/InputElement.stories.tsx154 company_name: "Acme Corp",CODE
LOW…mponents/input_output/ModelInferenceOutput.stories.tsx83 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent quis orci turpis. Phasellus tempor metus sed enim cCODE
LOW…mponents/input_output/ModelInferenceOutput.stories.tsx83 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent quis orci turpis. Phasellus tempor metus sed enim cCODE
LOW…output/content_blocks/TemplateContentBlock.stories.tsx148 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloreCODE
LOW…output/content_blocks/TemplateContentBlock.stories.tsx148 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloreCODE
LOW…output/content_blocks/TemplateContentBlock.stories.tsx163 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloreCODE
LOW…output/content_blocks/TemplateContentBlock.stories.tsx163 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloreCODE
LOW…output/content_blocks/TemplateContentBlock.stories.tsx175 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloreCODE
LOW…output/content_blocks/TemplateContentBlock.stories.tsx175 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloreCODE
LOW…tput/content_blocks/ToolResultContentBlock.stories.tsx70 name: "John Doe",CODE
LOW…tput/content_blocks/ToolResultContentBlock.stories.tsx85 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore mCODE
LOW…tput/content_blocks/ToolResultContentBlock.stories.tsx85 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore mCODE
LOW…tput/content_blocks/ToolResultContentBlock.stories.tsx101 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore mCODE
LOW…tput/content_blocks/ToolResultContentBlock.stories.tsx101 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore mCODE
LOW…tput/content_blocks/ToolResultContentBlock.stories.tsx114 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore mCODE
LOW…tput/content_blocks/ToolResultContentBlock.stories.tsx114 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore mCODE
LOW…output/content_blocks/ToolCallContentBlock.stories.tsx78 name: "John Doe",CODE
LOW…output/content_blocks/ToolCallContentBlock.stories.tsx107 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doCODE
LOW…output/content_blocks/ToolCallContentBlock.stories.tsx107 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doCODE
LOW…output/content_blocks/ToolCallContentBlock.stories.tsx122 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doCODE
LOW…output/content_blocks/ToolCallContentBlock.stories.tsx122 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doCODE
LOW…output/content_blocks/ToolCallContentBlock.stories.tsx134 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doCODE
LOW…output/content_blocks/ToolCallContentBlock.stories.tsx134 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doCODE
LOW⚡…_output/content_blocks/ThoughtContentBlock.stories.tsx342 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore mCODE
LOW⚡…_output/content_blocks/ThoughtContentBlock.stories.tsx342 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore mCODE
LOW⚡…_output/content_blocks/ThoughtContentBlock.stories.tsx350 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloreCODE
LOW⚡…_output/content_blocks/ThoughtContentBlock.stories.tsx350 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloreCODE
LOW⚡…put_output/content_blocks/TextContentBlock.stories.tsx35 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloreCODE
LOW⚡…put_output/content_blocks/TextContentBlock.stories.tsx35 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloreCODE
LOW⚡…put_output/content_blocks/TextContentBlock.stories.tsx41 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magCODE
LOW⚡…put_output/content_blocks/TextContentBlock.stories.tsx41 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magCODE
LOW…put_output/content_blocks/TextContentBlock.stories.tsx58 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent quis orci turpis. Phasellus tempor metus seCODE
LOW…put_output/content_blocks/TextContentBlock.stories.tsx58 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent quis orci turpis. Phasellus tempor metus seCODE
LOW⚡…put_output/content_blocks/TextContentBlock.stories.tsx76 text: '{"name": "John Doe", "age": 30, "city": "New York"}',CODE
LOW⚡…put_output/content_blocks/TextContentBlock.stories.tsx85 text: '{"name": "John Doe", "age": 30, "city": "New York"}',CODE
LOW⚡…put_output/content_blocks/TextContentBlock.stories.tsx91 '{"name": "John Doe", "age": 30, "city": "New York"}',CODE
LOWui/app/components/feedback/FeedbackTable.stories.tsx185 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras dolor ex, posuere at libero sit amet, mollis vaCODE
LOWui/app/components/feedback/FeedbackTable.stories.tsx185 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras dolor ex, posuere at libero sit amet, mollis vaCODE
LOWui/app/components/feedback/FeedbackTable.stories.tsx210 text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the iCODE
LOWui/app/components/feedback/FeedbackTable.stories.tsx234 text: "Long demonstration: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem CODE
LOWui/app/components/feedback/FeedbackTable.stories.tsx277 "This is a really long comment. Lorem Ipsum is simply dummy text of the printing and typesetting industry. LorCODE
LOWui/app/components/autopilot/EventStream.stories.tsx317 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aCODE
LOWui/app/components/autopilot/EventStream.stories.tsx317 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aCODE
LOWui/e2e_tests/datapoints.new.spec.ts127 person: ["John Doe"],CODE
LOWui/e2e_tests/datapoints.new.spec.ts128 organization: ["Acme Corp"],CODE
LOW…ore/tests/e2e/providers/commonv2/cache_input_tokens.rs28/// Large Lorem Ipsum text (~4200 tokens) for cache tests.COMMENT
8 more matches not shown…
Unused Imports132 hits · 78 pts
SeverityFileLineSnippetContext
LOWcrates/tensorzero-python/tests/import_failure.py9CODE
LOWcrates/tensorzero-python/tensorzero/client.py2CODE
LOWcrates/tensorzero-python/tensorzero/client.py5CODE
LOWcrates/tensorzero-python/tensorzero/client.py8CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py7CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py7CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py7CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py14CODE
72 more matches not shown…
Excessive Try-Catch Wrapping44 hits · 60 pts
SeverityFileLineSnippetContext
MEDIUMcrates/tensorzero-python/generate_schema_types.py223 print(f"Error generating dataclasses from {schema_file.name}:", file=sys.stderr)CODE
MEDIUMcrates/tensorzero-python/generate_schema_types.py227 print("Error: datamodel-code-generator not found.", file=sys.stderr)CODE
MEDIUMcrates/tensorzero-python/generate_schema_types.py267 print(f"Error fixing and formatting generated dataclasses: {e}", file=sys.stderr)CODE
MEDIUMcrates/tensorzero-python/generate_schema_types.py310 print(f"Error running cargo test: {e}", file=sys.stderr)CODE
LOWcrates/tensorzero-python/generate_schema_types.py387 except Exception as e:CODE
LOWcrates/tensorzero-python/tests/test_auth.py57 except Exception:CODE
LOWcrates/tensorzero-python/tests/test_auth.py104 except Exception:CODE
LOWcrates/tensorzero-python/tests/test_auth.py144 except Exception:CODE
LOWcrates/tensorzero-python/tests/test_auth.py191 except Exception:CODE
LOWcrates/tensorzero-python/tests/test_auth.py229 except Exception:CODE
LOWcrates/tensorzero-python/tests/test_auth.py268 except Exception:CODE
LOWcrates/tensorzero-python/tests/import_failure.py12except Exception as e:CODE
MEDIUMci/check_coordinated_edits.py45 print(f"Error getting changed files: {e}", file=sys.stderr)CODE
LOWci/markdown-broken-link-checker/main.py45 except Exception as e:CODE
LOW⚡…mples/workflow_evaluations/simple-agentic-rag/agent.py113 except Exception as e:CODE
MEDIUM⚡…mples/workflow_evaluations/simple-agentic-rag/agent.py114 print(f"Error compacting context: {e}")CODE
LOW…amples/workflow_evaluations/simple-agentic-rag/main.py90 except Exception as e:CODE
MEDIUM…amples/workflow_evaluations/simple-agentic-rag/main.py91 print(f"Error evaluating question {question['id']}: {e}")CODE
LOW…s/guides/experimentation/run-adaptive-ab-tests/main.py33 except Exception as e:CODE
MEDIUM…s/guides/experimentation/run-adaptive-ab-tests/main.py34 print(f"Error occurred: {e}")CODE
LOW…/enforce-custom-rate-limits/valkey-redis/openai_sdk.py19 except Exception as e:CODE
MEDIUM…/enforce-custom-rate-limits/valkey-redis/openai_sdk.py20 print(f"Error calling LLM: {e}")CODE
MEDIUM…/enforce-custom-rate-limits/valkey-redis/openai_sdk.py6def call_llm(user_id):CODE
LOW…ions/enforce-custom-rate-limits/postgres/openai_sdk.py19 except Exception as e:CODE
MEDIUM…ions/enforce-custom-rate-limits/postgres/openai_sdk.py20 print(f"Error calling LLM: {e}")CODE
MEDIUM…ions/enforce-custom-rate-limits/postgres/openai_sdk.py6def call_llm(user_id):CODE
LOW…es/operations/set-up-auth-for-tensorzero/openai_sdk.py43except Exception as e:CODE
LOWexamples/blog/bandits-in-your-llm-gateway/main.py27 except Exception as e:CODE
MEDIUMexamples/blog/bandits-in-your-llm-gateway/main.py28 print(f"Error occurred: {e}")CODE
LOW…amples/integrations/crewai/example/src/example/main.py10 except Exception as e:CODE
MEDIUM…amples/integrations/crewai/example/src/example/main.py7def run():CODE
LOW…ot/benchmarks/src/autopilot_benchmarks/orchestrator.py293 except Exception:CODE
LOW…ot/benchmarks/src/autopilot_benchmarks/orchestrator.py790 except Exception:CODE
LOW…ot/benchmarks/src/autopilot_benchmarks/orchestrator.py804 except Exception:CODE
LOW…ot/benchmarks/src/autopilot_benchmarks/orchestrator.py1135 except Exception:CODE
LOW…arks/src/autopilot_benchmarks/infra/gateway_process.py120 except Exception:CODE
LOW…/benchmarks/src/autopilot_benchmarks/rollout/runner.py115 except Exception as exc:CODE
LOW…/benchmarks/src/autopilot_benchmarks/rollout/runner.py483 except Exception as e:CODE
LOW…/benchmarks/src/autopilot_benchmarks/rollout/runner.py526 except Exception:CODE
LOW…/benchmarks/src/autopilot_benchmarks/rollout/runner.py784 except Exception as e:CODE
LOW…/benchmarks/src/autopilot_benchmarks/rollout/runner.py809 except Exception as e:CODE
LOW…nchmarks/src/autopilot_benchmarks/autopilot/session.py189 except Exception as e:CODE
LOW…nchmarks/src/autopilot_benchmarks/autopilot/session.py194 except Exception:CODE
LOW…nchmarks/src/autopilot_benchmarks/autopilot/session.py260 except Exception as e:CODE
Empty Error Handlers11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHcrates/tensorzero-python/generate_schema_types.py377except OSError:CODE
HIGHcrates/tensorzero-python/tests/test_auth.py57except Exception:CODE
HIGHcrates/tensorzero-python/tests/test_auth.py104except Exception:CODE
HIGHcrates/tensorzero-python/tests/test_auth.py144except Exception:CODE
HIGHcrates/tensorzero-python/tests/test_auth.py191except Exception:CODE
HIGHcrates/tensorzero-python/tests/test_auth.py229except Exception:CODE
HIGHcrates/tensorzero-python/tests/test_auth.py268except Exception:CODE
HIGH…ot/benchmarks/src/autopilot_benchmarks/orchestrator.py972except ValueError:CODE
HIGH…ot/benchmarks/src/autopilot_benchmarks/orchestrator.py804except Exception:CODE
HIGH…arks/src/autopilot_benchmarks/infra/gateway_process.py184except httpx.ConnectError:CODE
HIGH…arks/src/autopilot_benchmarks/infra/gateway_process.py186except httpx.TimeoutException:CODE
Redundant / Tautological Comments35 hits · 55 pts
SeverityFileLineSnippetContext
LOWcrates/tensorzero-python/test.sh4# Set this to an intentionally invalid url, to make sure that `tensorzero` can still be importedCOMMENT
LOW…ython/tests/raw_usage/test_raw_usage_tensorzero_sdk.py107 # Check if this chunk has raw_usage at chunk level (sibling to usage)COMMENT
LOW…ython/tests/raw_usage/test_raw_usage_tensorzero_sdk.py167 # Check if this chunk has raw_usage at chunk level (sibling to usage)COMMENT
LOW…ro-python/tests/raw_usage/test_raw_usage_openai_sdk.py108 # Check if this chunk has tensorzero_raw_usage at chunk level (sibling to usage)COMMENT
LOW…hon/tests/raw_response/test_raw_response_openai_sdk.py96 # Check if this chunk has tensorzero_raw_chunk (raw response data for current chunk)COMMENT
LOW…tests/raw_response/test_raw_response_tensorzero_sdk.py96 # Check if this chunk has raw_chunk (the raw response data for the current chunk)COMMENT
LOW…tests/raw_response/test_raw_response_tensorzero_sdk.py170 # Check if this chunk has raw_chunk (the raw response data for the current chunk)COMMENT
LOWcrates/evaluations/src/lib.rs568/// ## Return valueCOMMENT
LOWci/check-helm-schema-sync.sh10# Check if the schema file existsCOMMENT
LOWci/check-helm-schema-sync.sh16# Check if there are any uncommitted changes to the schema fileCOMMENT
LOWci/check-all-general-jobs-passed.sh65# Check if a job name matches an entry in a list.COMMENT
LOWci/check_coordinated_edits.py130 # Check if any line in this block (between IfEdited and ThenEdit) was modifiedCOMMENT
LOWci/check_coordinated_edits.py143 # Check if we're in a multiline ThenEdit continuationCOMMENT
LOWci/check_coordinated_edits.py155 # Check if this line ends the ThenEditCOMMENT
LOWci/check_coordinated_edits.py170 # Check if any line in this block was modifiedCOMMENT
LOWci/check_coordinated_edits.py272 # Check if there were any changed filesCOMMENT
LOWci/check-docker-compose.sh27# Check if docker-compose.yml has both postgres and gateway services, and apply migrations if soCOMMENT
LOWci/check-version-consistency.sh19# Check if versions matchCOMMENT
LOWci/compile-check-notebooks.sh28 # Check if changed scripts match the notebooksCOMMENT
LOWci/compile-check-notebooks.sh58 # Check if changed notebooks match the scriptsCOMMENT
LOWci/compile-check-notebooks.sh102 # Check if changed notebooks match the scriptsCOMMENT
LOW⚡ci/check-durable-deps.sh27 # Read the file line by lineCOMMENT
LOW⚡ci/check-durable-deps.sh29 # Check if this line contains a git dependency to durableCOMMENT
LOW⚡ci/check-durable-deps.sh34 # Check if it has a rev or tag (not branch)COMMENT
LOWci/check-durable-deps.sh74 # Check if the ref exists firstCOMMENT
LOWci/check-durable-deps.sh81 # Check if this ref is an ancestor of origin/main (i.e., in main's history)COMMENT
LOWexamples/integrations/langgraph/main.py40 # Check if we received a tool call for `temperature_api`COMMENT
LOWexamples/guides/datasets-datapoints/main.sh85# Check if bulk insert was successful by verifying the response has an "ids" fieldCOMMENT
LOWexamples/guides/datasets-datapoints/main.sh95# Check if we got a valid IDCOMMENT
LOWexamples/guides/batch-inference/poll_batch.sh3# Check if `batch_id` argument is providedCOMMENT
LOW…arks/src/autopilot_benchmarks/infra/gateway_process.py176 # Check if process diedCOMMENT
LOW…nchmarks/src/autopilot_benchmarks/autopilot/session.py118 # Check if autopilot has produced config writes yetCOMMENT
LOW.github/workflows/auto-approve-trusted-pr-workflows.yml74 # Check if it's already approved or doesn't need approvalCOMMENT
LOW.github/workflows/cancel-merge-queue-on-job-failure.yml85 # Check if any required job has failedCOMMENT
LOW.github/workflows/upgrade-tensorzero-deps.yml136 # Check if branch already exists and delete itCOMMENT
Deep Nesting34 hits · 32 pts
SeverityFileLineSnippetContext
LOWcrates/tensorzero-python/generate_schema_types.py93CODE
LOWcrates/tensorzero-python/generate_schema_types.py272CODE
LOWcrates/tensorzero-python/generate_schema_types.py318CODE
LOWcrates/tensorzero-python/tests/conftest.py329CODE
LOW…s/tensorzero-python/tests/test_roundtrip_tool_types.py40CODE
LOW…s/tensorzero-python/tests/test_roundtrip_tool_types.py471CODE
LOW…s/tensorzero-python/tests/test_roundtrip_text_types.py40CODE
LOW…s/tensorzero-python/tests/test_roundtrip_text_types.py350CODE
LOWcrates/tensorzero-python/tests/test_client.py3125CODE
LOW…races_extra_headers/test_traceparent_tensorzero_sdk.py32CODE
LOW…zero-python/tests/otlp_traces_extra_headers/helpers.py9CODE
LOW…_api/test_inference_openai_responses_api_openai_sdk.py216CODE
LOW…/test_inference_openai_responses_api_tensorzero_sdk.py250CODE
LOW…edrock/test_multi_turn_parallel_tool_use_openai_sdk.py19CODE
LOWcrates/tensorzero-python/tensorzero/types.py336CODE
LOWcrates/tensorzero-python/tensorzero/types.py481CODE
LOWcrates/tensorzero-python/tensorzero/types.py623CODE
LOWcrates/tensorzero-python/tensorzero/types.py641CODE
LOWci/check_coordinated_edits.py49CODE
LOWci/check_coordinated_edits.py86CODE
LOWci/check_coordinated_edits.py244CODE
LOWci/markdown-broken-link-checker/main.py133CODE
LOW…mples/workflow_evaluations/simple-agentic-rag/agent.py33CODE
LOWexamples/docs/guides/optimization/gepa/main.py45CODE
LOWexamples/integrations/langgraph/main.py116CODE
LOWexamples/mcp-model-context-protocol/main.py8CODE
LOW…ot/benchmarks/src/autopilot_benchmarks/orchestrator.py981CODE
LOW…nchmarks/src/autopilot_benchmarks/infra/postgres_io.py195CODE
LOW…rks/src/autopilot_benchmarks/infra/config_generator.py34CODE
LOW…/benchmarks/src/autopilot_benchmarks/rollout/runner.py317CODE
LOW…nchmarks/src/autopilot_benchmarks/autopilot/session.py76CODE
LOW…nchmarks/src/autopilot_benchmarks/autopilot/session.py273CODE
LOW…nchmarks/src/autopilot_benchmarks/autopilot/session.py374CODE
LOW…rks/src/autopilot_benchmarks/autopilot/interlocutor.py50CODE
Self-Referential Comments9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMcrates/tensorzero-python/tests/test_embeddings.py164 # Create a batch of 10 different inputsCOMMENT
MEDIUM…s/tensorzero-python/tests/test_stored_inferences_v1.py314 # Create an inference with a specific tagCOMMENT
MEDIUMcrates/tensorzero-python/tests/test_client.py3450 # Create a temp file and write to itCOMMENT
MEDIUMcrates/tensorzero-python/tests/test_client.py3495 # Create a temp file and write to itCOMMENT
MEDIUMexamples/evaluations/tutorial/main.py46 # Create a semaphore to limit concurrent requestsCOMMENT
MEDIUMexamples/integrations/cursor/nginx/entrypoint.sh9# Create the conf.d directory if it doesn't existCOMMENT
MEDIUMexamples/guides/datasets-datapoints/main.sh7# Create a temporary file to store the JSON dataCOMMENT
MEDIUMexamples/guides/batch-inference/start_batch.sh3# Create a batch inference job with three inputsCOMMENT
MEDIUMexamples/mcp-model-context-protocol/main.py9 # Define the MCP serverCOMMENT
Modern AI Meta-Vocabulary10 hits · 26 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md252> **[Agentic RAG — Multi-Hop Question Answering with LLMs](https://github.com/tensorzero/tensorzero/tree/main/examples/rCODE
MEDIUM…ensorzero-core/tests/e2e/config/tensorzero.models.toml1011# Test embedding model with extra_headers for bad auth testCOMMENT
MEDIUM…ero-core/tests/e2e/config-in-db/tensorzero.models.toml1011# Test embedding model with extra_headers for bad auth testCOMMENT
MEDIUM…rzero-core/tests/e2e/db/workflow_evaluation_queries.rs17 // The fixture data has projects: "beerqa-agentic-rag", "21_questions", and one with NULL project_nameCOMMENT
MEDIUM…ples/workflow_evaluations/simple-agentic-rag/README.md1# Example: Simple Agentic RAG — Multi-Hop Question Answering with LLMsCOMMENT
MEDIUM…ples/workflow_evaluations/simple-agentic-rag/README.md16See [this article](https://www.anthropic.com/engineering/claude-think-tool) from Anthropic showing that such a tool ofteCODE
MEDIUM…mples/workflow_evaluations/simple-agentic-rag/agent.py11# ## Agentic RAGCOMMENT
MEDIUM…eval-augmented-generation/simple-agentic-rag/README.md1# Example: Simple Agentic RAG — Multi-Hop Question Answering with LLMsCOMMENT
MEDIUM…eval-augmented-generation/simple-agentic-rag/README.md16See [this article](https://www.anthropic.com/engineering/claude-think-tool) from Anthropic showing that such a tool ofteCODE
MEDIUMexamples/babyai/config.yml27 max_cot_history: 1 # Maximum number of chain-of-thought steps to keep in history (if using 'cot' type of agent)CODE
Cross-Language Confusion3 hits · 18 pts
SeverityFileLineSnippetContext
HIGH⚡crates/tensorzero-python/tests/test_client.py3424 == '{\n "id": "id",\n "object": "text.completion",\n "created": 1618870400,\n "model": "text-davinci-002",\nCODE
HIGHcrates/tensorzero-python/tests/test_client.py350 == '{"system":null,"messages":[{"role":"user","content":[{"type":"thought","text":"my_first_thought","signature"CODE
HIGHcrates/tensorzero-python/tests/test_client.py381 == '{"system":null,"messages":[{"role":"user","content":[{"type":"thought","text":null,"signature":"my_first_sigCODE
AI Slop Vocabulary6 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUM…aluations/tests/e2e/test_typescript_judge_evaluator.rs470 // robust across platforms and random tempdir names.COMMENT
MEDIUM…/tensorzero-core/src/providers/gcp_vertex_anthropic.rs396 // Track tool state per content block index for robust handling of interleaved blocksCOMMENT
MEDIUMcrates/tensorzero-core/src/providers/anthropic.rs485 // Track tool state per content block index for robust handling of interleaved blocksCOMMENT
MEDIUMcrates/tensorzero-core/src/providers/anthropic.rs1540 // Look up tool info by index for robust handling of interleaved content blocksCOMMENT
LOW⚡…mples/workflow_evaluations/simple-agentic-rag/agent.py121 # when the search process is stopped; here, we simply return a failure message.COMMENT
MEDIUM…nchmarks/src/autopilot_benchmarks/autopilot/session.py245 # more robust than maintaining a positive allowlist because newlyCOMMENT
Modern Structural Boilerplate14 hits · 14 pts
SeverityFileLineSnippetContext
LOWcrates/tensorzero-python/tensorzero/util.py14__all__ = [CODE
LOWcrates/tensorzero-python/tensorzero/__init__.py173__all__ = [CODE
LOW…s/autopilot/benchmarks/src/autopilot_benchmarks/cli.py25def _setup_logging(verbose: bool) -> None:CODE
LOW…ot/benchmarks/src/autopilot_benchmarks/orchestrator.py47logger = logging.getLogger(__name__)CODE
LOW…opilot/benchmarks/src/autopilot_benchmarks/snapshot.py21logger = logging.getLogger(__name__)CODE
LOW…nchmarks/src/autopilot_benchmarks/infra/postgres_io.py14logger = logging.getLogger(__name__)CODE
LOW…arks/src/autopilot_benchmarks/infra/gateway_process.py13logger = logging.getLogger(__name__)CODE
LOW…rks/src/autopilot_benchmarks/infra/config_generator.py26logger = logging.getLogger(__name__)CODE
LOW…/benchmarks/src/autopilot_benchmarks/rollout/runner.py39logger = logging.getLogger(__name__)CODE
LOW…enchmarks/src/autopilot_benchmarks/results/recorder.py10logger = logging.getLogger(__name__)CODE
LOW…enchmarks/src/autopilot_benchmarks/results/__init__.py3__all__ = ["JsonResultRecorder"]CODE
LOW…nchmarks/src/autopilot_benchmarks/autopilot/session.py20logger = logging.getLogger(__name__)CODE
LOW…rks/src/autopilot_benchmarks/autopilot/interlocutor.py13logger = logging.getLogger(__name__)CODE
LOW…s/src/autopilot_benchmarks/autopilot/config_applier.py12logger = logging.getLogger(__name__)CODE
Slop Phrases5 hits · 12 pts
SeverityFileLineSnippetContext
LOWcrates/tensorzero-core/src/model.rs5066 /// This test exists to ensure we don't forget to update the method when adding new providers.COMMENT
MEDIUM…tion/supervised-fine-tuning-sft/config/tensorzero.toml15# After running SFT optimization, you can add the fine-tuned variant:COMMENT
MEDIUM…ynamic-in-context-learning-dicl/config/tensorzero.toml15# After running DICL optimization, you can add the generated DICL variant:COMMENT
MEDIUM…all-llms-with-image-and-file-inputs/docker-compose.yml41 # For a production deployment, you can use AWS S3, GCP Cloud Storage, Cloudflare R2, etc.COMMENT
LOW.github/workflows/optimization-test-cron.yml7 # If you change any of the 'cron' strings below, make sure to also update them in the 'optimizations-tests' definitionCOMMENT
Magic Placeholder Names1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHcrates/autopilot-client/src/lib.rs17//! .api_key("your-api-key")COMMENT
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOWui/app/components/ui/code-editor.stories.tsx65// Example usageCOMMENT
LOW…sorzero-core/tests/e2e/docker-compose.config-in-db.yml4# Usage:COMMENT
LOW…sorzero-core/tests/e2e/docker-compose.db-only-boot.yml5# Usage:COMMENT
LOWci/docker/postgres/build-and-push.sh11# Usage:COMMENT
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…s/src/autopilot_benchmarks/autopilot/config_applier.py22Apply config edits via the Rust CLI. Args: config_writes: List of EditPayload dicts from autopilot session.STRING
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWui/app/entry.server.tsx25export default function handleRequest(CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…/benchmarks/src/autopilot_benchmarks/rollout/runner.py534CODE