Repository Analysis

kserve/kserve

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

12.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of kserve/kserve, a Go project with 5,762 GitHub stars. SynthScan v2.0 examined 1,608,526 lines of code across 2442 source files, recording 7928 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 12.9 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).

12.9
Adjusted Score
12.9
Raw Score
100%
Time Factor
2026-07-31
Last Push
5.8K
Stars
Go
Language
1.6M
Lines of Code
2.4K
Files
7.9K
Pattern Hits
2026-08-02
Scan Date
0.90
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 37HIGH 2149MEDIUM 2115LOW 3627

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

Cross-File Repetition2106 hits · 10530 pts
SeverityFileLineSnippetContext
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
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
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…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
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
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
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_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…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
HIGH…thon/kserve/test/test_v1alpha1_serving_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_model_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_resource_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_v1alpha1_cluster_storage_container.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_list.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_v1beta1_component_status_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…/kserve/test/test_v1alpha1_local_model_storage_spec.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
HIGH…e/test/test_v1alpha1_cluster_storage_container_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_v1alpha1_serving_runtime_pod_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_tf_serving_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_llm_inference_service_config.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_supported_uri_format.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_inference_service.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_inference_graph.py0kserve python sdk for kserve # noqa: e501 the version of the openapi document: v0.1 generated by: https://openapi-generaSTRING
2046 more matches not shown…
Decorative Section Separators2071 hits · 5925 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
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh31#================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh33#================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh36# ============================================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh683#================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh685#================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh693#================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh695#================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh697# ============================================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh699# ============================================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh720#================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh722#================================================COMMENT
MEDIUMinstall/v0.18.0/llmisvc-dependency-install.sh724# ----------------------------------------COMMENT
MEDIUMinstall/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
2011 more matches not shown…
Over-Commented Block1000 hits · 942 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
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.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.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
LOW…/v0.19.0/llmisvc-autoscaling-hpa-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.17.0/llmisvc-dependency-install.sh1#!/bin/bashCOMMENT
LOW…all/v0.17.0/kserve-standard-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOWinstall/v0.17.0/keda-dependency-install.sh1#!/bin/bashCOMMENT
LOW…tall/v0.17.0/kserve-knative-mode-dependency-install.sh1#!/bin/bashCOMMENT
LOWtest/scripts/gh-actions/run-qpext-test.sh1#!/bin/bashCOMMENT
LOWtest/scripts/gh-actions/update-test-overlays.sh1#!/bin/bashCOMMENT
LOWtest/scripts/gh-actions/build-graph-tests-images.sh1#!/bin/bashCOMMENT
LOWtest/scripts/gh-actions/setup-deps.sh1#!/bin/bashCOMMENT
LOWtest/scripts/gh-actions/build-server-runtimes.sh1#!/bin/bashCOMMENT
LOWtest/scripts/gh-actions/build-images.sh1#!/bin/bashCOMMENT
LOWtest/scripts/gh-actions/setup-kserve.sh1#!/bin/bashCOMMENT
LOWtest/scripts/gh-actions/run-e2e-tests.sh1#!/bin/bashCOMMENT
LOWtest/scripts/gh-actions/setup-uv.sh1#!/bin/bashCOMMENT
LOWtest/scripts/gh-actions/build-qpext-image.sh1#!/bin/bashCOMMENT
940 more matches not shown…
Unused Imports943 hits · 846 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
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
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
LOW…on/kserve/test/test_v1alpha1_inference_graph_status.py27CODE
LOW…on/kserve/test/test_v1alpha1_inference_graph_status.py30CODE
LOW…on/kserve/test/test_v1alpha1_inference_graph_status.py32CODE
LOW…on/kserve/test/test_v1alpha1_inference_graph_status.py36CODE
LOWpython/kserve/test/test_knative_volatile_time.py28CODE
883 more matches not shown…
Hyper-Verbose Identifiers817 hits · 795 pts
SeverityFileLineSnippetContext
LOWtest/e2e/transformer/test_collocation.py43async def test_transformer_collocation(rest_v1_client, network_layer):CODE
LOWtest/e2e/transformer/test_collocation.py141async def test_transformer_collocation_runtime(rest_v1_client, network_layer):CODE
LOWtest/e2e/transformer/test_collocation.py229async def test_raw_transformer_collocation(rest_v1_client, network_layer):CODE
LOWtest/e2e/transformer/test_collocation.py333async def test_raw_transformer_collocation_runtime(rest_v1_client, network_layer):CODE
LOWtest/e2e/graph/test_inference_graph.py174def create_ig_using_custom_object_api(resource_body):CODE
LOWtest/e2e/graph/test_inference_graph.py957async def test_inference_graph_raw_mode(rest_v1_client, network_layer):CODE
LOWtest/e2e/graph/test_inference_graph.py1113async def test_inference_graph_raw_mode_with_hpa(rest_v1_client, network_layer):CODE
LOWtest/e2e/storage/test_oci_native_llmisvc.py138def test_oci_native_image_volume_spec_llmisvc(tmp_path):CODE
LOWtest/e2e/storage/test_oci_native.py132def test_oci_native_image_volume_spec(tmp_path):CODE
LOWtest/e2e/llmisvc/conftest.py66def _auto_assign_group_markers(items):CODE
LOWtest/e2e/llmisvc/conftest.py95def pytest_runtest_makereport(item, call):CODE
LOWtest/e2e/llmisvc/conftest.py121def 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
LOWtest/e2e/llmisvc/test_llm_inference_service_stop.py275def verify_workload_resources_deleted(CODE
LOWtest/e2e/llmisvc/test_llm_inference_service_stop.py282 def assert_deployment_deleted():CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py438def wait_for_condition_absent(api, name, ns, condition_type, timeout=120):CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py648 def test_canary_service_backend(self, canary_env, traffic_driver):CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py654 def test_model_name_divergence(self, test_namespace):CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py700 def test_model_name_divergence_resolves(self, test_namespace):CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py759 def test_weight_without_group_rejected(self, test_namespace):CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py1199 def test_delete_at_nonzero_weight(self, test_namespace, traffic_driver):CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py1314 def test_force_stop_route_owner(self, test_namespace, traffic_driver):CODE
LOWtest/e2e/llmisvc/test_pod_watch.py104def get_deployments_for_llmisvc(name: str, namespace: str) -> list[dict]:CODE
LOWtest/e2e/llmisvc/test_pod_watch.py60def get_llmisvc_resource_version(CODE
LOWtest/e2e/llmisvc/test_pod_watch.py203def create_service_account_with_secret(namespace: str, sa_name: str, secret_name: str):CODE
LOWtest/e2e/llmisvc/test_pod_watch.py240def wait_for_llmisvc_condition_false(CODE
LOWtest/e2e/llmisvc/test_pod_watch.py316async def test_event_storm_prevention_init_container_isolation(test_namespace):CODE
LOWtest/e2e/llmisvc/test_pod_watch.py509async def test_quick_reconciliation_on_init_container_failure(test_namespace):CODE
LOW…/llmisvc/test_llm_inference_service_config_deletion.py93def _config_has_deletion_timestamp(config_obj):CODE
LOW…/llmisvc/test_llm_inference_service_config_deletion.py98def _create_llmisvc_with_config_ref(CODE
LOW…/llmisvc/test_llm_inference_service_config_deletion.py195def test_config_finalizer_added(test_namespace):CODE
LOW…/llmisvc/test_llm_inference_service_config_deletion.py204 def assert_finalizer_and_ready():CODE
LOW…/llmisvc/test_llm_inference_service_config_deletion.py228def test_config_deletion_blocked_when_referenced(test_namespace):CODE
LOW…/llmisvc/test_llm_inference_service_config_deletion.py318def test_config_deletion_allowed_when_unreferenced(test_namespace):CODE
LOW…/llmisvc/test_llm_inference_service_config_deletion.py353def test_config_deletion_unblocked_after_service_deleted(test_namespace):CODE
LOW…/llmisvc/test_llm_inference_service_config_deletion.py435def test_well_known_config_deletion_prevented_by_webhook():CODE
LOW…/llmisvc/test_llm_inference_service_config_deletion.py469def test_well_known_config_deletion_blocked_by_implicit_reference(test_namespace):CODE
LOWtest/e2e/llmisvc/test_llm_lora_adapters.py66def build_llm_service_from_refs(CODE
LOWtest/e2e/llmisvc/test_llm_lora_adapters.py250def test_llm_with_lora_adapters(test_case: LoRATestCase, test_namespace):CODE
LOWtest/e2e/llmisvc/test_storage_version_migration.py115 def test_storage_version_migration_after_simulated_upgrade(self):CODE
LOWtest/e2e/llmisvc/test_storage_version_migration.py221 def assert_stored_versions_migrated():CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py62def create_response_assertion(CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py81def assert_model_field_matches(CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py861def test_llm_inference_service(test_case: TestCase): # noqa: F811CODE
757 more matches not shown…
Redundant / Tautological Comments348 hits · 438 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.17.0-rc1/llmisvc-dependency-install.sh423# Check if required CLI tools existCOMMENT
LOWinstall/v0.17.0-rc1/llmisvc-dependency-install.sh732 # Check if helm is already installed in BIN_DIR with the exact required versionCOMMENT
LOW…v0.17.0-rc1/kserve-standard-mode-dependency-install.sh423# Check if required CLI tools existCOMMENT
LOW…v0.17.0-rc1/kserve-standard-mode-dependency-install.sh707 # Check if helm is already installed in BIN_DIR with the exact required versionCOMMENT
LOWinstall/v0.17.0-rc1/keda-dependency-install.sh423# Check if required CLI tools existCOMMENT
LOWinstall/v0.17.0-rc1/keda-dependency-install.sh708 # Check if helm is already installed in BIN_DIR with the exact required versionCOMMENT
288 more matches not shown…
Hallucination Indicators37 hits · 370 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
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/config_merge.go339 llmSvcCfg.Spec.Router.Route.HTTP.HasSpec() &&CODE
CRITICALpkg/controller/v1alpha2/llmisvc/config_merge.go348 llmSvcCfg.Spec.Router.Route.HTTP.HasSpec() &&CODE
CRITICALpkg/controller/v1alpha2/llmisvc/config_merge.go364 llmSvcCfg.Spec.Router.Route.HTTP.HasSpec() &&CODE
CRITICALpkg/controller/v1alpha2/llmisvc/config_merge.go366 llmSvcCfg.Spec.Router.Scheduler.Pool.HasRef() {CODE
CRITICAL…ontroller/v1alpha2/llmisvc/workload_tls_self_signed.go284 if llmSvc.Spec.Router.Scheduler.Pool.HasRef() {CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router_group.go180 member.Spec.Router.Scheduler.Pool.HasRef() {CODE
CRITICALpkg/controller/v1alpha2/llmisvc/tokenizer.go154 llmSvc.Spec.Router.Scheduler.Pool.HasRef() ||CODE
CRITICALpkg/controller/v1alpha2/llmisvc/tokenizer.go224 d.Spec.Template.Spec = *llmSvc.Spec.Router.Scheduler.Tokenizer.Template.DeepCopy()CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router.go213 if llmSvc.Spec.Router == nil || llmSvc.Spec.Router.Route == nil || !llmSvc.Spec.Router.Route.HTTP.HasRefs() {CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router.go250 if llmSvc.Spec.Router != nil && llmSvc.Spec.Router.Route != nil && llmSvc.Spec.Router.Route.HTTP.HasSpec() {CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router.go251 httpRoute.Spec = *llmSvc.Spec.Router.Route.HTTP.Spec.DeepCopy()CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router.go273 llmSvc.Spec.Router.Scheduler.Pool.HasRef() {CODE
CRITICALpkg/controller/v1alpha2/llmisvc/router.go640 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.go429 d.Spec.Template.Spec = *llmSvc.Spec.Router.Scheduler.Template.DeepCopy()CODE
CRITICALpkg/controller/v1alpha2/llmisvc/scheduler.go2066 !llmSvc.Spec.Router.Scheduler.Pool.HasRef()CODE
Deep Nesting219 hits · 214 pts
SeverityFileLineSnippetContext
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.py281CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py340CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py389CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py410CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py506CODE
LOWtest/e2e/llmisvc/test_pod_watch.py316CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py1038CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py1169CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_wva.py189CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_wva.py203CODE
LOWtest/e2e/llmisvc/traffic/_report.py172CODE
LOWtest/e2e/common/utils.py369CODE
LOWtest/e2e/common/utils.py579CODE
LOWtest/e2e/common/utils.py616CODE
LOWtest/e2e/predictor/conftest.py57CODE
LOWtest/e2e/predictor/test_pod_watch.py73CODE
LOW…on/autogluonserver/autogluonserver/timeseries_model.py344CODE
LOWpython/autogluonserver/autogluonserver/tabular_model.py450CODE
LOWpython/kserve/test/test_server.py1236CODE
LOWpython/kserve/kserve/model_server.py441CODE
LOWpython/kserve/kserve/logging.py108CODE
LOWpython/kserve/kserve/rest.py123CODE
LOWpython/kserve/kserve/model.py197CODE
LOWpython/kserve/kserve/model.py319CODE
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.py149CODE
LOWpython/kserve/kserve/utils/utils.py194CODE
LOWpython/kserve/kserve/models/v1beta1_service_config.py92CODE
LOWpython/kserve/kserve/models/v1beta1_transformer_spec.py1614CODE
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…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
LOWpython/kserve/kserve/models/v1beta1_resource_config.py168CODE
LOWpython/kserve/kserve/models/v1_time.py57CODE
LOWpython/kserve/kserve/models/v1beta1_metric_target.py172CODE
LOW…/kserve/kserve/models/v1alpha1_inference_graph_spec.py423CODE
LOW…kserve/kserve/models/v1beta1_resource_metric_source.py120CODE
LOW…thon/kserve/kserve/models/v1beta1_predictors_config.py298CODE
LOW…erve/kserve/models/v1beta1_component_extension_spec.py448CODE
LOW…erve/models/v1alpha1_cluster_storage_container_list.py173CODE
LOW…e/kserve/models/v1beta1_deployment_rollout_strategy.py90CODE
LOWpython/kserve/kserve/models/knative_addressable.py90CODE
159 more matches not shown…
Excessive Try-Catch Wrapping128 hits · 146 pts
SeverityFileLineSnippetContext
LOWtest/e2e/graph/test_inference_graph.py185 except Exception as e:CODE
LOWtest/e2e/storage/test_oci_native_llmisvc.py81 except Exception: # noqa: BLE001CODE
LOWtest/e2e/storage/test_oci_native_llmisvc.py85 except Exception: # noqa: BLE001CODE
LOWtest/e2e/storage/test_oci_native_llmisvc.py259 except Exception: # noqa: BLE001CODE
LOWtest/e2e/storage/test_oci_native.py76 except Exception: # noqa: BLE001CODE
LOWtest/e2e/storage/test_oci_native.py80 except Exception: # noqa: BLE001CODE
LOWtest/e2e/llmisvc/logging.py45 except Exception as e: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
MEDIUMtest/e2e/llmisvc/test_llm_canary_lifecycle.py281def delete_member(api, name, ns, wait=False):CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py317 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py332 except Exception:CODE
LOWtest/e2e/llmisvc/test_llm_canary_lifecycle.py384 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_pod_watch.py100 except Exception as e:CODE
LOWtest/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.py158 except Exception as e:CODE
LOW…/llmisvc/test_llm_inference_service_config_deletion.py166 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_lora_adapters.py192 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_lora_adapters.py206 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.py257 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.py189 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py912 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py1118 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py1204 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py1242 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py1283 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_inference_service.py1337 except Exception as e:CODE
MEDIUMtest/e2e/llmisvc/test_llm_inference_service.py1236def get_successful_response():CODE
LOWtest/e2e/llmisvc/test_gateway_section_name.py216 except Exception:CODE
LOWtest/e2e/llmisvc/test_llm_tracing.py238 except Exception as e:CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_wva.py216 except Exception:CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_wva.py492 except Exception as e:CODE
LOWtest/e2e/llmisvc/fixtures.py1647 except Exception as after_test_error:CODE
LOWtest/e2e/llmisvc/fixtures.py1718 except Exception as e:CODE
LOWtest/e2e/llmisvc/fixtures.py1727 except Exception as e:CODE
LOWtest/e2e/modelcache/test_llmisvc_localmodelcache.py191 except Exception:CODE
LOWtest/e2e/modelcache/test_llmisvc_localmodelcache.py196 except Exception:CODE
LOWtest/e2e/modelcache/test_llmisvc_localmodelcache.py200 except Exception:CODE
LOWtest/e2e/predictor/conftest.py73 except Exception:CODE
LOWtest/e2e/predictor/conftest.py89 except Exception:CODE
LOWtest/e2e/predictor/conftest.py91 except Exception:CODE
LOWtest/e2e/predictor/conftest.py99 except Exception:CODE
LOWtest/e2e/predictor/test_canary_raw_deployment.py92 except Exception:CODE
LOWtest/e2e/predictor/test_canary_raw_deployment.py224 except Exception as e:CODE
MEDIUMtest/e2e/predictor/test_canary_raw_deployment.py89def _safe_delete(kserve, service_name):CODE
68 more matches not shown…
Docstring Block Structure28 hits · 140 pts
SeverityFileLineSnippetContext
HIGHpython/kserve/kserve/model.py427The `predict` handler can be overridden for performing the inference. By default, the predict handler makes STRING
HIGHpython/kserve/kserve/model.py451`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.py483Performs 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.py132Walk 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.py45Run kustomize build on a directory. Args: kustomize_dir: Directory containing kustomization.yaml ReturSTRING
HIGH…ripts/install-script-generator/pkg/manifest_builder.py205Build KServe runtime manifests. Args: repo_root: Repository root path Returns: Combined runtimSTRING
HIGH…ripts/install-script-generator/pkg/manifest_builder.py225Build 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 Overuse52 hits · 94 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
LOWtest/e2e/predictor/test_pod_watch.py396 # Step 2: Create invalid S3 credentialsCOMMENT
LOWtest/e2e/predictor/test_pod_watch.py403 # Step 3: Create secondary ISVC with invalid S3 credentialsCOMMENT
LOWtest/e2e/predictor/test_pod_watch.py383 # Step 1: Wait for primary ISVC to be ready (created by managed_isvc)COMMENT
LOWtest/e2e/predictor/test_pod_watch.py426 # Step 4: Wait for secondary ISVC to report failure (created by managed_isvc)COMMENT
LOWtest/e2e/predictor/test_pod_watch.py440 # Step 5: Verify primary ISVC was not modifiedCOMMENT
LOWhack/release/publish-release.sh81# Step 1: Check gh authCOMMENT
LOWhack/release/publish-release.sh90# Step 2: Check tag existsCOMMENT
LOWhack/release/publish-release.sh102# Step 3: Check release does not already existCOMMENT
LOWhack/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
LOWhack/release/smoke-test.sh140# Step 1: Create kind clusterCOMMENT
LOWhack/release/smoke-test.sh152# Step 2: Install KServe with local chartsCOMMENT
LOWhack/release/smoke-test.sh160# Step 3: Test ISVC (sklearn-iris)COMMENT
LOWhack/release/smoke-test.sh199# Step 4: Test LLMIsvc (facebook-opt-125m)COMMENT
LOWhack/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
LOWpkg/controller/v1beta1/inferenceservice/utils/utils.go417 // Step 1: Passes the validation if we have a storage container CR that supports this storageURI.COMMENT
LOWpkg/controller/v1beta1/inferenceservice/utils/utils.go426 // Step 2: Does the default storage initializer image support this storageURI?COMMENT
LOW…1/localmodel/reconcilers/localmodelcache_reconciler.go55// 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.go56// Step 2 - Adds this model to LocalModelNode resources in the node groupCOMMENT
LOW…1/localmodel/reconcilers/localmodelcache_reconciler.go57// Step 3 - Creates PV & PVC for model downloadCOMMENT
LOW…1/localmodel/reconcilers/localmodelcache_reconciler.go58// Step 4 - Creates PV & PVCs for namespaces with isvcs using this cached modelCOMMENT
LOW…1/localmodel/reconcilers/localmodelcache_reconciler.go92 // Step 1 - Checks if the CR is in the deletion processCOMMENT
LOW…1/localmodel/reconcilers/localmodelcache_reconciler.go107 // Step 2 - Adds this model to LocalModelNode resources in the node groupCOMMENT
LOW…1/localmodel/reconcilers/localmodelcache_reconciler.go112 // Step 3 - Creates PV & PVC for model downloadCOMMENT
LOW…1/localmodel/reconcilers/localmodelcache_reconciler.go139 // Step 4 - Creates PV & PVCs for namespaces with isvcs using this modelCOMMENT
LOW…del/reconcilers/localmodelnamespacecache_reconciler.go55// Step 1 - Checks if the CR is in the deletion process. Deletion completes when all LocalModelNodes have been updatedCOMMENT
LOW…del/reconcilers/localmodelnamespacecache_reconciler.go56// Step 2 - Adds this model to LocalModelNode resources in the node groupCOMMENT
LOW…del/reconcilers/localmodelnamespacecache_reconciler.go57// Step 3 - Creates PV & PVC for model download (in the same namespace as the CR)COMMENT
LOW…del/reconcilers/localmodelnamespacecache_reconciler.go58// Step 4 - Creates PV & PVCs for ISVCs in the same namespace using this cached modelCOMMENT
LOW…del/reconcilers/localmodelnamespacecache_reconciler.go92 // Step 1 - Checks if the CR is in the deletion processCOMMENT
LOW…del/reconcilers/localmodelnamespacecache_reconciler.go107 // Step 2 - Adds this model to LocalModelNode resources in the node groupCOMMENT
LOW…del/reconcilers/localmodelnamespacecache_reconciler.go112 // Step 3 - Creates PV & PVC for model download (in jobNamespace, same as cluster-scoped)COMMENT
LOW…del/reconcilers/localmodelnamespacecache_reconciler.go139 // Step 4 - Creates PV & PVCs for ISVCs in the same namespace using this modelCOMMENT
Self-Referential Comments27 hits · 76 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.py238 # Create the config under test (model config)COMMENT
MEDIUM…/llmisvc/test_llm_inference_service_config_deletion.py249 # Create an LLMInferenceService that references this configCOMMENT
MEDIUM…/llmisvc/test_llm_inference_service_config_deletion.py490 # Create a config with the well-known name in the test namespace.COMMENT
MEDIUM…/llmisvc/test_llm_inference_service_config_deletion.py496 # Create an LLMInferenceService that does NOT explicitly reference theCOMMENT
MEDIUMtest/e2e/llmisvc/test_llm_lora_adapters.py125 # 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.py100 # Create an LLMInferenceService with matching model URI using raw k8s clientCOMMENT
MEDIUMtest/e2e/predictor/test_multi_model_serving.py59 # Define an inference serviceCOMMENT
MEDIUMtest/e2e/predictor/test_multi_model_serving.py80 # Create an instance of inference service with isvcCOMMENT
MEDIUMtest/e2e/predictor/test_multi_model_serving.py180 # Define an inference serviceCOMMENT
MEDIUMtest/e2e/predictor/test_multi_model_serving.py202 # Create an instance of inference service with isvcCOMMENT
MEDIUMpython/kserve/test/test_server.py1318 # Create a PredictorConfigCOMMENT
MEDIUMpython/kserve/test/test_server.py1356 # 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_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 Patterns61 hits · 61 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.py67CODE
LOWtest/e2e/common/utils.py328CODE
LOWpython/kserve/kserve/model_server.py220CODE
LOWpython/kserve/kserve/model.py403CODE
LOWpython/kserve/kserve/model.py483CODE
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.py167CODE
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
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.py137CODE
LOW…hon/kserve/kserve/models/v1beta1_local_model_config.py69CODE
LOWpython/kserve/kserve/models/v1beta1_predictor_spec.py195CODE
LOW…hon/kserve/kserve/models/v1beta1_paddle_server_spec.py115CODE
LOWpython/kserve/kserve/models/v1beta1_pod_spec.py137CODE
LOW…hon/kserve/kserve/models/v1beta1_custom_transformer.py137CODE
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.py137CODE
LOWpython/kserve/kserve/models/v1alpha1_inference_step.py73CODE
LOWpython/kserve/kserve/models/v1beta1_ingress_config.py91CODE
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
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.py169CODE
LOWpython/kserve/kserve/models/v1beta1_worker_spec.py141CODE
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…n/huggingfaceserver/huggingfaceserver/encoder_model.py88CODE
LOW…uggingfaceserver/huggingfaceserver/generative_model.py174CODE
LOWpython/custom_model/model_grpc.py87CODE
1 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.py631 == b'{"model_name":"FP16InputModel","model_version":null,"id":"123","parameters":null,"outputs":[{"name":"stSTRING
HIGHpython/kserve/test/test_server.py706 == b'{"id":"123","model_name":"FP16OutputModel","model_version":null,"outputs":[{"name":"fp16_output","shapeSTRING
HIGHpython/kserve/test/test_server.py777 == b'{"model_name":"FP16OutputModel","model_version":null,"id":"123","parameters":null,"outputs":[{"name":"fSTRING
HIGHpython/kserve/test/test_server.py808 == b'{"id":"123","model_name":"FP16OutputModel","model_version":null,"outputs":[{"name":"fp16_output","shapeSTRING
HIGHpython/kserve/test/test_server.py850 == b'{"id":"123","model_name":"FP16OutputModel","model_version":null,"outputs":[{"name":"fp16_output","shapeSTRING
HIGHhack/setup/scripts/generate-versions-from-gomod.py213 result = run("helm repo list -o json || echo '[]'")CODE
HIGH…ripts/install-script-generator/pkg/manifest_builder.py312 if [ "${{LLMISVC:-false}}" = "true" ] && type get_kserve_llmisvcconfig_manifests &>/dev/null; thenCODE
HIGH…ripts/install-script-generator/pkg/manifest_builder.py317 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
LOWtest/e2e/predictor/test_pod_watch.py396 # Step 2: Create invalid S3 credentialsCOMMENT
LOWtest/e2e/predictor/test_pod_watch.py403 # Step 3: Create secondary ISVC with invalid S3 credentialsCOMMENT
LOWtest/e2e/predictor/test_pod_watch.py383 # Step 1: Wait for primary ISVC to be ready (created by managed_isvc)COMMENT
LOWtest/e2e/predictor/test_pod_watch.py426 # Step 4: Wait for secondary ISVC to report failure (created by managed_isvc)COMMENT
LOWtest/e2e/predictor/test_pod_watch.py440 # Step 5: Verify primary ISVC was not modifiedCOMMENT
LOWhack/release/publish-release.sh81# Step 1: Check gh authCOMMENT
LOWhack/release/publish-release.sh90# Step 2: Check tag existsCOMMENT
LOWhack/release/publish-release.sh102# Step 3: Check release does not already existCOMMENT
LOWhack/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
LOWhack/release/smoke-test.sh140# Step 1: Create kind clusterCOMMENT
LOWhack/release/smoke-test.sh152# Step 2: Install KServe with local chartsCOMMENT
LOWhack/release/smoke-test.sh160# Step 3: Test ISVC (sklearn-iris)COMMENT
LOWhack/release/smoke-test.sh199# Step 4: Test LLMIsvc (facebook-opt-125m)COMMENT
LOWhack/release/smoke-test.sh241# Step 5: Clean up kind clusterCOMMENT
LOWpkg/controller/v1beta1/inferenceservice/utils/utils.go417 // Step 1: Passes the validation if we have a storage container CR that supports this storageURI.COMMENT
LOWpkg/controller/v1beta1/inferenceservice/utils/utils.go426 // Step 2: Does the default storage initializer image support this storageURI?COMMENT
Modern Structural Boilerplate25 hits · 24 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_canary_lifecycle.py52logger = logging.getLogger(__name__)CODE
LOWtest/e2e/llmisvc/test_llm_lora_adapters.py48logger = logging.getLogger(__name__)CODE
LOWtest/e2e/llmisvc/test_gateway_section_name.py45logger = logging.getLogger(__name__)CODE
LOWtest/e2e/llmisvc/test_llm_autoscaling_wva.py68logger = 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.py37logger = 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
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.py186 # 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.py69# 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
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
Modern AI Meta-Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
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
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
Fake / Example Data5 hits · 5 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
LOW…ook/admission/pod/storage_initializer_injector_test.go4474 {Name: constants.CustomSpecStorageUriEnvVarKey, Value: "placeholder"},CODE
LOW…ook/admission/pod/storage_initializer_injector_test.go4600 {Name: constants.CustomSpecStorageUriEnvVarKey, Value: "placeholder"},CODE
LOW…alpha2/llmisvc/controller_int_scheduler_config_test.go1860 "app": "placeholder",CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdocs/kfp/src/kservedeployer.py205def perform_action(CODE