Repository Analysis

vllm-project/semantic-router

A programmable Mixture-of-Models router for heterogeneous LLM inference

6.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of vllm-project/semantic-router, a Go project with 5,388 GitHub stars. SynthScan v2.0 examined 1,358,589 lines of code across 5164 source files, recording 6271 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 6.6 places this repository in the Low AI signal band.

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

6.6
Adjusted Score
6.6
Raw Score
100%
Time Factor
2026-08-29
Last Push
5.4K
Stars
Go
Language
1.4M
Lines of Code
5.2K
Files
6.3K
Pattern Hits
2026-08-29
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

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

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

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

CRITICAL 0HIGH 56MEDIUM 890LOW 5325

Directory Score Breakdown

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

Pattern Findings

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

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

Hyper-Verbose Identifiers2519 hits · 2538 pts
SeverityFileLineSnippetContext
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.py2337def missing_router_header_counts(rows: list[dict[str, Any]]) -> dict[str, int]:CODE
LOWbench/agent_task_live_benchmark.py2344def invalid_router_header_counts(rows: list[dict[str, Any]]) -> dict[str, int]:CODE
LOWbench/agent_task_live_benchmark.py2357def valid_router_header_value(header: str, value: str) -> bool:CODE
LOWbench/agent_task_live_benchmark.py2494def attach_validation_failures(CODE
LOWbench/agent_task_live_benchmark.py2606def 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
LOWbench/test_session_routing_ga_report.py1069def test_markdown_renders_blockers_as_readable_sections():CODE
LOWbench/test_session_routing_branch_image_benchmark.py106def complete_agent_task_summary(CODE
LOWbench/test_session_routing_branch_image_benchmark.py216def test_full_branch_image_summary_passes_with_complete_evidence(tmp_path):CODE
LOWbench/test_session_routing_branch_image_benchmark.py230def test_full_branch_image_summary_blocks_mounted_binary_and_stale_tasks(tmp_path):CODE
2459 more matches not shown…
Decorative Section Separators647 hits · 2160 pts
SeverityFileLineSnippetContext
MEDIUMbench/cpu-vs-gpu/bench-3way.sh4# =============================================================================COMMENT
MEDIUMbench/cpu-vs-gpu/bench-3way.sh12# =============================================================================COMMENT
MEDIUMbench/cpu-vs-gpu/bench-3way.sh34# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-3way.sh60# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-3way.sh152# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-3way.sh182# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-3way.sh224# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-3way.sh259# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-3way.sh369# =============================================================================COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh4# =============================================================================COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh9# =============================================================================COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh32# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh35# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh193# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh195# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh229# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh231# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh292# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh294# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh330# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh332# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh353# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh355# ---------------------------------------------------------------------------COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh482# =============================================================================COMMENT
MEDIUMbench/cpu-vs-gpu/bench-long-context.sh484# =============================================================================COMMENT
MEDIUMtools/smoke/test-signal-api.sh13# ============================================================================COMMENT
MEDIUMtools/smoke/test-signal-api.sh15# ============================================================================COMMENT
MEDIUMtools/smoke/test-signal-api.sh78# ============================================================================COMMENT
MEDIUMtools/smoke/test-signal-api.sh80# ============================================================================COMMENT
MEDIUMtools/smoke/test-signal-api.sh134# ============================================================================COMMENT
MEDIUMtools/smoke/test-signal-api.sh136# ============================================================================COMMENT
MEDIUMtools/smoke/test-signal-api.sh186# ============================================================================COMMENT
MEDIUMtools/smoke/test-signal-api.sh188# ============================================================================COMMENT
MEDIUMtools/smoke/test-signal-api.sh466# ============================================================================COMMENT
MEDIUMtools/smoke/test-signal-api.sh468# ============================================================================COMMENT
MEDIUMtools/smoke/test-authz-rbac.sh28# ─── Configurable parameters (from env, with defaults) ───────────────COMMENT
MEDIUMtools/smoke/test-authz-rbac.sh38# ─── Dynamic discovery ───────────────────────────────────────────────COMMENT
MEDIUMtools/smoke/test-authz-rbac.sh103# ─── Helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUMtools/smoke/test-authz-rbac.sh175# ─── Test 1: Admin → 14B ─────────────────────────────────────────────COMMENT
MEDIUMtools/smoke/test-authz-rbac.sh181# ─── Test 2: Alice (engineering/pro_tier) → 7B ───────────────────────COMMENT
MEDIUMtools/smoke/test-authz-rbac.sh187# ─── Test 3: Bob (premium) + complex query → 14B ─────────────────────COMMENT
MEDIUMtools/smoke/test-authz-rbac.sh193# ─── Test 4: Bob (premium) + simple query → 7B ───────────────────────COMMENT
MEDIUMtools/smoke/test-authz-rbac.sh199# ─── Test 5: Carol (free) → 7B ───────────────────────────────────────COMMENT
MEDIUMtools/smoke/test-authz-rbac.sh205# ─── Test 6: Dave (contractor/free_tier) → 7B ────────────────────────COMMENT
MEDIUMtools/smoke/test-authz-rbac.sh211# ─── Test 7: Invalid token → 401 ─────────────────────────────────────COMMENT
MEDIUMtools/smoke/test-authz-rbac.sh217# ─── Test 8: No token → 401 ──────────────────────────────────────────COMMENT
MEDIUMtools/smoke/test-authz-rbac.sh226# ─── Summary ──────────────────────────────────────────────────────────COMMENT
MEDIUMtools/smoke/test-classification-api.sh192# ============================================================================COMMENT
MEDIUMtools/smoke/test-classification-api.sh194# ============================================================================COMMENT
MEDIUMtools/smoke/test-classification-api.sh198# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/smoke/test-classification-api.sh200# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/smoke/test-classification-api.sh12# ============================================================================COMMENT
MEDIUMtools/smoke/test-classification-api.sh14# ============================================================================COMMENT
MEDIUMtools/smoke/test-classification-api.sh84# ============================================================================COMMENT
MEDIUMtools/smoke/test-classification-api.sh86# ============================================================================COMMENT
MEDIUMtools/smoke/test-classification-api.sh140# ============================================================================COMMENT
MEDIUMtools/smoke/test-classification-api.sh142# ============================================================================COMMENT
MEDIUMtools/smoke/test-classification-api.sh386# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/smoke/test-classification-api.sh388# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/smoke/test-classification-api.sh460# -----------------------------------------------------------------------------COMMENT
587 more matches not shown…
Structural Annotation Overuse506 hits · 846 pts
SeverityFileLineSnippetContext
LOWdeploy/kserve/install-gpu-operator.sh29# Step 1: Install Node Feature Discovery (NFD) OperatorCOMMENT
LOWdeploy/kserve/install-gpu-operator.sh81# Step 2: Create NFD InstanceCOMMENT
LOWdeploy/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.md47## Step 1: Create Kind Cluster (Optional)COMMENT
LOWwebsite/docs/installation/k8s/ai-gateway.md58## Step 2: Deploy vLLM Semantic RouterCOMMENT
LOWwebsite/docs/installation/k8s/ai-gateway.md83## Step 3: Install Envoy GatewayCOMMENT
LOWwebsite/docs/installation/k8s/ai-gateway.md100## Step 4: Install Envoy AI GatewayCOMMENT
LOWwebsite/docs/installation/k8s/ai-gateway.md121## Step 5: Deploy Demo LLMCOMMENT
LOWwebsite/docs/installation/k8s/ai-gateway.md130## Step 6: Create Gateway API ResourcesCOMMENT
LOWwebsite/blog/2026-01-23-mom-on-amd-gpu.md270### Step 1: Install vLLM-SRCOMMENT
LOWwebsite/blog/2026-01-23-mom-on-amd-gpu.md278### Step 2: Initialize ConfigurationCOMMENT
LOWwebsite/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
446 more matches not shown…
Unused Imports646 hits · 604 pts
SeverityFileLineSnippetContext
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/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/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.py15CODE
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.py24CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py27CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py32CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py32CODE
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/reporting.py1CODE
LOWbench/reasoning/dataset_implementations/__init__.py3CODE
LOWbench/reasoning/dataset_implementations/__init__.py3CODE
LOWbench/reasoning/dataset_implementations/__init__.py3CODE
LOWbench/reasoning/dataset_implementations/__init__.py4CODE
LOWbench/reasoning/dataset_implementations/__init__.py5CODE
LOWbench/reasoning/dataset_implementations/__init__.py5CODE
LOWbench/reasoning/dataset_implementations/__init__.py5CODE
LOWbench/reasoning/dataset_implementations/__init__.py5CODE
LOWbench/reasoning/dataset_implementations/__init__.py11CODE
LOWbench/reasoning/dataset_implementations/__init__.py12CODE
LOWbench/reasoning/dataset_implementations/__init__.py12CODE
LOWbench/reasoning/dataset_implementations/__init__.py13CODE
LOW…/dataset_implementations/openmathrreasoning_dataset.py12CODE
LOWbench/router_flow/flow_eval.py10CODE
586 more matches not shown…
Over-Commented Block636 hits · 580 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml121# Commented out flake8 - only reports issues, doesn't auto-fixCOMMENT
LOWbench/benchmark_comparison.sh1#!/bin/bashCOMMENT
LOWbench/reasoning_mode_eval.sh1#!/bin/bashCOMMENT
LOWbench/grounded_fusion/run_ab.sh1#!/usr/bin/env bashCOMMENT
LOWbench/grounded_fusion/run_sweep.sh1#!/usr/bin/env bashCOMMENT
LOW…/scripts/rust/candle-binding/continuous_batch_bench.rs1// Continuous Batch Scheduler BenchmarkCOMMENT
LOW…ipts/rust/candle-binding/pure_batch_inference_bench.rs1// Pure Batched Inference Benchmark (No Scheduler)COMMENT
LOWtools/smoke/test-authz-rbac.sh1#!/usr/bin/env bashCOMMENT
LOWtools/mcp-classifier-server/server_generative.py61COMMENT
LOWopenvino-binding/semantic-router.go101COMMENT
LOW…o-binding/cpp/src/ffi/openvino_semantic_router_ffi.cpp1/**COMMENT
LOW…nding/scripts/build_and_run_mmbert_classifier_bench.sh1#!/usr/bin/env bashCOMMENT
LOW…inding/scripts/build_and_run_mmbert_embedding_bench.sh1#!/usr/bin/env bashCOMMENT
LOWml-binding/ml_binding.go1// Package ml_binding provides Go bindings for Linfa-based traditional ML algorithms.COMMENT
LOWml-binding/src/lib.rs1//! ML Binding for Semantic RouterCOMMENT
LOWml-binding/src/svm.rs1//! SVM (Support Vector Machine) inference implementationCOMMENT
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: rerankCOMMENT
LOWconfig/runtime/memory/valkey.yaml81# Production (Docker / Kubernetes):COMMENT
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.yaml141# Example configurations for different environments:COMMENT
LOWconfig/runtime/response-cache/milvus.yaml161# enabled: trueCOMMENT
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.yaml81 drop_index_on_startup: true # Enable for development to test dynamic dimensionsCOMMENT
LOWconfig/runtime/response-cache/redis.yaml101# Production (Redis Enterprise Cloud):COMMENT
LOWconfig/runtime/response-cache/redis.yaml121# - For HNSW index:COMMENT
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.yaml41# Pod security contextCOMMENT
LOWdeploy/helm/semantic-router/values.yaml121# No initContainer is needed anymoreCOMMENT
LOWdeploy/helm/semantic-router/values.yaml161# Affinity rulesCOMMENT
LOWdeploy/helm/semantic-router/values.yaml181 # -- Mount an existing ConfigMap over /app/config/knowledge_bases (overrides image-bundled seeds when set)COMMENT
LOWdeploy/helm/semantic-router/values.yaml461# When multiple models are specified in modelRefs, useCOMMENT
LOWdeploy/helm/semantic-router/values.yaml481# - type: "domain"COMMENT
LOWdeploy/helm/semantic-router/values.yaml541 # -- Dashboard image repositoryCOMMENT
LOWdeploy/helm/semantic-router/values.yaml561 # still works (the random fallback is a valid signing key, you can log in andCOMMENT
LOWdeploy/operator/config/crd/kustomization.yaml1# This kustomization.yaml is not intended to be run by itself,COMMENT
LOW…samples/vllm.ai_v1alpha1_semanticrouter_openshift.yaml361 # Environment VariablesCOMMENT
LOW…rator/config/samples/vllm_v1alpha1_semanticrouter.yaml61 # Readiness probeCOMMENT
LOWdeploy/operator/api/v1alpha1/semanticrouter_types.go61 // +optionalCOMMENT
LOWdeploy/operator/api/v1alpha1/semanticrouter_types.go141 // Repository is the container image repositoryCOMMENT
LOWdeploy/operator/api/v1alpha1/semanticrouter_types.go201 // Port is the service portCOMMENT
LOWdeploy/operator/api/v1alpha1/semanticrouter_types.go241 // AccessMode is the access modeCOMMENT
576 more matches not shown…
Verbosity Indicators299 hits · 512 pts
SeverityFileLineSnippetContext
LOWdeploy/kserve/install-gpu-operator.sh29# Step 1: Install Node Feature Discovery (NFD) OperatorCOMMENT
LOWdeploy/kserve/install-gpu-operator.sh81# Step 2: Create NFD InstanceCOMMENT
LOWdeploy/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…ndle-binding/examples/test_classifier_compatibility.rs21 // Step 1: Download Extended32K base modelCOMMENT
LOW…ndle-binding/examples/test_classifier_compatibility.rs53 // Step 2: Load base model configurationCOMMENT
LOW…ndle-binding/examples/test_classifier_compatibility.rs68 // Step 3: Load base modelCOMMENT
LOW…ndle-binding/examples/test_classifier_compatibility.rs80 // Step 4: Test with existing PII classifierCOMMENT
LOWcandle-binding/examples/test_full_inference_32k.rs22 // Step 1: Download Extended32K base modelCOMMENT
LOWcandle-binding/examples/test_full_inference_32k.rs54 // Step 2: Load base model configurationCOMMENT
LOWcandle-binding/examples/test_full_inference_32k.rs65 // Step 3: Load PII classifier to get classifier weightsCOMMENT
LOWcandle-binding/examples/test_full_inference_32k.rs116 // Step 4: Create combined classifier using Extended32K base model + PII classifier weightsCOMMENT
LOWcandle-binding/examples/test_full_inference_32k.rs144 // Step 9: Test inference on sample textsCOMMENT
LOW…ndle-binding/examples/test_32k_classifier_inference.rs30 // Step 1: Download Extended32K base modelCOMMENT
LOW…ndle-binding/examples/test_32k_classifier_inference.rs62 // Step 2: Load base model configurationCOMMENT
LOW…ndle-binding/examples/test_32k_classifier_inference.rs73 // Step 3: Load PII classifier to get classifier weightsCOMMENT
LOW…ndle-binding/examples/test_32k_classifier_inference.rs131 // Step 4: Load Extended32K base modelCOMMENT
LOW…ndle-binding/examples/test_32k_classifier_inference.rs142 // Step 5: Load classifier weightsCOMMENT
LOW…ndle-binding/examples/test_32k_classifier_inference.rs149 // Step 6: Load optional head (if exists in PII model)COMMENT
LOW…ndle-binding/examples/test_32k_classifier_inference.rs158 // Step 7: Create classifier with Extended32K base modelCOMMENT
LOW…ndle-binding/examples/test_32k_classifier_inference.rs230 // Step 10: Test inference on sample texts (including long texts)COMMENT
LOWcandle-binding/examples/test_long_text_inference_32k.rs27 // Step 1: Download and load ModernBERT-base-32kCOMMENT
LOWcandle-binding/examples/test_long_text_inference_32k.rs59 // Step 2: Load base modelCOMMENT
LOWcandle-binding/examples/test_long_text_inference_32k.rs69 // Step 3: Load tokenizerCOMMENT
LOWcandle-binding/examples/test_long_text_inference_32k.rs82 // Step 4: Test with different classifiersCOMMENT
LOWcandle-binding/examples/test_long_text_inference_32k.rs127 // Step 5: Test with texts of various lengthsCOMMENT
LOWcandle-binding/examples/test_lora_compatibility_32k.rs26 // Step 1: Download and load ModernBERT-base-32kCOMMENT
LOWcandle-binding/examples/test_lora_compatibility_32k.rs55 // Step 2: Check dimension compatibilityCOMMENT
LOWcandle-binding/examples/test_lora_compatibility_32k.rs77 // Step 3: Try to find existing LoRA adapterCOMMENT
LOWcandle-binding/examples/test_lora_compatibility_32k.rs107 // Step 4: Check if this is a LoRA adapter or traditional classifierCOMMENT
LOWcandle-binding/examples/test_lora_compatibility_32k.rs129 // Step 5: Try to load LoRA adapterCOMMENT
LOWcandle-binding/examples/test_lora_compatibility_32k.rs194 // Step 5: Check for traditional classifierCOMMENT
LOWcandle-binding/examples/test_lora_compatibility_32k.rs221 // Step 6: SummaryCOMMENT
LOWcandle-binding/examples/test_lora_inference_32k.rs29 // Step 1: Download and load ModernBERT-base-32kCOMMENT
LOWcandle-binding/examples/test_lora_inference_32k.rs61 // Step 2: Load base modelCOMMENT
LOWcandle-binding/examples/test_lora_inference_32k.rs72 // Step 3: Load tokenizerCOMMENT
LOWcandle-binding/examples/test_lora_inference_32k.rs85 // Step 4: Find and load LoRA adapterCOMMENT
LOWcandle-binding/examples/test_lora_inference_32k.rs214 // Step 5: Test inferenceCOMMENT
LOWcandle-binding/examples/test_lora_inference_32k.rs300 // Step 6: SummaryCOMMENT
LOW…e-binding/src/model_architectures/embedding/pooling.rs65 // Step 1: Expand attention_mask to match hidden_states dimensionsCOMMENT
LOW…e-binding/src/model_architectures/embedding/pooling.rs71 // Step 2: Apply mask to hidden statesCOMMENT
LOW…e-binding/src/model_architectures/embedding/pooling.rs74 // Step 3: Sum over sequence dimension (dim=1)COMMENT
LOW…e-binding/src/model_architectures/embedding/pooling.rs77 // Step 4: Count valid tokensCOMMENT
LOW…e-binding/src/model_architectures/embedding/pooling.rs80 // Step 5: Average (handle division by zero gracefully)COMMENT
LOW…e-binding/src/model_architectures/embedding/pooling.rs162 // Step 3: Extract the last valid token for each batchCOMMENT
LOW…e-binding/src/model_architectures/embedding/pooling.rs172 // Step 4: Concatenate all batch embeddings: [batch_size, hidden_size]COMMENT
LOW…e-binding/src/model_architectures/embedding/pooling.rs130 // Step 1: Check if left paddingCOMMENT
LOW…g/src/model_architectures/embedding/gemma_embedding.rs479 // Step 1: Gemma3 Transformer backboneCOMMENT
LOW…g/src/model_architectures/embedding/gemma_embedding.rs483 // Step 2: Mean PoolingCOMMENT
LOW…g/src/model_architectures/embedding/gemma_embedding.rs504 // Step 3: Dense Bottleneck (768 → 3072 → 768)COMMENT
LOW…g/src/model_architectures/embedding/gemma_embedding.rs508 // Step 4: L2 NormalizationCOMMENT
LOW…g/src/model_architectures/embedding/gemma_embedding.rs573 // Step 5: Truncate to target dimensionCOMMENT
LOW…g/src/model_architectures/embedding/gemma_embedding.rs583 // Step 6: Re-normalize after truncationCOMMENT
LOW…g/src/model_architectures/embedding/qwen3_embedding.rs381 // Step 2: Generate position sequence in f64COMMENT
LOW…g/src/model_architectures/embedding/qwen3_embedding.rs386 // Step 3: Compute outer product in f64: positions ⊗ inv_freqCOMMENT
LOW…g/src/model_architectures/embedding/qwen3_embedding.rs399 // Step 4: Expand to full head_dim by concatenating freqs with itselfCOMMENT
LOW…g/src/model_architectures/embedding/qwen3_embedding.rs407 // Step 5: Compute cos and sin in f64, then convert to f32COMMENT
LOW…g/src/model_architectures/embedding/qwen3_embedding.rs560 // Step 3: Rotate half: rotate_half(x) = cat([-x2, x1], dim=-1)COMMENT
LOW…g/src/model_architectures/embedding/qwen3_embedding.rs568 // Step 4: Apply RoPE formula: x * cos + rotate_half(x) * sinCOMMENT
239 more matches not shown…
Modern AI Meta-Vocabulary144 hits · 412 pts
SeverityFileLineSnippetContext
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
MEDIUMbench/hallucination/evaluate.py77 true_positives: int # Correctly detected hallucinationsCODE
MEDIUMbench/hallucination/evaluate.py78 false_positives: int # Incorrectly flagged as hallucinationCODE
MEDIUMbench/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.py133 # embedding model and otherwise fatal at startup) -- the benchmark routesCOMMENT
MEDIUM…/dataset_implementations/openmathrreasoning_dataset.py39 return True # Has detailed chain-of-thought solutionsCODE
MEDIUMconfig/config.yaml946 # (hallucination detector against context, else cross-model NLI) andCOMMENT
MEDIUMconfig/config.yaml1838 # winning candidate once with the hallucination explainer NLI model andCOMMENT
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.yaml50 dimension: 384 # This value is ignored - dimension is auto-detected from the embedding modelCODE
MEDIUMconfig/runtime/response-cache/valkey.yaml47 dimension: 384 # This value is ignored - dimension is auto-detected from the embedding modelCODE
MEDIUMconfig/runtime/response-cache/redis.yaml47 dimension: 384 # This value is ignored - dimension is auto-detected from the embedding modelCODE
MEDIUMdeploy/kserve/deploy.sh82 # Deploy with custom storage class and a canonical embedding modelCOMMENT
MEDIUMdeploy/operator/main.go40 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMdeploy/operator/main.go54 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMdeploy/operator/main.go98 // +kubebuilder:scaffold:builderCOMMENT
MEDIUMdeploy/operator/config/crd/kustomization.yaml6# +kubebuilder:scaffold:crdkustomizeresourceCOMMENT
MEDIUMdeploy/operator/config/crd/kustomization.yaml12# +kubebuilder:scaffold:crdkustomizewebhookpatchCOMMENT
MEDIUMdeploy/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/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/installation/valkey-memory.md156 dimension: 384 # Must match your embedding modelCODE
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/installation/qdrant.md192 dimension: 384 # Must match your embedding modelCODE
MEDIUMwebsite/docs/troubleshooting/common-errors.md315## A classifier or embedding model cannot loadCOMMENT
MEDIUMwebsite/docs/tutorials/plugin/rag.md1# RAGCOMMENT
MEDIUMwebsite/docs/tutorials/signal/heuristic/conversation.md107[`config/fragments/signal/conversation/agentic-shape.yaml`](https://github.com/vllm-project/semantic-router/blob/main/coCODE
MEDIUMwebsite/docs/overview/use-cases.md145### 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…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
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
MEDIUM…/version-v0.1/tutorials/semantic-cache/milvus-cache.md65 dimension: 384 # Must match embedding model dimensionCODE
MEDIUM…s/version-v0.1/tutorials/semantic-cache/redis-cache.md70 dimension: 384 # Must match embedding model dimensionCODE
MEDIUM….1/tutorials/content-safety/hallucination-detection.md32# Disabled by default - enable in decisions via hallucination pluginCOMMENT
MEDIUM….1/tutorials/content-safety/hallucination-detection.md80 # Action when hallucination detected: "header", "body", "block", or "none"COMMENT
MEDIUM….1/tutorials/content-safety/hallucination-detection.md126### RAG (Retrieval Augmented Generation)COMMENT
MEDIUM…n-v0.1/proposals/hallucination-mitigation-milestone.md1080# Global hallucination detection settingsCOMMENT
MEDIUM…sioned_docs/version-v0.2/installation/configuration.md40# Vector Store — local document ingestion and search (RAG)COMMENT
MEDIUM…rsioned_docs/version-v0.2/installation/k8s/operator.md944 dimension: 384 # Match your embedding modelCODE
MEDIUM…rsioned_docs/version-v0.2/installation/k8s/operator.md1024 dimension: 384 # Match your embedding modelCODE
MEDIUM…/version-v0.2/tutorials/semantic-cache/milvus-cache.md65 dimension: 384 # Must match embedding model dimensionCODE
84 more matches not shown…
Excessive Try-Catch Wrapping296 hits · 320 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.py2040 except Exception as exc: # pragma: no cover - network errors vary by platformCODE
LOWbench/openai_fault_proxy.py151 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
MEDIUMbench/reasoning/router_reason_bench_multi_dataset.py290 print(f"Error communicating with endpoint to list models: {e}")CODE
MEDIUMbench/reasoning/router_reason_bench_multi_dataset.py1104 print(f"Error loading dataset '{args.dataset}': {e}")CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py289 except Exception as e:CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py329 except Exception:CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py619 except Exception as e:CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py795 except Exception:CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py919 except Exception:CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py1103 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
MEDIUMtools/security/scan_malicious_code.py250 print(f"Error: cannot load {SIGNATURES_CONFIG}: {exc}", file=sys.stderr)CODE
MEDIUMtools/security/scan_malicious_code.py547 print(f"Error: {root} is not a directory", file=sys.stderr)CODE
MEDIUMtools/security/ast_security_scanner.py1925 print(f"Error getting diff: {e}", file=sys.stderr)CODE
MEDIUMtools/security/ast_security_scanner.py2068 print(f"Error: {root} is not a directory", file=sys.stderr)CODE
LOWtools/security/ast_security_scanner.py2075 except Exception as exc:CODE
LOWtools/agent/scripts/router_calibration_loop.py319 except Exception as exc:CODE
LOWtools/agent/scripts/tuning/client.py47 except Exception:CODE
LOWtools/agent/scripts/tuning/client.py87 except Exception as exc:CODE
LOWtools/models/generate_gemma_reference.py329 except Exception as e:CODE
LOWtools/mcp-classifier-server/server_generative.py292 except Exception:CODE
LOWtools/mcp-classifier-server/server_generative.py352 except Exception as e:CODE
LOWtools/mcp-classifier-server/server_generative.py599 except Exception as e:CODE
LOWtools/mcp-classifier-server/server_generative.py801 except Exception as e:CODE
236 more matches not shown…
Deep Nesting208 hits · 171 pts
SeverityFileLineSnippetContext
LOWbench/agentic_routing_live_benchmark.py514CODE
LOWbench/agent_task_live_benchmark.py2104CODE
LOWbench/agentic_routing_experiment.py855CODE
LOWbench/router_reason_bench.py276CODE
LOWbench/hallucination/evaluate.py309CODE
LOWbench/grounded_fusion/evaluate.py221CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py186CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py294CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py448CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py666CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py742CODE
LOWbench/reasoning/router_reason_bench_multi_dataset.py805CODE
LOWbench/reasoning/dataset_interface.py124CODE
LOWbench/reasoning/cli.py186CODE
LOWbench/reasoning/dataset_implementations/gpqa_dataset.py68CODE
LOWbench/reasoning/dataset_implementations/gpqa_dataset.py84CODE
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
LOWtools/security/scan_malicious_code.py311CODE
LOWtools/security/scan_malicious_code.py401CODE
LOWtools/security/ast_security_scanner.py626CODE
LOWtools/security/ast_security_scanner.py716CODE
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
LOWtools/security/ast_security_scanner.py1716CODE
LOWtools/security/ast_security_scanner.py1873CODE
LOWtools/security/ast_security_scanner.py1729CODE
LOWtools/ci/community_lifecycle.py70CODE
LOWtools/ci/classify_pr_changes.py459CODE
LOWtools/hf-playground/app.py163CODE
LOWtools/hf-playground/app.py604CODE
LOWtools/agent/scripts/router_calibration_image.py114CODE
LOWtools/agent/scripts/maintainer_board.py230CODE
LOWtools/agent/scripts/maintainer_board.py602CODE
LOWtools/agent/scripts/router_calibration_fixture_test.py69CODE
LOWtools/agent/scripts/router_calibration_fixture_test.py197CODE
LOWtools/agent/scripts/structure_check.py423CODE
LOWtools/agent/scripts/tuning/engine_selection.py533CODE
LOWtools/agent/scripts/tuning/engine_selection.py556CODE
LOWtools/agent/scripts/tuning/analyzer.py41CODE
LOWtools/agent/scripts/tuning/engine.py160CODE
LOWtools/agent/scripts/tuning/engine.py216CODE
LOWtools/agent/scripts/tuning/engine.py540CODE
LOWtools/agent/scripts/tuning/engine.py586CODE
LOW…s/tuning/verify_results/run_confidence_verification.py35CODE
LOWtools/mcp-classifier-server/server_generative.py583CODE
LOWtools/mcp-classifier-server/server_generative.py661CODE
LOWtools/mcp-classifier-server/server_generative.py681CODE
LOWtools/mcp-classifier-server/server_embedding.py580CODE
LOWtools/mcp-classifier-server/server_embedding.py604CODE
LOWtools/mcp-classifier-server/server_keyword.py360CODE
LOWtools/mcp-classifier-server/server_keyword.py374CODE
LOWdeploy/openshift/demo/demo-semantic-router.py221CODE
LOWdeploy/openshift/demo/demo-semantic-router.py494CODE
LOWonnx-binding/ort-ck-flash-attn/scripts/rewrite_graph.py35CODE
LOWonnx-binding/ort-ck-flash-attn/scripts/rewrite_graph.py300CODE
148 more matches not shown…
Redundant / Tautological Comments104 hits · 157 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.py826 # Check if dataset has actual CoT content by examining sample questionsCOMMENT
LOWtools/smoke/test-image-gen.sh53# Check if response contains imageCOMMENT
LOWtools/smoke/test-classification-api.sh62 # Check if expected domain is in matched domainsCOMMENT
LOWtools/smoke/test-classification-api.sh364 # Check if expected domain is in matched domainsCOMMENT
LOWtools/smoke/test-classification-api.sh629 # Check if expected signal is in matched fact check signalsCOMMENT
LOWtools/smoke/test-classification-api.sh769 # Check if expected signal is in matched user feedback signalsCOMMENT
LOWtools/kind/generate-kind-config.sh23# Check if template existsCOMMENT
LOWtools/kind/generate-kind-config.sh29# Check if models directory existsCOMMENT
LOWtools/mcp-classifier-server/server_generative.py325 # Check if it's a local path that existsCOMMENT
LOWtools/mcp-classifier-server/server_generative.py329 # Check if it looks like a HuggingFace model ID (contains /)COMMENT
LOWtools/mcp-classifier-server/server_embedding.py254 # Check if collection existsCOMMENT
LOWtools/mcp-classifier-server/server_embedding.py258 # Check if we need to rebuild (verify count matches CSV)COMMENT
LOWtools/dev/local-up-router.sh228# Check if all processes are still running. Prints a warning once each timeCOMMENT
LOWtools/milvus/test-milvus-deployment.sh103 # Check if release existsCOMMENT
LOWtools/milvus/test-milvus-deployment.sh256 # Check if Prometheus Operator is installedCOMMENT
LOWopenvino-binding/convert_modernbert_models.py86 # Check if model existsCOMMENT
LOWopenvino-binding/convert_modernbert_models.py91 # Check if already convertedCOMMENT
LOWopenvino-binding/scripts/convert_test_tokenizers.py118 # Check if the model directory exists (should be created by optimum-cli)COMMENT
LOWopenvino-binding/scripts/convert_test_tokenizers.py128 # Check if tokenizer already existsCOMMENT
LOWdeploy/kserve/deployment.yaml74 # Check if model weights actually exist (not just the directory)COMMENT
LOWdeploy/kserve/deploy.sh302 # Check if logged inCOMMENT
LOWdeploy/kserve/deploy.sh319 # 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
LOWdeploy/kserve/install-gpu-operator.sh32# Check if NFD operator is already installedCOMMENT
LOWdeploy/kserve/install-gpu-operator.sh126# Check if GPU operator is already installedCOMMENT
LOWdeploy/openshift/deployment.yaml245 # Check if model already existsCOMMENT
LOWdeploy/openshift/deployment-simulator.yaml180 # Check if model already existsCOMMENT
LOWdeploy/openshift/deploy-to-openshift.sh94# Check if logged in to OpenShiftCOMMENT
LOWdeploy/openshift/deploy-to-openshift.sh636 # Check if dashboard imagestream existsCOMMENT
LOWdeploy/openshift/deploy-to-openshift.sh642 # 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.yaml28 # Check if all required models already exist in PVC; if yes, skip downloads entirelyCOMMENT
LOWdeploy/kubernetes/llm-katan/base/deployment.yaml44 # Check if model already exists in PVCCOMMENT
LOWdeploy/helm/validate-chart.sh264# Check if labels helper existsCOMMENT
LOWdeploy/helm/validate-chart.sh272# Check if selector labels helper existsCOMMENT
LOWdeploy/helm/validate-chart.sh280# Check if NOTES.txt existsCOMMENT
LOWonnx-binding/scripts/run_benchmark_rocm.sh14# Check if binary existsCOMMENT
LOWonnx-binding/ort-ck-flash-attn/scripts/rewrite_graph.py516 # Check if any output is consumed (by existing nodes OR new nodes)COMMENT
LOW.github/workflows/integration-test-k8s.yml200 # Check if there are more linesCOMMENT
LOWe2e/testing/03-classification-api-test.py147 # Check if classification is correctCOMMENT
LOWe2e/testing/05-jailbreak-test.py221 # Check if jailbreak was properly detectedCOMMENT
LOWe2e/testing/05-jailbreak-test.py417 # Check if the request went through (indicating security bypass)COMMENT
LOWe2e/testing/05-jailbreak-test.py433 # Check if response contains harmful instructionsCOMMENT
LOWe2e/testing/start-llm-katan.sh63 # Check if ports are availableCOMMENT
LOWe2e/testing/02-router-classification-test.py257 # 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.py243 # Check if the default image existsCOMMENT
LOWe2e/testing/vllm-sr-cli/test_unit_serve.py441 # Check if models directory was createdCOMMENT
LOWe2e/testing/hallucination-demo/mock_vllm_toolcall.py105 # Check if this is a follow-up with tool resultsCOMMENT
44 more matches not shown…
Cross-File Repetition30 hits · 150 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
HIGHtools/mcp-classifier-server/server_generative.py0you are a history expert. when answering historical questions: - provide accurate dates, names, and historical context -STRING
HIGHtools/mcp-classifier-server/server_embedding.py0you are a history expert. when answering historical questions: - provide accurate dates, names, and historical context -STRING
HIGHtools/mcp-classifier-server/server_keyword.py0you are a history expert. when answering historical questions: - provide accurate dates, names, and historical context -STRING
HIGHtools/mcp-classifier-server/server_generative.py0you are a mathematics expert. when answering math questions: - show step-by-step solutions with clear explanations - useSTRING
HIGHtools/mcp-classifier-server/server_embedding.py0you are a mathematics expert. when answering math questions: - show step-by-step solutions with clear explanations - useSTRING
HIGHtools/mcp-classifier-server/server_keyword.py0you are a mathematics expert. when answering math questions: - show step-by-step solutions with clear explanations - useSTRING
HIGHtools/mcp-classifier-server/server_generative.py0you are a knowledgeable assistant. when answering general questions: - provide balanced, well-rounded responses - draw fSTRING
HIGHtools/mcp-classifier-server/server_embedding.py0you are a knowledgeable assistant. when answering general questions: - provide balanced, well-rounded responses - draw fSTRING
HIGHtools/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…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
AI Slop Vocabulary39 hits · 100 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.py134 # purely on the sentinel the harness prepends to every prompt.COMMENT
MEDIUMbench/reasoning/router_reason_bench_multi_dataset.py296 # 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
MEDIUMdeploy/helm/validate-chart.sh260# Test 9: 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.json20228 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
MEDIUMcandle-binding/Cargo.toml84# Example testing ModernBERT-base-32k comprehensive validationCOMMENT
MEDIUMcandle-binding/src/model_architectures/model_factory.rs4//! Traditional and LoRA models through a unified interface, enabling seamlessCOMMENT
MEDIUMdashboard/frontend/src/utils/mlPipelineApi.ts103// on connect, so reconnection is seamless.COMMENT
MEDIUM.github/workflows/performance-test.yml76 # the regular HF CDN. The gate depends on this step, so keep it robust.COMMENT
MEDIUMe2e/testing/run_memory_integration.sh191 # Ensure the mmbert model used by the CI harness is available. Tests andCOMMENT
MEDIUMe2e/testing/run_memory_integration.sh193 # the CI stable and compatible with the rest of the harness (collection dims, etc.).COMMENT
MEDIUMsrc/semantic-router/pkg/cache/benchmark.go113// to leverage continuous batching for faster populationCOMMENT
MEDIUMsrc/semantic-router/pkg/looper/confidence.go931// Uses JSON marshaling for robust extraction across SDK versionsCOMMENT
MEDIUMsrc/semantic-router/pkg/selection/hybrid.go69// HybridSelector combines multiple selection methods for robust routingCOMMENT
MEDIUMsrc/fleet-sim/fleet_sim/routing/compress_route.py86 # Definitely shortCOMMENT
MEDIUMsrc/fleet-sim/fleet_sim/routing/compress_route.py117 # Definitely longCOMMENT
MEDIUM…r/prompt_guard_fine_tuning_lora/train_cpu_optimized.sh20LEARNING_RATE=3e-5 # Optimized learning rate based on PEFT best practicesCODE
MEDIUM…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py281 # Use more robust tokenization that preserves character positionsCOMMENT
MEDIUM…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py324 # Add comprehensive data validation and quality analysisCOMMENT
MEDIUM…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py566 # Use robust tokenizationCOMMENT
MEDIUM…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py1224 # Training arguments optimized for LoRA token classification based on PEFT best practicesCOMMENT
MEDIUM…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py1131 learning_rate: float = 3e-5, # Optimized for LoRA based on PEFT best practicesCODE
MEDIUM…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py354 """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.py556 # Training arguments optimized for LoRA sequence classification based on PEFT best practicesCOMMENT
MEDIUM…ment/mmlu_pro_solver_lora/ft_qwen3_mmlu_solver_lora.py1028 # Save comprehensive resultsCOMMENT
LOWsrc/training/model_eval/signal_eval.py44# To add new datasets (e.g., multilingual), just add new entries hereCOMMENT
MEDIUMsrc/training/model_eval/mom_collection_eval.py364 """Load model and tokenizer with robust handling using base config."""STRING
MEDIUMsrc/training/model_eval/mom_collection_eval.py428 """Evaluate a single model with comprehensive error handling."""STRING
MEDIUM…raining/model_selection/ml_model_selection/validate.go246// Uses huggingface-cli for robust downloads (handles auth, LFS, caching, parquet, etc.)COMMENT
Cross-Language Confusion16 hits · 98 pts
SeverityFileLineSnippetContext
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
HIGHbench/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
HIGHopenvino-binding/scripts/convert_test_tokenizers.py157 print(" cd openvino-binding && make test")CODE
HIGHe2e/testing/hallucination-demo/web_client.py311 const factCheckNeeded = data.headers && data.headers['x-vsr-fact-check-needed'] === 'true';CODE
HIGHe2e/testing/hallucination-demo/web_client.py315 const unverifiedResponse = data.headers && data.headers['x-vsr-unverified-factual-response'] === 'true';CODE
HIGHe2e/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
HIGHsrc/vllm-sr/tests/test_dashboard_dockerfile_surface.py68 '"$CONTAINER_SOCKET_PATH" 2>/dev/null); then' in contentCODE
HIGHsrc/vllm-sr/cli/container_log_spool.py65 if [ -n "$relay_pid" ]; then kill "$relay_pid" 2>/dev/null || true; fiCODE
HIGHsrc/vllm-sr/cli/container_log_spool.py66 if [ -n "$child_pid" ]; then kill "$child_pid" 2>/dev/null || true; fiCODE
HIGHsrc/vllm-sr/cli/container_log_spool.py70 if [ -n "$child_pid" ]; then kill -TERM "$child_pid" 2>/dev/null || true; fiCODE
Fake / Example Data56 hits · 58 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.py823 client = OpenAI(base_url=endpoint, api_key=api_key or "dummy-key", timeout=300.0)CODE
LOW…odel_architectures/classification/mmbert_classifier.rs1170 text: "test@test.com".to_string(),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
LOWcandle-binding/examples/test_full_inference_32k.rs154 "Lorem ipsum dolor sit amet. ".repeat(50)CODE
LOWcandle-binding/examples/test_full_inference_32k.rs154 "Lorem ipsum dolor sit amet. ".repeat(50)CODE
LOW…ndle-binding/examples/test_32k_classifier_inference.rs240 "Lorem ipsum dolor sit amet. ".repeat(50)CODE
LOW…ndle-binding/examples/test_32k_classifier_inference.rs240 "Lorem ipsum dolor sit amet. ".repeat(50)CODE
LOWcandle-binding/src/ffi/classify_test.rs87 let text_cstring = CString::new("John Doe").expect("Failed to create CString");CODE
LOWcandle-binding/src/ffi/classify_test.rs116 assert_eq!(text_str, "John Doe");CODE
LOWdashboard/frontend/e2e/playground.spec.ts512 await expect(dialog).toContainText('admin@example.com')CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts194 email: 'admin@example.com',CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts213 email: 'admin@example.com',CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts283 await page.getByPlaceholder('you@example.com').fill('admin@example.com')CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts609 email: 'admin@example.com',CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts628 email: 'admin@example.com',CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts680 await page.getByPlaceholder('you@example.com').fill('admin@example.com')CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts956 email: 'admin@example.com',CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts987 email: 'admin@example.com',CODE
LOWdashboard/frontend/e2e/auth-flow.spec.ts1022 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/src/pages/UsersPageUserDialog.tsx147 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
LOWdashboard/backend/router/mcp_routes_test.go210 BootstrapAdminEmail: "admin@example.com",CODE
LOWdashboard/backend/router/mcp_routes_test.go250 body := bytes.NewBufferString(`{"email":"admin@example.com","password":"secret-password"}`)CODE
LOWe2e/scripts/generate_test_data.py122 "PERSON": ["Jane Smith", "John Doe", "Michael Johnson"],CODE
LOW…ntic-router/pkg/classification/vllm_classifier_test.go18 ModelEndpoint: config.ClassifierVLLMEndpoint{Address: "placeholder", Port: 1},CODE
LOW…antic-router/pkg/classification/classifier_pii_test.go218 piiEntity("PERSON", "John Doe", 0, 8, 0.9),CODE
LOW…antic-router/pkg/classification/classifier_pii_test.go232 piiEntity("PERSON", "John Doe", 0, 8, 0.9),CODE
LOW…ntic-router/pkg/classification/http_classifier_test.go141 ModelEndpoint: config.ClassifierVLLMEndpoint{Address: "placeholder", Port: 1},CODE
LOWsrc/vllm-sr/tests/test_runtime_dashboard_bootstrap.py48 monkeypatch.setenv("DASHBOARD_ADMIN_EMAIL", "admin@example.com")CODE
LOWsrc/vllm-sr/tests/test_runtime_dashboard_bootstrap.py77 ("DASHBOARD_ADMIN_EMAIL", "admin@example.com"),CODE
Modern Structural Boilerplate51 hits · 51 pts
SeverityFileLineSnippetContext
LOWbench/hallucination/__init__.py10__all__ = [CODE
LOWbench/reasoning/__init__.py38__all__ = [CODE
LOWbench/reasoning/dataset_implementations/__init__.py15__all__ = [CODE
LOWtools/ci/community_lifecycle.py34__all__ = [CODE
LOWtools/agent/scripts/router_calibration_manifest.py33__all__ = [CODE
LOWtools/agent/scripts/router_calibration_fixture_test.py153def _update_probe_digest(digest: Any, probe_id: str, payload: bytes) -> None:CODE
LOWtools/agent/scripts/agent_resolution.py34__all__ = [CODE
LOWtools/agent/scripts/router_calibration_support.py50__all__ = [CODE
LOWtools/agent/scripts/tuning/engine_selection.py510def _update_mapping_outputs(m: dict, fix: Fix) -> None:CODE
LOWtools/agent/scripts/tuning/engine_selection.py525def _update_score_weight(score: dict, signal_name: str, new_weight: float) -> None:CODE
LOWtools/agent/scripts/tuning/__init__.py18__all__ = [CODE
LOWtools/agent/scripts/tuning/scenarios/__init__.py12__all__ = ["CalibrationScenario", "PrivacyScenario"]CODE
LOWtools/mcp-classifier-server/server_generative.py68logger = logging.getLogger(__name__)CODE
LOWtools/mcp-classifier-server/server_embedding.py68logger = logging.getLogger(__name__)CODE
LOWtools/mcp-classifier-server/server_keyword.py59logger = logging.getLogger(__name__)CODE
LOWe2e/testing/llm-katan/llm_katan/server.py30logger = logging.getLogger(__name__)CODE
LOWe2e/testing/llm-katan/llm_katan/__init__.py24__all__ = ["create_app", "ModelBackend", "main"]CODE
LOWe2e/testing/llm-katan/llm_katan/model.py17logger = logging.getLogger(__name__)CODE
LOWe2e/testing/llm-katan/llm_katan/cli.py30logger = logging.getLogger(__name__)CODE
LOWe2e/testing/memory_tests/__init__.py21__all__ = [CODE
LOWsrc/fleet-sim/fleet_sim/__init__.py97__all__ = [CODE
LOWsrc/fleet-sim/fleet_sim/hardware/__init__.py21__all__ = [CODE
LOWsrc/fleet-sim/fleet_sim/core/__init__.py8__all__ = [CODE
LOWsrc/fleet-sim/fleet_sim/optimizer/__init__.py35__all__ = [CODE
LOWsrc/fleet-sim/fleet_sim/models/__init__.py23__all__ = [CODE
LOWsrc/fleet-sim/fleet_sim/workload/__init__.py6__all__ = ["CdfWorkload", "PoissonWorkload", "TraceWorkload"]CODE
LOWsrc/fleet-sim/fleet_sim/routing/spillover.py43 def set_pools(self, live_pools) -> None:CODE
LOWsrc/fleet-sim/fleet_sim/routing/__init__.py11__all__ = [CODE
LOWsrc/fleet-sim/fleet_sim/routing/least_loaded.py25 def set_pools(self, live_pools) -> None:CODE
LOWsrc/fleet-sim/fleet_sim/gpu_profiles/__init__.py9__all__ = [CODE
LOWsrc/fleet-sim/fleet_sim/gpu_profiles/profiles.py184__all__ = [CODE
LOWsrc/training/model_classifier/common_lora_utils.py16logger = logging.getLogger(__name__)CODE
LOW…odel_classifier/verify_text_classification_datasets.py90logger = logging.getLogger(__name__)CODE
LOW…/model_classifier/user_feedback_classifier/__init__.py42__all__ = [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.py21logger = logging.getLogger(__name__)CODE
LOW…/multitask_bert_fine_tuning/multitask_bert_training.py21logger = logging.getLogger(__name__)CODE
LOW…training/model_embeddings/cache_embeddings/__init__.py30__all__ = ["setup_logging"]CODE
LOW…ning/model_embeddings/cache_embeddings/lora_trainer.py49logger = logging.getLogger(__name__)CODE
LOW…/model_selection/rl_model_selection/train_gmtrouter.py48logger = logging.getLogger(__name__)CODE
LOW…model_selection/rl_model_selection/automix_verifier.py33logger = logging.getLogger(__name__)CODE
LOW…/model_selection/rl_model_selection/train_router_r1.py52logger = logging.getLogger(__name__)CODE
LOW…model_selection/rl_model_selection/router_r1_server.py30logger = logging.getLogger(__name__)CODE
LOWsrc/vllm-sr/cli/container_cli.py37__all__ = [CODE
LOWsrc/vllm-sr/cli/model_catalog.py58__all__ = [CODE
LOWsrc/vllm-sr/cli/config_migration.py780def _set_if_missing(target: dict[str, Any], key: str, value: Any) -> None:CODE
LOWsrc/vllm-sr/cli/storage_backends.py454__all__ = [CODE
LOWsrc/vllm-sr/cli/commands/__init__.py10__all__ = ["config_command"]CODE
LOWsrc/vllm-sr/cli/commands/recipe_learning_metrics.py169def update_decision_tier_metrics(metrics: DecisionMetrics, decision_tier: int) -> None:CODE
Self-Referential Comments14 hits · 48 pts
SeverityFileLineSnippetContext
MEDIUMdeploy/kubernetes/llm-katan/base/deployment.yaml17 # Create a non-root user for security (matching Dockerfile)COMMENT
MEDIUMdeploy/operator/config/crd/kustomizeconfig.yaml1# This file is for teaching kustomize how to substitute name and namespace reference in CRDCOMMENT
MEDIUMe2e/testing/08-rag-openai-test.py42 # Create a request with RAG enabled (direct_search mode)COMMENT
MEDIUMe2e/testing/08-rag-openai-test.py98 # Create a request with file_search tool (Responses API format)COMMENT
MEDIUMe2e/testing/run_all_tests.py153 # Create a test suite from the moduleCOMMENT
MEDIUMe2e/scripts/generate_test_data.py190 # 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.py471 # Create a temporary trainer to load datasets and determine configurationsCOMMENT
MEDIUM…/multitask_bert_fine_tuning/multitask_bert_training.py514 # 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
MEDIUM…/training/model_selection/ml_model_selection/models.py473 # Create a fitted SVM using sklearn's internal attributesCOMMENT
MEDIUMsrc/vllm-sr/cli/templates/grafana-datasource.serve.yaml2# This file is provisioned automatically when Grafana startsCOMMENT
Docstring Block Structure6 hits · 30 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.py20 Get appropriate target_modules for LoRA based on model architecture. Args: model_name: Name of the modSTRING
HIGHsrc/training/model_classifier/common_lora_utils.py91 Validate and normalize LoRA configuration parameters. Args: lora_config: Dictionary containing LoRA paSTRING
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.py440 Parse and validate user configuration file. Args: config_path: Path to config.yaml log_summarySTRING
HIGHsrc/vllm-sr/cli/parser.py529 Load configuration file as dictionary. Args: config_path: Path to configuration file Returns: STRING
Example Usage Blocks14 hits · 22 pts
SeverityFileLineSnippetContext
LOWbench/reasoning_mode_eval.sh11# Usage:COMMENT
LOWbench/grounded_fusion/run_ab.sh9# Usage:COMMENT
LOWtools/smoke/test-authz-rbac.sh22# Usage:COMMENT
LOWtools/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
Dead Code11 hits · 22 pts
SeverityFileLineSnippetContext
MEDIUMe2e/testing/llm-katan/llm_katan/model.py713CODE
MEDIUMe2e/testing/llm-katan/llm_katan/model.py714CODE
MEDIUMe2e/testing/llm-katan/llm_katan/model.py722CODE
MEDIUMe2e/testing/llm-katan/llm_katan/model.py725CODE
MEDIUMe2e/testing/llm-katan/llm_katan/model.py740CODE
MEDIUMe2e/testing/llm-katan/llm_katan/model.py745CODE
MEDIUMe2e/testing/llm-katan/llm_katan/model.py751CODE
MEDIUMe2e/testing/llm-katan/llm_katan/model.py756CODE
MEDIUMe2e/testing/llm-katan/llm_katan/model.py763CODE
MEDIUMe2e/testing/llm-katan/llm_katan/model.py768CODE
MEDIUMe2e/testing/llm-katan/llm_katan/model.py775CODE
AI Structural Patterns20 hits · 16 pts
SeverityFileLineSnippetContext
LOWsrc/fleet-sim/fleet_sim/optimizer/disagg.py124CODE
LOWsrc/fleet-sim/examples/routing_comparison.py70CODE
LOW…ck_fine_tuning_lora/fact_check_bert_finetuning_lora.py1208CODE
LOW…ng_classifier/modality_routing_bert_finetuning_lora.py2201CODE
LOW…ard_fine_tuning_lora/jailbreak_bert_finetuning_lora.py481CODE
LOW…pii_model_fine_tuning_lora/pii_bert_finetuning_lora.py1124CODE
LOW…ssifier/hallucination_detection_classifier/finetune.py358CODE
LOW…ier_model_fine_tuning_lora/ft_qwen3_generative_lora.py393CODE
LOW…er/classifier_model_fine_tuning_lora/ft_linear_lora.py481CODE
LOW…r_model_fine_tuning_lora/ft_linear_lora_consistency.py485CODE
LOW…ro_solver_lora/ft_qwen3_mmlu_solver_lora_no_leakage.py1235CODE
LOW…ment/mmlu_pro_solver_lora/ft_qwen3_mmlu_solver_lora.py687CODE
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/vllm-sr/cli/config_translator.py39CODE
LOWsrc/vllm-sr/cli/container_backend.py20CODE
LOWsrc/vllm-sr/cli/core.py146CODE
LOWsrc/vllm-sr/cli/k8s_backend.py141CODE
LOWsrc/vllm-sr/cli/container_start.py62CODE
Magic Placeholder Names3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…tend/src/pages/ConfigPageMoMWorkspace.contract.test.ts57 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
TODO Padding4 hits · 4 pts
SeverityFileLineSnippetContext
LOWonnx-binding/semantic-router.go601 Probabilities: []float32{}, // TODO: implement probability extractionCODE
LOWonnx-binding/semantic-router.go798 Probabilities: []float32{}, // TODO: implement probability extractionCODE
LOWonnx-binding/semantic-router.go819 Probabilities: []float32{}, // TODO: implement probability extractionCODE
LOWonnx-binding/semantic-router.go840 Probabilities: []float32{}, // TODO: implement probability extractionCODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMwebsite/src/pages/community/contributing.tsx17 description={<Translate id="contributing.subtitle">We welcome contributions from the community! Here's how you cCODE