AI Slop Code RIsk Monitor

kserve/kserve

Standardized Distributed Generative and Predictive AI Inference Platform for Scalable, Multi-Framework Deployment on Kubernetes

14.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for kserve/kserve, a Go project with 6,101 GitHub stars. SynthScan examined 1,802,695 lines of code across 2990 source files, recording 10392 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 14.7 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

14.7
Adjusted Signal
14.7
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
6.1K
Stars
Go
Language
1.8M
Lines of Code
3.0K
Files
10.4K
Pattern Hits
2026-10-12
Scan Date
0.83
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 9.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 4.3/100 · LOW

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

Agent Over-Engineering Ratio 46.3/100 · MEDIUM

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

PR Review Velocity Impact 55.8/100 · HIGH

Which changes need focused human review? 10392 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 43HIGH 2434MEDIUM 3242LOW 4673

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

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

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Cross-File Repetition2353 hits · 11765 pts
SeverityFileLineSnippetContext
HIGHtest/e2e/storage/test_oci_fetch.py0poll until at least one matching pod appears or timeout is reached.STRING
HIGHtest/e2e/storage/test_oci_native_llmisvc.py0poll until at least one matching pod appears or timeout is reached.STRING
HIGHtest/e2e/storage/test_oci_native.py0poll until at least one matching pod appears or timeout is reached.STRING
HIGH…n/kserve/test/test_v1beta1_component_extension_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1alpha1_local_model_cache.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…t/test_v1alpha1_llm_inference_service_config_status.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_confidential_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…serve/test/test_v1beta1_deployment_rollout_strategy.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…erve/test/test_v1beta1_kernel_cache_registry_config.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_art_explainer_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…on/kserve/test/test_v1alpha1_inference_graph_status.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1alpha1_local_model_node.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…rve/test/test_v1alpha2_llm_inference_service_config.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_light_gbm_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_torch_serve_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_xg_boost_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_predictor_config.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…test/test_v1alpha1_kernel_cache_verification_status.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_sk_learn_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1alpha1_trained_model.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…hon/kserve/test/test_v1beta1_inference_service_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…est/test_v1alpha1_llm_inference_service_config_list.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…n/kserve/test/test_v1alpha1_kernel_cache_node_group.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…t/test_v1alpha2_llm_inference_service_config_status.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…thon/kserve/test/test_v1alpha1_serving_runtime_list.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_model_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_rollout_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_ingress_config.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1alpha1_kernel_cache.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…on/kserve/test/test_v1alpha1_kernel_cache_node_list.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…rve/test/test_v1alpha1_kernel_cache_node_group_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…test/test_v1alpha1_local_model_namespace_cache_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1alpha1_built_in_adapter.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…n/kserve/test/test_v1beta1_inference_service_status.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…/test_v1beta1_kernel_cache_artifact_security_config.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…kserve/test/test_v1beta1_kernel_cache_registry_auth.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_scaler_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_storage_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_transformer_config.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…/kserve/test/test_v1beta1_hugging_face_runtime_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_advanced_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…rve/test/test_v1alpha1_cluster_serving_runtime_list.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…hon/kserve/test/test_v1alpha2_llm_inference_service.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…hon/kserve/test/test_v1alpha1_kernel_cache_identity.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_autoscaler_config.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1alpha1_kernel_cache_node.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_keda_scaler.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_model_copies.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_authentication_ref.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…on/kserve/test/test_v1alpha1_kernel_cache_pod_usage.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…n/kserve/test/test_v1beta1_explainer_extension_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…serve/test/test_v1alpha1_llm_inference_service_list.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_explainer_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_onnx_runtime_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_explainers_config.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_deploy_config.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…hon/kserve/test/test_v1beta1_inference_service_list.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…/kserve/test/test_v1beta1_inference_services_config.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1alpha1_serving_runtime.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGHpython/kserve/test/test_v1beta1_model_storage_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
2293 more matches not shown…
Decorative Section Separators3199 hits · 9201 pts
SeverityFileLineSnippetContext
MEDIUMinstall/v0.12.0-rc1/kserve.yaml21232 data block\n# to actually change the configuration.\n\n# ======================================CODE
MEDIUMinstall/v0.12.0-rc1/kserve.yaml21410 to wait and collect the batch.\n \"maxLatency\": \"5000\"\n }\n \n # ======================================CODE
MEDIUMinstall/v0.12.0-rc1/kserve.yaml21421 \ \"cpuLimit\": \"1\"\n }\n \n # ======================================CODE
MEDIUMinstall/v0.12.0-rc0/kserve.yaml21232 data block\n# to actually change the configuration.\n\n# ======================================CODE
MEDIUMinstall/v0.12.0-rc0/kserve.yaml21408 \ \"cpuLimit\": \"1\"\n }\n \n # ======================================CODE
MEDIUMinstall/v0.12.0-rc0/kserve.yaml21419 \ \"cpuLimit\": \"1\"\n }\n \n # ======================================CODE
MEDIUM⚡install/v0.18.0/llmisvc-dependency-install.sh31#================================================COMMENT
MEDIUM⚡install/v0.18.0/llmisvc-dependency-install.sh33#================================================COMMENT
MEDIUM⚡install/v0.18.0/llmisvc-dependency-install.sh36# ============================================================================COMMENT
MEDIUM⚡install/v0.18.0/llmisvc-dependency-install.sh683#================================================COMMENT
MEDIUM⚡install/v0.18.0/llmisvc-dependency-install.sh685#================================================COMMENT
MEDIUM⚡install/v0.18.0/llmisvc-dependency-install.sh693#================================================COMMENT
MEDIUM⚡install/v0.18.0/llmisvc-dependency-install.sh695#================================================COMMENT
MEDIUM⚡install/v0.18.0/llmisvc-dependency-install.sh697# ============================================================================COMMENT
MEDIUM⚡install/v0.18.0/llmisvc-dependency-install.sh699# ============================================================================COMMENT
MEDIUM⚡install/v0.18.0/llmisvc-dependency-install.sh720#================================================COMMENT
MEDIUM⚡install/v0.18.0/llmisvc-dependency-install.sh722#================================================COMMENT
MEDIUM⚡install/v0.18.0/llmisvc-dependency-install.sh724# ----------------------------------------COMMENT
MEDIUM⚡install/v0.18.0/llmisvc-dependency-install.sh726# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh155# ============================================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh157# ============================================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh477# ============================================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh479# ============================================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh557# ============================================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh587#================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh589#================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh625#================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh627#================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh658#================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh660#================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh785# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh787# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh834# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh836# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh954# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh956# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh996# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh998# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh1029# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh1031# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh1067# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh1069# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh1120# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh1122# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh1154# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh1156# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh1201# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh1203# ----------------------------------------COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh1234#================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh1236#================================================COMMENT
MEDIUM⚡…v0.18.0/llmisvc-autoscaling-keda-dependency-install.sh31#================================================COMMENT
MEDIUM⚡…v0.18.0/llmisvc-autoscaling-keda-dependency-install.sh33#================================================COMMENT
MEDIUM⚡…v0.18.0/llmisvc-autoscaling-keda-dependency-install.sh36# ============================================================================COMMENT
MEDIUM⚡…v0.18.0/llmisvc-autoscaling-keda-dependency-install.sh683#================================================COMMENT
MEDIUM⚡…v0.18.0/llmisvc-autoscaling-keda-dependency-install.sh685#================================================COMMENT
MEDIUM⚡…v0.18.0/llmisvc-autoscaling-keda-dependency-install.sh693#================================================COMMENT
MEDIUM⚡…v0.18.0/llmisvc-autoscaling-keda-dependency-install.sh695#================================================COMMENT
MEDIUM⚡…v0.18.0/llmisvc-autoscaling-keda-dependency-install.sh699#================================================COMMENT
MEDIUM⚡…v0.18.0/llmisvc-autoscaling-keda-dependency-install.sh701#================================================COMMENT
MEDIUM⚡…v0.18.0/llmisvc-autoscaling-keda-dependency-install.sh703# ----------------------------------------COMMENT
3139 more matches not shown…
Over-Commented Block1245 hits · 1162 pts
SeverityFileLineSnippetContext
LOWprow_config.yaml1# This file configures the workflows to trigger in our Prow jobs.COMMENT
LOWprow_config.yaml21 # # The postsubmit run publishes the docker images to gcr.io/kubeflow-images-public COMMENT
LOWsetup.cfg1[codespell]COMMENT
LOWcmd/router/main.go41 logf "sigs.k8s.io/controller-runtime/pkg/log"COMMENT
LOWcmd/router/main.go101 }COMMENT
LOWinstall/v0.18.0/llmisvc-dependency-install.sh1#!/bin/bashCOMMENT
LOW…v0.18.0/llmisvc-autoscaling-keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…all/v0.18.0/kserve-standard-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOW…all/v0.18.0/kserve-standard-mode-dependency-install.sh681KSERVE_CUSTOM_ISVC_CONFIGS="${KSERVE_CUSTOM_ISVC_CONFIGS:-}"COMMENT
LOWinstall/v0.18.0/keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…tall/v0.18.0/kserve-knative-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOW…/v0.18.0/llmisvc-autoscaling-hpa-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.20.0/llmisvc-dependency-install.sh1#!/bin/bashCOMMENT
LOW…v0.20.0/llmisvc-autoscaling-keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…all/v0.20.0/kserve-standard-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.20.0/keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…tall/v0.20.0/kserve-knative-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOW…/v0.20.0/llmisvc-autoscaling-hpa-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.17.0-rc1/llmisvc-dependency-install.sh1#!/bin/bashCOMMENT
LOW…v0.17.0-rc1/kserve-standard-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.17.0-rc1/keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…/v0.17.0-rc1/kserve-knative-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.17.0-rc0/llmisvc-dependency-install.sh1#!/bin/bashCOMMENT
LOW…v0.17.0-rc0/kserve-standard-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.17.0-rc0/keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…/v0.17.0-rc0/kserve-knative-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.21.0/llmisvc-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.21.0/localmodel-dependency-install.sh1#!/bin/bashCOMMENT
LOW…v0.21.0/llmisvc-autoscaling-keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…all/v0.21.0/kserve-standard-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.21.0/keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…tall/v0.21.0/kserve-knative-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOW…/v0.21.0/llmisvc-autoscaling-hpa-dependency-install.sh1#!/bin/bashCOMMENT
LOW…tall/v0.21.0/localmodel-full-install-with-manifests.sh1#!/bin/bashCOMMENT
LOWinstall/v0.19.0-rc0/llmisvc-dependency-install.sh1#!/bin/bashCOMMENT
LOW…9.0-rc0/llmisvc-autoscaling-keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…v0.19.0-rc0/kserve-standard-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOW…v0.19.0-rc0/kserve-standard-mode-dependency-install.sh681KSERVE_CUSTOM_ISVC_CONFIGS="${KSERVE_CUSTOM_ISVC_CONFIGS:-}"COMMENT
LOWinstall/v0.19.0-rc0/keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…/v0.19.0-rc0/kserve-knative-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOW…19.0-rc0/llmisvc-autoscaling-hpa-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.20.0-rc0/llmisvc-dependency-install.sh1#!/bin/bashCOMMENT
LOW…0.0-rc0/llmisvc-autoscaling-keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…v0.20.0-rc0/kserve-standard-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.20.0-rc0/keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…/v0.20.0-rc0/kserve-knative-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOW…20.0-rc0/llmisvc-autoscaling-hpa-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.18.0-rc0/llmisvc-dependency-install.sh1#!/bin/bashCOMMENT
LOW…v0.18.0-rc0/kserve-standard-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.18.0-rc0/keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…/v0.18.0-rc0/kserve-knative-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.18.0-rc1/llmisvc-dependency-install.sh1#!/bin/bashCOMMENT
LOW…v0.18.0-rc1/kserve-standard-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.18.0-rc1/keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…/v0.18.0-rc1/kserve-knative-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.19.0/llmisvc-dependency-install.sh1#!/bin/bashCOMMENT
LOW…v0.19.0/llmisvc-autoscaling-keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…all/v0.19.0/kserve-standard-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.19.0/keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…tall/v0.19.0/kserve-knative-mode-dependency-install.sh1#!/bin/bashCOMMENT
1185 more matches not shown…
Unused Imports1220 hits · 1104 pts
SeverityFileLineSnippetContext
LOWtest/e2e/llmisvc/conftest.py21CODE
LOWtest/e2e/llmisvc/test_prestop_hook.py17CODE
LOWtest/e2e/llmisvc/test_rolling_upgrade.py17CODE
LOWtest/e2e/llmisvc/test_llm_inference_service_stop.py15CODE
LOW…/llmisvc/test_llm_inference_service_config_deletion.py15CODE
LOWtest/e2e/llmisvc/traffic/_report.py17CODE
LOWtest/e2e/llmisvc/traffic/_driver.py17CODE
LOWtest/e2e/llmisvc/traffic/__init__.py15CODE
LOWtest/e2e/llmisvc/traffic/__init__.py15CODE
LOWtest/e2e/llmisvc/traffic/__init__.py15CODE
LOWtest/e2e/llmisvc/traffic/__init__.py16CODE
LOWtest/e2e/common/inference_pb2.py11CODE
LOWtest/e2e/predictor/autogluon_helpers.py15CODE
LOWpython/xgbserver/xgbserver/__init__.py15CODE
LOWpython/xgbserver/xgbserver/__init__.py16CODE
LOW…thon/autogluonserver/autogluonserver/version_compat.py15CODE
LOW…on/autogluonserver/autogluonserver/predictor_detect.py15CODE
LOW…on/autogluonserver/autogluonserver/safe_deserialize.py15CODE
LOWpython/autogluonserver/autogluonserver/__init__.py15CODE
LOWpython/autogluonserver/autogluonserver/__init__.py16CODE
LOWpython/autogluonserver/autogluonserver/__init__.py17CODE
LOWpython/autogluonserver/autogluonserver/__init__.py17CODE
LOWpython/autogluonserver/autogluonserver/__init__.py18CODE
LOW…on/autogluonserver/autogluonserver/timeseries_model.py15CODE
LOW…n/autogluonserver/autogluonserver/predictor_factory.py15CODE
LOWpython/autogluonserver/autogluonserver/runtime_paths.py17CODE
LOWpython/aiffairness/aifserver/__init__.py15CODE
LOWpython/lgbserver/lgbserver/__init__.py15CODE
LOWpython/lgbserver/lgbserver/__init__.py16CODE
LOWpython/paddleserver/paddleserver/__init__.py15CODE
LOW…n/kserve/test/test_v1beta1_component_extension_spec.py27CODE
LOW…n/kserve/test/test_v1beta1_component_extension_spec.py30CODE
LOW…n/kserve/test/test_v1beta1_component_extension_spec.py36CODE
LOWpython/kserve/test/test_v1alpha1_local_model_cache.py27CODE
LOWpython/kserve/test/test_v1alpha1_local_model_cache.py29CODE
LOWpython/kserve/test/test_v1alpha1_local_model_cache.py35CODE
LOW…t/test_v1alpha1_llm_inference_service_config_status.py27CODE
LOW…t/test_v1alpha1_llm_inference_service_config_status.py30CODE
LOW…t/test_v1alpha1_llm_inference_service_config_status.py32CODE
LOW…t/test_v1alpha1_llm_inference_service_config_status.py36CODE
LOWpython/kserve/test/test_v1beta1_confidential_spec.py27CODE
LOWpython/kserve/test/test_v1beta1_confidential_spec.py30CODE
LOWpython/kserve/test/test_v1beta1_confidential_spec.py32CODE
LOWpython/kserve/test/test_v1beta1_confidential_spec.py34CODE
LOWpython/kserve/test/test_knative_url.py28CODE
LOWpython/kserve/test/test_knative_url.py32CODE
LOWpython/kserve/test/test_knative_url.py33CODE
LOWpython/kserve/test/test_knative_url.py34CODE
LOW…serve/test/test_v1beta1_deployment_rollout_strategy.py27CODE
LOW…serve/test/test_v1beta1_deployment_rollout_strategy.py30CODE
LOW…serve/test/test_v1beta1_deployment_rollout_strategy.py32CODE
LOW…serve/test/test_v1beta1_deployment_rollout_strategy.py36CODE
LOW…erve/test/test_v1beta1_kernel_cache_registry_config.py27CODE
LOW…erve/test/test_v1beta1_kernel_cache_registry_config.py30CODE
LOW…erve/test/test_v1beta1_kernel_cache_registry_config.py32CODE
LOW…erve/test/test_v1beta1_kernel_cache_registry_config.py34CODE
LOWpython/kserve/test/test_v1beta1_art_explainer_spec.py27CODE
LOWpython/kserve/test/test_v1beta1_art_explainer_spec.py30CODE
LOWpython/kserve/test/test_v1beta1_art_explainer_spec.py32CODE
LOWpython/kserve/test/test_v1beta1_art_explainer_spec.py36CODE
1160 more matches not shown…
Hyper-Verbose Identifiers1045 hits · 1021 pts
SeverityFileLineSnippetContext
LOWtest/test_e2e_namespace.py29 def test_namespace_creation_timeout_still_deletes_namespace(self):CODE
LOWtest/test_e2e_namespace.py42 def test_each_test_waits_for_pods_after_deleting_isvcs(self):CODE
LOWtest/test_e2e_namespace.py64 def test_pod_wait_includes_garbage_collection_propagation(self):CODE
LOWtest/test_e2e_namespace.py76 def test_pod_cleanup_timeout_and_api_errors_are_not_hidden(self):CODE
LOWtest/test_e2e_namespace.py92 def test_pod_wait_allows_knative_termination_grace_period(self):CODE
LOWtest/test_e2e_namespace.py110 def test_preserve_resources_skips_per_test_cleanup(self):CODE
LOWtest/test_e2e_namespace.py123 def test_consecutive_sessions_do_not_reuse_a_terminating_namespace(self):CODE
LOWtest/test_e2e_namespace.py139 def test_worker_namespace_fits_component_hostnames(self):CODE
LOWtest/test_e2e_namespace.py156 def test_namespaced_runtime_is_copied_without_server_metadata(self):CODE
LOW⚡test/test_e2e_namespace.py215 def test_cluster_runtime_only_setup_needs_no_copies(self):CODE
LOW⚡test/test_e2e_namespace.py222 def test_missing_seed_does_not_break_cluster_runtime_setup(self):CODE
LOW⚡test/test_e2e_namespace.py230 def test_runtime_api_errors_are_not_hidden(self):CODE
LOW⚡test/test_e2e_namespace.py238 def test_revision_based_istio_injection_is_preserved(self):CODE
LOWtest/e2e/transformer/test_collocation.py42async def test_transformer_collocation(rest_v1_client, network_layer, test_namespace):CODE
LOWtest/e2e/transformer/test_collocation.py143async def test_transformer_collocation_runtime(CODE
LOWtest/e2e/transformer/test_collocation.py236async def test_raw_transformer_collocation(CODE
LOWtest/e2e/transformer/test_collocation.py346async def test_raw_transformer_collocation_runtime(CODE
LOWtest/e2e/graph/test_inference_graph.py166def create_ig_using_custom_object_api(resource_body, namespace):CODE
LOWtest/e2e/graph/test_inference_graph.py913async def test_inference_graph_raw_mode(rest_v1_client, network_layer, test_namespace):CODE
LOWtest/e2e/graph/test_inference_graph.py1064async def test_inference_graph_raw_mode_with_hpa(CODE
LOWtest/e2e/storage/test_oci_fetch.py109def _wait_for_init_container_terminated(CODE
LOWtest/e2e/storage/test_oci_fetch.py138def _wait_for_container_running(CODE
LOWtest/e2e/storage/test_oci_fetch.py162def test_oci_fetch_inference_service_pulls_and_extracts_model(CODE
LOWtest/e2e/storage/test_oci_fetch.py264def test_oci_fetch_with_image_pull_secret_spec_only(test_namespace):CODE
LOW⚡test/e2e/storage/test_oci_native_llmisvc.py146def test_oci_native_image_volume_spec_llmisvc(test_namespace):CODE
LOW⚡test/e2e/storage/test_oci_native.py130def test_oci_native_image_volume_spec(test_namespace):CODE
LOWtest/e2e/storage/test_oci_modelcar.py51def _get_uid_modelcar_from_config(core_api, namespace: str) -> int | None:CODE
LOWtest/e2e/storage/test_oci_modelcar.py112def test_oci_modelcar_uid_isvc(test_namespace):CODE
LOWtest/e2e/llmisvc/test_llm_model_routing_only.py60def test_model_based_routing_only(set_on, test_namespace):CODE
LOWtest/e2e/llmisvc/conftest.py69def _auto_assign_group_markers(items):CODE
LOWtest/e2e/llmisvc/conftest.py101def pytest_runtest_makereport(item, call):CODE
LOWtest/e2e/llmisvc/conftest.py134def pytest_collection_modifyitems(config, items):CODE
LOWtest/e2e/llmisvc/test_prestop_hook.py126def wait_for_workload_pod_running(CODE
LOWtest/e2e/llmisvc/test_prestop_hook.py155def delete_pod_and_measure_termination(CODE
LOWtest/e2e/llmisvc/test_rolling_upgrade.py61def test_rolling_upgrade_coordination(test_case: TestCase):CODE
LOWtest/e2e/llmisvc/test_rolling_upgrade.py130def _patch_rolling_update_trigger(CODE
LOWtest/e2e/llmisvc/test_rolling_upgrade.py185 def assert_generation_incremented():CODE
LOWtest/e2e/llmisvc/test_rolling_upgrade.py197def wait_for_deployment_available(CODE
LOWtest/e2e/llmisvc/test_rolling_upgrade.py205 def assert_deployment_available():CODE
LOW…t/e2e/llmisvc/test_llm_inference_service_conversion.py125def create_llmisvc_config_raw(kserve_client: KServeClient, config: dict, version: str):CODE
LOW…t/e2e/llmisvc/test_llm_inference_service_conversion.py152def delete_llmisvc_config_raw(CODE
LOW…t/e2e/llmisvc/test_llm_inference_service_conversion.py396 def test_criticality_preservation_via_annotations(self):CODE
LOW⚡…t/e2e/llmisvc/test_llm_inference_service_conversion.py470 def assert_criticality_in_annotation():CODE
LOW⚡…t/e2e/llmisvc/test_llm_inference_service_conversion.py502 def assert_criticality_restored():CODE
LOW…t/e2e/llmisvc/test_llm_inference_service_conversion.py533 def test_lora_criticality_preservation(self):CODE
LOW…t/e2e/llmisvc/test_llm_inference_service_conversion.py615 def assert_lora_criticalities_in_annotation():CODE
LOW…t/e2e/llmisvc/test_llm_inference_service_conversion.py653 def assert_lora_criticalities_restored():CODE
LOW⚡…t/e2e/llmisvc/test_llm_inference_service_conversion.py682 def test_round_trip_conversion_preserves_fields(self):CODE
LOWtest/e2e/llmisvc/test_llm_inference_service_stop.py201def wait_for_llm_isvc_stopped(CODE
LOW⚡test/e2e/llmisvc/test_llm_inference_service_stop.py275def verify_workload_resources_deleted(CODE
LOW⚡test/e2e/llmisvc/test_llm_inference_service_stop.py282 def assert_deployment_deleted():CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_direct_keda.py109def assert_direct_keda_scaled_object(CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_direct_keda.py163def test_llm_autoscaling_direct_keda_deployment(test_case: TestCase):CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_direct_keda.py230def test_llm_autoscaling_direct_keda_cleanup(test_case: TestCase):CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_direct_keda.py296def test_llm_autoscaling_direct_keda_scale_to_zero(test_case: TestCase):CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py451def wait_for_condition_absent(api, name, ns, condition_type, timeout=120):CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py623def _apply_epp_tls_workaround(ns):CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py723 def test_canary_service_backend(self, canary_env, traffic_driver):CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py750 def test_canary_mixed_backend(self, canary_env, traffic_driver):CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py757 def test_model_name_divergence(self, test_namespace):CODE
985 more matches not shown…
Redundant / Tautological Comments562 hits · 654 pts
SeverityFileLineSnippetContext
LOWinstall/v0.18.0/llmisvc-dependency-install.sh423# Check if required CLI tools existCOMMENT
LOWinstall/v0.18.0/llmisvc-dependency-install.sh738 # Check if helm is already installed in BIN_DIR with the exact required versionCOMMENT
LOW…v0.18.0/llmisvc-autoscaling-keda-dependency-install.sh423# Check if required CLI tools existCOMMENT
LOW…v0.18.0/llmisvc-autoscaling-keda-dependency-install.sh717 # Check if helm is already installed in BIN_DIR with the exact required versionCOMMENT
LOW…all/v0.18.0/kserve-standard-mode-dependency-install.sh423# Check if required CLI tools existCOMMENT
LOW…all/v0.18.0/kserve-standard-mode-dependency-install.sh713 # Check if helm is already installed in BIN_DIR with the exact required versionCOMMENT
LOWinstall/v0.18.0/keda-dependency-install.sh423# Check if required CLI tools existCOMMENT
LOWinstall/v0.18.0/keda-dependency-install.sh714 # Check if helm is already installed in BIN_DIR with the exact required versionCOMMENT
LOW…tall/v0.18.0/kserve-knative-mode-dependency-install.sh423# Check if required CLI tools existCOMMENT
LOW…tall/v0.18.0/kserve-knative-mode-dependency-install.sh917 # Check if helm is already installed in BIN_DIR with the exact required versionCOMMENT
LOW…/v0.18.0/llmisvc-autoscaling-hpa-dependency-install.sh423# Check if required CLI tools existCOMMENT
LOW…/v0.18.0/llmisvc-autoscaling-hpa-dependency-install.sh719 # Check if helm is already installed in BIN_DIR with the exact required versionCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml748 # Check if we found any active HCAsCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml812 # Check if GID_INDEX is already set via environment variablesCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml1044 # Check if we found any active HCAsCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml1108 # Check if GID_INDEX is already set via environment variablesCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml1348 # Check if we found any active HCAsCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml1412 # Check if GID_INDEX is already set via environment variablesCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml1559 # Check if we found any active HCAsCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml1623 # Check if GID_INDEX is already set via environment variablesCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml1797 # Check if we found any active HCAsCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml1861 # Check if GID_INDEX is already set via environment variablesCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml2041 # Check if we found any active HCAsCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml2105 # Check if GID_INDEX is already set via environment variablesCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml2514 # Check if we found any active HCAsCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml2578 # Check if GID_INDEX is already set via environment variablesCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml2751 # Check if we found any active HCAsCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml2815 # Check if GID_INDEX is already set via environment variablesCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml2995 # Check if we found any active HCAsCOMMENT
LOWinstall/v0.18.0/kserve-cluster-resources.yaml3059 # Check if GID_INDEX is already set via environment variablesCOMMENT
LOWinstall/v0.16.0-rc1/kserve-cluster-resources.yaml815 do\n ucx_hcas+=(\"${hca}:1\")\n done\n\n # Check if we found any activeCODE
LOWinstall/v0.16.0-rc1/kserve-cluster-resources.yaml851 \ fi\n fi\n\n # Check if GID_INDEX is already set via environmentCODE
LOWinstall/v0.16.0-rc1/kserve-cluster-resources.yaml1021 do\n ucx_hcas+=(\"${hca}:1\")\n done\n\n # Check if we found any activeCODE
LOWinstall/v0.16.0-rc1/kserve-cluster-resources.yaml1057 \ fi\n fi\n\n # Check if GID_INDEX is already set via environmentCODE
LOWinstall/v0.16.0-rc1/kserve-cluster-resources.yaml1253 do\n ucx_hcas+=(\"${hca}:1\")\n done\n\n # Check if we found any activeCODE
LOWinstall/v0.16.0-rc1/kserve-cluster-resources.yaml1289 (SR-IOV standard)\"\n fi\n fi\n\n # Check if GID_INDEXCODE
LOWinstall/v0.16.0-rc1/kserve-cluster-resources.yaml1409 do\n ucx_hcas+=(\"${hca}:1\")\n done\n\n # Check if we found any activeCODE
LOWinstall/v0.16.0-rc1/kserve-cluster-resources.yaml1445 (SR-IOV standard)\"\n fi\n fi\n\n # Check if GID_INDEXCODE
LOWinstall/v0.16.0-rc1/kserve-cluster-resources.yaml1763 do\n ucx_hcas+=(\"${hca}:1\")\n done\n\n # Check if we found any activeCODE
LOWinstall/v0.16.0-rc1/kserve-cluster-resources.yaml1799 \ fi\n fi\n\n # Check if GID_INDEX is already set via environmentCODE
LOWinstall/v0.16.0-rc1/kserve-cluster-resources.yaml1918 do\n ucx_hcas+=(\"${hca}:1\")\n done\n\n # Check if we found any activeCODE
LOWinstall/v0.16.0-rc1/kserve-cluster-resources.yaml1954 \ fi\n fi\n\n # Check if GID_INDEX is already set via environmentCODE
LOWinstall/v0.16.0/kserve-cluster-resources.yaml815 do\n ucx_hcas+=(\"${hca}:1\")\n done\n\n # Check if we found any activeCODE
LOWinstall/v0.16.0/kserve-cluster-resources.yaml851 \ fi\n fi\n\n # Check if GID_INDEX is already set via environmentCODE
LOWinstall/v0.16.0/kserve-cluster-resources.yaml1021 do\n ucx_hcas+=(\"${hca}:1\")\n done\n\n # Check if we found any activeCODE
LOWinstall/v0.16.0/kserve-cluster-resources.yaml1057 \ fi\n fi\n\n # Check if GID_INDEX is already set via environmentCODE
LOWinstall/v0.16.0/kserve-cluster-resources.yaml1253 do\n ucx_hcas+=(\"${hca}:1\")\n done\n\n # Check if we found any activeCODE
LOWinstall/v0.16.0/kserve-cluster-resources.yaml1289 (SR-IOV standard)\"\n fi\n fi\n\n # Check if GID_INDEXCODE
LOWinstall/v0.16.0/kserve-cluster-resources.yaml1409 do\n ucx_hcas+=(\"${hca}:1\")\n done\n\n # Check if we found any activeCODE
LOWinstall/v0.16.0/kserve-cluster-resources.yaml1445 (SR-IOV standard)\"\n fi\n fi\n\n # Check if GID_INDEXCODE
LOWinstall/v0.16.0/kserve-cluster-resources.yaml1763 do\n ucx_hcas+=(\"${hca}:1\")\n done\n\n # Check if we found any activeCODE
LOWinstall/v0.16.0/kserve-cluster-resources.yaml1799 \ fi\n fi\n\n # Check if GID_INDEX is already set via environmentCODE
LOWinstall/v0.16.0/kserve-cluster-resources.yaml1918 do\n ucx_hcas+=(\"${hca}:1\")\n done\n\n # Check if we found any activeCODE
LOWinstall/v0.16.0/kserve-cluster-resources.yaml1954 \ fi\n fi\n\n # Check if GID_INDEX is already set via environmentCODE
LOWinstall/v0.20.0/llmisvc-dependency-install.sh429# Check if required CLI tools existCOMMENT
LOWinstall/v0.20.0/llmisvc-dependency-install.sh746 # Check if helm is already installed in BIN_DIR with the exact required versionCOMMENT
LOW…v0.20.0/llmisvc-autoscaling-keda-dependency-install.sh429# Check if required CLI tools existCOMMENT
LOW…v0.20.0/llmisvc-autoscaling-keda-dependency-install.sh725 # Check if helm is already installed in BIN_DIR with the exact required versionCOMMENT
LOW…all/v0.20.0/kserve-standard-mode-dependency-install.sh429# Check if required CLI tools existCOMMENT
LOW…all/v0.20.0/kserve-standard-mode-dependency-install.sh721 # Check if helm is already installed in BIN_DIR with the exact required versionCOMMENT
502 more matches not shown…
Hallucination Indicators43 hits · 430 pts
SeverityFileLineSnippetContext
CRITICAL…e/kserve/protocol/rest/openai/types/openapi-2.0.0.yaml5275 run_steps = client.beta.threads.runs.steps.list(CODE
CRITICAL…e/kserve/protocol/rest/openai/types/openapi-2.0.0.yaml5286 const runStep = await openai.beta.threads.runs.steps.list(CODE
CRITICAL…e/kserve/protocol/rest/openai/types/openapi-2.0.0.yaml5378 run_step = client.beta.threads.runs.steps.retrieve(CODE
CRITICAL…e/kserve/protocol/rest/openai/types/openapi-2.0.0.yaml5390 const runStep = await openai.beta.threads.runs.steps.retrieve(CODE
CRITICAL…e/kserve/protocol/rest/openai/types/openapi-2.0.0.yaml5792 message_files = client.beta.threads.messages.files.list(CODE
CRITICAL…e/kserve/protocol/rest/openai/types/openapi-2.0.0.yaml5802 const messageFiles = await openai.beta.threads.messages.files.list(CODE
CRITICAL…e/kserve/protocol/rest/openai/types/openapi-2.0.0.yaml5883 message_files = client.beta.threads.messages.files.retrieve(CODE
CRITICAL…e/kserve/protocol/rest/openai/types/openapi-2.0.0.yaml5894 const messageFile = await openai.beta.threads.messages.files.retrieve(CODE
CRITICAL…ving/v1alpha1/llm_inference_service_conversion_test.go1587 assert.True(t, hub.Spec.Prefill.KVCacheOffloading.CPU.Equal(resource.MustParse("8Gi")))CODE
CRITICAL…ving/v1alpha1/llm_inference_service_conversion_test.go1598 assert.True(t, restored.Spec.Prefill.KVCacheOffloading.CPU.Equal(resource.MustParse("8Gi")))CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router_validation.go98 if llmSvc.Spec.Router != nil && llmSvc.Spec.Router.Route != nil && llmSvc.Spec.Router.Route.HTTP.HasRefs() {CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router_validation.go161 if llmSvc.Spec.Router == nil || llmSvc.Spec.Router.Route == nil || !llmSvc.Spec.Router.Route.HTTP.HasRefs() {CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router_validation.go235 if llmSvc.Spec.Router == nil || llmSvc.Spec.Router.Route == nil || !llmSvc.Spec.Router.Route.HTTP.HasSpec() {CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router_group_routing.go104 llmSvc.Spec.Router.Scheduler.Pool.HasRef() &&CODE
CRITICALpkg/controller/v1alpha2/llmisvc/workload.go226 if !utils.GetForceStopRuntime(llmSvc) && llmSvc.Spec.Router != nil && llmSvc.Spec.Router.Scheduler != nil && llmSvc.SpeCODE
CRITICALpkg/controller/v1alpha2/llmisvc/config_merge.go739 llmSvcCfg.Spec.Router.Route.HTTP.HasSpec() &&CODE
CRITICALpkg/controller/v1alpha2/llmisvc/config_merge.go748 llmSvcCfg.Spec.Router.Route.HTTP.HasSpec() &&CODE
CRITICALpkg/controller/v1alpha2/llmisvc/config_merge.go764 llmSvcCfg.Spec.Router.Route.HTTP.HasSpec() &&CODE
CRITICALpkg/controller/v1alpha2/llmisvc/config_merge.go766 llmSvcCfg.Spec.Router.Scheduler.Pool.HasRef() {CODE
CRITICAL…ntroller/v1alpha2/llmisvc/router_model_routing_test.go63 require.True(t, rendered.Spec.Router.Route.HTTP.HasSpec())CODE
CRITICAL…ontroller/v1alpha2/llmisvc/workload_tls_self_signed.go284 if llmSvc.Spec.Router.Scheduler.Pool.HasRef() {CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router_group.go219 member.Spec.Router.Scheduler.Pool.HasRef() {CODE
CRITICALpkg/controller/v1alpha2/llmisvc/tokenizer.go155 llmSvc.Spec.Router.Scheduler.Pool.HasRef() ||CODE
CRITICALpkg/controller/v1alpha2/llmisvc/tokenizer.go227 d.Spec.Template.Spec = *llmSvc.Spec.Router.Scheduler.Tokenizer.Template.DeepCopy()CODE
CRITICAL…oller/v1alpha2/llmisvc/workload_storage_volume_test.go93 assert.Equal(t, "50Gi", vol.Ephemeral.VolumeClaimTemplate.Spec.Resources.Requests.Storage().String())CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router.go223 if llmSvc.Spec.Router.Route.HTTP.HasSpec() {CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router.go313 if llmSvc.Spec.Router == nil || llmSvc.Spec.Router.Route == nil || !llmSvc.Spec.Router.Route.HTTP.HasRefs() {CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router.go354 if llmSvc.Spec.Router != nil && llmSvc.Spec.Router.Route != nil && llmSvc.Spec.Router.Route.HTTP.HasSpec() {CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router.go355 httpRoute.Spec = *llmSvc.Spec.Router.Route.HTTP.Spec.DeepCopy()CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router.go372 llmSvc.Spec.Router.Scheduler.Pool.HasRef() {CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router.go721 if llmSvc.Spec.Router.Route.HTTP.HasSpec() {CODE
CRITICALpkg/controller/v1alpha2/llmisvc/scheduler.go130 if utils.GetForceStopRuntime(llmSvc) || !llmSvc.DeletionTimestamp.IsZero() || llmSvc.Spec.Router == nil || llmSvc.Spec.CODE
CRITICALpkg/controller/v1alpha2/llmisvc/scheduler.go146 if utils.GetForceStopRuntime(llmSvc) || llmSvc.Spec.Router == nil || llmSvc.Spec.Router.Scheduler == nil || llmSvc.SpecCODE
CRITICALpkg/controller/v1alpha2/llmisvc/scheduler.go161 if utils.GetForceStopRuntime(llmSvc) || llmSvc.Spec.Router == nil || llmSvc.Spec.Router.Scheduler == nil || llmSvc.SpecCODE
CRITICALpkg/controller/v1alpha2/llmisvc/scheduler.go183 if utils.GetForceStopRuntime(llmSvc) || llmSvc.Spec.Router == nil || llmSvc.Spec.Router.Scheduler == nil || llmSvc.SpeCODE
CRITICALpkg/controller/v1alpha2/llmisvc/scheduler.go207 if isStopped := utils.GetForceStopRuntime(llmSvc); isStopped || llmSvc.Spec.Router == nil || llmSvc.Spec.Router.SchedulCODE
CRITICALpkg/controller/v1alpha2/llmisvc/scheduler.go222 shouldDelete := utils.GetForceStopRuntime(llmSvc) || llmSvc.Spec.Router == nil || llmSvc.Spec.Router.Scheduler == nil |CODE
CRITICALpkg/controller/v1alpha2/llmisvc/scheduler.go264 if utils.GetForceStopRuntime(llmSvc) || llmSvc.Spec.Router == nil || llmSvc.Spec.Router.Scheduler == nil || llmSvc.SpecCODE
CRITICALpkg/controller/v1alpha2/llmisvc/scheduler.go292 podSpec := llmSvc.Spec.Router.Scheduler.Template.DeepCopy()CODE
CRITICALpkg/controller/v1alpha2/llmisvc/scheduler.go346 ip.Spec = *llmSvc.Spec.Router.Scheduler.Pool.Spec.DeepCopy()CODE
CRITICALpkg/controller/v1alpha2/llmisvc/scheduler.go375 srcPool := &igwapi.InferencePool{Spec: *llmSvc.Spec.Router.Scheduler.Pool.Spec.DeepCopy()}CODE
CRITICALpkg/controller/v1alpha2/llmisvc/scheduler.go430 d.Spec.Template.Spec = *llmSvc.Spec.Router.Scheduler.Template.DeepCopy()CODE
CRITICALpkg/controller/v1alpha2/llmisvc/scheduler.go2145 !llmSvc.Spec.Router.Scheduler.Pool.HasRef()CODE
Deep Nesting268 hits · 260 pts
SeverityFileLineSnippetContext
LOWtest/test_e2e_namespace.py76CODE
LOWtest/test_e2e_namespace.py139CODE
LOWtest/test_e2e_namespace.py156CODE
LOWtest/e2e/storage/test_oci_fetch.py109CODE
LOWtest/e2e/storage/test_oci_fetch.py138CODE
LOWtest/e2e/llmisvc/test_prestop_hook.py61CODE
LOW…t/e2e/llmisvc/test_llm_inference_service_conversion.py193CODE
LOWtest/e2e/llmisvc/test_llm_inference_service_stop.py201CODE
LOWtest/e2e/llmisvc/test_llm_inference_service_stop.py208CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py294CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py353CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py402CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py423CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py519CODE
LOWtest/e2e/llmisvc/test_pod_watch.py316CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py1075CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py1206CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_wva.py217CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_wva.py238CODE
LOWtest/e2e/llmisvc/traffic/_report.py172CODE
LOWtest/e2e/common/utils.py476CODE
LOWtest/e2e/common/utils.py723CODE
LOWtest/e2e/common/utils.py762CODE
LOW…st/e2e/modelcache/test_llmisvc_localmodelcache_lora.py202CODE
LOWtest/e2e/predictor/test_pod_watch.py71CODE
LOW…on/autogluonserver/autogluonserver/safe_deserialize.py289CODE
LOW…on/autogluonserver/autogluonserver/timeseries_model.py360CODE
LOWpython/autogluonserver/autogluonserver/tabular_model.py450CODE
LOWpython/kserve/test/test_server.py1246CODE
LOWpython/kserve/kserve/model_server.py474CODE
LOWpython/kserve/kserve/logging.py120CODE
LOWpython/kserve/kserve/rest.py123CODE
LOWpython/kserve/kserve/model.py198CODE
LOWpython/kserve/kserve/model.py327CODE
LOWpython/kserve/kserve/api_client.py232CODE
LOWpython/kserve/kserve/api_client.py296CODE
LOWpython/kserve/kserve/api_client.py398CODE
LOWpython/kserve/kserve/api_client.py457CODE
LOWpython/kserve/kserve/api_client.py487CODE
LOWpython/kserve/kserve/api_client.py543CODE
LOWpython/kserve/kserve/inference_client.py100CODE
LOWpython/kserve/kserve/inference_client.py447CODE
LOWpython/kserve/kserve/utils/numpy_codec.py37CODE
LOWpython/kserve/kserve/utils/utils.py152CODE
LOWpython/kserve/kserve/utils/utils.py197CODE
LOWpython/kserve/kserve/models/v1beta1_service_config.py92CODE
LOWpython/kserve/kserve/models/v1beta1_transformer_spec.py1668CODE
LOWpython/kserve/kserve/models/v1beta1_tf_serving_spec.py888CODE
LOWpython/kserve/kserve/models/net_url_userinfo.py140CODE
LOWpython/kserve/kserve/models/knative_condition.py232CODE
LOW…serve/kserve/models/v1alpha1_kernel_cache_node_list.py173CODE
LOW…kserve/models/v1alpha1_kernel_cache_node_cache_info.py228CODE
LOWpython/kserve/kserve/models/v1beta1_tracing_spec.py176CODE
LOW…thon/kserve/kserve/models/v1alpha1_inference_target.py148CODE
LOW…rve/kserve/models/v1alpha1_serving_runtime_pod_spec.py371CODE
LOWpython/kserve/kserve/models/v1beta1_canary_status.py177CODE
LOW…rve/kserve/models/v1alpha1_local_model_storage_spec.py120CODE
LOW…erve/kserve/models/v1beta1_inference_service_status.py366CODE
LOWpython/kserve/kserve/models/v1beta1_keda_scaler.py174CODE
LOW…hon/kserve/kserve/models/v1alpha1_kernel_cache_spec.py145CODE
208 more matches not shown…
Empty Error Handlers37 hits · 185 pts
SeverityFileLineSnippetContext
HIGHtest/e2e/storage/test_oci_native_llmisvc.py267except Exception: # noqa: BLE001CODE
HIGHtest/e2e/llmisvc/test_llm_canary_lifecycle.py373except k8s_client.ApiException:CODE
HIGHtest/e2e/llmisvc/test_llm_canary_lifecycle.py417except k8s_client.ApiException:CODE
HIGHtest/e2e/llmisvc/test_llm_canary_lifecycle.py443except k8s_client.ApiException:CODE
HIGHtest/e2e/llmisvc/test_llm_canary_lifecycle.py462except k8s_client.ApiException:CODE
HIGHtest/e2e/llmisvc/test_pod_watch.py197except client.ApiException:CODE
HIGHtest/e2e/llmisvc/test_pod_watch.py216except client.ApiException:CODE
HIGHtest/e2e/llmisvc/test_pod_watch.py227except client.ApiException:CODE
HIGHtest/e2e/llmisvc/test_pod_watch.py236except client.ApiException:CODE
HIGHtest/e2e/llmisvc/test_pod_watch.py289except client.ApiException:CODE
HIGHtest/e2e/llmisvc/test_pod_watch.py311except client.ApiException:CODE
HIGHtest/e2e/llmisvc/test_gateway_section_name.py90except client.ApiException:CODE
HIGHtest/e2e/llmisvc/traffic/_driver.py180except requests.RequestException:CODE
HIGHtest/e2e/common/utils.py959except k8s_client.rest.ApiException:CODE
HIGHtest/e2e/common/namespace.py95except client.rest.ApiException:CODE
HIGHtest/e2e/modelcache/test_localmodelcache_oci.py886except FileNotFoundError:CODE
HIGHtest/e2e/modelcache/test_llmisvc_localmodelcache.py185except Exception:CODE
HIGHtest/e2e/modelcache/test_llmisvc_localmodelcache.py189except Exception:CODE
HIGH…st/e2e/modelcache/test_llmisvc_localmodelcache_lora.py156except Exception:CODE
HIGH…st/e2e/modelcache/test_llmisvc_localmodelcache_lora.py187except Exception:CODE
HIGH…st/e2e/modelcache/test_llmisvc_localmodelcache_lora.py173except Exception:CODE
HIGHtest/e2e/predictor/test_pod_watch.py236except client.ApiException:CODE
HIGHtest/e2e/predictor/test_pod_watch.py254except client.ApiException:CODE
HIGHtest/e2e/predictor/test_pod_watch.py264except client.ApiException:CODE
HIGHtest/e2e/predictor/test_pod_watch.py272except client.ApiException:CODE
HIGH…thon/autogluonserver/autogluonserver/version_compat.py89except (OSError, InvalidVersion):CODE
HIGH…on/autogluonserver/autogluonserver/safe_deserialize.py398except json.JSONDecodeError:CODE
HIGHpython/kserve/kserve/utils/utils.py74except Exception:CODE
HIGHpython/kserve/kserve/utils/utils.py87except Exception:CODE
HIGH…hon/kserve/kserve/protocol/rest/multiprocess/server.py77except KeyboardInterrupt:CODE
HIGHpython/storage/test/test_azure_storage.py210except OSError: # Permissions Error HandlingCODE
HIGHpython/storage/test/test_azure_storage.py338except OSError: # Permissions Error HandlingCODE
HIGHpython/storage/kserve_storage/kserve_storage.py902except OSError:CODE
HIGHhack/verify-doc-links.py145except URLError:CODE
HIGHhack/setup/scripts/generate-versions-from-gomod.py138except Exception:CODE
HIGHdocs/kfp/src/kservedeployer.py555except KeyError:CODE
HIGHkernelcache/mcv/capture-entrypoint.py251except (FileNotFoundError, json.JSONDecodeError):CODE
Excessive Try-Catch Wrapping140 hits · 151 pts
SeverityFileLineSnippetContext
LOWtest/e2e/graph/test_inference_graph.py177 except Exception as e:CODE
LOWtest/e2e/storage/test_oci_native_llmisvc.py89 except Exception: # noqa: BLE001CODE
LOWtest/e2e/storage/test_oci_native_llmisvc.py93 except Exception: # noqa: BLE001CODE
LOWtest/e2e/storage/test_oci_native_llmisvc.py267 except Exception: # noqa: BLE001CODE
LOWtest/e2e/storage/test_oci_native.py74 except Exception: # noqa: BLE001CODE
LOWtest/e2e/storage/test_oci_native.py78 except Exception: # noqa: BLE001CODE
LOWtest/e2e/storage/test_oci_modelcar.py58 except Exception: # noqa: BLE001CODE
LOWtest/e2e/llmisvc/logging.py45 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_model_routing_only.py148 except Exception:CODE
LOWtest/e2e/llmisvc/test_prestop_hook.py97 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_prestop_hook.py121 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_rolling_upgrade.py121 except Exception as e:CODE
LOW…t/e2e/llmisvc/test_llm_inference_service_conversion.py209 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_inference_service_stop.py114 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_direct_keda.py85 except Exception as e:CODE
MEDIUMtest/e2e/llmisvc/test_llm_canary_lifecycle.py294def delete_member(api, name, ns, wait=False):CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py330 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py345 except Exception:CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py397 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_lora_regex_routing.py238 except Exception:CODE
LOW⚡test/e2e/llmisvc/test_pod_watch.py100 except Exception as e:CODE
LOW⚡test/e2e/llmisvc/test_pod_watch.py113 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_pod_watch.py124 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_pod_watch.py160 except Exception:CODE
LOWtest/e2e/llmisvc/test_pod_watch.py167 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_pod_watch.py262 except Exception as e:CODE
LOW…/llmisvc/test_llm_inference_service_config_deletion.py163 except Exception as e:CODE
LOW…/llmisvc/test_llm_inference_service_config_deletion.py171 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_lora_adapters.py198 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_lora_adapters.py212 except Exception as e:CODE
LOWtest/e2e/llmisvc/diagnostic.py90 except Exception as e:CODE
LOWtest/e2e/llmisvc/diagnostic.py126 except Exception as e:CODE
LOWtest/e2e/llmisvc/diagnostic.py136 except Exception as e:CODE
LOWtest/e2e/llmisvc/diagnostic.py161 except Exception as e:CODE
LOWtest/e2e/llmisvc/diagnostic.py227 except Exception as e:CODE
LOWtest/e2e/llmisvc/diagnostic.py258 except Exception as e:CODE
LOWtest/e2e/llmisvc/diagnostic.py288 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_storage_version_migration.py93 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_storage_version_migration.py110 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_flow_control.py169 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py213 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py949 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py1155 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py1241 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py1279 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py1320 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py1374 except Exception as e:CODE
MEDIUMtest/e2e/llmisvc/test_llm_inference_service.py1273def get_successful_response():CODE
LOWtest/e2e/llmisvc/test_gateway_section_name.py203 except Exception:CODE
LOWtest/e2e/llmisvc/test_llm_tracing.py243 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_wva.py251 except Exception:CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_wva.py561 except Exception as e:CODE
LOW⚡test/e2e/llmisvc/fixtures.py2067 except Exception as e:CODE
LOW⚡test/e2e/llmisvc/fixtures.py2076 except Exception as e:CODE
LOWtest/e2e/llmisvc/fixtures.py1996 except Exception as after_test_error:CODE
LOWtest/e2e/batcher/test_raw_batcher.py92 except Exception:CODE
LOWtest/e2e/batcher/test_batcher_custom_port.py87 except Exception:CODE
LOWtest/e2e/batcher/test_batcher.py81 except Exception:CODE
LOWtest/e2e/modelcache/test_llmisvc_localmodelcache.py185 except Exception:CODE
LOWtest/e2e/modelcache/test_llmisvc_localmodelcache.py189 except Exception:CODE
80 more matches not shown…
Docstring Block Structure29 hits · 145 pts
SeverityFileLineSnippetContext
HIGHtest/e2e/kernelcache/utils.py67Generic polling helper: repeatedly call assertion_fn until it succeeds or times out. The assertion function should STRING
HIGHpython/kserve/kserve/model.py435The `predict` handler can be overridden for performing the inference. By default, the predict handler makes STRING
HIGHpython/kserve/kserve/model.py459`explain` handler can be overridden to implement the model explanation. The default implementation makes call toSTRING
HIGHpython/kserve/kserve/protocol/dataplane.py132Helper function to parse CloudEvent body and headers. Args: body (str|bytes|None): Request body. STRING
HIGHpython/kserve/kserve/protocol/dataplane.py196Get metadata for a specific model. Args: model_name (str): Model name Returns: STRING
HIGHpython/kserve/kserve/protocol/dataplane.py280Check if a model is ready. Args: model_name (str): name of the model disable_predictor_STRING
HIGHpython/kserve/kserve/protocol/dataplane.py445Performs inference on the specified model with the provided body and headers. If the ``body`` contains an encodSTRING
HIGHpython/kserve/kserve/protocol/dataplane.py484Performs explanation for the specified model. Args: model_name (str): Model name to be used for expSTRING
HIGH…n/kserve/kserve/protocol/model_repository_extension.py67Loads the specified model. Args: model_name (str): name of the model to load. Returns: NonSTRING
HIGH…n/kserve/kserve/protocol/model_repository_extension.py93Unload the specified model. Args: model_name (str): Name of the model to unload. Returns: STRING
HIGHpython/kserve/kserve/protocol/infer_type.py37 Serializes a bytes tensor into a flat numpy array of length prepended bytes. The numpy array should use dtype oSTRING
HIGHpython/kserve/kserve/protocol/infer_type.py596The class method to construct the InferRequest object from REST raw request bytes. Args: req_bytes STRING
HIGHpython/kserve/kserve/protocol/infer_type.py671The class method to construct the InferRequest object from InferenceRequest object. Args: request (STRING
HIGHpython/kserve/kserve/protocol/infer_type.py1271 Class method to construct an InferResponse object from raw response bytes. This method is used to conveSTRING
HIGH…thon/storage/kserve_storage/confidential/cdh_client.py53Retrieve a decryption key from CDH for the given resource identifier. Args: resource_id: A KBS resoSTRING
HIGH…n/storage/kserve_storage/confidential/jwe_decryptor.py75Decrypt a single JWE-encrypted file in place. The decrypted content replaces the encrypted file. If the file haSTRING
HIGH…n/storage/kserve_storage/confidential/jwe_decryptor.py145Walk a directory tree and decrypt all JWE-encrypted files. Args: dir_path: Root directory to scan. STRING
HIGH…storage/kserve_storage/confidential/secret_resolver.py31Resolve a decryption key for the given resource identifier. Args: resource_id: A KBS resource identSTRING
HIGH…ipts/install-script-generator/pkg/template_embedder.py99Convert template name to bash function name. Replaces hyphens with underscores for bash compatibility. Args: STRING
HIGH…up/scripts/install-script-generator/pkg/file_reader.py25Find git repository root by walking up directory tree. Args: start_dir: Starting directory path ReturnSTRING
HIGH…up/scripts/install-script-generator/pkg/file_reader.py71Read and parse YAML file. Args: file_path: Path to YAML file Returns: Dictionary parsed from YSTRING
HIGH…ts/install-script-generator/pkg/component_processor.py88Process single component: find script, extract and rename functions. Args: comp_config: Component configuraSTRING
HIGH…ripts/install-script-generator/pkg/manifest_builder.py62Run kustomize build on a directory. Args: kustomize_dir: Directory containing kustomization.yaml ReturSTRING
HIGH…ripts/install-script-generator/pkg/manifest_builder.py251Build KServe runtime manifests. Args: repo_root: Repository root path Returns: Combined runtimSTRING
HIGH…ripts/install-script-generator/pkg/manifest_builder.py271Build KServe LLMISvcConfig manifests. Args: repo_root: Repository root path Returns: Combined STRING
HIGH…cripts/install-script-generator/pkg/template_engine.py23Read template file content. Args: template_path: Path to template file Returns: Template conteSTRING
HIGH…ipts/install-script-generator/pkg/definition_parser.py126Parse COMPONENTS field from config. Args: config: Raw YAML config dict definition_file: Definition STRING
HIGH…ipts/install-script-generator/pkg/definition_parser.py217Parse definition with INCLUDE_DEFINITIONS support. Args: definition_file: Path to definition file vSTRING
HIGH…ipts/install-script-generator/pkg/definition_parser.py302Parse and normalize definition file. Public API function that supports INCLUDE_DEFINITIONS for composing definiSTRING
Structural Annotation Overuse62 hits · 109 pts
SeverityFileLineSnippetContext
LOW⚡…t/e2e/llmisvc/test_llm_inference_service_conversion.py469 # Step 1: Read as v1alpha2 and verify criticality is stored in annotationCOMMENT
LOW⚡…t/e2e/llmisvc/test_llm_inference_service_conversion.py501 # Step 2: Read back as v1alpha1 and verify criticality is restoredCOMMENT
LOWtest/e2e/llmisvc/test_pod_watch.py406 # Step 1: Wait for primary LLMISVC to be readyCOMMENT
LOWtest/e2e/llmisvc/test_pod_watch.py417 # Step 2: Create invalid S3 credentialsCOMMENT
LOWtest/e2e/llmisvc/test_pod_watch.py437 # Step 3: Create secondary LLMISVC with invalid S3 credentialsCOMMENT
LOWtest/e2e/llmisvc/test_pod_watch.py454 # Step 4: Wait for secondary LLMISVC to report failureCOMMENT
LOWtest/e2e/llmisvc/test_pod_watch.py476 # Step 5: Verify primary LLMISVC was not modifiedCOMMENT
LOW⚡test/e2e/predictor/test_pod_watch.py392 # Step 2: Create invalid S3 credentialsCOMMENT
LOW⚡test/e2e/predictor/test_pod_watch.py399 # Step 3: Create secondary ISVC with invalid S3 credentialsCOMMENT
LOWtest/e2e/predictor/test_pod_watch.py379 # Step 1: Wait for primary ISVC to be ready (created by managed_isvc)COMMENT
LOWtest/e2e/predictor/test_pod_watch.py420 # Step 4: Wait for secondary ISVC to report failure (created by managed_isvc)COMMENT
LOWtest/e2e/predictor/test_pod_watch.py434 # Step 5: Verify primary ISVC was not modifiedCOMMENT
LOW⚡hack/release/publish-release.sh81# Step 1: Check gh authCOMMENT
LOW⚡hack/release/publish-release.sh90# Step 2: Check tag existsCOMMENT
LOW⚡hack/release/publish-release.sh102# Step 3: Check release does not already existCOMMENT
LOW⚡hack/release/publish-release.sh111# Step 4: Check install filesCOMMENT
LOWhack/release/publish-release.sh127# Step 5: Build release flagsCOMMENT
LOWhack/release/publish-release.sh156# Step 6: Create releaseCOMMENT
LOW⚡hack/release/smoke-test.sh140# Step 1: Create kind clusterCOMMENT
LOW⚡hack/release/smoke-test.sh152# Step 2: Install KServe with local chartsCOMMENT
LOW⚡hack/release/smoke-test.sh160# Step 3: Test ISVC (sklearn-iris)COMMENT
LOW⚡hack/release/smoke-test.sh199# Step 4: Test LLMIsvc (facebook-opt-125m)COMMENT
LOW⚡hack/release/smoke-test.sh241# Step 5: Clean up kind clusterCOMMENT
LOWrelease/BUMP_VERSION_AGENT.md20### Step 1: Create a Release IssueCOMMENT
LOWrelease/BUMP_VERSION_AGENT.md29### Step 2: Assign Copilot with the bump-version agentCOMMENT
LOWrelease/BUMP_VERSION_AGENT.md41### Step 3: Review and MergeCOMMENT
LOWrelease/RELEASE_PROCESS_copilot.md20### Step 1: Install gh CLICOMMENT
LOWrelease/RELEASE_PROCESS_copilot.md49### Step 2: Log in to ghCOMMENT
LOWrelease/RELEASE_PROCESS_copilot.md63### Step 3: Verify Copilot CLICOMMENT
LOWrelease/RELEASE_PROCESS_copilot.md71### Step 4: Clone the repositoryCOMMENT
LOWdocs/MANIFESTS_GUIDE.md28### Step 1: Build kustomize manifests and copy to chartsCOMMENT
LOWdocs/MANIFESTS_GUIDE.md51### Step 2: Generate `values.yaml` from common sectionsCOMMENT
LOWdocs/MANIFESTS_GUIDE.md63### Step 3: Sync shared patch filesCOMMENT
LOWdocs/MANIFESTS_GUIDE.md69### Step 4: LintCOMMENT
LOWkernelcache/mcv/docs/vllm-binary-cache.md527### Step 1: Start vLLM ContainerCOMMENT
LOWkernelcache/mcv/docs/vllm-binary-cache.md555### Step 2: Wait for Cache GenerationCOMMENT
LOWkernelcache/mcv/docs/vllm-binary-cache.md586### Step 3: Capture Cache from ContainerCOMMENT
LOWkernelcache/mcv/docs/vllm-binary-cache.md609### Step 4: Build Cache Image with MCVCOMMENT
LOWkernelcache/mcv/docs/vllm-binary-cache.md631### Step 5: Inspect Cache ImageCOMMENT
LOWkernelcache/mcv/docs/vllm-binary-cache.md654### Step 6: Push to RegistryCOMMENT
LOWkernelcache/mcv/docs/vllm-binary-cache.md669### Step 7: Extract Cache on Target SystemCOMMENT
LOWkernelcache/mcv/docs/vllm-binary-cache.md700### Step 8: Verify Cache with GPU Compatibility CheckCOMMENT
LOWkernelcache/mcv/docs/vllm-binary-cache.md716### Step 9: View Detailed GPU InformationCOMMENT
LOWkernelcache/mcv/docs/vllm-binary-cache.md732### Step 10: Use Cache with vLLMCOMMENT
LOW⚡pkg/controller/v1beta1/inferenceservice/utils/utils.go466 // Step 1: Passes the validation if we have a storage container CR that supports this storageURI.COMMENT
LOW⚡pkg/controller/v1beta1/inferenceservice/utils/utils.go475 // Step 2: Does the default storage initializer image support this storageURI?COMMENT
LOW⚡…1/localmodel/reconcilers/localmodelcache_reconciler.go56// Step 1 - Checks if the CR is in the deletion process. Deletion completes when all LocalModelNodes have been updatedCOMMENT
LOW⚡…1/localmodel/reconcilers/localmodelcache_reconciler.go57// Step 2 - Adds this model to LocalModelNode resources in the node groupCOMMENT
LOW⚡…1/localmodel/reconcilers/localmodelcache_reconciler.go58// Step 3 - Creates PV & PVC for model downloadCOMMENT
LOW⚡…1/localmodel/reconcilers/localmodelcache_reconciler.go59// Step 4 - Creates PV & PVCs for namespaces with isvcs using this cached modelCOMMENT
LOW…1/localmodel/reconcilers/localmodelcache_reconciler.go93 // Step 1 - Checks if the CR is in the deletion processCOMMENT
LOW…1/localmodel/reconcilers/localmodelcache_reconciler.go114 // Step 2 - Adds this model to LocalModelNode resources in the node groupCOMMENT
LOW…1/localmodel/reconcilers/localmodelcache_reconciler.go119 // Step 3 - Creates PV & PVC for model downloadCOMMENT
LOW…1/localmodel/reconcilers/localmodelcache_reconciler.go146 // Step 4 - Creates PV & PVCs for namespaces with isvcs using this modelCOMMENT
LOW⚡…del/reconcilers/localmodelnamespacecache_reconciler.go60// Step 1 - Checks if the CR is in the deletion process. Deletion completes when all LocalModelNodes have been updatedCOMMENT
LOW⚡…del/reconcilers/localmodelnamespacecache_reconciler.go61// Step 2 - Adds this model to LocalModelNode resources in the node groupCOMMENT
LOW⚡…del/reconcilers/localmodelnamespacecache_reconciler.go62// Step 3 - Creates PV & PVC for model download (in the same namespace as the CR)COMMENT
LOW⚡…del/reconcilers/localmodelnamespacecache_reconciler.go63// Step 4 - Creates PV & PVCs for ISVCs in the same namespace using this cached modelCOMMENT
LOW…del/reconcilers/localmodelnamespacecache_reconciler.go110 // Step 1 - Checks if the CR is in the deletion processCOMMENT
LOW…del/reconcilers/localmodelnamespacecache_reconciler.go131 // Step 2 - Adds this model to LocalModelNode resources in the node groupCOMMENT
2 more matches not shown…
Self-Referential Comments25 hits · 70 pts
SeverityFileLineSnippetContext
MEDIUM⚡…t/e2e/llmisvc/test_llm_inference_service_conversion.py686 # Create a comprehensive configCOMMENT
MEDIUMtest/e2e/llmisvc/test_llm_inference_service_stop.py74 # Create the serviceCOMMENT
MEDIUM…/llmisvc/test_llm_inference_service_config_deletion.py243 # Create the config under test (model config)COMMENT
MEDIUM…/llmisvc/test_llm_inference_service_config_deletion.py254 # Create an LLMInferenceService that references this configCOMMENT
MEDIUM…/llmisvc/test_llm_inference_service_config_deletion.py495 # Create a config with the well-known name in the test namespace.COMMENT
MEDIUM…/llmisvc/test_llm_inference_service_config_deletion.py501 # Create an LLMInferenceService that does NOT explicitly reference theCOMMENT
MEDIUMtest/e2e/llmisvc/test_llm_lora_adapters.py131 # Create the service with unique base refsCOMMENT
MEDIUMtest/e2e/common/inference_pb2_grpc.py134# This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMtest/e2e/modelcache/test_llmisvc_localmodelcache.py99 # Create an LLMInferenceService with matching model URI using raw k8s clientCOMMENT
MEDIUMpython/kserve/test/test_server.py1328 # Create a PredictorConfigCOMMENT
MEDIUMpython/kserve/test/test_server.py1366 # Create a PredictorConfig with specific settingsCOMMENT
MEDIUM…serve/kserve/protocol/grpc/grpc_predict_v2_pb2_grpc.py224# This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMpython/kserve/kserve/protocol/rest/timeseries/config.py39 # Create a model repository with just the Time Series modelsCOMMENT
MEDIUMpython/kserve/kserve/protocol/rest/openai/config.py40 # Create a model repository with just the OpenAI modelsCOMMENT
MEDIUMpython/storage/test/test_confidential.py191 # Create a full JWK JSON objectCOMMENT
MEDIUMpython/storage/test/test_confidential.py213 # Create a JWK with additional metadata (as KBS might store it)COMMENT
MEDIUMpython/storage/test/test_s3_storage.py456 # Create a temporary CA bundle fileCOMMENT
MEDIUMpython/storage/test/test_s3_storage.py494 # Create a temporary CA bundle file in the expected ConfigMap locationCOMMENT
MEDIUMpython/storage/test/test_s3_storage.py651 # Create a temporary CA bundle file in the expected ConfigMap locationCOMMENT
MEDIUMpython/huggingfaceserver/health_check.py202 # Create the top-level parserCOMMENT
MEDIUMpython/huggingfaceserver/huggingfaceserver/__main__.py150# Create a mutually exclusive group for output format optionsCOMMENT
MEDIUM…all-script-generator/tests/test_component_processor.py138 # Create a simple component scriptCOMMENT
MEDIUM…stall-script-generator/tests/test_definition_parser.py325 # Create main definition that includes baseSTRING
MEDIUM…stall-script-generator/tests/test_definition_parser.py371 # Create main definitionSTRING
MEDIUM…stall-script-generator/tests/test_definition_parser.py492 # Create main that overrides envSTRING
AI Structural Patterns64 hits · 64 pts
SeverityFileLineSnippetContext
LOWtest/e2e/common/inference_pb2_grpc.py139CODE
LOWtest/e2e/common/inference_pb2_grpc.py169CODE
LOWtest/e2e/common/inference_pb2_grpc.py199CODE
LOWtest/e2e/common/inference_pb2_grpc.py229CODE
LOWtest/e2e/common/http_retry.py69CODE
LOWpython/kserve/kserve/model_server.py237CODE
LOWpython/kserve/kserve/model.py411CODE
LOWpython/kserve/kserve/model.py491CODE
LOWpython/kserve/kserve/api_client.py134CODE
LOWpython/kserve/kserve/api_client.py335CODE
LOWpython/kserve/kserve/inference_client.py100CODE
LOWpython/kserve/kserve/inference_client.py356CODE
LOWpython/kserve/kserve/models/v1beta1_transformer_spec.py171CODE
LOWpython/kserve/kserve/models/v1beta1_tf_serving_spec.py115CODE
LOW…rve/kserve/models/v1alpha1_serving_runtime_pod_spec.py77CODE
LOW…erve/kserve/models/v1beta1_inference_service_status.py77CODE
LOW…/kserve/kserve/models/v1alpha1_inference_graph_spec.py81CODE
LOW…thon/kserve/kserve/models/v1beta1_predictors_config.py73CODE
LOW…erve/kserve/models/v1beta1_component_extension_spec.py83CODE
LOW…/kserve/models/v1alpha1_kernel_cache_capture_status.py73CODE
LOWpython/kserve/kserve/models/v1alpha1_container.py75CODE
LOWpython/kserve/kserve/models/knative_url.py73CODE
LOW…rve/kserve/models/v1beta1_hugging_face_runtime_spec.py115CODE
LOWpython/kserve/kserve/models/v1beta1_custom_predictor.py141CODE
LOW…hon/kserve/kserve/models/v1beta1_local_model_config.py69CODE
LOWpython/kserve/kserve/models/v1beta1_predictor_spec.py199CODE
LOW…hon/kserve/kserve/models/v1beta1_paddle_server_spec.py115CODE
LOWpython/kserve/kserve/models/v1beta1_pod_spec.py141CODE
LOW…hon/kserve/kserve/models/v1beta1_custom_transformer.py141CODE
LOWpython/kserve/kserve/models/v1beta1_scaler_spec.py75CODE
LOW…erve/kserve/models/v1beta1_explainer_extension_spec.py113CODE
LOWpython/kserve/kserve/models/v1beta1_pmml_spec.py115CODE
LOWpython/kserve/kserve/models/v1beta1_custom_explainer.py141CODE
LOW…ve/models/v1alpha1_local_model_namespace_cache_spec.py69CODE
LOWpython/kserve/kserve/models/v1alpha1_inference_step.py73CODE
LOWpython/kserve/kserve/models/v1beta1_ingress_config.py93CODE
LOWpython/kserve/kserve/models/v1beta1_light_gbm_spec.py115CODE
LOWpython/kserve/kserve/models/v1beta1_logger_spec.py71CODE
LOWpython/kserve/kserve/models/v1beta1_triton_spec.py115CODE
LOW…on/kserve/kserve/models/v1beta1_kernel_cache_config.py81CODE
LOWpython/kserve/kserve/models/v1beta1_sk_learn_spec.py115CODE
LOWpython/kserve/kserve/models/v1beta1_xg_boost_spec.py115CODE
LOW…erve/kserve/models/v1beta1_predictor_extension_spec.py115CODE
LOW…/kserve/kserve/models/v1beta1_component_status_spec.py73CODE
LOWpython/kserve/kserve/models/v1beta1_torch_serve_spec.py115CODE
LOW…thon/kserve/kserve/models/v1beta1_onnx_runtime_spec.py115CODE
LOW…/kserve/kserve/models/v1alpha1_serving_runtime_spec.py99CODE
LOW…hon/kserve/kserve/models/v1beta1_art_explainer_spec.py115CODE
LOWpython/kserve/kserve/models/v1beta1_model_spec.py119CODE
LOWpython/kserve/kserve/models/v1beta1_explainer_spec.py173CODE
LOWpython/kserve/kserve/models/v1beta1_worker_spec.py145CODE
LOW…serve/kserve/protocol/grpc/grpc_predict_v2_pb2_grpc.py229CODE
LOW…serve/kserve/protocol/grpc/grpc_predict_v2_pb2_grpc.py259CODE
LOW…serve/kserve/protocol/grpc/grpc_predict_v2_pb2_grpc.py289CODE
LOW…serve/kserve/protocol/grpc/grpc_predict_v2_pb2_grpc.py319CODE
LOW…serve/kserve/protocol/grpc/grpc_predict_v2_pb2_grpc.py349CODE
LOW…serve/kserve/protocol/grpc/grpc_predict_v2_pb2_grpc.py379CODE
LOW…serve/kserve/protocol/grpc/grpc_predict_v2_pb2_grpc.py409CODE
LOW…serve/kserve/protocol/grpc/grpc_predict_v2_pb2_grpc.py439CODE
LOW…hon/kserve/kserve/protocol/rest/multiprocess/server.py125CODE
4 more matches not shown…
Cross-Language Confusion12 hits · 50 pts
SeverityFileLineSnippetContext
HIGHpython/kserve/test/test_infer_type.py756 == b'{"id":"1","model_name":"test_model","model_version":null,"outputs":[{"name":"fp16_output","shape":[2,4]CODE
HIGHpython/kserve/test/test_infer_type.py863 == b'{"id":"1","model_name":"test_model","model_version":null,"outputs":[{"name":"output1","shape":[1],"dataCODE
HIGHpython/kserve/test/test_infer_type.py902 == b'{"id":"1","model_name":"test_model","model_version":null,"outputs":[{"name":"output1","shape":[1],"dataCODE
HIGHpython/kserve/test/test_infer_type.py948 == b'{"id":"1","model_name":"test_model","model_version":null,"outputs":[{"name":"output1","shape":[1],"dataCODE
HIGHpython/kserve/test/test_server.py641 == b'{"model_name":"FP16InputModel","model_version":null,"id":"123","parameters":null,"outputs":[{"name":"stSTRING
HIGHpython/kserve/test/test_server.py716 == b'{"id":"123","model_name":"FP16OutputModel","model_version":null,"outputs":[{"name":"fp16_output","shapeSTRING
HIGHpython/kserve/test/test_server.py787 == b'{"model_name":"FP16OutputModel","model_version":null,"id":"123","parameters":null,"outputs":[{"name":"fSTRING
HIGHpython/kserve/test/test_server.py818 == b'{"id":"123","model_name":"FP16OutputModel","model_version":null,"outputs":[{"name":"fp16_output","shapeSTRING
HIGHpython/kserve/test/test_server.py860 == b'{"id":"123","model_name":"FP16OutputModel","model_version":null,"outputs":[{"name":"fp16_output","shapeSTRING
HIGH⚡hack/setup/scripts/generate-versions-from-gomod.py213 result = run("helm repo list -o json || echo '[]'")CODE
HIGH…ripts/install-script-generator/pkg/manifest_builder.py358 if [ "${{LLMISVC:-false}}" = "true" ] && type get_kserve_llmisvcconfig_manifests &>/dev/null; thenCODE
HIGH…ripts/install-script-generator/pkg/manifest_builder.py363 if [ "${{INSTALL_RUNTIMES:-false}}" = "true" ] && type get_kserve_runtime_manifests &>/dev/null; thenCODE
Verbosity Indicators25 hits · 48 pts
SeverityFileLineSnippetContext
LOW⚡…t/e2e/llmisvc/test_llm_inference_service_conversion.py469 # Step 1: Read as v1alpha2 and verify criticality is stored in annotationCOMMENT
LOW⚡…t/e2e/llmisvc/test_llm_inference_service_conversion.py501 # Step 2: Read back as v1alpha1 and verify criticality is restoredCOMMENT
LOWtest/e2e/llmisvc/test_pod_watch.py406 # Step 1: Wait for primary LLMISVC to be readyCOMMENT
LOWtest/e2e/llmisvc/test_pod_watch.py417 # Step 2: Create invalid S3 credentialsCOMMENT
LOWtest/e2e/llmisvc/test_pod_watch.py437 # Step 3: Create secondary LLMISVC with invalid S3 credentialsCOMMENT
LOWtest/e2e/llmisvc/test_pod_watch.py454 # Step 4: Wait for secondary LLMISVC to report failureCOMMENT
LOWtest/e2e/llmisvc/test_pod_watch.py476 # Step 5: Verify primary LLMISVC was not modifiedCOMMENT
LOW⚡test/e2e/predictor/test_pod_watch.py392 # Step 2: Create invalid S3 credentialsCOMMENT
LOW⚡test/e2e/predictor/test_pod_watch.py399 # Step 3: Create secondary ISVC with invalid S3 credentialsCOMMENT
LOWtest/e2e/predictor/test_pod_watch.py379 # Step 1: Wait for primary ISVC to be ready (created by managed_isvc)COMMENT
LOWtest/e2e/predictor/test_pod_watch.py420 # Step 4: Wait for secondary ISVC to report failure (created by managed_isvc)COMMENT
LOWtest/e2e/predictor/test_pod_watch.py434 # Step 5: Verify primary ISVC was not modifiedCOMMENT
LOW⚡hack/release/publish-release.sh81# Step 1: Check gh authCOMMENT
LOW⚡hack/release/publish-release.sh90# Step 2: Check tag existsCOMMENT
LOW⚡hack/release/publish-release.sh102# Step 3: Check release does not already existCOMMENT
LOW⚡hack/release/publish-release.sh111# Step 4: Check install filesCOMMENT
LOWhack/release/publish-release.sh127# Step 5: Build release flagsCOMMENT
LOWhack/release/publish-release.sh156# Step 6: Create releaseCOMMENT
LOW⚡hack/release/smoke-test.sh140# Step 1: Create kind clusterCOMMENT
LOW⚡hack/release/smoke-test.sh152# Step 2: Install KServe with local chartsCOMMENT
LOW⚡hack/release/smoke-test.sh160# Step 3: Test ISVC (sklearn-iris)COMMENT
LOW⚡hack/release/smoke-test.sh199# Step 4: Test LLMIsvc (facebook-opt-125m)COMMENT
LOW⚡hack/release/smoke-test.sh241# Step 5: Clean up kind clusterCOMMENT
LOW⚡pkg/controller/v1beta1/inferenceservice/utils/utils.go466 // Step 1: Passes the validation if we have a storage container CR that supports this storageURI.COMMENT
LOW⚡pkg/controller/v1beta1/inferenceservice/utils/utils.go475 // Step 2: Does the default storage initializer image support this storageURI?COMMENT
Modern Structural Boilerplate29 hits · 28 pts
SeverityFileLineSnippetContext
LOWtest/e2e/llmisvc/logging.py23logger = logging.getLogger(__name__)CODE
LOWtest/e2e/llmisvc/conftest.py33logger = logging.getLogger(__name__)CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_direct_keda.py71logger = logging.getLogger(__name__)CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py53logger = logging.getLogger(__name__)CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_fallback.py45logger = logging.getLogger(__name__)CODE
LOWtest/e2e/llmisvc/test_llm_lora_adapters.py49logger = logging.getLogger(__name__)CODE
LOWtest/e2e/llmisvc/test_gateway_section_name.py46logger = logging.getLogger(__name__)CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_wva.py68logger = logging.getLogger(__name__)CODE
LOW…st/e2e/llmisvc/test_llm_autoscaling_prefill_scaling.py51logger = logging.getLogger(__name__)CODE
LOWtest/e2e/llmisvc/traffic/__init__.py18__all__ = ["ResponseRecord", "Slice", "TrafficReport", "TrafficDriver"]CODE
LOWtest/e2e/modelcache/__init__.py21logger = logging.getLogger(__name__)CODE
LOWtest/e2e/predictor/test_canary_raw_deployment.py38logger = logging.getLogger(__name__)CODE
LOWpython/xgbserver/xgbserver/__init__.py18__all__ = ["XGBoostModel", "XGBoostModelRepository"]CODE
LOWpython/autogluonserver/autogluonserver/__init__.py20__all__ = [CODE
LOWpython/lgbserver/lgbserver/__init__.py18__all__ = ["LightGBMModel", "LightGBMModelRepository"]CODE
LOWpython/kserve/kserve/rest.py44logger = logging.getLogger(__name__)CODE
LOWpython/kserve/kserve/context.py28def set_predictor_config(config: PredictorConfig) -> None:CODE
LOW…hon/kserve/kserve/protocol/rest/timeseries/__init__.py33__all__ = [CODE
LOWpython/kserve/kserve/protocol/rest/openai/__init__.py29__all__ = [CODE
LOW…n/kserve/kserve/protocol/rest/openai/types/__init__.py75__all__ = [CODE
LOWpython/storage/kserve_storage/kserve_storage.py460def _setup_oci_tls() -> None:CODE
LOW…thon/storage/kserve_storage/confidential/cdh_client.py23logger = logging.getLogger(__name__)CODE
LOWpython/storage/kserve_storage/confidential/__init__.py19__all__ = [CODE
LOW…n/storage/kserve_storage/confidential/jwe_decryptor.py23logger = logging.getLogger(__name__)CODE
LOWpython/storage/kserve_storage/confidential/cli.py30logger = logging.getLogger(__name__)CODE
LOWpython/huggingfaceserver/huggingfaceserver/__init__.py31__all__ = [CODE
LOW…ggingfaceserver/huggingfaceserver/time_series_model.py284__all__ = ["TimeSeriesModel", "HuggingFaceTimeSeriesModel"]CODE
LOWpython/predictiveserver/predictiveserver/__init__.py19__all__ = ["PredictiveServerModel", "PredictiveServerModelRepository"]CODE
LOWpython/sklearnserver/sklearnserver/__init__.py18__all__ = ["SKLearnModelRepository", "SKLearnModel"]CODE
Synthetic Comment Markers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…on/kserve/kserve/protocol/rest/openai/types/openapi.py721 description='A list of tags to be attached to the newly created run. These tags are passed through directly to WCODE
HIGH…e/kserve/protocol/rest/openai/types/openapi-2.0.0.yaml7621 default tags are generated by OpenAI: "openai/finetune", "openai/{base-model}", "openai/{ftjob-abcCODE
HIGH…e/kserve/protocol/rest/openai/types/openapi-2.0.0.yaml8336 default tags are generated by OpenAI: "openai/finetune", "openai/{base-model}", "openai/{ftjob-abcdef}".CODE
AI Slop Vocabulary5 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMtest/e2e/storage/test_oci_native.py180 # Inspect pod spec as a dict so the assertion is robust againstCOMMENT
MEDIUM⚡…t/e2e/llmisvc/test_llm_inference_service_conversion.py686 # Create a comprehensive configCOMMENT
MEDIUMtest/e2e/llmisvc/fixtures.py147# test harness. Set LLMISVC_DEFAULT_ANNOTATIONS as a JSON object in CI toCOMMENT
LOWpython/custom_tokenizer/data_processing.py219 # can fail in certain cases in which case we just return `orig_text`.COMMENT
LOWpython/custom_tokenizer/data_processing.py428 # just create a nonce prediction in this case to avoid failure.COMMENT
Modern AI Meta-Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMkernelcache/mcv/entrypoint.sh2# Entrypoint wrapper for capture orchestration and direct MCV commands.COMMENT
MEDIUMpkg/controller/v1alpha1/trainedmodel/suite_test.go36 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMpkg/controller/v1alpha1/localmodel/suite_test.go36 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMpkg/controller/v1alpha1/localmodelnode/suite_test.go34 // +kubebuilder:scaffold:importsCOMMENT
Example Usage Blocks7 hits · 9 pts
SeverityFileLineSnippetContext
LOWhack/telepresence-setup.sh7# Usage:COMMENT
LOWhack/release/validate-release.sh4# Usage:COMMENT
LOWhack/release/publish-release.sh8# Usage:COMMENT
LOWhack/release/prepare-for-release.sh3# Usage:COMMENT
LOWhack/release/smoke-test.sh7# Usage:COMMENT
LOWdocs/samples/llmisvc/agentic-tool-calling/run-tests.sh6# Usage:COMMENT
LOW…/controller/v1alpha2/llmisvc/fixture/test_namespace.go108// Example usage:COMMENT
Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippetContext
LOWdocs/samples/istio-dex/README.md185KUBEFLOW_USERNAME = "user@example.com"CODE
LOWdocs/samples/istio-dex/dex_auth.py107 KUBEFLOW_USERNAME = "user@example.com"CODE
LOWkernelcache/mcv/pkg/cache/types.go66 DummyKey string `json:"dummy_key,omitempty"`CODE
LOW…ook/admission/pod/storage_initializer_injector_test.go4475 {Name: constants.CustomSpecStorageUriEnvVarKey, Value: "placeholder"},CODE
LOW…ook/admission/pod/storage_initializer_injector_test.go4601 {Name: constants.CustomSpecStorageUriEnvVarKey, Value: "placeholder"},CODE
LOW…roller/v1alpha2/llmisvc/workload_lora_internal_test.go925 spec := loRASpec(t, "placeholder", "pvc://adapters/one", "other", "pvc://adapters/two")CODE
LOW…alpha2/llmisvc/controller_int_scheduler_config_test.go2300 "app": "placeholder",CODE
LOW…oller/v1alpha2/llmisvc/controller_int_selector_test.go103 Containers: []corev1.Container{{Name: "placeholder", Image: "busybox"}},CODE
Slop Phrases5 hits · 8 pts
SeverityFileLineSnippetContext
LOW…e/kserve/protocol/rest/openai/types/openapi-2.0.0.yaml37 # Note: When adding an endpoint, make sure you also add it in the `groups` section, in the end of this file,COMMENT
LOW…n/huggingfaceserver/huggingfaceserver/encoder_model.py206 # When adding new tokens to the vocabulary, we should make sure to also resize the token embeddingCOMMENT
LOW…uggingfaceserver/huggingfaceserver/generative_model.py278 # When adding new tokens to the vocabulary, we should make sure to also resize the token embeddingCOMMENT
LOWconfig/manager/manager.yaml33 # When changing arguments, make sure to review the args in manager_auth_proxy_patch.yamlCOMMENT
LOWhack/release/prepare-for-release.sh74# using double dashes "--". We need to make sure to handle this case.`COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtest/e2e/predictor/test_canary_raw_deployment.py524# TODO: Add testing for routing after HTTPRoute support is added to the raw deployment mode.COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdocs/kfp/src/kservedeployer.py205def perform_action(CODE