Repository Analysis

tensorzero/tensorzero

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

5.4 Low AI signal View on GitHub
5.4
Adjusted Score
5.4
Raw Score
100%
Time Factor
2026-05-29
Last Push
11,420
Stars
Rust
Language
680,001
Lines of Code
2837
Files
2187
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 104MEDIUM 452LOW 1631

Pattern Findings

2187 matches across 18 categories. Click a row to expand file-level details.

Decorative Section Separators421 hits · 1425 pts
SeverityFileLineSnippet
MEDIUM…/components/autopilot/EventStream.ToolCall.stories.tsx154// ══════════════════════════════════════════════════════════════
MEDIUM…/components/autopilot/EventStream.ToolCall.stories.tsx158// ══════════════════════════════════════════════════════════════
MEDIUM…/components/autopilot/EventStream.ToolCall.stories.tsx257// ══════════════════════════════════════════════════════════════
MEDIUM…/components/autopilot/EventStream.ToolCall.stories.tsx261// ══════════════════════════════════════════════════════════════
MEDIUM…/components/autopilot/EventStream.ToolCall.stories.tsx389// ══════════════════════════════════════════════════════════════
MEDIUM…/components/autopilot/EventStream.ToolCall.stories.tsx393// ══════════════════════════════════════════════════════════════
MEDIUM…nts/autopilot/question-cards/QuestionCards.stories.tsx9// ── Fixtures ──────────────────────────────────────────────────────────
MEDIUM…nts/autopilot/question-cards/QuestionCards.stories.tsx117// ── Meta ──────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts5// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts7// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts13// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts15// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts228 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts230 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts240 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts242 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts28// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts30// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts136// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts138// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts155// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts157// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts209 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts211 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts258 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts260 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts338 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts340 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts369 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-auto-approval.ts371 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts213 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts215 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts221 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts223 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts247 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts249 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts259 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts261 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts6// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts8// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts49// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts51// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts128// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts130// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts145// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts147// ─────────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts196 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts198 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts325 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts327 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts348 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts350 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts384 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts386 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts397 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/app/hooks/use-infinite-scroll-up.ts399 // ─────────────────────────────────────────────────────────────────────────
MEDIUMui/e2e_tests/autopilot/user-questions.spec.ts6// ── Types ──────────────────────────────────────────────────────────────
MEDIUMui/e2e_tests/autopilot/user-questions.spec.ts17// ── Payload builders ───────────────────────────────────────────────────
MEDIUMui/e2e_tests/autopilot/user-questions.spec.ts139// ── Helpers ────────────────────────────────────────────────────────────
MEDIUMui/e2e_tests/autopilot/user-questions.spec.ts151// ── Tests ──────────────────────────────────────────────────────────────
361 more matches not shown…
Over-Commented Block650 hits · 649 pts
SeverityFileLineSnippet
LOWui/run_e2e_ui.sh1#! /bin/bash
LOWui/playwright.config.ts61 // },
LOW…/components/autopilot/EventStream.ToolCall.stories.tsx381 { section: "deployment" },
LOWui/e2e_tests/playground.spec.ts201
LOW…2e_tests/observability.inferences.inference_id.spec.ts761// These inferences have metadata (in chat_inferences / json_inferences) but no data
LOW…2e_tests/observability.inferences.inference_id.spec.ts781// ).toBeVisible();
LOW…2e_tests/observability.inferences.inference_id.spec.ts801// ).toBeVisible();
LOWcrates/.config/nextest.toml21# by using command-line '-E' flags, which are *intersected* with the default-filter
LOWcrates/tensorzero-python/Cargo.toml41[features]
LOWcrates/tensorzero-python/.cargo/config.toml1# Note - this is a duplicate of the rustflags in the `.cargo/config.toml` file
LOWcrates/tensorzero-python/src/lib.rs1#![recursion_limit = "256"]
LOWcrates/tensorzero-python/src/lib.rs381}
LOWcrates/tensorzero-python/src/lib.rs1081 _exc_type: Py<PyAny>,
LOWcrates/tensorzero-python/src/lib.rs1141 /// Make a request to the /feedback endpoint of the gateway
LOWcrates/tensorzero-python/src/lib.rs1181 match tokio_block_on_without_gil(py, fut) {
LOWcrates/tensorzero-python/src/lib.rs1201 /// :param variant_name: If set, pins the inference request to a particular variant.
LOWcrates/tensorzero-python/src/lib.rs1221 /// :param include_aggregated_response: If set, include the aggregated response in each streaming chunk. Only suppor
LOWcrates/tensorzero-python/src/lib.rs1621 }
LOWcrates/tensorzero-python/src/lib.rs1821 /// There are two things that need to happen in this function:
LOWcrates/tensorzero-python/src/lib.rs1921 /// :param optimizer_config: The optimizer configuration dictionary.
LOWcrates/tensorzero-python/src/lib.rs2001///
LOWcrates/tensorzero-python/src/lib.rs2081 ) -> PyResult<()> {
LOWcrates/tensorzero-python/src/lib.rs2161 }
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 S
LOWcrates/tensorzero-python/src/lib.rs2301 /// :param value: The value of the feedback. It should correspond to the metric type.
LOWcrates/tensorzero-python/src/lib.rs2681 /// * `inference_cache` - Cache configuration for inference requests ("on", "off", "read_only", or "write_only")
LOWcrates/tensorzero-python/src/lib.rs2901 Err(e) => Err(convert_error(py, e)),
LOWcrates/tensorzero-python/src/lib.rs2921 /// Renders stored inferences using the templates of the specified variants.
LOWcrates/tensorzero-python/src/lib.rs3041
LOWcrates/tensorzero-python/src/python_helpers.rs141 Ok(FunctionTool {
LOWcrates/tensorzero-python/src/python_helpers.rs161///
LOWcrates/tensorzero-python/src/gil_helpers.rs21/// accidentally clone the underlying `T` and then drop it from somewhere else,
LOWcrates/tensorzero-stored-config/src/schema_dispatch.rs21 Deserialize {
LOWcrates/tensorzero-stored-config/src/schema_dispatch.rs41///
LOWcrates/bip39-uuid-substitution/src/lib.rs1//! UUID to BIP39 triple substitution for LLM inference.
LOWcrates/bip39-uuid-substitution/src/lib.rs21//! a blake3 hash of the UUID's lower 8 bytes (chosen for better entropy with `UUIDv7`).
LOWcrates/tensorzero-http/src/lib.rs121// the higher-level rate limit imposed by the model provider, which can be much higher.
LOWcrates/tensorzero-http/src/lib.rs141/// * Workaround for long-lived `h2` spans (see `tensorzero_h2_workaround_span`)
LOWcrates/tensorzero-http/src/lib.rs161 // * We don't attempt to detect if we're going to use HTTP2 (reqwest only exposes
LOWcrates/tensorzero-http/src/lib.rs381
LOWcrates/tensorzero-http/src/lib.rs501 }
LOWcrates/provider-proxy/src/lib.rs281 CacheMode::ReadOldWriteNew => {
LOWcrates/provider-proxy/src/lib.rs421}
LOWcrates/provider-proxy/src/lib.rs441pub struct Args {
LOWcrates/provider-proxy/src/lib.rs461 #[arg(long, default_value = "true")]
LOWcrates/tensorzero-config-paths/src/walker.rs1//! A generic walker for `TARGET_PATH_COMPONENTS` patterns over a mutable TOML-like tree.
LOWcrates/tensorzero-config-paths/src/lib.rs21 Wildcard,
LOWcrates/tensorzero-config-paths/src/lib.rs41/// absolute paths, without needing to know which TOML file a particular path was originally written in.
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs41 pub variant: UninitializedChatCompletionConfig,
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs61
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs81
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs141
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs361 message: format!(
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs461 return Err(Error::new(ErrorDetails::InternalError {
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs601 variant_names.len()
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs721///
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs781///
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs801 MetricConfigOptimize::Max => f32::NEG_INFINITY,
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs921
LOWcrates/tensorzero-optimizers/src/gepa/pareto.rs941 .values()
590 more matches not shown…
Cross-File Repetition99 hits · 495 pts
SeverityFileLineSnippet
HIGH…s/tensorzero-python/tests/test_openai_compatibility.py0test that an chat inference with null response (i.e. no generated content blocks) works as expected.
HIGHcrates/tensorzero-python/tests/test_client.py0test that an chat inference with null response (i.e. no generated content blocks) works as expected.
HIGHcrates/tensorzero-python/tests/test_client.py0test that an chat inference with null response (i.e. no generated content blocks) works as expected.
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0inputmessages are validated against the input schema of the function and then templated and transformed into requestmess
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0inputmessages are validated against the input schema of the function and then templated and transformed into requestmess
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0inputmessages are validated against the input schema of the function and then templated and transformed into requestmess
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0inputmessages are validated against the input schema of the function and then templated and transformed into requestmess
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0datapoint name. if omitted (which uses the default value `omit`), it will be left unchanged. if set to `none`, it will b
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0datapoint name. if omitted (which uses the default value `omit`), it will be left unchanged. if set to `none`, it will b
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0datapoint name. if omitted (which uses the default value `omit`), it will be left unchanged. if set to `none`, it will b
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0datapoint name. if omitted (which uses the default value `omit`), it will be left unchanged. if set to `none`, it will b
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a json pointer to the field to update (e.g. `/enable_agi`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a json pointer to the field to update (e.g. `/enable_agi`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a json pointer to the field to update (e.g. `/enable_agi`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a json pointer to the field to update (e.g. `/enable_agi`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a json pointer to the field to update (e.g. `/enable_agi`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a json pointer to the field to update (e.g. `/enable_agi`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a variant name in your configuration (e.g. `my_variant`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a variant name in your configuration (e.g. `my_variant`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a variant name in your configuration (e.g. `my_variant`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a variant name in your configuration (e.g. `my_variant`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0set to true to remove the field from the model provider request's body
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0set to true to remove the field from the model provider request's body
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0set to true to remove the field from the model provider request's body
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a model name in your configuration (e.g. `my_gpt_5`) or a short-hand model name (e.g. `openai::gpt-5`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a model name in your configuration (e.g. `my_gpt_5`) or a short-hand model name (e.g. `openai::gpt-5`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a model name in your configuration (e.g. `my_gpt_5`) or a short-hand model name (e.g. `openai::gpt-5`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a model name in your configuration (e.g. `my_gpt_5`) or a short-hand model name (e.g. `openai::gpt-5`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a model name in your configuration (e.g. `my_gpt_5`) or a short-hand model name (e.g. `openai::gpt-5`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a provider name for the model you specified (e.g. `my_openai`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a provider name for the model you specified (e.g. `my_openai`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a provider name for the model you specified (e.g. `my_openai`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a provider name for the model you specified (e.g. `my_openai`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0the name of the http header (e.g. `anthropic-beta`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0the name of the http header (e.g. `anthropic-beta`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0the name of the http header (e.g. `anthropic-beta`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0the name of the http header (e.g. `anthropic-beta`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0the name of the http header (e.g. `anthropic-beta`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0the name of the http header (e.g. `anthropic-beta`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0the value of the http header (e.g. `feature1,feature2,feature3`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0the value of the http header (e.g. `feature1,feature2,feature3`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0the value of the http header (e.g. `feature1,feature2,feature3`)
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0set to true to remove the header from the model provider request
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0set to true to remove the header from the model provider request
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0set to true to remove the header from the model provider request
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a toolresult is the outcome of a toolcall, which we may want to present back to the model
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a toolresult is the outcome of a toolcall, which we may want to present back to the model
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0a toolresult is the outcome of a toolcall, which we may want to present back to the model
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0struct that represents raw text content that should be passed directly to the model without any template processing or v
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0struct that represents raw text content that should be passed directly to the model without any template processing or v
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0struct that represents raw text content that should be passed directly to the model without any template processing or v
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0configuration for the object storage backend currently, we only support s3-compatible object storage and local filesyste
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0configuration for the object storage backend currently, we only support s3-compatible object storage and local filesyste
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0configuration for the object storage backend currently, we only support s3-compatible object storage and local filesyste
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0defines the types of content block that can come from a `chat` function
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0defines the types of content block that can come from a `chat` function
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0defines the types of content block that can come from a `chat` function
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0source of the inference output. determines whether to return the original inference output or demonstration feedback (ma
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0source of the inference output. determines whether to return the original inference output or demonstration feedback (ma
HIGHcrates/tensorzero-python/tensorzero/generated_types.py0source of the inference output. determines whether to return the original inference output or demonstration feedback (ma
39 more matches not shown…
Hyper-Verbose Identifiers449 hits · 405 pts
SeverityFileLineSnippet
LOWui/app/context/autopilot-available.tsx24export function AutopilotAvailableProvider({
LOWui/app/utils/tensorzero.server.ts97export async function addEvaluationHumanFeedback(
LOWui/app/utils/auth.server.ts44export async function requireValidApiKeyIfEnabled(): Promise<void> {
LOWui/app/utils/urls.ts84export function toWorkflowEvaluationRunUrl(runId: string): string {
LOWui/app/utils/urls.ts88export function toWorkflowEvaluationProjectUrl(projectName: string): string {
LOWui/app/utils/urls.ts96export function toSupervisedFineTuningJobUrl(jobId: string): string {
LOWui/app/utils/resolve.server.ts47async function resolveModelInferenceMessages(
LOWui/app/utils/resolve.server.ts60async function resolveModelInferenceMessage(
LOWui/app/utils/resolve.server.ts74async function resolveModelInferenceContent(
LOWui/app/utils/resolve.server.ts159async function loadFileDataForInputContent(
LOWui/app/utils/resolve.server.ts245export async function loadFileDataForStoredInput(
LOWui/app/utils/resolve.server.ts272async function loadFileDataForStoredInputContent(
LOWui/app/utils/serialize-markdown.ts22export function serializeConversationMarkdown(
LOWui/app/utils/evaluations.server.ts19function toEvaluationFunctionConfig(
LOWui/app/utils/clickhouse/common.ts373function storageKindToBackendStorageKind(
LOWui/app/utils/clickhouse/common.ts391function storagePathToBackendStoragePath(
LOWui/app/utils/clickhouse/common.ts405function displayInputMessageContentToStoredInputMessageContent(
LOWui/app/utils/clickhouse/common.ts437function displayInputMessageToStoredInputMessage(
LOWui/app/utils/clickhouse/common.ts453export function displayInputToStoredInput(
LOWui/app/utils/clickhouse/evaluations.ts29export function consolidateEvaluationResults(
LOWui/app/utils/clickhouse/inference.server.ts24export async function listInferencesWithPagination(params: {
LOWui/app/utils/clickhouse/inference.server.ts88export async function countInferencesForFunction(
LOWui/app/utils/clickhouse/inference.server.ts96export async function countInferencesForVariant(
LOWui/app/utils/clickhouse/evaluations.server.ts7export async function loadFileDataForEvaluationResult(
LOWui/app/utils/clickhouse/evaluations.server.ts50export async function getEvaluationsForDatapoint(
LOWui/app/utils/config/feedback.ts78export function filterInferenceEvaluationMetrics(metrics: {
LOWui/app/utils/tensorzero/errors.ts143export function isGatewayEndpointNotFoundError(error: unknown): boolean {
LOWui/app/utils/tensorzero/errors.ts199export function isAutopilotUnavailableError(error: unknown): boolean {
LOWui/app/utils/tensorzero/autopilot-client.ts266export function extractEditPayloadsFromConfigWrite(
LOWui/app/utils/autopilot/authorize.ts7export async function submitToolCallAuthorization(
LOWui/app/utils/autopilot/fetch-older-events.ts24export async function fetchOlderAutopilotEvents(
LOWui/app/components/ui/chart.tsx274function getPayloadConfigFromPayload(
LOWui/app/components/ui/LegacyStructuredPromptBadge.tsx13export function LegacyStructuredPromptBadge({
LOWui/app/components/ui/error/PageErrorContent.stories.tsx23function createMockRouteErrorResponse(
LOW…/app/components/ui/error/AutopilotUnavailableState.tsx4export function AutopilotUnavailableState() {
LOWui/app/components/ui/error/ErrorContent.tsx57function GatewayUnavailableContent() {
LOWui/app/components/ui/error/ErrorContent.tsx180function GatewayEndpointNotFoundContent({ routeInfo }: { routeInfo: string }) {
LOW…app/components/querybuilder/InferenceFilterBuilder.tsx526function createDemonstrationFilter(): InferenceFilter {
LOWui/app/components/dataset/use-dataset-options.tsx6export function getDatasetItemDataAttributes(item: string) {
LOWui/app/components/layout/TensorZeroStatusIndicator.tsx12export default function TensorZeroStatusIndicator({
LOW…ponents/function/variant/FeedbackSamplesTimeseries.tsx24export function transformFeedbackTimeseries(
LOWui/app/components/function/variant/VariantUsage.tsx326export function transformVariantUsageData(
LOW…/app/components/function/variant/VariantThroughput.tsx158export function transformVariantThroughput(parsedRows: VariantThroughput[]): {
LOW…omponents/function/variant/VariantPerformanceChart.tsx153export function transformVariantPerformances(
LOWui/app/components/input_output/InputElement.stories.tsx149 render: function SystemTemplateEditingStory() {
LOWui/app/components/input_output/InputElement.stories.tsx278 render: function AssistantMessageEditingStory() {
LOW…ponents/input_output/ChatOutputContentBlockElement.tsx18export function ChatOutputContentBlockElement({
LOW…_output/content_blocks/ThoughtContentBlock.stories.tsx238 render: function MultipleSummaryBlocksStory(args) {
LOW…_output/content_blocks/ThoughtContentBlock.stories.tsx271 render: function MultipleSummaryBlocksEditingStory() {
LOW…ntent_blocks/InferenceResponseToolCallContentBlock.tsx14export function InferenceResponseToolCallContentBlock({
LOW…pp/components/feedback/DemonstrationFeedbackButton.tsx8export function DemonstrationFeedbackButton({
LOWui/app/components/model/ModelLatency.tsx111function LatencyTimeWindowSelector({
LOWui/app/components/autopilot/EventVisualization.tsx59function UnknownVisualizationFallback({ raw }: { raw: unknown }) {
LOW…mponents/autopilot/ApplySessionConfigChangesButton.tsx35export function ApplySessionConfigChangesButton({
LOWui/app/components/autopilot/EventStream.tsx550function UserQuestionsAnswersContent({
LOWui/app/components/autopilot/EventStream.tsx587function AutoEvalLabelingAnswersContent({
LOWui/app/components/autopilot/EventStream.tsx703function ToolCallAuthorizationContent({
LOWui/app/hooks/useAutopilotEventStream.ts37function computeImmediateToolCalls(toolCalls: GatewayEvent[]): GatewayEvent[] {
LOWui/app/routes/index.tsx88function DirectoryCardDescriptionError() {
LOW…app/routes/evaluations/AdvancedParametersAccordion.tsx24export function AdvancedParametersAccordion({
389 more matches not shown…
Verbosity Indicators228 hits · 308 pts
SeverityFileLineSnippet
LOWclients/openai-node/tests/extra-content.test.ts39 // Step 1: Make inference request with a model that returns Thought content
LOWclients/openai-node/tests/extra-content.test.ts52 // Step 2: Verify response structure
LOWclients/openai-node/tests/extra-content.test.ts70 // Step 3: Round-trip - send the extra content back as an assistant message
LOWclients/openai-node/tests/extra-content.test.ts96 // Step 1: Make streaming inference request
LOWclients/openai-node/tests/extra-content.test.ts109 // Step 2: Collect chunks and extract extra content
LOWclients/openai-node/tests/extra-content.test.ts133 // Step 3: Verify we received extra content in streaming
LOWclients/openai-node/tests/extra-content.test.ts141 // Step 4: Round-trip if we have valid content
LOWclients/openai-go/tests/extra_content_test.go25 // Step 1: Make inference request with a model that returns Thought content
LOWclients/openai-go/tests/extra_content_test.go42 // Step 2: Verify response structure
LOWclients/openai-go/tests/extra_content_test.go62 // Step 3: Round-trip - send the extra content back as an assistant message
LOWclients/openai-go/tests/extra_content_test.go94 // Step 1: Make streaming inference request
LOWclients/openai-go/tests/extra_content_test.go110 // Step 2: Collect chunks and extract extra content
LOWclients/openai-go/tests/extra_content_test.go137 // Step 3: Verify we received extra content in streaming
LOWclients/openai-go/tests/extra_content_test.go148 // Step 4: Round-trip if we have valid content
LOWui/e2e_tests/datasets.stale-datapoint.spec.ts8 // Step 1: Create a new datapoint from an inference
LOWui/e2e_tests/datasets.stale-datapoint.spec.ts11 // Step 2: Capture the original datapoint ID from URL
LOWui/e2e_tests/datasets.stale-datapoint.spec.ts15 // Step 3: Edit and save the datapoint to create a new version
LOWui/e2e_tests/datasets.stale-datapoint.spec.ts45 // Step 4: Navigate back to the original (now stale) datapoint
LOWui/e2e_tests/datasets.stale-datapoint.spec.ts49 // Step 5: Verify stale behavior
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts7 // Step 1: Create an initial datapoint from an inference
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts16 // Step 2: Clone to a new dataset
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts34 // Step 3: Wait for success toast
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts41 // Step 4: Navigate to the target dataset page to verify the datapoint was created
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts71 // Step 2: Clone to the existing target dataset
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts85 // Step 3: Wait for success toast
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts92 // Step 4: Navigate to the target dataset page to verify the datapoint was cloned
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts102 // Step 1: Create a datapoint from an inference (this sets source_inference_id)
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts115 // Step 2: Clone to a new dataset
LOWui/e2e_tests/datasets.clone-datapoint.spec.ts136 // Step 3: Navigate to the cloned datapoint and verify source_inference_id
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts22 // Step 1: Add system text
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts50 // Step 2: Edit system text
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts71 // Step 3: Delete system text
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts117 // Step 1: Delete existing system template and re-add in same edit session
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts136 // Step 2: Re-add system template (still in same edit session)
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts164 // Step 3: Edit the template content
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts241 // Step 1: Verify text block was added
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts244 // Step 2: Edit the text block content
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts267 // Step 3: Delete the text block
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts436 // Step 1: Verify tool result was added
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts441 // Step 2: Edit the tool result content
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts460 // Step 3: Delete tool result
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts495 // Step 1: Delete the text content, add a template
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts536 // Step 2: Verify template was added
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts539 // Step 3: Edit the template arguments
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts613 // Step 1: Verify thought block was added
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts616 // Step 2: Edit the thought block content
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts639 // Step 3: Delete the thought block
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)
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts740 // Step 2: Delete the file block
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts992 // Step 1: Verify text block was added
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts995 // Step 2: Edit the text block content
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1017 // Step 3: Delete the text block
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1233 // Step 1: Verify tool result was added
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1238 // Step 2: Edit the tool result content
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1260 // Step 3: Delete tool result
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1349 // Step 1: Verify template was added
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1352 // Step 2: Edit the template arguments
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1379 // Step 3: Delete the template
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1462 // Step 1: Verify thought block was added
LOW…ts.dataset_name.datapoint.datapoint_id/editing.spec.ts1465 // Step 2: Edit the thought block content
168 more matches not shown…
Unused Imports132 hits · 78 pts
SeverityFileLineSnippet
LOWcrates/tensorzero-python/tests/import_failure.py9
LOWcrates/tensorzero-python/tensorzero/client.py2
LOWcrates/tensorzero-python/tensorzero/client.py5
LOWcrates/tensorzero-python/tensorzero/client.py8
LOWcrates/tensorzero-python/tensorzero/__init__.py7
LOWcrates/tensorzero-python/tensorzero/__init__.py7
LOWcrates/tensorzero-python/tensorzero/__init__.py7
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
LOWcrates/tensorzero-python/tensorzero/__init__.py14
72 more matches not shown…
Fake / Example Data65 hits · 76 pts
SeverityFileLineSnippet
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 st
LOWui/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 st
LOWui/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 st
LOWui/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
LOWui/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
LOWui/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 st
LOWui/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 st
LOWui/app/components/ui/dialog.stories.tsx86 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed
LOWui/app/components/ui/dialog.stories.tsx86 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed
LOWui/app/components/layout/TextMessage.stories.tsx48 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore mag
LOWui/app/components/layout/TextMessage.stories.tsx48 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore mag
LOWui/app/components/layout/TemplateMessage.stories.tsx37 name: "John Doe",
LOWui/app/components/input_output/InputElement.stories.tsx113 company_name: "Acme Corp",
LOWui/app/components/input_output/InputElement.stories.tsx138 company_name: "Acme Corp",
LOWui/app/components/input_output/InputElement.stories.tsx154 company_name: "Acme Corp",
LOW…mponents/input_output/ModelInferenceOutput.stories.tsx83 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent quis orci turpis. Phasellus tempor metus sed enim c
LOW…mponents/input_output/ModelInferenceOutput.stories.tsx83 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent quis orci turpis. Phasellus tempor metus sed enim c
LOW…output/content_blocks/TemplateContentBlock.stories.tsx148 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore
LOW…output/content_blocks/TemplateContentBlock.stories.tsx148 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore
LOW…output/content_blocks/TemplateContentBlock.stories.tsx163 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore
LOW…output/content_blocks/TemplateContentBlock.stories.tsx163 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore
LOW…output/content_blocks/TemplateContentBlock.stories.tsx175 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore
LOW…output/content_blocks/TemplateContentBlock.stories.tsx175 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore
LOW…tput/content_blocks/ToolResultContentBlock.stories.tsx70 name: "John Doe",
LOW…tput/content_blocks/ToolResultContentBlock.stories.tsx85 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore m
LOW…tput/content_blocks/ToolResultContentBlock.stories.tsx85 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore m
LOW…tput/content_blocks/ToolResultContentBlock.stories.tsx101 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore m
LOW…tput/content_blocks/ToolResultContentBlock.stories.tsx101 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore m
LOW…tput/content_blocks/ToolResultContentBlock.stories.tsx114 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore m
LOW…tput/content_blocks/ToolResultContentBlock.stories.tsx114 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore m
LOW…output/content_blocks/ToolCallContentBlock.stories.tsx78 name: "John Doe",
LOW…output/content_blocks/ToolCallContentBlock.stories.tsx107 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et do
LOW…output/content_blocks/ToolCallContentBlock.stories.tsx107 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et do
LOW…output/content_blocks/ToolCallContentBlock.stories.tsx122 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et do
LOW…output/content_blocks/ToolCallContentBlock.stories.tsx122 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et do
LOW…output/content_blocks/ToolCallContentBlock.stories.tsx134 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et do
LOW…output/content_blocks/ToolCallContentBlock.stories.tsx134 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et do
LOW…_output/content_blocks/ThoughtContentBlock.stories.tsx342 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore m
LOW…_output/content_blocks/ThoughtContentBlock.stories.tsx342 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore m
LOW…_output/content_blocks/ThoughtContentBlock.stories.tsx350 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore
LOW…_output/content_blocks/ThoughtContentBlock.stories.tsx350 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore
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 dolore
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 dolore
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 mag
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 mag
LOW…put_output/content_blocks/TextContentBlock.stories.tsx58 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent quis orci turpis. Phasellus tempor metus se
LOW…put_output/content_blocks/TextContentBlock.stories.tsx58 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent quis orci turpis. Phasellus tempor metus se
LOW…put_output/content_blocks/TextContentBlock.stories.tsx76 text: '{"name": "John Doe", "age": 30, "city": "New York"}',
LOW…put_output/content_blocks/TextContentBlock.stories.tsx85 text: '{"name": "John Doe", "age": 30, "city": "New York"}',
LOW…put_output/content_blocks/TextContentBlock.stories.tsx91 '{"name": "John Doe", "age": 30, "city": "New York"}',
LOWui/app/components/feedback/FeedbackTable.stories.tsx185 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras dolor ex, posuere at libero sit amet, mollis va
LOWui/app/components/feedback/FeedbackTable.stories.tsx185 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras dolor ex, posuere at libero sit amet, mollis va
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 i
LOWui/app/components/feedback/FeedbackTable.stories.tsx234 text: "Long demonstration: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
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. Lor
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 a
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 a
LOWui/e2e_tests/datapoints.new.spec.ts127 person: ["John Doe"],
LOWui/e2e_tests/datapoints.new.spec.ts128 organization: ["Acme Corp"],
LOW…ore/tests/e2e/providers/commonv2/cache_input_tokens.rs28/// Large Lorem Ipsum text (~4200 tokens) for cache tests.
5 more matches not shown…
Excessive Try-Catch Wrapping44 hits · 60 pts
SeverityFileLineSnippet
MEDIUMcrates/tensorzero-python/generate_schema_types.py223 print(f"Error generating dataclasses from {schema_file.name}:", file=sys.stderr)
MEDIUMcrates/tensorzero-python/generate_schema_types.py227 print("Error: datamodel-code-generator not found.", file=sys.stderr)
MEDIUMcrates/tensorzero-python/generate_schema_types.py267 print(f"Error fixing and formatting generated dataclasses: {e}", file=sys.stderr)
MEDIUMcrates/tensorzero-python/generate_schema_types.py310 print(f"Error running cargo test: {e}", file=sys.stderr)
LOWcrates/tensorzero-python/generate_schema_types.py387 except Exception as e:
LOWcrates/tensorzero-python/tests/test_auth.py57 except Exception:
LOWcrates/tensorzero-python/tests/test_auth.py104 except Exception:
LOWcrates/tensorzero-python/tests/test_auth.py144 except Exception:
LOWcrates/tensorzero-python/tests/test_auth.py191 except Exception:
LOWcrates/tensorzero-python/tests/test_auth.py229 except Exception:
LOWcrates/tensorzero-python/tests/test_auth.py268 except Exception:
LOWcrates/tensorzero-python/tests/import_failure.py12except Exception as e:
MEDIUMci/check_coordinated_edits.py45 print(f"Error getting changed files: {e}", file=sys.stderr)
LOWci/markdown-broken-link-checker/main.py45 except Exception as e:
LOW…mples/workflow_evaluations/simple-agentic-rag/agent.py113 except Exception as e:
MEDIUM…mples/workflow_evaluations/simple-agentic-rag/agent.py114 print(f"Error compacting context: {e}")
LOW…amples/workflow_evaluations/simple-agentic-rag/main.py90 except Exception as e:
MEDIUM…amples/workflow_evaluations/simple-agentic-rag/main.py91 print(f"Error evaluating question {question['id']}: {e}")
LOW…s/guides/experimentation/run-adaptive-ab-tests/main.py33 except Exception as e:
MEDIUM…s/guides/experimentation/run-adaptive-ab-tests/main.py34 print(f"Error occurred: {e}")
LOW…/enforce-custom-rate-limits/valkey-redis/openai_sdk.py19 except Exception as e:
MEDIUM…/enforce-custom-rate-limits/valkey-redis/openai_sdk.py20 print(f"Error calling LLM: {e}")
MEDIUM…/enforce-custom-rate-limits/valkey-redis/openai_sdk.py6def call_llm(user_id):
LOW…ions/enforce-custom-rate-limits/postgres/openai_sdk.py19 except Exception as e:
MEDIUM…ions/enforce-custom-rate-limits/postgres/openai_sdk.py20 print(f"Error calling LLM: {e}")
MEDIUM…ions/enforce-custom-rate-limits/postgres/openai_sdk.py6def call_llm(user_id):
LOW…es/operations/set-up-auth-for-tensorzero/openai_sdk.py43except Exception as e:
LOWexamples/blog/bandits-in-your-llm-gateway/main.py27 except Exception as e:
MEDIUMexamples/blog/bandits-in-your-llm-gateway/main.py28 print(f"Error occurred: {e}")
LOW…amples/integrations/crewai/example/src/example/main.py10 except Exception as e:
MEDIUM…amples/integrations/crewai/example/src/example/main.py7def run():
LOW…ot/benchmarks/src/autopilot_benchmarks/orchestrator.py293 except Exception:
LOW…ot/benchmarks/src/autopilot_benchmarks/orchestrator.py790 except Exception:
LOW…ot/benchmarks/src/autopilot_benchmarks/orchestrator.py804 except Exception:
LOW…ot/benchmarks/src/autopilot_benchmarks/orchestrator.py1135 except Exception:
LOW…arks/src/autopilot_benchmarks/infra/gateway_process.py120 except Exception:
LOW…/benchmarks/src/autopilot_benchmarks/rollout/runner.py115 except Exception as exc:
LOW…/benchmarks/src/autopilot_benchmarks/rollout/runner.py483 except Exception as e:
LOW…/benchmarks/src/autopilot_benchmarks/rollout/runner.py526 except Exception:
LOW…/benchmarks/src/autopilot_benchmarks/rollout/runner.py784 except Exception as e:
LOW…/benchmarks/src/autopilot_benchmarks/rollout/runner.py809 except Exception as e:
LOW…nchmarks/src/autopilot_benchmarks/autopilot/session.py189 except Exception as e:
LOW…nchmarks/src/autopilot_benchmarks/autopilot/session.py194 except Exception:
LOW…nchmarks/src/autopilot_benchmarks/autopilot/session.py260 except Exception as e:
Redundant / Tautological Comments35 hits · 55 pts
SeverityFileLineSnippet
LOWcrates/tensorzero-python/test.sh4# Set this to an intentionally invalid url, to make sure that `tensorzero` can still be imported
LOW…ython/tests/raw_usage/test_raw_usage_tensorzero_sdk.py107 # Check if this chunk has raw_usage at chunk level (sibling to usage)
LOW…ython/tests/raw_usage/test_raw_usage_tensorzero_sdk.py167 # Check if this chunk has raw_usage at chunk level (sibling to usage)
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)
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)
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)
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)
LOWcrates/evaluations/src/lib.rs568/// ## Return value
LOWci/check-helm-schema-sync.sh10# Check if the schema file exists
LOWci/check-helm-schema-sync.sh16# Check if there are any uncommitted changes to the schema file
LOWci/check-all-general-jobs-passed.sh65# Check if a job name matches an entry in a list.
LOWci/check_coordinated_edits.py130 # Check if any line in this block (between IfEdited and ThenEdit) was modified
LOWci/check_coordinated_edits.py143 # Check if we're in a multiline ThenEdit continuation
LOWci/check_coordinated_edits.py155 # Check if this line ends the ThenEdit
LOWci/check_coordinated_edits.py170 # Check if any line in this block was modified
LOWci/check_coordinated_edits.py272 # Check if there were any changed files
LOWci/check-docker-compose.sh27# Check if docker-compose.yml has both postgres and gateway services, and apply migrations if so
LOWci/check-version-consistency.sh19# Check if versions match
LOWci/compile-check-notebooks.sh28 # Check if changed scripts match the notebooks
LOWci/compile-check-notebooks.sh58 # Check if changed notebooks match the scripts
LOWci/compile-check-notebooks.sh102 # Check if changed notebooks match the scripts
LOWci/check-durable-deps.sh27 # Read the file line by line
LOWci/check-durable-deps.sh29 # Check if this line contains a git dependency to durable
LOWci/check-durable-deps.sh34 # Check if it has a rev or tag (not branch)
LOWci/check-durable-deps.sh74 # Check if the ref exists first
LOWci/check-durable-deps.sh81 # Check if this ref is an ancestor of origin/main (i.e., in main's history)
LOWexamples/integrations/langgraph/main.py40 # Check if we received a tool call for `temperature_api`
LOWexamples/guides/datasets-datapoints/main.sh85# Check if bulk insert was successful by verifying the response has an "ids" field
LOWexamples/guides/datasets-datapoints/main.sh95# Check if we got a valid ID
LOWexamples/guides/batch-inference/poll_batch.sh3# Check if `batch_id` argument is provided
LOW…arks/src/autopilot_benchmarks/infra/gateway_process.py176 # Check if process died
LOW…nchmarks/src/autopilot_benchmarks/autopilot/session.py118 # Check if autopilot has produced config writes yet
LOW.github/workflows/auto-approve-trusted-pr-workflows.yml74 # Check if it's already approved or doesn't need approval
LOW.github/workflows/cancel-merge-queue-on-job-failure.yml85 # Check if any required job has failed
LOW.github/workflows/upgrade-tensorzero-deps.yml136 # Check if branch already exists and delete it
Deep Nesting34 hits · 32 pts
SeverityFileLineSnippet
LOWcrates/tensorzero-python/generate_schema_types.py93
LOWcrates/tensorzero-python/generate_schema_types.py272
LOWcrates/tensorzero-python/generate_schema_types.py318
LOWcrates/tensorzero-python/tests/conftest.py329
LOW…s/tensorzero-python/tests/test_roundtrip_tool_types.py40
LOW…s/tensorzero-python/tests/test_roundtrip_tool_types.py471
LOW…s/tensorzero-python/tests/test_roundtrip_text_types.py40
LOW…s/tensorzero-python/tests/test_roundtrip_text_types.py350
LOWcrates/tensorzero-python/tests/test_client.py3125
LOW…races_extra_headers/test_traceparent_tensorzero_sdk.py32
LOW…zero-python/tests/otlp_traces_extra_headers/helpers.py9
LOW…_api/test_inference_openai_responses_api_openai_sdk.py216
LOW…/test_inference_openai_responses_api_tensorzero_sdk.py250
LOW…edrock/test_multi_turn_parallel_tool_use_openai_sdk.py19
LOWcrates/tensorzero-python/tensorzero/types.py336
LOWcrates/tensorzero-python/tensorzero/types.py481
LOWcrates/tensorzero-python/tensorzero/types.py623
LOWcrates/tensorzero-python/tensorzero/types.py641
LOWci/check_coordinated_edits.py49
LOWci/check_coordinated_edits.py86
LOWci/check_coordinated_edits.py244
LOWci/markdown-broken-link-checker/main.py133
LOW…mples/workflow_evaluations/simple-agentic-rag/agent.py33
LOWexamples/docs/guides/optimization/gepa/main.py45
LOWexamples/integrations/langgraph/main.py116
LOWexamples/mcp-model-context-protocol/main.py8
LOW…ot/benchmarks/src/autopilot_benchmarks/orchestrator.py981
LOW…nchmarks/src/autopilot_benchmarks/infra/postgres_io.py195
LOW…rks/src/autopilot_benchmarks/infra/config_generator.py34
LOW…/benchmarks/src/autopilot_benchmarks/rollout/runner.py317
LOW…nchmarks/src/autopilot_benchmarks/autopilot/session.py76
LOW…nchmarks/src/autopilot_benchmarks/autopilot/session.py273
LOW…nchmarks/src/autopilot_benchmarks/autopilot/session.py374
LOW…rks/src/autopilot_benchmarks/autopilot/interlocutor.py50
Self-Referential Comments9 hits · 27 pts
SeverityFileLineSnippet
MEDIUMcrates/tensorzero-python/tests/test_embeddings.py164 # Create a batch of 10 different inputs
MEDIUM…s/tensorzero-python/tests/test_stored_inferences_v1.py314 # Create an inference with a specific tag
MEDIUMcrates/tensorzero-python/tests/test_client.py3450 # Create a temp file and write to it
MEDIUMcrates/tensorzero-python/tests/test_client.py3495 # Create a temp file and write to it
MEDIUMexamples/evaluations/tutorial/main.py46 # Create a semaphore to limit concurrent requests
MEDIUMexamples/integrations/cursor/nginx/entrypoint.sh9# Create the conf.d directory if it doesn't exist
MEDIUMexamples/guides/datasets-datapoints/main.sh7# Create a temporary file to store the JSON data
MEDIUMexamples/guides/batch-inference/start_batch.sh3# Create a batch inference job with three inputs
MEDIUMexamples/mcp-model-context-protocol/main.py9 # Define the MCP server
Cross-Language Confusion3 hits · 18 pts
SeverityFileLineSnippet
HIGHcrates/tensorzero-python/tests/test_client.py3424 == '{\n "id": "id",\n "object": "text.completion",\n "created": 1618870400,\n "model": "text-davinci-002",\n
HIGHcrates/tensorzero-python/tests/test_client.py350 == '{"system":null,"messages":[{"role":"user","content":[{"type":"thought","text":"my_first_thought","signature"
HIGHcrates/tensorzero-python/tests/test_client.py381 == '{"system":null,"messages":[{"role":"user","content":[{"type":"thought","text":null,"signature":"my_first_sig
AI Slop Vocabulary6 hits · 17 pts
SeverityFileLineSnippet
MEDIUM…aluations/tests/e2e/test_typescript_judge_evaluator.rs470 // robust across platforms and random tempdir names.
MEDIUM…/tensorzero-core/src/providers/gcp_vertex_anthropic.rs396 // Track tool state per content block index for robust handling of interleaved blocks
MEDIUMcrates/tensorzero-core/src/providers/anthropic.rs485 // Track tool state per content block index for robust handling of interleaved blocks
MEDIUMcrates/tensorzero-core/src/providers/anthropic.rs1540 // Look up tool info by index for robust handling of interleaved content blocks
LOW…mples/workflow_evaluations/simple-agentic-rag/agent.py121 # when the search process is stopped; here, we simply return a failure message.
MEDIUM…nchmarks/src/autopilot_benchmarks/autopilot/session.py245 # more robust than maintaining a positive allowlist because newly
Slop Phrases5 hits · 12 pts
SeverityFileLineSnippet
LOWcrates/tensorzero-core/src/model.rs5066 /// This test exists to ensure we don't forget to update the method when adding new providers.
MEDIUM…tion/supervised-fine-tuning-sft/config/tensorzero.toml15# After running SFT optimization, you can add the fine-tuned variant:
MEDIUM…ynamic-in-context-learning-dicl/config/tensorzero.toml15# After running DICL optimization, you can add the generated DICL variant:
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.
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' definition
Magic Placeholder Names1 hit · 8 pts
SeverityFileLineSnippet
HIGHcrates/autopilot-client/src/lib.rs17//! .api_key("your-api-key")
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippet
LOWui/app/components/ui/code-editor.stories.tsx65// Example usage
LOW…sorzero-core/tests/e2e/docker-compose.config-in-db.yml4# Usage:
LOW…sorzero-core/tests/e2e/docker-compose.db-only-boot.yml5# Usage:
LOWci/docker/postgres/build-and-push.sh11# Usage:
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippet
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.
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOWui/app/entry.server.tsx25export default function handleRequest(