AI Slop Code RIsk Monitor

vllm-project/semantic-router

An open, programmable decision layer for models and compute.

6.0 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for vllm-project/semantic-router, a Go project with 6,077 GitHub stars. SynthScan examined 2,169,253 lines of code across 10645 source files, recording 10081 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 6.0 (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.

6.0
Adjusted Signal
6.0
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
6.1K
Stars
Go
Language
2.2M
Lines of Code
10.6K
Files
10.1K
Pattern Hits
2026-10-12
Scan Date
0.02
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 18.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.5/100 · LOW

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

Agent Over-Engineering Ratio 18.1/100 · LOW

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

PR Review Velocity Impact 25.1/100 · MEDIUM

Which changes need focused human review? 10081 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 9HIGH 168MEDIUM 764LOW 9140

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 10081 distinct pattern matches across 25 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.

Hyper-Verbose Identifiers6062 hits · 6154 pts
SeverityFileLineSnippetContext
LOWbench/test_agent_session_replay.py31def test_requests_share_a_stable_prefix_and_append_history() -> None:CODE
LOWbench/test_agent_session_replay.py121def test_parse_session_rejects_malformed_sessions(mutate: Mutation, error: str) -> None:CODE
LOWbench/test_agent_session_replay.py129def test_load_session_rejects_duplicate_json_keys(tmp_path: Path) -> None:CODE
LOWbench/test_agent_session_replay.py164def test_replay_sends_each_turn_and_flags_a_tool_loop_switch(CODE
LOWbench/agentic_routing_live_benchmark.py547def missing_router_header_counts(rows: list[dict[str, Any]]) -> dict[str, int]:CODE
LOWbench/agentic_routing_live_benchmark.py554def invalid_router_header_counts(rows: list[dict[str, Any]]) -> dict[str, int]:CODE
LOWbench/agentic_routing_live_benchmark.py567def valid_router_header_value(header: str, value: str) -> bool:CODE
LOWbench/agentic_routing_live_benchmark.py667def attach_validation_failures(CODE
LOWbench/agentic_routing_live_benchmark.py714def render_comparison_markdown(comparison: dict[str, Any]) -> str:CODE
LOWbench/plot_session_routing_figures.py225def render_synthetic_headline(overall: dict[str, Any], output: Path, dpi: int) -> None:CODE
LOWbench/plot_session_routing_figures.py358def render_ablation_cost_quality(CODE
LOWbench/plot_session_routing_figures.py660def agent_task_readiness_metrics(CODE
LOWbench/plot_session_routing_figures.py712def render_agent_task_readiness(CODE
LOWbench/agent_task_live_benchmark.py2575def missing_router_header_counts(rows: list[dict[str, Any]]) -> dict[str, int]:CODE
LOWbench/agent_task_live_benchmark.py2582def invalid_router_header_counts(rows: list[dict[str, Any]]) -> dict[str, int]:CODE
LOWbench/agent_task_live_benchmark.py2595def valid_router_header_value(header: str, value: str) -> bool:CODE
LOWbench/agent_task_live_benchmark.py2818def attach_validation_failures(CODE
LOWbench/agent_task_live_benchmark.py2943def render_comparison_markdown(comparison: dict[str, Any]) -> str:CODE
LOWbench/session_routing_branch_image_benchmark.py251def add_evidence_identity_failures(CODE
LOWbench/session_routing_branch_image_benchmark.py324def add_cache_probe_identity_failures(CODE
LOWbench/session_routing_branch_image_benchmark.py333def add_cache_probe_pair_failures(CODE
LOWbench/session_routing_branch_image_benchmark.py360def add_cache_probe_serving_path_failures(CODE
LOWbench/session_routing_branch_image_benchmark.py457def evaluate_failure_aggregate(CODE
LOWbench/session_routing_branch_image_benchmark.py513def evaluate_agent_task_summary(CODE
LOWbench/session_routing_branch_image_benchmark.py694def has_mounted_binary_marker(*values: str) -> bool:CODE
LOWbench/agentic_routing_experiment.py473def agentic_boundary_decision(CODE
LOWbench/agentic_routing_experiment.py805def summarize_baseline_policy(rows: list[dict[str, Any]]) -> dict[str, Any]:CODE
LOWbench/agentic_routing_experiment.py905def learning_architecture_fixtures() -> list[dict[str, Any]]:CODE
LOWbench/agentic_routing_experiment.py1078def summarize_learning_architecture(rows: list[dict[str, Any]]) -> dict[str, Any]:CODE
LOWbench/agentic_routing_experiment.py1178def write_learning_architecture_outputs(out_dir: Path) -> dict[str, Any]:CODE
LOWbench/agentic_routing_experiment.py1280def render_learning_architecture_report(CODE
LOWbench/test_cache_token_probe.py70def test_cached_token_extraction_handles_missing_zero_and_positive_values():CODE
LOWbench/test_cache_token_probe.py104def test_usage_extraction_handles_chat_and_responses_token_names():CODE
LOWbench/test_cache_token_probe.py127def test_cache_reporting_state_distinguishes_missing_zero_and_positive():CODE
LOWbench/test_cache_token_probe.py138def test_summary_reports_cached_ratio_and_reporting_state():CODE
LOWbench/test_cache_token_probe.py166def test_summary_records_repeated_prefix_probe_metadata():CODE
LOWbench/test_cache_token_probe.py179def test_validate_summary_gates_positive_cache_evidence():CODE
LOWbench/test_cache_token_probe.py197def test_validate_summary_fails_missing_or_zero_cache_evidence():CODE
LOWbench/test_cache_token_probe.py226def test_validate_summary_fails_low_success_rate():CODE
LOWbench/test_cache_token_probe.py237def test_validate_baseline_identity_rejects_same_base_url():CODE
LOWbench/test_cache_token_probe.py259def test_validate_baseline_identity_accepts_direct_backend_url():CODE
LOWbench/test_cache_token_probe.py279def test_aggregate_summary_output_matches_ga_report_shape(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py53def complete_branch_image_summary() -> dict:CODE
LOWbench/test_session_routing_ga_report.py96def complete_agent_task_summary() -> dict:CODE
LOWbench/test_session_routing_ga_report.py235def test_complete_evidence_passes_ga_gate(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py282def test_missing_positive_cache_and_branch_image_block_ga(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py332def test_positive_cache_without_probe_metadata_blocks_ga(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py380def test_positive_cache_without_direct_backend_baseline_blocks_ga(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py431def test_positive_cache_requires_router_baseline_probe_identity_match(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py493def test_positive_cache_requires_direct_backend_serving_path_identity(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py555def test_cache_runner_validation_failures_block_ga(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py601def test_agent_task_runner_validation_failures_block_ga(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py643def test_stale_agent_task_suite_blocks_ga(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py713def test_diagnostic_probe_does_not_satisfy_branch_image_benchmark(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py771def test_branch_image_summary_requires_all_child_checks(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py813def test_branch_image_summary_requires_assembler_identity_and_evidence(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py861def test_branch_image_summary_blocks_expected_identity_mismatch(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py910def test_missing_initial_policy_baseline_blocks_ga(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py959def test_main_writes_report_and_respects_allow_blockers(tmp_path):CODE
LOWbench/test_session_routing_ga_report.py983def test_main_stdout_lists_blockers_for_maintainer_ops(tmp_path, capsys):CODE
6002 more matches not shown…
Decorative Section Separators476 hits · 1598 pts
SeverityFileLineSnippetContext
MEDIUMtools/test/smoke/test-signal-api.sh13# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-signal-api.sh15# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-signal-api.sh78# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-signal-api.sh80# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-signal-api.sh134# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-signal-api.sh136# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-signal-api.sh186# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-signal-api.sh188# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-signal-api.sh466# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-signal-api.sh468# ============================================================================COMMENT
MEDIUM⚡tools/test/smoke/test-authz-rbac.sh28# ─── Configurable parameters (from env, with defaults) ───────────────COMMENT
MEDIUM⚡tools/test/smoke/test-authz-rbac.sh38# ─── Dynamic discovery ───────────────────────────────────────────────COMMENT
MEDIUMtools/test/smoke/test-authz-rbac.sh103# ─── Helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tools/test/smoke/test-authz-rbac.sh175# ─── Test 1: Admin → 14B ─────────────────────────────────────────────COMMENT
MEDIUM⚡tools/test/smoke/test-authz-rbac.sh181# ─── Test 2: Alice (engineering/pro_tier) → 7B ───────────────────────COMMENT
MEDIUM⚡tools/test/smoke/test-authz-rbac.sh187# ─── Test 3: Bob (premium) + complex query → 14B ─────────────────────COMMENT
MEDIUM⚡tools/test/smoke/test-authz-rbac.sh193# ─── Test 4: Bob (premium) + simple query → 7B ───────────────────────COMMENT
MEDIUM⚡tools/test/smoke/test-authz-rbac.sh199# ─── Test 5: Carol (free) → 7B ───────────────────────────────────────COMMENT
MEDIUM⚡tools/test/smoke/test-authz-rbac.sh205# ─── Test 6: Dave (contractor/free_tier) → 7B ────────────────────────COMMENT
MEDIUM⚡tools/test/smoke/test-authz-rbac.sh211# ─── Test 7: Invalid token → 401 ─────────────────────────────────────COMMENT
MEDIUM⚡tools/test/smoke/test-authz-rbac.sh217# ─── Test 8: No token → 401 ──────────────────────────────────────────COMMENT
MEDIUM⚡tools/test/smoke/test-authz-rbac.sh226# ─── Summary ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tools/test/smoke/test-classification-api.sh192# ============================================================================COMMENT
MEDIUM⚡tools/test/smoke/test-classification-api.sh194# ============================================================================COMMENT
MEDIUM⚡tools/test/smoke/test-classification-api.sh198# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/test/smoke/test-classification-api.sh200# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh12# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh14# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh84# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh86# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh140# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh142# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh386# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh388# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh460# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh462# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh521# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh523# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh649# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh651# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh789# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh791# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh852# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh854# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh920# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-classification-api.sh922# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-direct-api.sh13# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-direct-api.sh15# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-direct-api.sh80# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-direct-api.sh82# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-direct-api.sh147# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-direct-api.sh149# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-direct-api.sh215# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-direct-api.sh217# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-direct-api.sh283# ============================================================================COMMENT
MEDIUMtools/test/smoke/test-direct-api.sh285# ============================================================================COMMENT
MEDIUM⚡tools/security/ast_security_scanner.py814# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/security/ast_security_scanner.py816# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/security/ast_security_scanner.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/security/ast_security_scanner.py37# ---------------------------------------------------------------------------COMMENT
416 more matches not shown…
Unused Imports1052 hits · 1040 pts
SeverityFileLineSnippetContext
LOWbench/test_agent_session_replay.py1CODE
LOWbench/agentic_routing_live_benchmark.py12CODE
LOWbench/plot_session_routing_figures.py10CODE
LOWbench/agent_task_live_benchmark.py4CODE
LOWbench/session_routing_branch_image_benchmark.py10CODE
LOWbench/agentic_routing_experiment.py9CODE
LOWbench/openai_fault_proxy.py4CODE
LOWbench/agent_session_replay.py2CODE
LOWbench/session_routing_ga_report.py4CODE
LOWbench/cache_token_probe.py4CODE
LOWbench/session_routing_branch_image_probe.py4CODE
LOWbench/hallucination/datasets.py12CODE
LOWbench/hallucination/__init__.py7CODE
LOWbench/hallucination/__init__.py8CODE
LOWbench/hallucination/__init__.py8CODE
LOWbench/hallucination/__init__.py8CODE
LOWbench/hallucination/evaluate.py29CODE
LOWbench/redteam/test_attack.py3CODE
LOWbench/redteam/scorers.py7CODE
LOWbench/redteam/test_datasets.py1CODE
LOWbench/redteam/datasets.py7CODE
LOWbench/redteam/__init__.py3CODE
LOWbench/redteam/__init__.py3CODE
LOWbench/redteam/__init__.py3CODE
LOWbench/redteam/__init__.py3CODE
LOWbench/redteam/__init__.py3CODE
LOWbench/redteam/__init__.py3CODE
LOWbench/redteam/__init__.py11CODE
LOWbench/redteam/__init__.py12CODE
LOWbench/redteam/attack.py7CODE
LOWbench/redteam/evaluate.py12CODE
LOWbench/grounded_fusion/metrics.py9CODE
LOWbench/grounded_fusion/runner.py9CODE
LOWbench/grounded_fusion/ollama_proxy.py17CODE
LOWbench/grounded_fusion/datasets.py18CODE
LOWbench/grounded_fusion/grade_only.py16CODE
LOWbench/grounded_fusion/compare_multiarm.py22CODE
LOWbench/grounded_fusion/llm_client.py12CODE
LOWbench/grounded_fusion/rubric_judge.py17CODE
LOWbench/grounded_fusion/evaluate.py20CODE
LOWbench/grounded_fusion/make_configs.py16CODE
LOWbench/grounded_fusion/sanitize_results.py14CODE
LOWbench/grounded_fusion/items.py13CODE
LOWbench/grounded_fusion/compare.py16CODE
LOWbench/reasoning/plotting.py1CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py15CODE
LOWbench/reasoning/reasoning_mode_eval.py16CODE
LOWbench/reasoning/__init__.py28CODE
LOWbench/reasoning/__init__.py28CODE
LOWbench/reasoning/__init__.py29CODE
LOWbench/reasoning/__init__.py29CODE
LOWbench/reasoning/__init__.py29CODE
LOWbench/reasoning/__init__.py29CODE
LOWbench/reasoning/__init__.py32CODE
LOWbench/reasoning/__init__.py32CODE
LOWbench/reasoning/dataset_factory.py8CODE
LOWbench/reasoning/dataset_factory.py18CODE
LOWbench/reasoning/canonical_patch.py1CODE
LOWbench/reasoning/router_accounting.py8CODE
LOWbench/reasoning/reporting.py1CODE
992 more matches not shown…
Structural Annotation Overuse359 hits · 629 pts
SeverityFileLineSnippetContext
LOW⚡deploy/kserve/install-gpu-operator.sh29# Step 1: Install Node Feature Discovery (NFD) OperatorCOMMENT
LOWdeploy/kserve/install-gpu-operator.sh81# Step 2: Create NFD InstanceCOMMENT
LOW⚡deploy/kserve/install-gpu-operator.sh122# Step 3: Install NVIDIA GPU OperatorCOMMENT
LOWdeploy/kserve/install-gpu-operator.sh175# Step 4: Create ClusterPolicyCOMMENT
LOWdeploy/kserve/install-gpu-operator.sh235# Step 5: Verify GPU ResourcesCOMMENT
LOWwebsite/docs/installation/k8s/agentgateway.md39## Step 1: Create Kind Cluster (Optional)COMMENT
LOWwebsite/docs/installation/k8s/agentgateway.md50## Step 2: Install agentgatewayCOMMENT
LOWwebsite/docs/installation/k8s/agentgateway.md73## Step 3: Create an agentgateway proxyCOMMENT
LOWwebsite/docs/installation/k8s/agentgateway.md100## Step 4: Deploy Demo LLMCOMMENT
LOWwebsite/docs/installation/k8s/agentgateway.md173## Step 5: Deploy vLLM Semantic RouterCOMMENT
LOWwebsite/docs/installation/k8s/agentgateway.md193## Step 6: Create agentgateway routing resourcesCOMMENT
LOWwebsite/docs/installation/k8s/agentgateway.md231## Step 7: Attach Semantic Router as ExtProcCOMMENT
LOWwebsite/docs/installation/k8s/istio.md42## Step 1: Verify the clusterCOMMENT
LOWwebsite/docs/installation/k8s/istio.md48## Step 2: Deploy LLM modelsCOMMENT
LOWwebsite/docs/installation/k8s/istio.md79## Step 3: Install Gateway API and IstioCOMMENT
LOWwebsite/docs/installation/k8s/istio.md100## Step 4: Update vsr config (Optional)COMMENT
LOWwebsite/docs/installation/k8s/istio.md111## Step 5: Deploy vLLM Semantic RouterCOMMENT
LOWwebsite/docs/installation/k8s/istio.md138## Step 6: Install additional Istio configurationCOMMENT
LOWwebsite/docs/installation/k8s/istio.md156## Step 7: Install gateway routesCOMMENT
LOWwebsite/docs/installation/k8s/istio.md166## Step 8: Testing the DeploymentCOMMENT
LOWwebsite/docs/installation/k8s/ai-gateway.md90## Step 1: Create Kind Cluster (Optional)COMMENT
LOWwebsite/docs/installation/k8s/ai-gateway.md101## Step 2: Deploy vLLM Semantic RouterCOMMENT
LOWwebsite/docs/installation/k8s/ai-gateway.md126## Step 3: Install Envoy GatewayCOMMENT
LOWwebsite/docs/installation/k8s/ai-gateway.md143## Step 4: Install Agent RouterCOMMENT
LOWwebsite/docs/installation/k8s/ai-gateway.md164## Step 5: Deploy Demo LLMCOMMENT
LOWwebsite/docs/installation/k8s/ai-gateway.md173## Step 6: Create Gateway API ResourcesCOMMENT
LOW⚡website/blog/2026-01-23-mom-on-amd-gpu.md270### Step 1: Install vLLM-SRCOMMENT
LOW⚡website/blog/2026-01-23-mom-on-amd-gpu.md278### Step 2: Initialize ConfigurationCOMMENT
LOW⚡website/blog/2026-01-23-mom-on-amd-gpu.md286### Step 3: Deploy vLLM on AMD GPUCOMMENT
LOWwebsite/blog/2026-01-23-mom-on-amd-gpu.md322### Step 4: Start the Semantic RouterCOMMENT
LOWwebsite/blog/2026-01-23-mom-on-amd-gpu.md331### Step 5: Test ItCOMMENT
LOW…site/blog/2026-03-25-vllm-sr-on-amd-developer-cloud.md107### Step 1: Create the Shared Docker NetworkCOMMENT
LOW…site/blog/2026-03-25-vllm-sr-on-amd-developer-cloud.md117### Step 2: Start the AMD ROCm vLLM BackendCOMMENT
LOW⚡…ite/versioned_docs/version-v0.1/installation/milvus.md356# Step 1: Deploy Milvus (using Helm for simplicity)COMMENT
LOW⚡…ite/versioned_docs/version-v0.1/installation/milvus.md365# Step 2: Wait for readyCOMMENT
LOW⚡…ite/versioned_docs/version-v0.1/installation/milvus.md369# Step 3: Update router config (set backend_type: "milvus")COMMENT
LOW⚡…ite/versioned_docs/version-v0.1/installation/milvus.md372# Step 4: Restart routerCOMMENT
LOW…/versioned_docs/version-v0.1/installation/k8s/llm-d.md35## Step 1: Common Steps from Istio GuideCOMMENT
LOW…/versioned_docs/version-v0.1/installation/k8s/llm-d.md39## Step 2: Install Istio Gateway, Gateway API, Inference Extension CRDsCOMMENT
LOW…/versioned_docs/version-v0.1/installation/k8s/llm-d.md61## Step 3: Deploy LLM modelsCOMMENT
LOW…/versioned_docs/version-v0.1/installation/k8s/llm-d.md100## Step 4: Deploy InferencePools and LLM-D schedulersCOMMENT
LOW…/versioned_docs/version-v0.1/installation/k8s/llm-d.md118## Step 5: Additional Istio config for LLM-D connectionCOMMENT
LOW…/versioned_docs/version-v0.1/installation/k8s/llm-d.md132## Step 6: Update vsr configCOMMENT
LOW…/versioned_docs/version-v0.1/installation/k8s/llm-d.md136## Step 7: Deploy vLLM Semantic RouterCOMMENT
LOW⚡…/versioned_docs/version-v0.1/installation/k8s/llm-d.md151## Step 6: Additional Istio configuration for the VSR connectionCOMMENT
LOW⚡…/versioned_docs/version-v0.1/installation/k8s/llm-d.md160## Step 7: Install gateway routesCOMMENT
LOW⚡…/versioned_docs/version-v0.1/installation/k8s/llm-d.md169## Step 8: Testing the DeploymentCOMMENT
LOW…docs/version-v0.1/installation/k8s/production-stack.md39## Step 1: Deploy the vLLM Production Stack using your Helm valuesCOMMENT
LOW…docs/version-v0.1/installation/k8s/production-stack.md94## Step 2: Deploy vLLM Semantic Router and point it at your vLLM router ServiceCOMMENT
LOW…docs/version-v0.1/installation/k8s/production-stack.md147## Step 3: Test the deploymentCOMMENT
LOW…versioned_docs/version-v0.1/installation/k8s/aibrix.md42## Step 1: Create Kind Cluster (Optional)COMMENT
LOW…versioned_docs/version-v0.1/installation/k8s/aibrix.md53## Step 2: Deploy vLLM Semantic RouterCOMMENT
LOW…versioned_docs/version-v0.1/installation/k8s/aibrix.md75## Step 3: Install vLLM AIBrixCOMMENT
LOW…versioned_docs/version-v0.1/installation/k8s/aibrix.md91## Step 4: Deploy Demo LLMCOMMENT
LOW…versioned_docs/version-v0.1/installation/k8s/aibrix.md102## Step 5: Create Gateway API ResourcesCOMMENT
LOW…/versioned_docs/version-v0.1/installation/k8s/istio.md27## Step 1: Create Minikube ClusterCOMMENT
LOW…/versioned_docs/version-v0.1/installation/k8s/istio.md44## Step 2: Deploy LLM modelsCOMMENT
LOW…/versioned_docs/version-v0.1/installation/k8s/istio.md83## Step 3: Install Istio Gateway, Gateway API, Inference Extension CRDsCOMMENT
LOW…/versioned_docs/version-v0.1/installation/k8s/istio.md105## Step 4: Update vsr configCOMMENT
LOW…/versioned_docs/version-v0.1/installation/k8s/istio.md109## Step 5: Deploy vLLM Semantic RouterCOMMENT
299 more matches not shown…
Modern AI Meta-Vocabulary185 hits · 524 pts
SeverityFileLineSnippetContext
MEDIUMbench/hallucination/test_trajectories.py32# running the same cases against the hallucination detector.COMMENT
MEDIUMbench/hallucination/datasets.py27 context: str # Ground truth context (tool results / RAG context)CODE
MEDIUMbench/hallucination/datasets.py31 hallucination_spans: Optional[List[dict]] = None # Annotated hallucination spansCODE
MEDIUM⚡bench/hallucination/evaluate.py77 true_positives: int # Correctly detected hallucinationsCODE
MEDIUM⚡bench/hallucination/evaluate.py78 false_positives: int # Incorrectly flagged as hallucinationCODE
MEDIUM⚡bench/hallucination/evaluate.py80 false_negatives: int # Missed hallucinationsCODE
MEDIUMbench/hallucination/evaluate.py183 # Add tool result with context (enables hallucination detection)COMMENT
MEDIUMbench/hallucination/evaluate.py217 # Extract hallucination detection headersCOMMENT
MEDIUMbench/hallucination/evaluate.py276 # Print hallucination detection immediately when foundCOMMENT
MEDIUMbench/grounded_fusion/make_configs.py138 # embedding model and otherwise fatal at startup) -- the benchmark routesCOMMENT
MEDIUMbench/grounded_fusion/make_configs.py150 # Enable hallucination_mitigation so the router prepares its hallucinationCOMMENT
MEDIUM…/dataset_implementations/openmathrreasoning_dataset.py39 return True # Has detailed chain-of-thought solutionsCODE
MEDIUM…vices/provider-mocker/provider_mocker/demo_fixtures.py6 # Response with hallucination - claims facts not in contextCOMMENT
MEDIUM…vices/provider-mocker/provider_mocker/demo_fixtures.py11 # Response grounded in context - no hallucinationCOMMENT
MEDIUMtools/agent/docs/architecture-guardrails.md1# Architecture guardrailsCOMMENT
MEDIUMconfig/config.yaml592 # hallucination plugin enforces on them.COMMENT
MEDIUMconfig/config.yaml1246 # with the hallucination detector (against the request's context, elseCOMMENT
MEDIUMconfig/config.yaml1782 # request context window, the decision falls back to its normal candidateCOMMENT
MEDIUM…ig/fragments/signal/hallucination/grounded-answer.yaml5# has answered. The hallucination plugin of the decision selected for theCOMMENT
MEDIUMconfig/fragments/signal/embedding/image-routing.yaml3# the multimodal embedding model.COMMENT
MEDIUMconfig/runtime/memory/valkey.yaml3# module) as the agentic memory backend.COMMENT
MEDIUMconfig/runtime/response-cache/milvus.yaml49 # Embedding width: 0 takes the embedding model's own; a set width must be oneCOMMENT
MEDIUMconfig/runtime/response-cache/valkey.yaml46 # Embedding width: 0 takes the embedding model's own; a set width must be oneCOMMENT
MEDIUMconfig/runtime/response-cache/redis.yaml46 # Embedding width: 0 takes the embedding model's own; a set width must be oneCOMMENT
MEDIUMconfig/recipes/vela-amd/config.yaml3# Replace vs_your_documents after creating and indexing a vector store for RAG.COMMENT
MEDIUMdeploy/kserve/deploy.sh83 # Deploy with custom storage class and a canonical embedding modelCOMMENT
MEDIUMdeploy/operator/main.go38 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMdeploy/operator/main.go53 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMdeploy/operator/main.go97 // +kubebuilder:scaffold:builderCOMMENT
MEDIUM⚡deploy/operator/config/crd/kustomization.yaml6# +kubebuilder:scaffold:crdkustomizeresourceCOMMENT
MEDIUM⚡deploy/operator/config/crd/kustomization.yaml12# +kubebuilder:scaffold:crdkustomizewebhookpatchCOMMENT
MEDIUM⚡deploy/operator/config/crd/kustomization.yaml17# +kubebuilder:scaffold:crdkustomizecainjectionpatchCOMMENT
MEDIUM…amples/vllm.ai_v1alpha1_semanticrouter_complexity.yaml3# This example demonstrates few-shot complexity classification for intelligent routingCOMMENT
MEDIUMdeploy/operator/config/samples/kustomization.yaml4#+kubebuilder:scaffold:manifestskustomizesamplesCOMMENT
MEDIUMwebsite/docs/faq.md103## How do we avoid hurting multi-turn / agentic workloads?COMMENT
MEDIUMwebsite/docs/training/model-performance-eval.md116## Generate a configuration scaffoldCOMMENT
MEDIUMwebsite/docs/training/model-performance-eval.md175## Turn the scaffold into a routing policyCOMMENT
MEDIUMwebsite/docs/model-runtime/migrate.md251## Re-embed when the embedding model changesCOMMENT
MEDIUMwebsite/docs/installation/qdrant.md7This guide covers deploying [Qdrant](https://qdrant.tech/) as a backend for the Semantic Router. Qdrant can serve as theCODE
MEDIUMwebsite/docs/troubleshooting/common-errors.md438## A classifier or embedding model cannot loadCOMMENT
MEDIUMwebsite/docs/tutorials/plugin/rag.md1# RAGCOMMENT
MEDIUMwebsite/docs/tutorials/plugin/context-compression.md45## Requests beyond the model context windowCOMMENT
MEDIUMwebsite/docs/tutorials/plugin/memory.md74## Upgrading the embedding modelCOMMENT
MEDIUMwebsite/docs/tutorials/signal/heuristic/conversation.md114[`config/fragments/signal/conversation/agentic-shape.yaml`](https://github.com/vllm-project/semantic-router/blob/main/coCODE
MEDIUMwebsite/docs/overview/use-cases.md156### Bounded recovery and orchestrationCOMMENT
MEDIUMwebsite/blog/2026-06-29-micro-agent-frontier-models.md333[Agentic Intelligence Lab](https://agentic-in.ai/), especiallyCODE
MEDIUM…log/2026-06-18-agentic-intelligent-routing-amd-rocm.md49| Recipe | [`config/recipes/agent/config.yaml`](https://github.com/vllm-project/semantic-router/blob/main/config/recipesCODE
MEDIUM…log/2026-06-18-agentic-intelligent-routing-amd-rocm.md50| Inferoa | [github.com/agentic-in/inferoa](https://github.com/agentic-in/inferoa) | Optional agent client with native vCODE
MEDIUM…log/2026-06-18-agentic-intelligent-routing-amd-rocm.md396[Inferoa](https://github.com/agentic-in/inferoa) is an inference-native agentCODE
MEDIUM…log/2026-06-18-agentic-intelligent-routing-amd-rocm.md402[inferoa.agentic-in.ai](https://inferoa.agentic-in.ai/docs/intro).CODE
MEDIUM…bsite/blog/2026-06-02-session-aware-agentic-routing.md10source_url: "https://github.com/vllm-project/vllm-project.github.io/blob/main/_posts/2026-06-02-session-aware-agentic-roCODE
MEDIUMwebsite/blog/2025-12-14-halugate.md223### The `hallucination` PluginCOMMENT
MEDIUMwebsite/blog/2025-12-14-halugate.md234 # Action when hallucination detectedCOMMENT
MEDIUMwebsite/blog/2025-12-14-halugate.md430# Decision with hallucination pluginCOMMENT
MEDIUMwebsite/blog/2026-03-10-v0.2-vllm-sr-athena-release.md153### 4. Memory, RAG, and Response State Move Into the Core RuntimeCOMMENT
MEDIUM…/2026-10-06-vela-2-0-open-foundation-routing-models.md66The same question format works at every size. [The GPU example below](#try-it) combines request routing with PII and groCODE
MEDIUM…lettucedetect-v2-generative-hallucination-detection.md83The `endpoint` backend (implemented by community contributor [@pranavthakur0-0](https://github.com/pranavthakur0-0) in [CODE
MEDIUMwebsite/blog/2026-03-12-v0-3-themis-roadmap.md64The first track is **NL-to-DSL authoring** in the dashboard, tracked in [#1511](https://github.com/vllm-project/semanticCODE
MEDIUMwebsite/blog/2026-03-12-v0-3-themis-roadmap.md64The first track is **NL-to-DSL authoring** in the dashboard, tracked in [#1511](https://github.com/vllm-project/semanticCODE
MEDIUMwebsite/blog/2026-03-12-v0-3-themis-roadmap.md98That broader observability push now also includes ClawOS-specific visibility into model and tool behavior through [#1523CODE
125 more matches not shown…
Deep Nesting476 hits · 437 pts
SeverityFileLineSnippetContext
LOWbench/agentic_routing_live_benchmark.py514CODE
LOWbench/agent_task_live_benchmark.py2062CODE
LOWbench/agent_task_live_benchmark.py2245CODE
LOWbench/agent_task_live_benchmark.py2366CODE
LOWbench/agentic_routing_experiment.py855CODE
LOWbench/openai_fault_proxy.py358CODE
LOWbench/openai_fault_proxy.py168CODE
LOWbench/agent_session_replay.py319CODE
LOWbench/router_reason_bench.py276CODE
LOWbench/hallucination/evaluate.py309CODE
LOWbench/redteam/scorers.py18CODE
LOWbench/grounded_fusion/evaluate.py221CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py205CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py313CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py467CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py721CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py806CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py867CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py1192CODE
LOWbench/reasoning/dataset_interface.py124CODE
LOWbench/reasoning/cli.py186CODE
LOWbench/reasoning/dataset_implementations/gpqa_dataset.py68CODE
LOWbench/reasoning/dataset_implementations/gpqa_dataset.py84CODE
LOWbench/looper_tts/config.py64CODE
LOWbench/looper_tts/test_evidence_integrity.py86CODE
LOWbench/looper_tts/test_evidence_integrity.py105CODE
LOWbench/router_flow/render_report.py101CODE
LOW…nch/router_flow/real_eval/collect_evalscope_results.py322CODE
LOW…nch/router_flow/real_eval/collect_evalscope_results.py353CODE
LOWbench/agent_crew/crew.py362CODE
LOWbench/agent_crew/check_provider.py223CODE
LOWbench/agent_crew/check_provider.py226CODE
LOW…rovider-mocker/tests/test_provider_image_generation.py39CODE
LOW…test/services/provider-mocker/provider_mocker/cache.py31CODE
LOW…test/services/provider-mocker/provider_mocker/cache.py160CODE
LOW…/services/provider-mocker/provider_mocker/chat_wire.py59CODE
LOW…/services/provider-mocker/provider_mocker/chat_wire.py76CODE
LOW…/services/provider-mocker/provider_mocker/chat_wire.py164CODE
LOW…est/services/provider-mocker/provider_mocker/looper.py53CODE
LOW…vices/provider-mocker/provider_mocker/messages_wire.py18CODE
LOW…vices/provider-mocker/provider_mocker/messages_wire.py36CODE
LOWtools/test/services/tiny-model/run.py35CODE
LOWtools/test/services/tiny-model/run.py123CODE
LOWtools/test/services/tiny-model/run.py138CODE
LOW…st/services/mcp-classifier-server/server_generative.py583CODE
LOW…st/services/mcp-classifier-server/server_generative.py661CODE
LOW…st/services/mcp-classifier-server/server_generative.py681CODE
LOW…est/services/mcp-classifier-server/server_embedding.py580CODE
LOW…est/services/mcp-classifier-server/server_embedding.py604CODE
LOW…/test/services/mcp-classifier-server/server_keyword.py360CODE
LOW…/test/services/mcp-classifier-server/server_keyword.py374CODE
LOWtools/security/scan_malicious_code.py313CODE
LOWtools/security/scan_malicious_code.py403CODE
LOWtools/security/ast_security_scanner.py628CODE
LOWtools/security/ast_security_scanner.py718CODE
LOWtools/security/ast_security_scanner.py978CODE
LOWtools/security/ast_security_scanner.py1261CODE
LOWtools/security/ast_security_scanner.py1395CODE
LOWtools/security/ast_security_scanner.py1499CODE
LOWtools/security/ast_security_scanner.py1538CODE
416 more matches not shown…
Over-Commented Block447 hits · 421 pts
SeverityFileLineSnippetContext
LOWnetlify.toml1# Production stays on Netlify's Git integration. PR previews are requested withCOMMENT
LOW.pre-commit-config.yaml201# hooks:COMMENT
LOWbench/benchmark_comparison.sh1#!/bin/bashCOMMENT
LOWbench/grounded_fusion/run_ab.sh1#!/usr/bin/env bashCOMMENT
LOWbench/grounded_fusion/run_sweep.sh1#!/usr/bin/env bashCOMMENT
LOWbench/grounded_fusion/fusioneval/main.go1// Command fusioneval is the paired, multi-arm evaluation driver forCOMMENT
LOWbench/agent_crew/configs/crew.yaml41 backend_refs:COMMENT
LOWtools/test/smoke/test-authz-rbac.sh1#!/usr/bin/env bashCOMMENT
LOWtools/test/services/provider-mocker/requirements.txt1# This file was autogenerated by uv via the following command:COMMENT
LOWtools/test/services/provider-mocker/requirements.txt21starlette==0.38.6COMMENT
LOW…ols/test/services/provider-mocker/requirements-dev.txt1# This file was autogenerated by uv via the following command:COMMENT
LOW…ols/test/services/provider-mocker/requirements-dev.txt21httpcore==1.0.9COMMENT
LOW…ols/test/services/provider-mocker/requirements-dev.txt41pygments==2.21.0COMMENT
LOW…st/services/mcp-classifier-server/server_generative.py61COMMENT
LOWtools/ci/retry.sh1#!/usr/bin/env bashCOMMENT
LOWtools/ci/retry.sh21# The command runs as the condition of an `if`, where bash suspends errexit. ACOMMENT
LOWconfig/config.yaml2461 database: vsrCOMMENT
LOWconfig/config.yaml2641 # hallucination_detector, feedback_detector).COMMENT
LOWconfig/config.yaml2861 positive_labels: [jailbreak]COMMENT
LOWconfig/config.yaml2901 # whole text up to its scan budget, so it sets no window; a tokenCOMMENT
LOWconfig/fragments/plugin/shadow-dispatch/sampled.yaml21 capture_response_body: falseCOMMENT
LOWconfig/fragments/signal/embedding/image-routing.yaml1# Opt-in image-modality embedding pack. Inline underCOMMENT
LOWconfig/runtime/vector-store/valkey.yaml1# Valkey Vector Store — Example ConfigurationCOMMENT
LOWconfig/runtime/vector-store/valkey.yaml41 metric_type: COSINECOMMENT
LOWconfig/runtime/vector-store/valkey.yaml61# valkey:COMMENT
LOWconfig/runtime/memory/valkey.yaml1# Valkey Memory Store Configuration for Agentic MemoryCOMMENT
LOWconfig/runtime/memory/valkey.yaml41# backend: valkey # <-- select Valkey backendCOMMENT
LOWconfig/runtime/memory/valkey.yaml61# hybrid_mode: weightedCOMMENT
LOWconfig/runtime/memory/valkey.yaml81# # Tune index_m and index_ef_construction with representative data; higherCOMMENT
LOWconfig/runtime/response-api/redis-cluster.yaml41COMMENT
LOWconfig/runtime/response-api/redis-cluster.yaml61# - Each master should have at least 1 replica for high availabilityCOMMENT
LOWconfig/runtime/response-api/redis-simple.yaml21# Timeouts (in seconds)COMMENT
LOWconfig/runtime/response-api/redis-simple.yaml41# response_api:COMMENT
LOWconfig/runtime/response-api/redis-production.yaml41# tls_enabled: trueCOMMENT
LOWconfig/runtime/response-api/redis-production.yaml61COMMENT
LOWconfig/runtime/response-cache/milvus.yaml1# Milvus Vector Database Configuration for Semantic CacheCOMMENT
LOWconfig/runtime/response-cache/milvus.yaml81 level: "info"COMMENT
LOWconfig/runtime/response-cache/milvus.yaml101# development:COMMENT
LOWconfig/runtime/response-cache/milvus.yaml121# port: 19530COMMENT
LOWconfig/runtime/response-cache/valkey.yaml1# Valkey Vector Database Configuration for Semantic CacheCOMMENT
LOWconfig/runtime/response-cache/qdrant.yaml1# Qdrant Vector Search Engine Configuration for Semantic CacheCOMMENT
LOWconfig/runtime/response-cache/redis.yaml1# Redis Vector Database Configuration for Semantic CacheCOMMENT
LOWconfig/runtime/response-cache/redis.yaml81COMMENT
LOWconfig/runtime/response-cache/redis.yaml101# tls:COMMENT
LOWconfig/runtime/response-cache/redis.yaml121# * L2: Euclidean distance, good for non-normalized vectorsCOMMENT
LOWdeploy/openshift/demo/curl-examples.sh1#!/bin/bashCOMMENT
LOWdeploy/openshift/demo/live-semantic-router-logs.sh1#!/bin/bashCOMMENT
LOW…s/dynamo/dynamo-resources/dynamo-graph-deployment.yaml1---COMMENT
LOWdeploy/kubernetes/dynamo/helm-chart/values.yaml1# Dynamo vLLM Helm Chart ConfigurationCOMMENT
LOWdeploy/kubernetes/dynamo/helm-chart/values.yaml21huggingface:COMMENT
LOW…etes/dynamo/helm-chart/examples/values-multi-node.yaml1# Example: Multi-Node Deployment with Node AffinityCOMMENT
LOWdeploy/helm/semantic-router/values.yaml1# Default values for semantic-router.COMMENT
LOWdeploy/helm/semantic-router/values.yaml21 mode: standaloneCOMMENT
LOWdeploy/helm/semantic-router/values.yaml101 # Metrics serviceCOMMENT
LOWdeploy/helm/semantic-router/values.yaml141 requests:COMMENT
LOWdeploy/helm/semantic-router/values.yaml181 inflightRequests: 50COMMENT
LOWdeploy/helm/semantic-router/values.yaml201# Example:COMMENT
LOWdeploy/helm/semantic-router/values.yaml261 size: 10GiCOMMENT
LOWdeploy/helm/semantic-router/values.yaml481# ============================================================================COMMENT
LOWdeploy/helm/semantic-router/values.yaml501# priority: 100COMMENT
387 more matches not shown…
Excessive Try-Catch Wrapping334 hits · 358 pts
SeverityFileLineSnippetContext
LOWbench/agentic_routing_live_benchmark.py248 except Exception as exc: # pragma: no cover - network errors vary by platformCODE
LOWbench/agentic_routing_live_benchmark.py636 except Exception as exc: # pragma: no cover - network errors vary by platformCODE
LOWbench/agent_task_live_benchmark.py2146 except Exception as exc: # pragma: no cover - network errors vary by platformCODE
LOWbench/agent_task_live_benchmark.py2762 except Exception as exc: # pragma: no cover - network errors vary by platformCODE
LOWbench/openai_fault_proxy.py204 except Exception as exc: # pragma: no cover - network errors varyCODE
LOWbench/benchmark_comparison.sh168except Exception as e:CODE
LOWbench/benchmark_comparison.sh193except Exception as e:CODE
LOWbench/plot_comprehensive_results.py61 except Exception as e:CODE
LOWbench/comprehensive_bench.sh299except Exception as e:CODE
MEDIUMbench/comprehensive_bench.sh300 print(f'Error processing $target_file: {e}', file=sys.stderr)CODE
LOWbench/router_reason_bench.py155 except Exception as e:CODE
MEDIUMbench/router_reason_bench.py156 print(f"Error communicating with endpoint to list models: {e}")CODE
LOWbench/router_reason_bench.py310 except Exception:CODE
LOWbench/router_reason_bench.py344 except Exception as e:CODE
LOWbench/router_reason_bench.py685 except Exception:CODE
LOWbench/router_reason_bench.py1005 except Exception as e:CODE
LOWbench/router_reason_bench.py1093 except Exception as e:CODE
LOWbench/cache_token_probe.py166 except Exception as exc: # pragma: no cover - network errors vary by platformCODE
LOWbench/session_routing_branch_image_probe.py108 except Exception as exc: # pragma: no cover - platform network errors varyCODE
LOWbench/hallucination/datasets.py67 except Exception as e:CODE
MEDIUMbench/hallucination/datasets.py68 print(f"Error loading HaluEval: {e}")CODE
LOWbench/hallucination/datasets.py115 except Exception as e:CODE
LOWbench/hallucination/evaluate.py238 except Exception as e:CODE
LOWbench/hallucination/evaluate.py629 except Exception as e:CODE
LOWbench/hallucination/evaluate_detectors.py110 except Exception as e:CODE
LOWbench/grounded_fusion/ollama_proxy.py94 except Exception as e:CODE
MEDIUM⚡bench/reasoning/router_reason_bench_multi_dataset.py309 print(f"Error communicating with endpoint to list models: {e}")CODE
MEDIUMbench/reasoning/router_reason_bench_multi_dataset.py1230 print(f"Error loading dataset '{args.dataset}': {e}")CODE
LOW⚡bench/reasoning/router_reason_bench_multi_dataset.py308 except Exception as e:CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py348 except Exception:CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py646 except Exception as e:CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py1137 except Exception as e:CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py1229 except Exception as e:CODE
LOWbench/reasoning/reasoning_mode_eval.py213 except Exception as exc:CODE
MEDIUMbench/reasoning/reasoning_mode_eval.py214 print(f"Error fetching models: {exc}")CODE
LOWbench/reasoning/reasoning_mode_eval.py624 except Exception as exc:CODE
LOWbench/reasoning/dataset_factory.py144 except Exception as e:CODE
MEDIUMbench/reasoning/cli.py321 print(f"Error importing dataset factory: {e}")CODE
LOWbench/reasoning/dataset_implementations/gpqa_dataset.py57 except Exception as e:CODE
LOW…oning/dataset_implementations/commonsenseqa_dataset.py53 except Exception as e:CODE
LOW…easoning/dataset_implementations/truthfulqa_dataset.py47 except Exception as e:CODE
LOWbench/reasoning/dataset_implementations/math_dataset.py46 except Exception:CODE
LOWbench/reasoning/dataset_implementations/math_dataset.py49 except Exception:CODE
LOW…reasoning/dataset_implementations/hellaswag_dataset.py53 except Exception as e:CODE
LOWbench/router_flow/flow_eval.py268 except Exception as exc:CODE
LOWbench/router_flow/real_eval/run_evalscope_suite.py254 except Exception:CODE
LOWbench/router_flow/real_eval/test_run_evalscope_suite.py736except Exception:STRING
LOWbench/agent_crew/crew.py243 except Exception as exc: # every failure is recorded, not raisedCODE
LOWbench/agent_crew/crew.py355 except Exception as exc:CODE
LOW…st/services/mcp-classifier-server/server_generative.py292 except Exception:CODE
LOW…st/services/mcp-classifier-server/server_generative.py352 except Exception as e:CODE
LOW…st/services/mcp-classifier-server/server_generative.py599 except Exception as e:CODE
LOW…st/services/mcp-classifier-server/server_generative.py801 except Exception as e:CODE
LOW⚡…est/services/mcp-classifier-server/server_embedding.py248 except Exception as e:CODE
LOW…est/services/mcp-classifier-server/server_embedding.py530 except Exception as e:CODE
LOW…est/services/mcp-classifier-server/server_embedding.py724 except Exception as e:CODE
LOW…/test/services/mcp-classifier-server/server_keyword.py315 except Exception as e:CODE
LOW…/test/services/mcp-classifier-server/server_keyword.py481 except Exception as e:CODE
MEDIUMtools/security/scan_malicious_code.py252 print(f"Error: cannot load {SIGNATURES_CONFIG}: {exc}", file=sys.stderr)CODE
MEDIUMtools/security/scan_malicious_code.py549 print(f"Error: {root} is not a directory", file=sys.stderr)CODE
274 more matches not shown…
Cross-Language Confusion56 hits · 292 pts
SeverityFileLineSnippetContext
HIGHbench/test_openai_fault_proxy.py65 b'data: {"choices":[{"delta":{"content":"one"},"finish_reason":null}]}\n\n',CODE
HIGHbench/test_openai_fault_proxy.py66 b'data: {"choices":[{"delta":{"content":"two"},"finish_reason":null}]}\n\n',CODE
HIGH⚡bench/test_openai_fault_proxy.py333 b'data: {"choices":[{"delta":{"content":"one"},"finish_reason":null}]}',CODE
HIGH⚡bench/test_openai_fault_proxy.py334 b'data: {"choices":[{"delta":{"content":"two"},"finish_reason":null}]}',CODE
HIGHbench/router_flow/real_eval/test_run_amd_eval_matrix.py121 assert "docker rm -f vllm-sr-router-container >/dev/null 2>&1 || true" in scriptCODE
HIGH⚡bench/router_flow/real_eval/test_run_amd_eval_matrix.py151 assert "curl -fsS http://127.0.0.1:8899/v1/models 2>/dev/null || true" in scriptCODE
HIGHbench/router_flow/real_eval/run_amd_eval_matrix.py519 " docker rm -f vllm-sr-router-container >/dev/null 2>&1 || true",CODE
HIGHbench/router_flow/real_eval/run_amd_eval_matrix.py540 " models_json=$(curl -fsS http://127.0.0.1:8899/v1/models 2>/dev/null || true)",CODE
HIGHbench/router_flow/real_eval/run_amd_eval_matrix.py541 f' if [ -n "$models_json" ] && printf \'%s\\n\' "$models_json" | grep -F {quoted_model} >/dev/null; then',CODE
HIGH⚡tools/ci/tests/test_performance_workflow.py134 '{"results": null, "has_regressions": false}',CODE
HIGH⚡tools/ci/tests/test_netlify_preview_workflow.py59 "&& github.event.issue.number || github.run_id }}",CODE
HIGHtools/ci/tests/test_python_package_publication.py202 install["if"], "inputs.prebuilt-dist || inputs.channel != 'dev'"CODE
HIGH⚡tools/ci/tests/test_retry_sh.py89RETRY_CLEANUP=cleanup retry_run 3 0 always_fails || trueSTRING
HIGH⚡tools/ci/tests/test_retry_sh.py104RETRY_CLEANUP=bad_cleanup retry_run 3 0 always_fails || trueSTRING
HIGH⚡tools/ci/tests/test_retry_sh.py117retry_run 2 1 always_fails || trueSTRING
HIGH⚡tools/ci/tests/test_retry_sh.py130 false && echo "the rest must not run"STRING
HIGH⚡tools/ci/tests/test_retry_sh.py132retry_run 2 0 install || trueSTRING
HIGH⚡tools/ci/tests/test_retry_sh.py175retry_run 2 0 tracks || trueSTRING
HIGH⚡tools/ci/tests/test_retry_sh.py188retry_run 0 5 tracks || echo "zero=$?"STRING
HIGH⚡tools/ci/tests/test_retry_sh.py189retry_run 2 -1 tracks || echo "negative=$?"STRING
HIGH⚡tools/ci/tests/test_retry_sh.py190retry_run 1 x tracks || echo "nonnumeric=$?"STRING
HIGH⚡tools/ci/tests/test_retry_sh.py191retry_run 1 5 || echo "missing=$?"STRING
HIGHtools/ci/tests/test_retry_sh.py71retry_run 3 0 always_fails || echo "status=$?"STRING
HIGH⚡…mg/blog/system-one-auto/source/generate_blog_assets.py344 if (a.x < 0 || a.y < 0 || a.right > bounds.width || a.bottom > bounds.height)CODE
HIGH⚡…mg/blog/system-one-auto/source/generate_blog_assets.py345 outside.push(a.text);CODE
HIGH⚡…mg/blog/system-one-auto/source/generate_blog_assets.py348 if (a.x < x || a.y < y || a.right > x+w || a.bottom > y+h)CODE
HIGH⚡…mg/blog/system-one-auto/source/generate_blog_assets.py349 containers.push(a.text);CODE
HIGH⚡…mg/blog/system-one-auto/source/generate_blog_assets.py354 overlaps.push([a.text,b.text]);CODE
HIGH…/testing/vllm-sr-cli/test_integration_recipe_bearer.py367 'read -r credential; grep -rlF --exclude-dir=management-credential -- "$credential" /app/.vllm-sr /app/dCODE
HIGH⚡e2e/testing/hallucination-demo/web_client.py311 const factCheckNeeded = data.headers && data.headers['x-vsr-fact-check-needed'] === 'true';CODE
HIGH⚡e2e/testing/hallucination-demo/web_client.py315 const unverifiedResponse = data.headers && data.headers['x-vsr-unverified-factual-response'] === 'true';CODE
HIGH⚡e2e/testing/hallucination-demo/web_client.py316 const hallucinationDetected = data.headers && data.headers['x-vsr-hallucination-detected'] === 'true';CODE
HIGHe2e/testing/hallucination-demo/web_client.py215 if (typeEffect && role === 'assistant') {CODE
HIGHe2e/testing/hallucination-demo/web_client.py239 if (detail && detailEl) detailEl.textContent = detail;CODE
HIGHe2e/testing/hallucination-demo/web_client.py353 addMessage(data.error ? 'error' : 'assistant', data.response || data.error, true);CODE
HIGH…del_classifier/safety_classifier/tests/test_release.py70 '{"source_commit":null,"global_train_batch_size":64,'CODE
HIGH…training/model_classifier/sequence_repair/retention.py21 """Return detached T² KL(teacher || student), summed over a logical batch."""STRING
HIGHsrc/training/model_eval/jailbreak_guard_eval.py327 """A slice can leave a number undefined, and that reads better than a crash."""STRING
HIGHsrc/training/kv_mapper/distill.py148 """Mean KL(target's own || target on the mapped cache) over the continuation."""STRING
HIGHsrc/model-runtime/tools/embed_legacy.py118GO_TEMPLATE = r"""//go:build !windows && cgoCODE
HIGH⚡src/model-runtime/tools/legacy_parity.py202GO_TEMPLATE = r"""//go:build !windows && cgoCODE
HIGHsrc/model-runtime/tools/legacy_parity.py286 if callErr == nil || errors.Is(callErr, tasks.ErrTokenSpansTruncated) {CODE
HIGHsrc/model-runtime/tests/test_renderer.py24 '\n<option>\n{"description":null,"key":"x"}\n</option>',CODE
HIGHsrc/model-runtime/tests/test_decision1_runtimes.py427 '\n<option>\n{"description":null,"key":"other"}\n</option>'CODE
HIGHsrc/model-runtime/vllm_srun/systemone.py64 """Text, an object or an array of JSON values (Choice descriptions may be null)."""STRING
HIGHsrc/model-runtime/vllm_srun/systemone.py107 (descriptions may be null), Noul the given subset of ``false`` / ``true``STRING
HIGH…odel-runtime/vllm_srun/families/decision1/questions.py43 """A runtime's Noul criteria when a request leaves them out (or, ``null_is_default``, sends null)."""STRING
HIGHsrc/vllm-sr/tests/test_release_script.py139 assert undo.startswith("git tag -d v0.5.0 && git reset --hard ")STRING
HIGH⚡src/vllm-sr/tests/test_install_script_surface.py114 "ensure_python_venv python3 && describe_python_dependency_plan python3",CODE
HIGHsrc/vllm-sr/tests/test_dashboard_dockerfile_surface.py495 "RUN cd /tmp && gosu nonroot python3 -m cli.model_catalog_export >/dev/null"CODE
HIGH⚡src/vllm-sr/cli/container_log_spool.py70 if [ -n "$relay_pid" ]; then kill "$relay_pid" 2>/dev/null || true; fiCODE
HIGH⚡src/vllm-sr/cli/container_log_spool.py71 if [ -n "$child_pid" ]; then kill "$child_pid" 2>/dev/null || true; fiCODE
HIGH⚡src/vllm-sr/cli/container_log_spool.py75 if [ -n "$child_pid" ]; then kill -TERM "$child_pid" 2>/dev/null || true; fiCODE
HIGHsrc/vllm-sr/cli/container_log_spool.py97case "$(LC_ALL=C awk -W version </dev/null 2>/dev/null)" inCODE
HIGHsrc/vllm-sr/cli/goyaml_scalars.py25# text they are re-emitted as. None marks null, which the typed decoder turnsCOMMENT
HIGHsrc/vllm-sr/cli/goyaml_scalars.py65 ``None`` means yaml.v2 resolved the scalar to null, which the typedSTRING
Verbosity Indicators131 hits · 262 pts
SeverityFileLineSnippetContext
LOW⚡deploy/kserve/install-gpu-operator.sh29# Step 1: Install Node Feature Discovery (NFD) OperatorCOMMENT
LOWdeploy/kserve/install-gpu-operator.sh81# Step 2: Create NFD InstanceCOMMENT
LOW⚡deploy/kserve/install-gpu-operator.sh122# Step 3: Install NVIDIA GPU OperatorCOMMENT
LOWdeploy/kserve/install-gpu-operator.sh175# Step 4: Create ClusterPolicyCOMMENT
LOWdeploy/kserve/install-gpu-operator.sh235# Step 5: Verify GPU ResourcesCOMMENT
LOW⚡dashboard/backend/setupmode/resolver_test.go590 // Step 1: config off, flag on -> conflict. First WARNING.COMMENT
LOW⚡dashboard/backend/setupmode/resolver_test.go598 // Step 2: config on, flag on. They agree, so no new WARNING.COMMENT
LOW⚡dashboard/backend/setupmode/resolver_test.go608 // Step 3: back to step 1's conflicting shape. Step 2 changed the lastCOMMENT
LOWdashboard/backend/handlers/deploy.go259 // Step 2: Deep merge the routing fragment into the deploy base.COMMENT
LOWdashboard/backend/handlers/deploy.go289 // Step 3: Create backup of current configCOMMENT
LOW⚡dashboard/backend/handlers/deploy.go302 // Step 4: Archive DSL source (for audit trail)COMMENT
LOW⚡dashboard/backend/handlers/deploy.go305 // Step 5: Atomic write to config.yamlCOMMENT
LOW⚡dashboard/backend/handlers/deploy.go319 // Step 6: Propagate the new config to the managed runtime before returning.COMMENT
LOW⚡dashboard/backend/handlers/deploy.go329 // Step 7: Clean up old backups (keep only maxBackups most recent)COMMENT
LOW⚡e2e/testing/vllm-sr-cli/test_integration.py516 # Step 1: Create a lean active configCOMMENT
LOW⚡e2e/testing/vllm-sr-cli/test_integration.py519 # Step 2: Try to serve with fake image and never policyCOMMENT
LOWe2e/testing/memory_tests/test_storage.py108 # Step 2: Send follow-up (also stored as a per-turn chunk)COMMENT
LOW⚡e2e/testing/memory_tests/test_storage.py120 # Step 3: Wait for storage to completeCOMMENT
LOW⚡e2e/testing/memory_tests/test_storage.py124 # Step 4: Query for the fact in NEW SESSION (no previous_response_id)COMMENT
LOW⚡e2e/testing/memory_tests/test_per_decision.py33 # Step 1: Store fact via default_route.COMMENT
LOW⚡e2e/testing/memory_tests/test_per_decision.py43 # Step 2: Wait for storage and verify prerequisiteCOMMENT
LOWe2e/testing/memory_tests/test_per_decision.py58 # Step 3: Query via no_memory_route (NOMEM_MARKER triggers keyword match)COMMENT
LOWe2e/testing/memory_tests/test_per_decision.py77 # Step 4: Control — same query via default_route (no marker)COMMENT
LOW⚡e2e/testing/memory_tests/test_per_decision.py121 # Step 1: Store fact via default_routeCOMMENT
LOW⚡e2e/testing/memory_tests/test_per_decision.py129 # Step 2: Wait for storage and verify prerequisiteCOMMENT
LOWe2e/testing/memory_tests/test_per_decision.py144 # Step 3: Query via custom_threshold_route (threshold 0.99)COMMENT
LOWe2e/testing/memory_tests/test_per_decision.py170 # Step 4: Control — same query via default_route (threshold 0.45)COMMENT
LOW⚡e2e/testing/hallucination-demo/web_client.py307 // Step 1: Question sentCOMMENT
LOW⚡e2e/testing/hallucination-demo/web_client.py310 // Step 2: Router Signals - Need Fact CheckCOMMENT
LOWe2e/testing/hallucination-demo/web_client.py329 // Step 5: Router Decisions - Hallucination Detection resultCOMMENT
LOWe2e/testing/hallucination-demo/run_demo.sh69# Step 1: Start Provider mocker with tool callingCOMMENT
LOWe2e/testing/hallucination-demo/run_demo.sh82# Step 2: Start Mock Web SearchCOMMENT
LOWe2e/testing/hallucination-demo/run_demo.sh95# Step 3: Start Semantic Router (gRPC ExtProc on port 50051)COMMENT
LOWe2e/testing/hallucination-demo/run_demo.sh117# Step 4: Start Envoy proxy (HTTP to gRPC)COMMENT
LOWe2e/testing/hallucination-demo/run_demo.sh132# Step 5: Run Chat ClientCOMMENT
LOW⚡e2e/profiles/multimodal-routing/profile.go63 // Step 3: Deploy Envoy GatewayCOMMENT
LOW⚡e2e/profiles/multimodal-routing/profile.go69 // Step 4: Deploy Envoy AI GatewayCOMMENT
LOW⚡e2e/profiles/multimodal-routing/profile.go75 // Step 5: Deploy Demo LLM and Gateway API ResourcesCOMMENT
LOW⚡e2e/profiles/multimodal-routing/profile.go81 // Step 6: Verify all components are readyCOMMENT
LOW⚡e2e/profiles/ml-model-selection/profile.go106 // Step 1: Train ML models (or verify they exist)COMMENT
LOW⚡e2e/profiles/ml-model-selection/profile.go112 // Step 2: Deploy Semantic Router with ML selectionCOMMENT
LOW⚡e2e/profiles/ml-model-selection/profile.go118 // Step 3: Deploy Envoy GatewayCOMMENT
LOW⚡e2e/profiles/ml-model-selection/profile.go124 // Step 4: Deploy Envoy AI GatewayCOMMENT
LOW⚡e2e/profiles/ml-model-selection/profile.go130 // Step 5: Deploy Gateway API ResourcesCOMMENT
LOW⚡e2e/profiles/ml-model-selection/profile.go136 // Step 6: Deploy Mock LLM (to receive routed requests)COMMENT
LOW⚡e2e/profiles/ml-model-selection/profile.go142 // Step 7: Verify deploymentCOMMENT
LOWe2e/profiles/ml-model-selection/profile.go371 // Step 1: Copy models to host directory for Linux CI (where hostPath works)COMMENT
LOWe2e/profiles/ml-model-selection/profile.go393 // Step 2: Also copy models directly into Kind containersCOMMENT
LOW⚡e2e/profiles/aibrix/profile.go100 // Step 1: Deploy Semantic RouterCOMMENT
LOW⚡e2e/profiles/aibrix/profile.go107 // Step 2: Deploy AIBrix DependenciesCOMMENT
LOW⚡e2e/profiles/aibrix/profile.go115 // Step 3: Deploy AIBrix CoreCOMMENT
LOW⚡e2e/profiles/aibrix/profile.go123 // Step 4: Deploy Demo LLM and Gateway API ResourcesCOMMENT
LOW⚡e2e/profiles/aibrix/profile.go131 // Step 5: Verify all components are readyCOMMENT
LOW⚡e2e/profiles/dynamo/profile.go48 // Step 1: Deploy Nvidia Dynamo components (includes workers)COMMENT
LOW⚡e2e/profiles/dynamo/profile.go54 // Step 2: Deploy Envoy Gateway (must be before Semantic Router to install Gateway API CRDs)COMMENT
LOW⚡e2e/profiles/dynamo/profile.go60 // Step 3: Deploy Semantic Router with Dynamo integrationCOMMENT
LOW⚡e2e/profiles/dynamo/profile.go66 // Step 4: Configure Gateway API routingCOMMENT
LOW⚡e2e/profiles/dynamo/profile.go72 // Step 5: Verify all components are readyCOMMENT
LOW⚡e2e/profiles/dynamo/profile.go172 // Step 3: List what was actually deployed (for debugging)COMMENT
LOW⚡e2e/profiles/dynamo/profile.go180 // Step 3: Wait for platform components to be readyCOMMENT
71 more matches not shown…
Empty Error Handlers51 hits · 255 pts
SeverityFileLineSnippetContext
HIGHbench/reasoning/router_reason_bench_multi_dataset.py575except (ValueError, AttributeError):CODE
HIGHbench/agent_crew/fixture/pr/billing.py15except:CODE
HIGHtools/test/services/tiny-model/run.py132except (urllib.error.URLError, TimeoutError):CODE
HIGHtools/security/scan_malicious_code.py308except (OSError, PermissionError):CODE
HIGHtools/security/scan_malicious_code.py502except (OSError, PermissionError):CODE
HIGHtools/security/ast_security_scanner.py66except (ImportError, AttributeError, Exception):CODE
HIGHtools/security/ast_security_scanner.py639except (OSError, PermissionError):CODE
HIGHtools/security/ast_security_scanner.py1969except (OSError, PermissionError):CODE
HIGHtools/security/ast_security_scanner.py1983except (OSError, PermissionError):CODE
HIGHtools/ci/image_artifacts.py343except mocker.PublicationUnavailableError:CODE
HIGHdashboard/backend/entrypoint_permissions.py70except FileNotFoundError:CODE
HIGHe2e/testing/09-openai-api-validation-test.py336except Exception:CODE
HIGHe2e/testing/09-openai-api-validation-test.py399except Exception:CODE
HIGHe2e/testing/vllm-sr-cli/serve_session.py116except (urllib_error.URLError, ConnectionError, TimeoutError):CODE
HIGHe2e/testing/vllm-sr-cli/runtime_http.py152except (urllib_error.URLError, ConnectionError):CODE
HIGH…/testing/vllm-sr-cli/test_integration_recipe_bearer.py139except (urllib_error.URLError, ConnectionError, TimeoutError):CODE
HIGH…testing/vllm-sr-cli/test_integration_plugin_example.py230except (URLError, ConnectionError):CODE
HIGHe2e/testing/vllm-sr-cli/test_integration_engine_mode.py50except OSError:CODE
HIGHe2e/testing/vllm-sr-cli/cli_test_base.py559except (urllib_error.URLError, urllib_error.HTTPError, OSError):CODE
HIGH…odel_classifier/verify_text_classification_datasets.py836except json.JSONDecodeError:CODE
HIGH…odel_classifier/verify_text_classification_datasets.py872except json.JSONDecodeError:CODE
HIGH…edback_classifier/data_processing/download_datasets.py715except (json.JSONDecodeError, AttributeError):CODE
HIGH…ck_classifier/data_processing/verify_dataset_labels.py110except json.JSONDecodeError:CODE
HIGH…ck_classifier/data_processing/verify_dataset_labels.py123except (json.JSONDecodeError, IndexError):CODE
HIGH…ck_classifier/data_processing/verify_dataset_labels.py167except json.JSONDecodeError:CODE
HIGH…ck_classifier/data_processing/verify_dataset_labels.py148except json.JSONDecodeError:CODE
HIGHsrc/training/model_eval/multi_benchmark_eval.py165except Exception:CODE
HIGH…aining/model_selection/ml_model_selection/benchmark.py620except Exception:CODE
HIGH…aining/model_selection/ml_model_selection/benchmark.py637except Exception:CODE
HIGH…aining/model_selection/ml_model_selection/benchmark.py768except Exception:CODE
HIGH…aining/model_selection/ml_model_selection/benchmark.py759except (AssertionError, TimeoutError):CODE
HIGH…aining/model_selection/ml_model_selection/benchmark.py761except Exception:CODE
HIGHsrc/model-runtime/tools/input_memory.py148except (OSError, urllib.error.URLError):CODE
HIGHsrc/model-runtime/tests/test_server.py71except OSError:CODE
HIGHsrc/model-runtime/tests/test_server.py186except OSError:CODE
HIGHsrc/model-runtime/vllm_srun/cli.py294except KeyError:CODE
HIGHsrc/model-runtime/vllm_srun/plugins/registry.py95except metadata.PackageNotFoundError:CODE
HIGHsrc/model-runtime/vllm_srun/accel/cpu.py47except (OSError, ValueError):CODE
HIGHsrc/model-runtime/vllm_srun/accel/cpu.py56except (OSError, ValueError):CODE
HIGHsrc/model-runtime/vllm_srun/accel/cpu.py113except (ValueError, OSError, AttributeError):CODE
HIGHsrc/vllm-sr/tests/test_sr_bench.py103except (BrokenPipeError, ConnectionResetError):CODE
HIGHsrc/vllm-sr/tests/test_sr_bench.py593except (BrokenPipeError, ConnectionResetError):CODE
HIGHsrc/vllm-sr/cli/instance_setup.py54except (OSError, ValueError, http.client.HTTPException):CODE
HIGHsrc/vllm-sr/cli/instance_runtime.py135except (OSError, ValueError, RuntimeError):CODE
HIGHsrc/vllm-sr/cli/container_runtime.py79except FileNotFoundError:CODE
HIGHsrc/vllm-sr/cli/execution_platform.py101except ValueError:CODE
HIGHsrc/vllm-sr/cli/container_services.py239except subprocess.CalledProcessError:CODE
HIGHsrc/vllm-sr/cli/recipe_activation_recovery.py482except FileNotFoundError:CODE
HIGHsrc/vllm-sr/cli/recipe_package.py615except ValueError:CODE
HIGHsrc/vllm-sr/cli/sr_bench/snapshots.py43except ValueError:CODE
HIGHsrc/vllm-sr/cli/sr_bench/dataset_io.py131except FileNotFoundError:CODE
Cross-File Repetition38 hits · 190 pts
SeverityFileLineSnippetContext
HIGHbench/reasoning/dataset_interface.py0get list of all available categories in the dataset.STRING
HIGHbench/reasoning/dataset_implementations/drop_dataset.py0get list of all available categories in the dataset.STRING
HIGH…easoning/dataset_implementations/openbookqa_dataset.py0get list of all available categories in the dataset.STRING
HIGH…easoning/dataset_implementations/strategyqa_dataset.py0get list of all available categories in the dataset.STRING
HIGHbench/reasoning/dataset_implementations/math_dataset.py0get list of all available categories in the dataset.STRING
HIGH…/reasoning/dataset_implementations/aqua_rat_dataset.py0get list of all available categories in the dataset.STRING
HIGHbench/reasoning/dataset_implementations/sciq_dataset.py0get list of all available categories in the dataset.STRING
HIGH…nch/reasoning/dataset_implementations/gsm8k_dataset.py0get list of all available categories in the dataset.STRING
HIGH…/dataset_implementations/openmathrreasoning_dataset.py0get list of all available categories in the dataset.STRING
HIGH…st/services/mcp-classifier-server/server_generative.py0you are a history expert. when answering historical questions: - provide accurate dates, names, and historical context -STRING
HIGH…est/services/mcp-classifier-server/server_embedding.py0you are a history expert. when answering historical questions: - provide accurate dates, names, and historical context -STRING
HIGH…/test/services/mcp-classifier-server/server_keyword.py0you are a history expert. when answering historical questions: - provide accurate dates, names, and historical context -STRING
HIGH…st/services/mcp-classifier-server/server_generative.py0you are a mathematics expert. when answering math questions: - show step-by-step solutions with clear explanations - useSTRING
HIGH…est/services/mcp-classifier-server/server_embedding.py0you are a mathematics expert. when answering math questions: - show step-by-step solutions with clear explanations - useSTRING
HIGH…/test/services/mcp-classifier-server/server_keyword.py0you are a mathematics expert. when answering math questions: - show step-by-step solutions with clear explanations - useSTRING
HIGH…st/services/mcp-classifier-server/server_generative.py0you are a knowledgeable assistant. when answering general questions: - provide balanced, well-rounded responses - draw fSTRING
HIGH…est/services/mcp-classifier-server/server_embedding.py0you are a knowledgeable assistant. when answering general questions: - provide balanced, well-rounded responses - draw fSTRING
HIGH…/test/services/mcp-classifier-server/server_keyword.py0you are a knowledgeable assistant. when answering general questions: - provide balanced, well-rounded responses - draw fSTRING
HIGHe2e/testing/05-jailbreak-test.py0check if the services are running before running tests.STRING
HIGHe2e/testing/06-pii-detection-test.py0check if the services are running before running tests.STRING
HIGHe2e/testing/02-router-classification-test.py0check if the services are running before running tests.STRING
HIGHe2e/testing/04-cache-test.py0check if the services are running before running tests.STRING
HIGH…ck_fine_tuning_lora/fact_check_bert_finetuning_lora.py0create tokenizer with model-specific configuration. args: model_path: path to load tokenizer from base_model_name: optioSTRING
HIGH…ng_classifier/modality_routing_bert_finetuning_lora.py0create tokenizer with model-specific configuration. args: model_path: path to load tokenizer from base_model_name: optioSTRING
HIGH…ard_fine_tuning_lora/jailbreak_bert_finetuning_lora.py0create tokenizer with model-specific configuration. args: model_path: path to load tokenizer from base_model_name: optioSTRING
HIGH…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py0create tokenizer with model-specific configuration. args: model_path: path to load tokenizer from base_model_name: optioSTRING
HIGH…er/classifier_model_fine_tuning_lora/ft_linear_lora.py0create tokenizer with model-specific configuration. args: model_path: path to load tokenizer from base_model_name: optioSTRING
HIGH…g_classifier/exploration_lfm25_scx/try_scx_zeroshot.py0build the command-line parser. returns: the parser.STRING
HIGH…routing_classifier/exploration_lfm25_scx/eval_lfm25.py0build the command-line parser. returns: the parser.STRING
HIGH…y_routing_classifier/exploration_lfm25_scx/eval_scx.py0build the command-line parser. returns: the parser.STRING
HIGH…g_classifier/exploration_lfm25_scx/train_scx_router.py0build the command-line parser. returns: the parser.STRING
HIGH…lassifier/exploration_lfm25_scx/train_lfm25_encoder.py0build the command-line parser. returns: the parser.STRING
HIGH…ard_fine_tuning_lora/jailbreak_bert_finetuning_lora.py0merge lora adapter with base model to create a complete model for rust inference. this function is automatically called STRING
HIGH…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py0merge lora adapter with base model to create a complete model for rust inference. this function is automatically called STRING
HIGH…er/classifier_model_fine_tuning_lora/ft_linear_lora.py0merge lora adapter with base model to create a complete model for rust inference. this function is automatically called STRING
HIGH…del_embeddings/multimodal/small/models/text_encoder.py0return encoder-layer states without the input embedding state.STRING
HIGH…el_embeddings/multimodal/small/models/image_encoder.py0return encoder-layer states without the input embedding state.STRING
HIGH…el_embeddings/multimodal/small/models/audio_encoder.py0return encoder-layer states without the input embedding state.STRING
AI Slop Vocabulary56 hits · 152 pts
SeverityFileLineSnippetContext
MEDIUMbench/comprehensive_bench.sh352 # Generate updated comprehensive plots for current datasetCOMMENT
MEDIUMbench/comprehensive_bench.sh361# Function to generate comprehensive plot with all completed datasets (called after each dataset completes)COMMENT
MEDIUMbench/router_reason_bench.py277 # Normalize non-string responses into a string to be robust to providersCOMMENT
MEDIUMbench/grounded_fusion/make_configs.py139 # purely on the sentinel the harness prepends to every prompt.COMMENT
MEDIUM⚡bench/reasoning/router_reason_bench_multi_dataset.py315 # Normalize non-string responses into a string to be robust to providersCOMMENT
MEDIUMbench/reasoning/cli.py109 """Register the 'comprehensive' command - run full research benchmark."""STRING
MEDIUMbench/reasoning/cli.py348 """Run comprehensive benchmark."""STRING
MEDIUMbench/reasoning/reporting.py9 """Generate a comprehensive markdown report."""STRING
MEDIUMtools/linter/go/.golangci.yml20 - testifylint # checks for best practices when using the testify testing frameworkCODE
MEDIUM⚡tools/ci/ci_plan.py388# release can't run the current harness. Each is a main commit whoseCOMMENT
MEDIUM⚡tools/ci/ci_plan.py389# Production Benchmarks job passed with the harness that cycle measures.COMMENT
MEDIUM⚡tools/ci/ci_plan.py392 # current harness cannot compile there. #3852 introduced the paired VelaCOMMENT
MEDIUM⚡tools/ci/tests/test_pr_change_classifier.py417 # v0.4.0 predates the model runtime; #4707 runs the current harness.COMMENT
MEDIUMtools/ci/tests/test_e2e_batches.py30# without requiring a Kubernetes daemon for the deterministic harness tests.COMMENT
MEDIUMtools/agent/domains.yaml446 # The release version contract reads these files. The harness tests checkCOMMENT
MEDIUM⚡deploy/helm/validate-chart.sh430# Test 10: Check for common Helm best practicesCOMMENT
MEDIUM…ig/samples/vllm.ai_v1alpha1_semanticrouter_simple.yaml4# For a comprehensive example with all features, see vllm.ai_v1alpha1_semanticrouter_openshift.yamlCOMMENT
MEDIUMwebsite/package-lock.json20755 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
MEDIUMwebsite/static/img/blog/vela-2-0/source/make_charts.py169 # Section "Open extraction with the broad head": ACL-Verbatim word-F1, held out of training, one harness for all modCOMMENT
MEDIUMdashboard/frontend/src/utils/mlPipelineApi.ts97// on connect, so reconnection is seamless.COMMENT
MEDIUMe2e/testing/run_recipe_conformance.sh44 # live output and generated config stay under ignored .agent-harness paths.COMMENT
MEDIUMe2e/testing/09-memory-features-test.py102 # The shutdown phase ends the router process. The harness runs it last,COMMENT
MEDIUMe2e/profiles/response-jailbreak/values.yaml21 # keyword signal, so the E2E exercises the same harness path a realCOMMENT
MEDIUMperf/scripts/compare-model-baseline.sh2# Run the current benchmark harness against a real base revision. Both sidesCOMMENT
MEDIUMperf/scripts/compare-model-baseline.sh32 # harness can measure both sides. Record the reset instead of a comparison,COMMENT
MEDIUMsrc/semantic-router/pkg/looper/confidence.go1007// Uses JSON marshaling for robust extraction across SDK versionsCOMMENT
MEDIUMsrc/semantic-router/pkg/selection/hybrid.go69// HybridSelector combines multiple selection methods for robust routingCOMMENT
MEDIUM…lity_routing_classifier/evaluate_modality_candidate.py21 - candidate vs published_baseline (secondary/reference; what #3856's harnessSTRING
MEDIUM…routing_classifier/modality_candidate_eval_report.json7265 "same_run_p99_latency": "PENDING -- blocked on #3856 (same-run evaluation harness); not computed by this script.",CODE
MEDIUM…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py278 # Use more robust tokenization that preserves character positionsCOMMENT
MEDIUM…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py321 # Add comprehensive data validation and quality analysisCOMMENT
MEDIUM…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py563 # Use robust tokenizationCOMMENT
MEDIUM…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py1221 # Training arguments optimized for LoRA token classification based on PEFT best practicesCOMMENT
MEDIUM…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py1128 learning_rate: float = 3e-5, # Optimized for LoRA based on PEFT best practicesCODE
MEDIUM…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py351 """Validate BIO label consistency and report comprehensive statistics."""STRING
MEDIUM…edback_classifier/data_processing/download_datasets.py861 # Extract label using robust extractionCOMMENT
MEDIUM…_classifier/user_feedback_classifier/configs/config.py50 max_seq_length: int = 1024 # Increased from 512 to leverage longer contextCODE
MEDIUM…assifier_model_fine_tuning_lora/train_cpu_optimized.sh20LEARNING_RATE=3e-5 # Optimized learning rate based on PEFT best practicesCODE
MEDIUM…er/classifier_model_fine_tuning_lora/ft_linear_lora.py625 # Training arguments optimized for LoRA sequence classification based on PEFT best practicesCOMMENT
MEDIUM…ment/mmlu_pro_solver_lora/ft_qwen3_mmlu_solver_lora.py1042 # Save comprehensive resultsCOMMENT
LOWsrc/training/model_eval/signal_eval.py37# To add new datasets (e.g., multilingual), just add new entries hereCOMMENT
MEDIUMsrc/training/model_eval/mom_collection_eval.py379 """Evaluate a single model with comprehensive error handling."""STRING
MEDIUM…raining/model_selection/ml_model_selection/validate.go264// Uses huggingface-cli for robust downloads (handles auth, LFS, caching, parquet, etc.)COMMENT
MEDIUMsrc/vllm-sr/tests/test_sr_bench_experiment_admin.py51 # An untrusted manifest field cannot elevate a writer's experiment access.COMMENT
MEDIUMsrc/vllm-sr/tests/test_sr_bench_large_datasets.py137 # Basic-adapter planning needs no external harness or model calls.COMMENT
MEDIUMsrc/vllm-sr/tests/test_sr_bench_bridge.py180 # A failed bridge refuses another harness call; it does not retry theCOMMENT
MEDIUMsrc/vllm-sr/tests/install_runtime_harness.sh190# Source install.sh with its main entrypoint stripped so the harness canCOMMENT
MEDIUMsrc/vllm-sr/tests/install_runtime_harness.sh195# install.sh sets `set -euo pipefail` at the top; neutralize for the harnessCOMMENT
MEDIUMsrc/vllm-sr/tests/install_runtime_harness.sh214# that one in a subshell so the harness survives to report the kept file.COMMENT
MEDIUMsrc/vllm-sr/cli/sr_bench/transport.py31# Shared internal transport/harness contract; preserving its exception identity.COMMENT
MEDIUMsrc/vllm-sr/cli/sr_bench/engine.py498 # Fail closed: no new cases are dispatched after a transport/harness failure.COMMENT
MEDIUMsrc/vllm-sr/cli/sr_bench/harness_worker.py163 from tau2.run import ( # noqa: PLC0415 - isolated optional harness environmentCODE
MEDIUMsrc/vllm-sr/cli/sr_bench/harness_worker.py336 from inspect_evals.scicode.prompt_templates import ( # noqa: PLC0415 - isolated optional harness environmentCODE
MEDIUMsrc/vllm-sr/cli/sr_bench/harness_worker.py375 from harbor.job import Job # noqa: PLC0415 - isolated optional harness environmentCODE
MEDIUMsrc/vllm-sr/cli/sr_bench/harness_worker.py412 from harbor.environments.docker.docker import ( # noqa: PLC0415 - isolated optional harness environmentCODE
MEDIUMsrc/vllm-sr/cli/sr_bench/external.py156 import tomli as tomllib # noqa: PLC0415 - Python 3.10 compatibility for optional harnessCODE
Redundant / Tautological Comments89 hits · 133 pts
SeverityFileLineSnippetContext
LOWbench/plot_comprehensive_results.py312 # Check if we're dealing with a single datasetCOMMENT
LOWbench/comprehensive_bench.sh434 # Check if plots already existCOMMENT
LOWbench/hallucination/evaluate.py641 # Print resultsCOMMENT
LOWbench/reasoning/router_reason_bench_multi_dataset.py888 # Check if dataset has actual CoT content by examining sample questionsCOMMENT
LOWtools/test/smoke/test-image-gen.sh53# Check if response contains imageCOMMENT
LOWtools/test/smoke/test-classification-api.sh62 # Check if expected domain is in matched domainsCOMMENT
LOWtools/test/smoke/test-classification-api.sh364 # Check if expected domain is in matched domainsCOMMENT
LOWtools/test/smoke/test-classification-api.sh629 # Check if expected signal is in matched fact check signalsCOMMENT
LOWtools/test/smoke/test-classification-api.sh769 # Check if expected signal is in matched user feedback signalsCOMMENT
LOWtools/test/smoke/milvus/test-milvus-deployment.sh103 # Check if release existsCOMMENT
LOWtools/test/smoke/milvus/test-milvus-deployment.sh256 # Check if Prometheus Operator is installedCOMMENT
LOW…st/services/mcp-classifier-server/server_generative.py325 # Check if it's a local path that existsCOMMENT
LOW…st/services/mcp-classifier-server/server_generative.py329 # Check if it looks like a HuggingFace model ID (contains /)COMMENT
LOW⚡…est/services/mcp-classifier-server/server_embedding.py254 # Check if collection existsCOMMENT
LOW⚡…est/services/mcp-classifier-server/server_embedding.py258 # Check if we need to rebuild (verify count matches CSV)COMMENT
LOWtools/ci/retry.sh30# Set RETRY_CLEANUP to the name of a function that runs before every retry, so aCOMMENT
LOWtools/dev/local-up-router.sh228# Check if all processes are still running. Prints a warning once each timeCOMMENT
LOWtools/dev/kind/generate-kind-config.sh23# Check if template existsCOMMENT
LOWtools/dev/kind/generate-kind-config.sh29# Check if models directory existsCOMMENT
LOWdeploy/kserve/deployment.yaml74 # Check if model weights actually exist (not just the directory)COMMENT
LOWdeploy/kserve/deploy.sh306 # Check if logged inCOMMENT
LOWdeploy/kserve/deploy.sh323 # Check if namespace existsCOMMENT
LOWdeploy/kserve/install-kserve.sh336# Check if both KServe CRDs are already installedCOMMENT
LOWdeploy/kserve/install-gpu-operator.sh14# Check if running on OpenShiftCOMMENT
LOW⚡deploy/kserve/install-gpu-operator.sh32# Check if NFD operator is already installedCOMMENT
LOW⚡deploy/kserve/install-gpu-operator.sh126# Check if GPU operator is already installedCOMMENT
LOWdeploy/openshift/deployment.yaml189 # Check if model already existsCOMMENT
LOWdeploy/openshift/deploy-to-openshift.sh108# Check if logged in to OpenShiftCOMMENT
LOWdeploy/openshift/deploy-to-openshift.sh569 # Check if dashboard imagestream existsCOMMENT
LOWdeploy/openshift/deploy-to-openshift.sh575 # Check if dashboard buildconfig existsCOMMENT
LOWdeploy/openshift/cleanup-openshift.sh150 # Check if oc is installedCOMMENT
LOWdeploy/openshift/demo/curl-examples.sh19# Check if logged into OpenShiftCOMMENT
LOWdeploy/openshift/demo/live-classifier-logs.sh60 # Increment counterCOMMENT
LOWdeploy/kubernetes/istio/deployment.yaml29 # Check if all required models already exist in PVC; if yes, skip downloads entirelyCOMMENT
LOW⚡deploy/helm/validate-chart.sh434# Check if labels helper existsCOMMENT
LOW⚡deploy/helm/validate-chart.sh442# Check if selector labels helper existsCOMMENT
LOW⚡deploy/helm/validate-chart.sh450# Check if NOTES.txt existsCOMMENT
LOWe2e/testing/03-classification-api-test.py146 # Check if classification is correctCOMMENT
LOWe2e/testing/05-jailbreak-test.py222 # Check if jailbreak was properly detectedCOMMENT
LOWe2e/testing/05-jailbreak-test.py418 # Check if the request went through (indicating security bypass)COMMENT
LOWe2e/testing/05-jailbreak-test.py434 # Check if response contains harmful instructionsCOMMENT
LOWe2e/testing/02-router-classification-test.py255 # Check if classification and routing metrics existCOMMENT
LOWe2e/testing/06-pii-detection-test.py220 # Check if PII was properly detectedCOMMENT
LOWe2e/testing/06-pii-detection-test.py409 # Check if the request went throughCOMMENT
LOWe2e/testing/06-pii-detection-test.py425 # Check if response potentially exposes PII patternsCOMMENT
LOWe2e/testing/run_all_tests.py104 # Check if services are runningCOMMENT
LOWe2e/testing/04-cache-test.py90 # Check if cache is enabled in metricsCOMMENT
LOWe2e/testing/04-cache-test.py177 # Check if cache hits increasedCOMMENT
LOWe2e/testing/vllm-sr-cli/test_unit_serve.py250 # Check if the default image existsCOMMENT
LOWe2e/testing/vllm-sr-cli/test_unit_serve.py448 # Check if models directory was createdCOMMENT
LOWe2e/testing/hallucination-demo/chat_client.py116 # Check if we got tool_callsCOMMENT
LOWe2e/scripts/generate_test_data.py253 # Check if sample contains any of our required PII typesCOMMENT
LOWperf/scripts/run-cache-benchmark.sh62# Check if benchmark binary exists, build if notCOMMENT
LOWperf/scripts/run-cache-benchmark.sh222 # Check if Go is installedCOMMENT
LOWperf/scripts/run-cache-benchmark.sh228 # Check if CGO is availableCOMMENT
LOW…ck_fine_tuning_lora/fact_check_bert_finetuning_lora.py775 # Check if it matches non-factual patternsCOMMENT
LOW…ck_fine_tuning_lora/fact_check_bert_finetuning_lora.py1456 # Check if this is a LoRA adapter or a merged modelCOMMENT
LOW…ng_classifier/modality_routing_bert_finetuning_lora.py2686 # Check if this is a LoRA adapter or a merged modelCOMMENT
LOW…ard_fine_tuning_lora/jailbreak_bert_finetuning_lora.py712 # Check if this is a LoRA adapter or a merged/complete modelCOMMENT
LOW…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py299 # Check if token overlaps with entity spanCOMMENT
29 more matches not shown…
Modern Structural Boilerplate96 hits · 96 pts
SeverityFileLineSnippetContext
LOWbench/hallucination/__init__.py10__all__ = [CODE
LOWbench/redteam/__init__.py14__all__ = [CODE
LOWbench/reasoning/__init__.py38__all__ = [CODE
LOWbench/reasoning/dataset_implementations/__init__.py15__all__ = [CODE
LOW…est/services/provider-mocker/provider_mocker/memory.py7logger = logging.getLogger(__name__)CODE
LOW…st/services/mcp-classifier-server/server_generative.py68logger = logging.getLogger(__name__)CODE
LOW…est/services/mcp-classifier-server/server_embedding.py68logger = logging.getLogger(__name__)CODE
LOW…/test/services/mcp-classifier-server/server_keyword.py59logger = logging.getLogger(__name__)CODE
LOWtools/calibration/recipe/router_calibration_manifest.py33__all__ = [CODE
LOW…/calibration/recipe/router_calibration_fixture_test.py153def _update_probe_digest(digest: Any, probe_id: str, payload: bytes) -> None:CODE
LOWtools/calibration/recipe/router_calibration_support.py54__all__ = [CODE
LOW⚡tools/calibration/tuning/engine_selection.py509def _update_mapping_outputs(m: dict, fix: Fix) -> None:CODE
LOWtools/calibration/tuning/engine_selection.py524def _update_score_weight(score: dict, signal_name: str, new_weight: float) -> None:CODE
LOWtools/calibration/tuning/__init__.py18__all__ = [CODE
LOWtools/calibration/tuning/scenarios/__init__.py12__all__ = ["CalibrationScenario", "PrivacyScenario"]CODE
LOWtools/ci/community_lifecycle.py40__all__ = [CODE
LOWe2e/testing/memory_tests/__init__.py26__all__ = [CODE
LOWsrc/kv_connector/vllm_connector.py25logger = logging.getLogger(__name__)CODE
LOWsrc/training/model_classifier/common_lora_utils.py20logger = logging.getLogger(__name__)CODE
LOW…odel_classifier/verify_text_classification_datasets.py90logger = logging.getLogger(__name__)CODE
LOW…raining/model_classifier/safety_classifier/__init__.py36__all__ = [CODE
LOW…classifier/exploration_lfm25_scx/exploration_common.py196__all__ = [CODE
LOW…/prompt_guard_fine_tuning_lora/jailbreak_provenance.py336__all__ = [CODE
LOW…/model_classifier/user_feedback_classifier/__init__.py7__all__ = ["FeedbackDetector", "FeedbackResult"]CODE
LOW…edback_classifier/data_processing/download_datasets.py47logger = logging.getLogger(__name__)CODE
LOW…ck_classifier/data_processing/verify_dataset_labels.py33logger = logging.getLogger(__name__)CODE
LOW…lassifier/user_feedback_classifier/configs/__init__.py15__all__ = [CODE
LOW…model_experiment/multitask_wiki_classifier_training.py20logger = logging.getLogger(__name__)CODE
LOW…/multitask_bert_fine_tuning/multitask_bert_training.py19logger = logging.getLogger(__name__)CODE
LOWsrc/training/model_eval/cost_aware_calib.py92logger = logging.getLogger(__name__)CODE
LOWsrc/training/model_eval/signal_predict.py109logger = logging.getLogger(__name__)CODE
LOWsrc/training/model_eval/provenance/metrics.py17__all__ = [CODE
LOWsrc/training/model_eval/provenance/__init__.py23__all__ = [CODE
LOWsrc/training/model_eval/provenance/crossref.py22__all__ = [CODE
LOWsrc/training/model_eval/provenance/emit.py25__all__ = [CODE
LOWsrc/training/kv_mapper/__init__.py11__all__ = [CODE
LOW…ing/model_embeddings/mmbert_32k/foundation_data_cli.py15logger = logging.getLogger(__name__)CODE
LOW…ing/model_embeddings/mmbert_32k/foundation_training.py38logger = logging.getLogger(__name__)CODE
LOW…training/model_embeddings/mmbert_32k/foundation_cli.py8logger = logging.getLogger(__name__)CODE
LOW…c/training/model_embeddings/mmbert_32k/reranker_cli.py8logger = logging.getLogger(__name__)CODE
LOW…ining/model_embeddings/mmbert_32k/embedder_training.py32logger = logging.getLogger(__name__)CODE
LOWsrc/training/model_embeddings/mmbert_32k/reranker.py32__all__ = [CODE
LOW…g/model_embeddings/mmbert_32k/foundation_data_local.py12logger = logging.getLogger(__name__)CODE
LOW…/training/model_embeddings/mmbert_32k/embedder_data.py14logger = logging.getLogger(__name__)CODE
LOW…training/model_embeddings/mmbert_32k/reranker_model.py21logger = logging.getLogger(__name__)CODE
LOWsrc/training/model_embeddings/mmbert_32k/foundation.py28__all__ = [CODE
LOW…el_embeddings/mmbert_32k/foundation_data_transforms.py7logger = logging.getLogger(__name__)CODE
LOW…ing/model_embeddings/mmbert_32k/reranker_evaluation.py7logger = logging.getLogger(__name__)CODE
LOW…/training/model_embeddings/mmbert_32k/reranker_data.py15logger = logging.getLogger(__name__)CODE
LOW…raining/model_embeddings/mmbert_32k/foundation_data.py28__all__ = [CODE
LOW…ining/model_embeddings/mmbert_32k/reranker_training.py26logger = logging.getLogger(__name__)CODE
LOWsrc/training/model_embeddings/mmbert_32k/embedder.py34__all__ = [CODE
LOW…/model_embeddings/mmbert_32k/foundation_materialize.py42logger = logging.getLogger(__name__)CODE
LOW…ing/model_embeddings/mmbert_32k/embedder_evaluation.py20logger = logging.getLogger(__name__)CODE
LOW…/model_embeddings/mmbert_32k/foundation_data_remote.py12logger = logging.getLogger(__name__)CODE
LOW…training/model_embeddings/mmbert_32k/foundation_ewc.py11logger = logging.getLogger(__name__)CODE
LOW…ning/model_embeddings/mmbert_32k/foundation_packing.py199def update_token_digest(digest: Any, token_ids: Iterable[int]) -> None:CODE
LOW…/training/model_embeddings/multimodal/large/runtime.py44def set_seed(seed: int) -> None:CODE
LOW…ining/model_embeddings/multimodal/large/tri_encoder.py209 def set_epoch(self, epoch: int) -> None:CODE
LOWsrc/training/model_embeddings/multimodal/large/data.py19__all__ = [CODE
36 more matches not shown…
Docstring Block Structure19 hits · 95 pts
SeverityFileLineSnippetContext
HIGHbench/reasoning/dataset_factory.py58Create a dataset instance by name. Args: name: Name of the dataset to create Returns: STRING
HIGHsrc/training/model_classifier/common_lora_utils.py24 Get appropriate target_modules for LoRA based on model architecture. Args: model_name: Name of the modSTRING
HIGHsrc/training/model_classifier/common_lora_utils.py110 Validate and normalize LoRA configuration parameters. Args: lora_config: Dictionary containing LoRA paSTRING
HIGH…lity_routing_classifier/evaluate_modality_candidate.py113Load a checkpoint and check that its labels map onto the canonical ones. Accepts a LoRA adapter directory or a mergSTRING
HIGH…lassifier/modality_routing_classifier/modality_data.py57Compute class weights and the focal-loss gamma from the training labels. Weights are inverse frequency with sqrt daSTRING
HIGH…/modality_routing_classifier/modality_label_mapping.py22Map checkpoint class ids to canonical MODALITY_LABELS ids, or raise. Raises unless id2label is a one-to-one mappingSTRING
HIGH…ing_classifier/modality_routing_fixed_split_trainer.py397Add the frozen teacher's logits to the training set as a column. The student is trained in canonical label order, sSTRING
HIGH…classifier/exploration_lfm25_scx/exploration_common.py119Score predicted label names against the true ones. Args: truth: True label names. preds: Predicted STRING
HIGH…odality_routing_classifier/label_audit/judge_labels.py103Load the split named in args, checking it against the dataset it was judged on. Judgments are keyed by row positionSTRING
HIGH…y_routing_classifier/label_audit/audit_lib/judgment.py30Parse one judgment line of the form "ID LABEL [flags]". Args: line: The line, for example "14 B M" or "15 ASTRING
HIGH…uting_classifier/label_audit/audit_lib/human_review.py94Load the labels a human filled into the review sheet. Args: path: Path to the sheet written by write_sheet.STRING
HIGH…_routing_classifier/label_audit/audit_lib/api_judge.py77Send one batch to the model and return its reply. Retries the errors in `retryable` with a growing wait. Args:STRING
HIGH…ity_routing_classifier/label_audit/audit_lib/report.py35Check that predictions belong to the rows of the split, and put them in row order. Every row must be covered exactlSTRING
HIGH…ity_routing_classifier/label_audit/audit_lib/report.py70Load the model predictions in an evaluation report, checked against the rows. Args: path: Path to modality_STRING
HIGH…ity_routing_classifier/label_audit/audit_lib/report.py98Load one model's predictions from a JSON file, checked against the rows. The file needs "preds" and "input_hashes" STRING
HIGH…ity_routing_classifier/label_audit/audit_lib/report.py131Load model predictions for re-scoring against the judged labels. Nothing is joined by position alone: every predictSTRING
HIGH…edback_classifier/data_processing/download_datasets.py1329 Label a list of examples using the LLM API with production features. Features: - Retry logic for failed APSTRING
HIGHsrc/vllm-sr/cli/parser.py224 Parse and validate user configuration file. Args: config_path: Path to config.yaml log_summarySTRING
HIGHsrc/vllm-sr/cli/parser.py320 Load configuration file as dictionary. Args: config_path: Path to configuration file Returns: STRING
Hallucination Indicators9 hits · 90 pts
SeverityFileLineSnippetContext
CRITICALbench/agent_crew/crew.py241 raw = self.client.chat.completions.with_raw_response.create(**kwargs)CODE
CRITICAL…ntic-router/pkg/modelservice/replica_readiness_test.go74 worker.member.group.client.bundleTasks.Store(DefaultBundleTasks)CODE
CRITICALsrc/semantic-router/pkg/modelservice/replica_pool.go147 current := w.member.group.client.bundleTasks.Load()CODE
CRITICALsrc/semantic-router/pkg/modelservice/replica_pool.go151 current = w.member.group.client.apiMinor.Load()CODE
CRITICAL…c-router/pkg/extproc/router_learning_outcome_ingest.go112 gate := rt.config.RouterLearning.Protection.Tuning.ProgressGate.EffectiveConfig()CODE
CRITICAL…pii_model_fine_tuning_lora/tests/test_full_training.py151 self.source.head.norm.weight.fill_(3)CODE
CRITICALsrc/vllm-sr/cli/sr_bench/transport.py422 response.raw._fp.fp.raw._sock.shutdown(socket.SHUT_RDWR)CODE
CRITICALsrc/vllm-sr/cli/sr_bench/engine.py424 response.raw._fp.fp.raw._sock.shutdown(socket.SHUT_RDWR)CODE
CRITICALsrc/vllm-sr/cli/sr_bench/native_output.py262 response.raw._fp.fp.raw._sock.shutdown(socket.SHUT_RDWR)CODE
Fake / Example Data82 hits · 84 pts
SeverityFileLineSnippetContext
LOWbench/router_reason_bench.py525 client = OpenAI(base_url=endpoint, api_key=api_key or "dummy-key")CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py885 client = OpenAI(base_url=endpoint, api_key=api_key or "dummy-key", timeout=300.0)CODE
LOW⚡tools/agent/scripts/tests/test_changed_files_path.py124 "user.email=test@example.org",CODE
LOW⚡tools/agent/scripts/tests/test_changed_files_path.py207 "user.email=test@example.org",CODE
LOW…version-v0.1/tutorials/content-safety/pii-detection.md22| `EMAIL_ADDRESS` | Email addresses | "user@example.com" |CODE
LOW…version-v0.2/tutorials/content-safety/pii-detection.md22| `EMAIL_ADDRESS` | Email addresses | "user@example.com" |CODE
LOW…version-v0.1/tutorials/content-safety/pii-detection.md29| `EMAIL_ADDRESS` | 电子邮件地址 | "user@example.com" |CODE
LOW…lugin-content-docs/version-v0.2/cookbook/pii-policy.md62| `EMAIL_ADDRESS`| 电子邮件地址 | "user@example.com" |CODE
LOW…lugin-content-docs/version-v0.2/cookbook/pii-policy.md66| `ORGANIZATION` | 公司/组织名称 | "Acme Corp" |CODE
LOW…version-v0.2/tutorials/content-safety/pii-detection.md29| `EMAIL_ADDRESS` | 电子邮件地址 | "user@example.com" |CODE
LOWdashboard/frontend/e2e/playground.spec.ts559 await expect(dialog).toContainText('admin@example.com')CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts229 email: 'admin@example.com',CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts248 email: 'admin@example.com',CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts319 await page.getByPlaceholder('you@example.com').fill('admin@example.com')CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts659 email: 'admin@example.com',CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts678 email: 'admin@example.com',CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts725 await page.getByPlaceholder('you@example.com').fill('admin@example.com')CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts1063 email: 'admin@example.com',CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts1094 email: 'admin@example.com',CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts1130 email: 'admin@example.com',CODE
LOWdashboard/frontend/e2e/public-responsive.spec.ts206 await page.getByPlaceholder('you@example.com').fill('admin@example.com')CODE
LOWdashboard/frontend/e2e/public-responsive.spec.ts251 email: 'admin@example.com',CODE
LOWdashboard/frontend/e2e/support/auth.ts30 email: 'admin@example.com',CODE
LOWdashboard/frontend/e2e/evaluation/sr-bench.spec.ts398 'placeholder',CODE
LOW…rontend/e2e/evaluation/sr-bench-missing-prices.spec.ts135 await expect(budget).toHaveAttribute('placeholder', 'Not applied')CODE
LOWdashboard/frontend/src/pages/UsersPageUserDialog.tsx152 placeholder="Jane Doe"CODE
LOWdashboard/backend/auth/handlers_test.go66 user := newTestUser(t, svc, "admin@example.com", "admin", "active")CODE
LOWdashboard/backend/auth/store_test.go19 admin := newTestUser(t, NewService(store, "test-secret", 1), "admin@example.com", RoleAdmin, "active")CODE
LOWdashboard/backend/auth/invitation_test.go11 admin := newTestUser(t, svc, "admin@example.com", RoleAdmin, "active")CODE
LOWdashboard/backend/auth/invitation_test.go44 admin := newTestUser(t, svc, "admin@example.com", RoleAdmin, "active")CODE
LOWdashboard/backend/auth/invitation_test.go70 admin := newTestUser(t, svc, "admin@example.com", RoleAdmin, "active")CODE
LOWdashboard/backend/auth/invitation_test.go83 admin := newTestUser(t, svc, "admin@example.com", RoleAdmin, "active")CODE
LOWdashboard/backend/auth/password_test.go63 admin := newTestUser(t, svc, "admin@example.com", RoleAdmin, "active")CODE
LOWdashboard/backend/auth/password_test.go98 admin := newTestUser(t, svc, "admin@example.com", RoleAdmin, "active")CODE
LOWdashboard/backend/auth/password_test.go131 admin := newTestUser(t, svc, "admin@example.com", RoleAdmin, "active")CODE
LOWdashboard/backend/auth/bootstrap_gate_test.go83 newTestUser(t, svc, "admin@example.com", RoleAdmin, "active")CODE
LOWdashboard/backend/auth/bootstrap_gate_test.go91 rec := postRegister(svc, "admin@example.com")CODE
LOWdashboard/backend/auth/bootstrap_gate_test.go105 newTestUser(t, svc, "admin@example.com", RoleAdmin, "active")CODE
LOWdashboard/backend/auth/bootstrap_gate_test.go114 rec := postRegister(svc, "admin@example.com")CODE
LOWdashboard/backend/auth/bootstrap_gate_test.go125 rec := postRegister(svc, "admin@example.com")CODE
LOWdashboard/backend/auth/bootstrap_gate_test.go136 newTestUser(t, svc, "admin@example.com", RoleAdmin, "active")CODE
LOWdashboard/backend/auth/bootstrap_gate_test.go178 newTestUser(t, svc, "admin@example.com", RoleAdmin, "active")CODE
LOWdashboard/backend/auth/bootstrap_gate_test.go198 rec := postRegister(svc, "admin@example.com")CODE
LOWdashboard/backend/auth/bootstrap_gate_test.go331 if rec := postRegister(svc, "admin@example.com"); rec.Code != http.StatusOK {CODE
LOW…esting/vllm-sr-cli/test_integration_first_run_setup.py109 "email": "admin@example.com",CODE
LOW…sting/vllm-sr-cli/test_integration_restart_required.py79 "email": "admin@example.com",CODE
LOW…/testing/vllm-sr-cli/test_integration_recipe_bearer.py87 "email": "admin@example.com",CODE
LOWe2e/scripts/generate_test_data.py120 "PERSON": ["Jane Smith", "John Doe", "Michael Johnson"],CODE
LOW…kg/classification/generic_classifier_reasoning_test.go29 c, err := newLLMLabelClassifier(config.ClassifierSignalRule{Name: "labels", Model: "test", Labels: []string{"A", "B"}CODE
LOW…ntic-router/pkg/classification/vllm_classifier_test.go19 ModelEndpoint: config.ClassifierVLLMEndpoint{Address: "placeholder", Port: 1},CODE
LOW…c-router/pkg/classification/vllm_client_limits_test.go16 ModelEndpoint: config.ClassifierVLLMEndpoint{Address: "placeholder", Port: 1},CODE
LOW…ter/pkg/classification/classifier_full_context_test.go60 const email = "alice@example.org"CODE
LOW…c-router/pkg/classification/generic_classifier_test.go52 ModelEndpoint: config.ClassifierVLLMEndpoint{Address: "placeholder", Port: 1},CODE
LOW…antic-router/pkg/classification/classifier_pii_test.go224 piiEntity("PERSON", "John Doe", 0, 8, 0.9),CODE
LOW…antic-router/pkg/classification/classifier_pii_test.go238 piiEntity("PERSON", "John Doe", 0, 8, 0.9),CODE
LOW…c-router/pkg/classification/pii_remote_backend_test.go20 {"label": "EMAIL_ADDRESS", "score": 0.9, "text": "jane@example.org", "start": 19, "end": 35},CODE
LOW…c-router/pkg/classification/pii_remote_backend_test.go21 {"label": "URL", "score": 0.9, "text": "mailto:jane@example.org", "start": 12, "end": 35},CODE
LOW…uter/pkg/classification/generic_classifier_llm_test.go46 ModelEndpoint: config.ClassifierVLLMEndpoint{Address: "placeholder", Port: 1},CODE
LOW…uter/pkg/classification/generic_classifier_llm_test.go168 ModelEndpoint: config.ClassifierVLLMEndpoint{Address: "placeholder", Port: 1},CODE
LOW…-router/pkg/classification/vllm_client_timeout_test.go28 ModelEndpoint: config.ClassifierVLLMEndpoint{Address: "placeholder", Port: 1},CODE
22 more matches not shown…
Self-Referential Comments12 hits · 42 pts
SeverityFileLineSnippetContext
MEDIUMdeploy/operator/config/crd/kustomizeconfig.yaml1# This file is for teaching kustomize how to substitute name and namespace reference in CRDCOMMENT
MEDIUM⚡e2e/testing/08-rag-openai-test.py42 # Create a request with RAG enabled (direct_search mode)COMMENT
MEDIUM⚡e2e/testing/08-rag-openai-test.py98 # Create a request with file_search tool (Responses API format)COMMENT
MEDIUM⚡e2e/testing/run_all_tests.py153 # Create a test suite from the moduleCOMMENT
MEDIUMe2e/scripts/generate_test_data.py188 # Define the PII types we need (matching semantic-router config)COMMENT
MEDIUM…ng/model_experiment/dual_classifier/dual_classifier.py165 # Create a new instanceCOMMENT
MEDIUM…/multitask_bert_fine_tuning/multitask_bert_training.py469 # Create a temporary trainer to load datasets and determine configurationsCOMMENT
MEDIUM…/multitask_bert_fine_tuning/multitask_bert_training.py512 # Create the real trainerCOMMENT
MEDIUMsrc/training/model_eval/plot_category_accuracies.py108 # Create a new dict to avoid modifying the original during iterationCOMMENT
MEDIUM…model_embeddings/cache_embeddings/domains/prompts.yaml3# This file defines how the LLM should generate paraphrases and hard negativesCOMMENT
MEDIUM⚡…model_selection/ml_model_selection/models.example.yaml3# This file defines multiple LLM models with different endpoints and authentication.COMMENT
MEDIUMsrc/vllm-sr/cli/templates/grafana-datasource.serve.yaml2# This file is provisioned automatically when Grafana startsCOMMENT
AI Structural Patterns32 hits · 28 pts
SeverityFileLineSnippetContext
LOWe2e/testing/vllm-sr-cli/serve_session.py159CODE
LOWe2e/testing/vllm-sr-cli/cli_test_base.py388CODE
LOW…raining/model_classifier/safety_classifier/evaluate.py376CODE
LOW…raining/model_classifier/safety_classifier/evaluate.py591CODE
LOW…ck_fine_tuning_lora/fact_check_bert_finetuning_lora.py1230CODE
LOW…ng_classifier/modality_routing_bert_finetuning_lora.py2264CODE
LOW…ard_fine_tuning_lora/jailbreak_bert_finetuning_lora.py488CODE
LOW…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py1121CODE
LOW…ssifier/hallucination_detection_classifier/finetune.py358CODE
LOW…ier_model_fine_tuning_lora/ft_qwen3_generative_lora.py401CODE
LOW…er/classifier_model_fine_tuning_lora/ft_linear_lora.py544CODE
LOW…r_model_fine_tuning_lora/ft_linear_lora_consistency.py493CODE
LOW…ro_solver_lora/ft_qwen3_mmlu_solver_lora_no_leakage.py1249CODE
LOW…ment/mmlu_pro_solver_lora/ft_qwen3_mmlu_solver_lora.py698CODE
LOW…/model_embeddings/mmbert_32k/foundation_data_remote.py231CODE
LOW…/training/model_embeddings/multimodal/large/records.py254CODE
LOW…/training/model_embeddings/multimodal/large/records.py315CODE
LOW…training/model_embeddings/multimodal/small/training.py188CODE
LOW…ing/model_embeddings/multimodal/small/models/fusion.py148CODE
LOW…g/model_embeddings/multimodal/small/models/embedder.py33CODE
LOW…g/model_embeddings/multimodal/small/data/sequential.py18CODE
LOW…aining/model_selection/ml_model_selection/benchmark.py1037CODE
LOW…c/training/model_selection/ml_model_selection/train.py86CODE
LOW…c/training/model_selection/ml_model_selection/train.py207CODE
LOWsrc/model-runtime/vllm_srun/testing/onnx_graphs.py51CODE
LOWsrc/vllm-sr/cli/config_translator.py45CODE
LOWsrc/vllm-sr/cli/container_backend.py27CODE
LOWsrc/vllm-sr/cli/core.py152CODE
LOWsrc/vllm-sr/cli/k8s_backend.py186CODE
LOWsrc/vllm-sr/cli/container_images.py354CODE
LOWsrc/vllm-sr/cli/container_start.py90CODE
LOWsrc/vllm-sr/cli/sr_bench/sources.py273CODE
Example Usage Blocks13 hits · 21 pts
SeverityFileLineSnippetContext
LOWbench/grounded_fusion/run_ab.sh9# Usage:COMMENT
LOW⚡tools/test/smoke/test-authz-rbac.sh22# Usage:COMMENT
LOWtools/test/smoke/milvus/test-milvus-deployment.sh5# Usage:COMMENT
LOW…tes/dynamo/helm-chart/examples/values-multi-model.yaml5# Usage:COMMENT
LOW…etes/dynamo/helm-chart/examples/values-multi-node.yaml5# Usage:COMMENT
LOW…classifier/modality_routing_classifier/run_training.sh5# Usage:COMMENT
LOW…_feedback_classifier/scripts/label_balanced_dataset.sh18# Usage:COMMENT
LOW⚡…lu_pro_solver_lora/train_all_specialists_no_leakage.sh8# Usage:COMMENT
LOWsrc/training/model_eval/arc_challenge_vllm_eval.py3# Usage example:COMMENT
LOWsrc/training/model_eval/mmlu_pro_vllm_eval.py3# Sample usage:COMMENT
LOW⚡…model_selection/ml_model_selection/models.example.yaml6# Usage:COMMENT
LOW…tion/rl_model_selection/scripts/train_router_r1_gpu.sh9# Usage:COMMENT
LOW…tion/rl_model_selection/scripts/train_gmtrouter_gpu.sh9# Usage:COMMENT
Magic Placeholder Names3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…tend/src/pages/ConfigPageMoMWorkspace.contract.test.ts59 expect(usage).not.toContain('YOUR_API_KEY')CODE
HIGHe2e/testing/09-openai-api-validation-test.py47 "your-api-key",CODE
HIGH…mantic-router/pkg/openai/openai_validation_e2e_test.go18var placeholderKeys = []string{"sk-your-key", "sk-your-real-key", "sk-...", "your-api-key"}CODE
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…oard/frontend/src/pages/ConfigPageModelUsageDialog.tsx51 print(chunk.choices[0].delta.content or "", end="")`,CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMwebsite/src/pages/community/contributing.tsx18 description={<Translate id="contributing.subtitle">We welcome contributions from the community! Here's how you cCODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/vllm-sr/tests/test_sr_bench_preparation_cli.py41 def handle_request(self):CODE