AI Slop Code RIsk Monitor

triton-inference-server/server

The Triton Inference Server provides an optimized cloud and edge inferencing solution.

18.2 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for triton-inference-server/server, a Python project with 11,066 GitHub stars. SynthScan examined 191,102 lines of code across 818 source files, recording 2679 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 18.2 (Elevated 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.

18.2
Adjusted Signal
18.2
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
11.1K
Stars
Python
Language
191.1K
Lines of Code
818
Files
2.7K
Pattern Hits
2026-10-12
Scan Date
0.20
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 43.8/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 5.2/100 · LOW

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

Agent Over-Engineering Ratio 39.6/100 · MEDIUM

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

PR Review Velocity Impact 63.2/100 · HIGH

Which changes need focused human review? 2679 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 0HIGH 161MEDIUM 170LOW 2348

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 2679 distinct pattern matches across 17 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.

Over-Commented Block861 hits · 852 pts
SeverityFileLineSnippetContext
LOWbuild.py1#!/usr/bin/env python3COMMENT
LOWbuild.py41import distroCOMMENT
LOWbuild.py61# upstream container version,COMMENT
LOWbuild.py1841 ]COMMENT
LOWbuild.py2841COMMENT
LOWCMakeLists.txt1# Copyright 2020-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWcompose.py1#!/usr/bin/env python3COMMENT
LOW.pre-commit-config.yaml1# Copyright 2023-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpyproject.toml1# Copyright 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpyproject.toml21# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOWREADME.md1<!--COMMENT
LOWCONTRIBUTING.md1<!--COMMENT
LOWSECURITY.md1<!--COMMENT
LOWtools/add_copyright.py1# Copyright (c) 2024-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/add_copyright.py161 with open(path, "w") as f:COMMENT
LOWdocker/entrypoint.d/99-check-run-aip-mode.sh1#!/bin/bashCOMMENT
LOWdocker/cpu_only/nvidia_entrypoint.sh1#!/bin/bashCOMMENT
LOWpython/openai/requirements.txt1# Copyright 2024-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpython/openai/requirements.txt21# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOWpython/openai/requirements-test.txt1# Copyright 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpython/openai/requirements-test.txt21# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOWpython/openai/README.md1<!--COMMENT
LOWpython/openai/openai_frontend/__init__.py1# Copyright 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpython/openai/openai_frontend/__init__.py21# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOWpython/openai/openai_frontend/main.py1#!/usr/bin/env python3COMMENT
LOW…on/openai/openai_frontend/frontend/fastapi_frontend.py1# Copyright 2024-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpython/openai/openai_frontend/frontend/frontend.py1# Copyright 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpython/openai/openai_frontend/frontend/__init__.py1# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.COMMENT
LOWpython/openai/openai_frontend/frontend/__init__.py21# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOW…on/openai/openai_frontend/frontend/fastapi/__init__.py1# Copyright 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…on/openai/openai_frontend/frontend/fastapi/__init__.py21# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOW…nai/openai_frontend/frontend/fastapi/routers/models.py1# Copyright 2024-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…i/openai_frontend/frontend/fastapi/routers/__init__.py1# Copyright 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…i/openai_frontend/frontend/fastapi/routers/__init__.py21# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOW…nai_frontend/frontend/fastapi/routers/observability.py1# Copyright 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…penai_frontend/frontend/fastapi/routers/completions.py1# Copyright 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…penai/openai_frontend/frontend/fastapi/routers/chat.py1# Copyright 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…openai_frontend/frontend/fastapi/routers/embeddings.py1# Copyright 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…_frontend/frontend/fastapi/routers/model_management.py1# Copyright 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…i_frontend/frontend/fastapi/middleware/request_size.py1# Copyright 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…penai_frontend/frontend/fastapi/middleware/__init__.py1# Copyright 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…penai_frontend/frontend/fastapi/middleware/__init__.py21# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOW…rontend/frontend/fastapi/middleware/api_restriction.py1# Copyright 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpython/openai/openai_frontend/utils/utils.py1# Copyright 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpython/openai/openai_frontend/schemas/__init__.py1# Copyright 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpython/openai/openai_frontend/schemas/__init__.py21# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOWpython/openai/openai_frontend/schemas/openai.py1# Copyright (c) 2024-2025, NVIDIA CORPORATION. All rights reserved.COMMENT
LOWpython/openai/openai_frontend/engine/__init__.py1# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.COMMENT
LOWpython/openai/openai_frontend/engine/__init__.py21# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOWpython/openai/openai_frontend/engine/engine.py1# Copyright 2024-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpython/openai/openai_frontend/engine/triton_engine.py1# Copyright 2024-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpython/openai/openai_frontend/engine/utils/triton.py1# Copyright 2024-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpython/openai/openai_frontend/engine/utils/__init__.py1# Copyright 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpython/openai/openai_frontend/engine/utils/__init__.py21# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOWpython/openai/openai_frontend/engine/utils/tokenizer.py1# Copyright (c) 2024-2026, NVIDIA CORPORATION. All rights reserved.COMMENT
LOWpython/openai/openai_frontend/engine/utils/chat.py1# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.COMMENT
LOW…end/engine/utils/tool_call_parsers/tool_call_parser.py1# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.COMMENT
LOW…ne/utils/tool_call_parsers/mistral_tool_call_parser.py1# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.COMMENT
LOW…ai_frontend/engine/utils/tool_call_parsers/__init__.py1# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.COMMENT
LOW…penai_frontend/engine/utils/tool_call_parsers/utils.py1# Copyright (c) 2025-2026, NVIDIA CORPORATION. All rights reserved.COMMENT
801 more matches not shown…
Hyper-Verbose Identifiers859 hits · 824 pts
SeverityFileLineSnippetContext
LOWbuild.py194def default_build_container_image():CODE
LOWbuild.py426def cmake_repoagent_extra_args():CODE
LOWbuild.py780def fastertransformer_cmake_args():CODE
LOWbuild.py983def create_dockerfile_buildbase_rhel(ddir, dockerfile_name, argmap):CODE
LOWbuild.py1106def create_dockerfile_buildbase(ddir, dockerfile_name, argmap):STRING
LOWbuild.py1370def dockerfile_prepare_container_linux(argmap, backends, enable_gpu, target_machine):STRING
LOWbuild.py1599def add_cpu_libs_to_linux_dockerfile(backends, target_machine):STRING
LOWbuild.py1661def set_python_location_to_manylinux_for_rhel():STRING
LOWbuild.py1668def restore_embeddable_python_lib_rhel():STRING
LOWbuild.py1762def create_docker_build_script(script_name, container_install_dir, container_ci_dir):STRING
LOWcompose.py174def get_container_version_if_not_specified():STRING
LOWtools/add_copyright.py372def test_adding_new_copyrights(content, extension, expected):CODE
LOWtools/add_copyright.py376def test_license_has_current_year():CODE
LOWpython/openai/README.md803def get_n_day_weather_forecast(city: str, state: str, unit: str, num_days: int):CODE
LOW…on/openai/openai_frontend/frontend/fastapi_frontend.py138 def _add_api_restriction_middleware(self, app: FastAPI):CODE
LOW…on/openai/openai_frontend/frontend/fastapi_frontend.py146 def _add_request_size_limit_middleware(self, app: FastAPI):CODE
LOW…i_frontend/frontend/fastapi/middleware/request_size.py138 def _oversized_request_message(actual_bytes: int, max_bytes: int) -> str:CODE
LOWpython/openai/openai_frontend/engine/triton_engine.py319 def _get_chat_completion_response_message(CODE
LOWpython/openai/openai_frontend/engine/triton_engine.py494 def _determine_request_converter(self, backend: str, request_type: RequestKind):CODE
LOWpython/openai/openai_frontend/engine/triton_engine.py639 def _get_streaming_chat_response_chunk(CODE
LOWpython/openai/openai_frontend/engine/triton_engine.py657 def _get_first_streaming_chat_response(CODE
LOWpython/openai/openai_frontend/engine/triton_engine.py686 async def _stream_with_inference_cancellation(CODE
LOWpython/openai/openai_frontend/engine/triton_engine.py845 def _get_streaming_response_delta(CODE
LOWpython/openai/openai_frontend/engine/triton_engine.py1012 def _verify_chat_tool_call_settings(self, request: CreateChatCompletionRequest):CODE
LOWpython/openai/openai_frontend/engine/triton_engine.py1049 async def _streaming_completion_iterator(CODE
LOWpython/openai/openai_frontend/engine/triton_engine.py1117 def _validate_completion_request(CODE
LOWpython/openai/openai_frontend/engine/triton_engine.py1193 def _validate_embedding_request(CODE
LOWpython/openai/openai_frontend/engine/triton_engine.py1219 def _should_stream_with_auto_tool_parsing(CODE
LOWpython/openai/openai_frontend/engine/triton_engine.py1229 def _should_check_for_unstreamed_tool_arg_tokens(CODE
LOWpython/openai/openai_frontend/engine/utils/triton.py70def _create_vllm_generate_request(CODE
LOWpython/openai/openai_frontend/engine/utils/triton.py179def _create_trtllm_generate_request(CODE
LOWpython/openai/openai_frontend/engine/utils/triton.py252def _create_vllm_embedding_request(CODE
LOW⚡python/openai/openai_frontend/engine/utils/triton.py272def _create_trtllm_embedding_request(CODE
LOW⚡python/openai/openai_frontend/engine/utils/triton.py281def _construct_string_from_pointer(pointer: int, size: int) -> str:CODE
LOWpython/openai/openai_frontend/engine/utils/triton.py429def _get_logprobs_from_response(CODE
LOWpython/openai/openai_frontend/engine/utils/triton.py468def _get_openai_chat_format_logprobs_from_vllm_response(CODE
LOWpython/openai/openai_frontend/engine/utils/triton.py526def _get_openai_completion_format_logprobs_from_vllm_response(CODE
LOWpython/openai/openai_frontend/engine/utils/triton.py584def _validate_triton_responses_non_streaming(CODE
LOWpython/openai/openai_frontend/engine/utils/triton.py597def _get_guided_json_from_tool(CODE
LOWpython/openai/openai_frontend/engine/utils/triton.py620def _validate_lora_path_trtllm(repo_path: str, lora_path: str, lora_name: str):CODE
LOWpython/openai/openai_frontend/engine/utils/chat.py61def _frontend_schema_to_openai_schema_completion_tool_call(CODE
LOWpython/openai/openai_frontend/engine/utils/chat.py74def _parse_chat_message_content_parts(CODE
LOWpython/openai/openai_frontend/engine/utils/chat.py91def _parse_chat_message_content(CODE
LOW…end/engine/utils/tool_call_parsers/tool_call_parser.py61 def parse_tool_calls_streaming(CODE
LOW…ne/utils/tool_call_parsers/mistral_tool_call_parser.py58def generate_mistral_random_id():CODE
LOW…ne/utils/tool_call_parsers/mistral_tool_call_parser.py144 def parse_tool_calls_streaming(CODE
LOW…penai_frontend/engine/utils/tool_call_parsers/utils.py106def extract_intermediate_diff(curr: str, old: str) -> str:CODE
LOW…gine/utils/tool_call_parsers/llama_tool_call_parser.py137 def parse_tool_calls_streaming(CODE
LOWpython/openai/tests/conftest.py70def infer_test_model_repository(backend, tool_call_parser):CODE
LOWpython/openai/tests/conftest.py167def fastapi_client_class_scope(CODE
LOWpython/openai/tests/conftest.py187def pytest_collection_modifyitems(session, config, items):CODE
LOWpython/openai/tests/test_tool_calling.py152 def validate_tool_calls_present(CODE
LOWpython/openai/tests/test_tool_calling.py163 def validate_weather_tool_arguments(self, parsed_arguments: Dict):CODE
LOWpython/openai/tests/test_tool_calling.py172 def validate_weather_forcast_tool_arguments(self, parsed_arguments: Dict):CODE
LOWpython/openai/tests/test_tool_calling.py183 async def test_tool_call_and_choice(CODE
LOWpython/openai/tests/test_tool_calling.py298 async def test_tool_call_with_reply_response(CODE
LOWpython/openai/tests/test_tool_calling.py358 async def test_tool_call_with_named_tool_choice(CODE
LOWpython/openai/tests/test_tool_calling.py461 async def test_tool_call_with_required_tool_choice(CODE
LOWpython/openai/tests/test_tool_calling.py564 async def test_inconsistent_tool_choice_and_tools(CODE
LOW⚡python/openai/tests/test_tool_calling.py664 def test_truncated_when_tool_call_exceeds_limit(self, client):CODE
799 more matches not shown…
Empty Error Handlers127 hits · 635 pts
SeverityFileLineSnippetContext
HIGHbuild.py129except (OSError, ValueError, IndexError):CODE
HIGHbuild.py252except TypeError:CODE
HIGHqa/L0_http/http_request_many_chunks.py84except (BrokenPipeError, ConnectionResetError):CODE
HIGHqa/L0_client_nobatch/client_test.py91except InferenceServerException as ex:CODE
HIGHqa/L0_client_nobatch/client_test.py143except InferenceServerException as ex:CODE
HIGHqa/common/gen_qa_trt_plugin_models.py176except OSError:CODE
HIGHqa/common/gen_qa_trt_plugin_models.py244except OSError:CODE
HIGHqa/common/gen_qa_ort_scalar_models.py69except OSError:CODE
HIGHqa/common/gen_qa_ort_scalar_models.py104except OSError:CODE
HIGHqa/common/gen_qa_ragged_models.py133except OSError:CODE
HIGHqa/common/gen_qa_ragged_models.py265except OSError:CODE
HIGHqa/common/gen_qa_ragged_models.py328except OSError:CODE
HIGHqa/common/gen_qa_ragged_models.py406except OSError:CODE
HIGHqa/common/gen_qa_ragged_models.py459except OSError:CODE
HIGHqa/common/gen_qa_ragged_models.py509except OSError:CODE
HIGHqa/common/gen_qa_ragged_models.py545except OSError:CODE
HIGHqa/common/gen_qa_ragged_models.py603except OSError:CODE
HIGHqa/common/gen_qa_dyna_sequence_models.py110except AttributeError:CODE
HIGHqa/common/gen_qa_dyna_sequence_models.py117except AttributeError:CODE
HIGHqa/common/gen_qa_dyna_sequence_models.py124except AttributeError:CODE
HIGHqa/common/gen_qa_dyna_sequence_models.py213except OSError:CODE
HIGHqa/common/gen_qa_dyna_sequence_models.py323except OSError:CODE
HIGHqa/common/gen_qa_dyna_sequence_models.py375except AttributeError:CODE
HIGHqa/common/gen_qa_dyna_sequence_models.py468except OSError:CODE
HIGHqa/common/gen_qa_dyna_sequence_models.py702except OSError:CODE
HIGHqa/common/gen_qa_dyna_sequence_models.py796except OSError:CODE
HIGHqa/common/gen_qa_dyna_sequence_models.py892except OSError:CODE
HIGHqa/common/gen_qa_dyna_sequence_models.py937except OSError:CODE
HIGHqa/common/gen_qa_dyna_sequence_models.py1035except OSError:CODE
HIGHqa/common/gen_qa_dyna_sequence_models.py1166except OSError:CODE
HIGHqa/common/gen_qa_sequence_models.py102except AttributeError:CODE
HIGHqa/common/gen_qa_sequence_models.py109except AttributeError:CODE
HIGHqa/common/gen_qa_sequence_models.py116except AttributeError:CODE
HIGHqa/common/gen_qa_sequence_models.py196except OSError:CODE
HIGHqa/common/gen_qa_sequence_models.py287except OSError:CODE
HIGHqa/common/gen_qa_sequence_models.py331except AttributeError:CODE
HIGHqa/common/gen_qa_sequence_models.py412except OSError:CODE
HIGHqa/common/gen_qa_sequence_models.py589except OSError:CODE
HIGHqa/common/gen_qa_sequence_models.py695except OSError:CODE
HIGHqa/common/gen_qa_sequence_models.py772except OSError:CODE
HIGHqa/common/gen_qa_sequence_models.py825except OSError:CODE
HIGHqa/common/gen_qa_sequence_models.py909except OSError:CODE
HIGHqa/common/gen_qa_sequence_models.py1011except OSError:CODE
HIGHqa/common/gen_qa_trt_format_models.py193except OSError:CODE
HIGHqa/common/gen_qa_trt_format_models.py338except OSError:CODE
HIGHqa/common/gen_ensemble_model_utils.py1018except OSError:CODE
HIGHqa/common/gen_ensemble_model_utils.py1062except OSError:CODE
HIGHqa/common/gen_ensemble_model_utils.py1087except OSError:CODE
HIGHqa/common/gen_ensemble_model_utils.py764except OSError:CODE
HIGHqa/common/gen_ensemble_model_utils.py837except OSError:CODE
HIGHqa/common/gen_ensemble_model_utils.py870except OSError:CODE
HIGHqa/common/gen_ensemble_model_utils.py918except OSError:CODE
HIGHqa/common/gen_ensemble_model_utils.py940except OSError:CODE
HIGHqa/common/gen_ensemble_model_utils.py982except OSError:CODE
HIGHqa/common/gen_qa_torchtrt_models.py75except OSError:CODE
HIGHqa/common/gen_qa_torchtrt_models.py110except OSError:CODE
HIGHqa/common/gen_archive.py366except OSError:CODE
HIGHqa/common/gen_qa_implicit_models.py255except OSError:CODE
HIGHqa/common/gen_qa_implicit_models.py369except OSError:CODE
HIGHqa/common/gen_qa_implicit_models.py445except OSError:CODE
67 more matches not shown…
Excessive Try-Catch Wrapping324 hits · 272 pts
SeverityFileLineSnippetContext
LOWbuild.py102 except Exception:CODE
LOWcompose.py41 except Exception:CODE
LOW…penai_frontend/frontend/fastapi/routers/completions.py61 except Exception as e:CODE
LOW…penai/openai_frontend/frontend/fastapi/routers/chat.py62 except Exception as e:CODE
LOW…openai_frontend/frontend/fastapi/routers/embeddings.py59 except Exception as e:CODE
LOW…_frontend/frontend/fastapi/routers/model_management.py59 except Exception as e:CODE
LOW…_frontend/frontend/fastapi/routers/model_management.py88 except Exception as e:CODE
LOWpython/openai/openai_frontend/engine/triton_engine.py681 except Exception:CODE
LOWpython/openai/openai_frontend/engine/triton_engine.py705 except Exception:CODE
LOWpython/openai/openai_frontend/engine/utils/triton.py700 except Exception:CODE
LOWpython/openai/openai_frontend/engine/utils/triton.py726 except Exception as e:CODE
LOW…ne/utils/tool_call_parsers/mistral_tool_call_parser.py138 except Exception:CODE
LOW…ne/utils/tool_call_parsers/mistral_tool_call_parser.py317 except Exception:CODE
LOW…gine/utils/tool_call_parsers/llama_tool_call_parser.py131 except Exception as e:CODE
LOW…gine/utils/tool_call_parsers/llama_tool_call_parser.py288 except Exception:CODE
LOWpython/openai/tests/utils.py151 except Exception as err:CODE
LOWpython/openai/tests/test_lora.py134 except Exception as e:CODE
MEDIUMpython/openai/tests/test_lora.py45def is_vllm_installed():CODE
LOW…ploy/mlflow-triton-plugin/mlflow_triton/deployments.py481 except Exception as e:STRING
MEDIUMqa/L0_lifecycle/lifecycle_test.py93def _infer_success_identity(self, model_base, versions, tensor_dtype, tensor_shaCODE
MEDIUMqa/L0_lifecycle/lifecycle_test.py134def _async_load(self, model_name, use_grpc):CODE
LOW⚡qa/L0_lifecycle/lifecycle_test.py453 except Exception as ex:CODE
LOW⚡qa/L0_lifecycle/lifecycle_test.py461 except Exception as ex:CODE
LOW⚡qa/L0_lifecycle/lifecycle_test.py1538 except Exception as ex:CODE
LOW⚡qa/L0_lifecycle/lifecycle_test.py1548 except Exception as ex:CODE
LOW⚡qa/L0_lifecycle/lifecycle_test.py1558 except Exception as ex:CODE
LOW⚡qa/L0_lifecycle/lifecycle_test.py2175 except Exception as ex:CODE
LOW⚡qa/L0_lifecycle/lifecycle_test.py2185 except Exception as ex:CODE
LOW⚡qa/L0_lifecycle/lifecycle_test.py2195 except Exception as ex:CODE
LOW⚡qa/L0_lifecycle/lifecycle_test.py2863 except Exception as ex:CODE
LOW⚡qa/L0_lifecycle/lifecycle_test.py2873 except Exception as ex:CODE
LOW⚡qa/L0_lifecycle/lifecycle_test.py2882 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py90 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py120 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py138 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py193 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py202 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py230 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py256 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py265 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py293 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py321 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py345 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py365 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py375 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py391 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py411 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py426 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py483 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py498 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py517 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py532 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py555 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py573 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py588 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py631 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py649 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py667 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py714 except Exception as ex:CODE
LOWqa/L0_lifecycle/lifecycle_test.py732 except Exception as ex:CODE
264 more matches not shown…
Self-Referential Comments110 hits · 266 pts
SeverityFileLineSnippetContext
MEDIUM⚡build.py1413# Create a user that can be used to run triton asCOMMENT
MEDIUM⚡python/openai/openai_frontend/engine/utils/triton.py284 # Create a ctypes string bufferCOMMENT
MEDIUMqa/L0_nan_inf/models/nan_inf_output/1/model.py38 """This function is called on inference request."""STRING
MEDIUMqa/L0_lifecycle/lifecycle_test.py1830 # Create a new version for reloadCOMMENT
MEDIUMqa/L0_model_namespacing/python_subadd/__init__.py97 """This function is called on inference request."""STRING
MEDIUMqa/L0_model_namespacing/python_addsub/__init__.py97 """This function is called on inference request."""STRING
MEDIUMqa/L0_http/test.sh253# Create a password file with username:passwordCOMMENT
MEDIUM…on/decoupled/models/decoupled_execute_error/1/model.py63 """This function is called on inference request."""STRING
MEDIUM…ython/decoupled/models/decoupled_bls_stream/1/model.py60 """This function is called on inference request."""STRING
MEDIUM…ckend_python/decoupled/models/decoupled_bls/1/model.py77 """This function is called on inference request."""STRING
MEDIUMqa/L0_sequence_batcher/test.sh282 # Create the input_state_data file.COMMENT
MEDIUM⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py199 # Create a valid cuda shared memory region, fill data in it and registerCOMMENT
MEDIUM⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py215 # Create a valid cuda shared memory region and unregister before registerCOMMENT
MEDIUM⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py226 # Create a valid cuda shared memory region and unregister after registerCOMMENT
MEDIUM⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py240 # Create a valid cuda shared memory region and unregister after registerCOMMENT
MEDIUMqa/L0_perf_resnet/test.sh94# Create the TensorRT plan from ONNX modelCOMMENT
MEDIUMqa/L0_perf_resnet/test.sh156# Create the TensorRT plan from ONNX modelCOMMENT
MEDIUMqa/L0_trace/trace_stress_grpc_client.py61 # Define the callback function. Note the last two parameters should beCOMMENT
MEDIUMqa/L0_trace/models/input_all_required/1/model.py39 """This function is called on inference request."""STRING
MEDIUMqa/L0_string_io/string_client_test.py103 # Create the data for the input tensor. Initialize the tensor to 8COMMENT
MEDIUMqa/L0_nullchar_string/nullchar_string_client.py77 # Create the inference context for the model.COMMENT
MEDIUMqa/L0_nullchar_string/nullchar_string_client.py85 # Create the data for the input tensor. It contains a null character inCOMMENT
MEDIUMqa/L0_sequence_stress/sequence_stress.py182 # Create a variable length sequence with "start" and "end" flags.COMMENT
MEDIUMqa/L0_sequence_stress/sequence_stress.py305 # Create a sequence without a "start" flag. Sequence should get anCOMMENT
MEDIUMqa/L0_sequence_stress/sequence_stress.py344 # Create a variable length sequence with "start" flag but thatCOMMENT
MEDIUMqa/L0_sequence_stress/sequence_stress.py609 # Create the seed for the thread. Since these are created inCOMMENT
MEDIUMqa/L0_libtorch_io_names/io_names_client.py46 # Create the data for the two inputs. Initialize the first to uniqueCOMMENT
MEDIUMqa/python_models/add_sub/model.py48 """This function is called on inference request."""STRING
MEDIUMqa/python_models/cuda_memory_consumer/1/model.py63 """This function is called on inference request."""STRING
MEDIUMqa/python_models/string_identity/model.py41 """This function is called on inference request."""STRING
MEDIUMqa/python_models/request_rescheduling_addsub/model.py49 """This function is called on inference request."""STRING
MEDIUMqa/python_models/sub_add/model.py51 """This function is called on inference request."""STRING
MEDIUMqa/python_models/execute_error/model.py32 """This function is called on inference request."""STRING
MEDIUMqa/python_models/execute_grpc_error/model.py36 """This function is called on inference request."""STRING
MEDIUMqa/python_models/python_version/model.py61 """This function is called on inference request."""STRING
MEDIUMqa/python_models/auto_complete/model.py63 """This function is called on inference request."""STRING
MEDIUM…_models/python_based_backends/add_sub_backend/model.py38 """This function is called only once when loading the model assumingSTRING
MEDIUM…_models/python_based_backends/add_sub_backend/model.py125 """This function is called when an inference request is madeSTRING
MEDIUMqa/L0_grpc/test.sh407# Create a password file with username:passwordCOMMENT
MEDIUMqa/L0_perf_deeprecommender/test.sh56# Create the TensorRT plan from ONNXCOMMENT
MEDIUMqa/L0_perf_deeprecommender/test.sh125# Create the TensorRT plan from ONNXCOMMENT
MEDIUMqa/common/libtorch_infer_client.py61 # Create the data for the two input tensors. Initialize the firstCOMMENT
MEDIUMqa/common/gen_qa_ort_scalar_models.py42 # Create the modelCOMMENT
MEDIUMqa/common/gen_qa_ort_scalar_models.py76 # Create the modelCOMMENT
MEDIUMqa/common/gen_qa_ragged_models.py164 # Create the modelCOMMENT
MEDIUMqa/common/gen_qa_ragged_models.py293 # Create the modelCOMMENT
MEDIUMqa/common/gen_qa_ragged_models.py475 # Create the modelSTRING
MEDIUMqa/common/gen_qa_ragged_models.py522 # Create the modelSTRING
MEDIUMqa/common/gen_qa_dyna_sequence_models.py222 # Create the model. For now don't implement a proper accumulatorCOMMENT
MEDIUMqa/common/gen_qa_dyna_sequence_models.py334 # Create the model. For now don't implement a proper accumulatorCOMMENT
MEDIUMqa/common/gen_qa_dyna_sequence_models.py718 # Create the model. For now don't implement a proper accumulatorSTRING
MEDIUMqa/common/gen_qa_sequence_models.py205 # Create the model. For now don't implement a proper accumulatorCOMMENT
MEDIUMqa/common/gen_qa_sequence_models.py298 # Create the model. For now don't implement a proper accumulatorCOMMENT
MEDIUMqa/common/gen_qa_sequence_models.py605 # Create the model. For now don't implement a proper accumulatorSTRING
MEDIUMqa/common/gen_qa_trt_format_models.py84 # Create the modelCOMMENT
MEDIUMqa/common/gen_qa_identity_models.py92 # Create the modelCOMMENT
MEDIUMqa/common/gen_qa_identity_models.py181 # Create the modelCOMMENT
MEDIUMqa/common/gen_qa_identity_models.py424 # Create the modelSTRING
MEDIUMqa/common/gen_qa_identity_models.py533 # Create the modelSTRING
MEDIUMqa/common/gen_qa_identity_models.py764 # Create the modelSTRING
50 more matches not shown…
Deep Nesting147 hits · 126 pts
SeverityFileLineSnippetContext
LOWbuild.py120CODE
LOWbuild.py564CODE
LOWpython/openai/openai_frontend/engine/utils/triton.py357CODE
LOWpython/openai/openai_frontend/engine/utils/triton.py648CODE
LOW…ne/utils/tool_call_parsers/mistral_tool_call_parser.py144CODE
LOW…gine/utils/tool_call_parsers/llama_tool_call_parser.py137CODE
LOWpython/openai/tests/conftest.py187CODE
LOWpython/openai/tests/conftest.py188CODE
LOWpython/openai/tests/test_tool_calling.py630CODE
LOWpython/openai/tests/test_models/mock_llm/1/model.py73CODE
LOW…ploy/mlflow-triton-plugin/mlflow_triton/deployments.py186CODE
LOW…ploy/mlflow-triton-plugin/mlflow_triton/deployments.py240CODE
LOW…ploy/mlflow-triton-plugin/mlflow_triton/deployments.py335CODE
LOW…ploy/mlflow-triton-plugin/mlflow_triton/deployments.py407CODE
LOWqa/L0_trt_reformat_free/trt_reformat_free_test.py47CODE
LOWqa/L0_lifecycle/lifecycle_test.py58CODE
LOWqa/L0_lifecycle/lifecycle_test.py3013CODE
LOWqa/L0_lifecycle/lifecycle_test.py3176CODE
LOWqa/L0_request_cancellation/cancellation_test_utils.py146CODE
LOWqa/L0_batcher/verify_timestamps.py34CODE
LOWqa/L0_http/http_test.py194CODE
LOWqa/L0_http/http_test.py416CODE
LOWqa/L0_http/http_request_many_chunks.py55CODE
LOW…equence_corrid_batcher/sequence_corrid_batcher_test.py87CODE
LOW…equence_corrid_batcher/sequence_corrid_batcher_test.py231CODE
LOWqa/L0_backend_python/python_test.py248CODE
LOWqa/L0_backend_python/python_test.py490CODE
LOWqa/L0_backend_python/decoupled/decoupled_test.py93CODE
LOWqa/L0_backend_python/decoupled/decoupled_test.py178CODE
LOW…ython/decoupled/models/decoupled_bls_stream/1/model.py77CODE
LOW…backend_python/response_sender/response_sender_test.py181CODE
LOWqa/L0_backend_python/io/io_test.py68CODE
LOWqa/L0_backend_python/io/requested_output_model/model.py70CODE
LOWqa/L0_backend_python/lifecycle/lifecycle_test.py93CODE
LOW…_backend_python/parameters/response_parameters_test.py48CODE
LOW…_python/model_readiness/test_models/readiness_model.py60CODE
LOWqa/L0_logging/log_format_test.py425CODE
LOWqa/L0_logging/log_format_test.py474CODE
LOWqa/L0_server_status/server_status_test.py45CODE
LOWqa/L0_server_status/server_status_test.py156CODE
LOWqa/L0_server_status/server_status_test.py314CODE
LOWqa/L0_server_status/server_status_test.py440CODE
LOWqa/L0_server_status/server_status_test.py515CODE
LOWqa/L0_server_status/server_status_test.py616CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py169CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py235CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py291CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py374CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py446CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py526CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py610CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py671CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py795CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py983CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py1166CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py1365CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py1561CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py1776CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py2013CODE
LOWqa/L0_sequence_batcher/sequence_batcher_test.py2262CODE
87 more matches not shown…
Cross-File Repetition19 hits · 95 pts
SeverityFileLineSnippetContext
HIGHqa/L0_vertex_ai/vertex_ai_test.py0inference-header-content-length value exceeding int_max triggers std::out_of_range in std::stoi. before the fix this craSTRING
HIGHqa/L0_sagemaker/sagemaker_test.py0inference-header-content-length value exceeding int_max triggers std::out_of_range in std::stoi. before the fix this craSTRING
HIGHqa/L0_http/http_test.py0inference-header-content-length value exceeding int_max triggers std::out_of_range in std::stoi. before the fix this craSTRING
HIGH…ython/decoupled/models/decoupled_bls_cancel/1/model.py0this model sends a decoupled bls inference request to 'response_sender_until_cancelled' model, and sums up its responsesSTRING
HIGH…/models/decoupled_bls_cancel_after_complete/1/model.py0this model sends a decoupled bls inference request to 'response_sender_until_cancelled' model, and sums up its responsesSTRING
HIGH…decoupled/models/decoupled_bls_async_cancel/1/model.py0this model sends a decoupled bls inference request to 'response_sender_until_cancelled' model, and sums up its responsesSTRING
HIGH…on/decoupled/models/decoupled_execute_error/1/model.py0the model `{}` can generate any number of responses per request, enable decoupled transaction policy in model configuratSTRING
HIGH…ython/decoupled/models/decoupled_bls_stream/1/model.py0the model `{}` can generate any number of responses per request, enable decoupled transaction policy in model configuratSTRING
HIGH…led/models/decoupled_send_after_close_error/1/model.py0the model `{}` can generate any number of responses per request, enable decoupled transaction policy in model configuratSTRING
HIGH…pled/models/decoupled_return_response_error/1/model.py0the model `{}` can generate any number of responses per request, enable decoupled transaction policy in model configuratSTRING
HIGH…ckend_python/decoupled/models/decoupled_bls/1/model.py0the model `{}` can generate any number of responses per request, enable decoupled transaction policy in model configuratSTRING
HIGHqa/python_models/dlpack_square/model.py0the model `{}` can generate any number of responses per request, enable decoupled transaction policy in model configuratSTRING
HIGHqa/python_models/iterative_sequence/model.py0the model `{}` can generate any number of responses per request, enable decoupled transaction policy in model configuratSTRING
HIGH…led/models/decoupled_send_after_close_error/1/model.py0tries to create a response sender object and use that for sending the response.STRING
HIGH…pled/models/decoupled_return_response_error/1/model.py0tries to create a response sender object and use that for sending the response.STRING
HIGHqa/python_models/response_sender_error/model.py0tries to create a response sender object and use that for sending the response.STRING
HIGHqa/common/gen_qa_trt_plugin_models.py0name: "{}" platform: "tensorrt_plan" max_batch_size: {} version_policy: {} input [ {{ name: "input0" data_type: {} dims:STRING
HIGHqa/common/gen_qa_trt_format_models.py0name: "{}" platform: "tensorrt_plan" max_batch_size: {} version_policy: {} input [ {{ name: "input0" data_type: {} dims:STRING
HIGHqa/common/gen_qa_models.py0name: "{}" platform: "tensorrt_plan" max_batch_size: {} version_policy: {} input [ {{ name: "input0" data_type: {} dims:STRING
Cross-Language Confusion14 hits · 90 pts
SeverityFileLineSnippetContext
HIGH⚡build.py1418RUN userdel tensorrt-server > /dev/null 2>&1 || true \\CODE
HIGH⚡build.py1419 && userdel ubuntu > /dev/null 2>&1 || true \\CODE
HIGHbuild.py1084 && (cd /tmp && tar xzf boost.tar.gz) \\CODE
HIGHbuild.py1142 "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \\CODE
HIGHbuild.py1198 && (cd /tmp && tar xzf boost.tar.gz) \\CODE
HIGHbuild.py1219 && apt-get install -y --no-install-recommends ccache && ccache -p \\CODE
HIGHbuild.py1568RUN dirname $(find /usr -name "libcudart*.so" -o -name "libnvinf*.so" -o -name "libnvshm*" -type f) | sort -u > /etc/lCODE
HIGH⚡qa/L0_sequence_batcher/sequence_batcher_test.py3054 # execution to be a batch of 'null, seq 2'. The second execution shouldCOMMENT
HIGH⚡qa/L0_sequence_batcher/sequence_batcher_test.py3165 # execution to be a batch of 'null, seq 2'. Both executions should beCOMMENT
HIGHqa/L0_sequence_batcher/sequence_batcher_test.py2943 # execution to be a batch of 'null, seq 2'. The executions should not beCOMMENT
HIGHqa/common/gen_qa_model_repository.py708 " rm -rf build && mkdir build && cd build && cmake .. &&"CODE
HIGHqa/common/gen_qa_model_repository.py829 + " --format=csv || true",CODE
HIGHqa/common/gen_qa_model_repository.py830 "nvidia-smi || true",CODE
HIGHqa/common/gen_qa_model_repository.py850 " --summary {root}/manifest-summary.json || true".format(CODE
Decorative Section Separators27 hits · 81 pts
SeverityFileLineSnippetContext
MEDIUMqa/L0_trace/test.sh214#=======================================COMMENT
MEDIUMqa/common/gen_manifest.py191# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_manifest.py193# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_manifest.py222# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_manifest.py224# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_manifest.py278# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_manifest.py280# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_manifest.py318# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_manifest.py320# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_manifest.py798# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_manifest.py800# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_manifest.py997# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_manifest.py999# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_manifest.py1197# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_manifest.py1199# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_qa_model_repository.py187# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_qa_model_repository.py189# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_qa_model_repository.py220# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_qa_model_repository.py222# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_qa_model_repository.py741# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_qa_model_repository.py743# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_qa_model_repository.py887# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_qa_model_repository.py889# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_qa_model_repository.py1253# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_qa_model_repository.py1255# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_qa_model_repository.py1744# --------------------------------------------------------------------------COMMENT
MEDIUMqa/common/gen_qa_model_repository.py1746# --------------------------------------------------------------------------COMMENT
Unused Imports60 hits · 60 pts
SeverityFileLineSnippetContext
LOW…on/openai/openai_frontend/frontend/fastapi_frontend.py27CODE
LOWpython/openai/openai_frontend/frontend/frontend.py27CODE
LOWpython/openai/openai_frontend/schemas/openai.py31CODE
LOWpython/openai/openai_frontend/engine/engine.py28CODE
LOWpython/openai/openai_frontend/engine/triton_engine.py28CODE
LOW…ai_frontend/engine/utils/tool_call_parsers/__init__.py31CODE
LOW…ai_frontend/engine/utils/tool_call_parsers/__init__.py32CODE
LOW…ai_frontend/engine/utils/tool_call_parsers/__init__.py33CODE
LOW…ai_frontend/engine/utils/tool_call_parsers/__init__.py33CODE
LOWpython/openai/tests/test_lora.py47CODE
LOWqa/L0_rate_limiter/rate_limiter_test.py42CODE
LOW…no_duplication/subadd_repo/composing_subadd/1/model.py6CODE
LOW…no_duplication/addsub_repo/composing_addsub/1/model.py6CODE
LOW…le_duplication/subadd_repo/composing_subadd/1/model.py6CODE
LOW…le_duplication/addsub_repo/composing_addsub/1/model.py6CODE
LOW…amic_resolution/subadd_repo/composing_model/1/model.py6CODE
LOW…amic_resolution/addsub_repo/composing_model/1/model.py6CODE
LOW…est_duplication/subadd_repo/composing_model/1/model.py6CODE
LOW…est_duplication/addsub_repo/composing_model/1/model.py6CODE
LOWqa/L0_http/python_http_aio_test.py31CODE
LOWqa/L0_backend_python/test_infer_shm_leak.py34CODE
LOWqa/L0_backend_python/test_infer_shm_leak.py39CODE
LOWqa/L0_backend_python/python_test.py41CODE
LOWqa/L0_backend_python/ensemble/ensemble_test.py39CODE
LOWqa/L0_backend_python/decoupled/decoupled_test.py42CODE
LOW…/models/decoupled_bls_cancel_after_complete/1/model.py26CODE
LOW…decoupled/models/decoupled_bls_async_cancel/1/model.py26CODE
LOWqa/L0_backend_python/io/io_test.py42CODE
LOWqa/L0_backend_python/lifecycle/lifecycle_test.py47CODE
LOWqa/L0_backend_python/restart/restart_test.py39CODE
LOW…/L0_backend_python/model_control/model_control_test.py42CODE
LOW…on/python_based_backends/python_based_backends_test.py34CODE
LOWqa/L0_backend_python/logging/logging_test.py38CODE
LOWqa/L0_server_status/server_status_test.py41CODE
LOWqa/L0_http_fuzz/fuzztest.py39CODE
LOWqa/L0_cuda_shared_memory/cuda_shared_memory_test.py46CODE
LOWqa/L0_pytorch_python_runtime/infer.py35CODE
LOWqa/L0_model_queue/model_queue_test.py38CODE
LOWqa/L0_grpc/python_grpc_aio_test.py31CODE
LOWqa/L0_response_cache/ensemble_cache_test.py40CODE
LOWqa/common/sequence_util.py41CODE
LOWqa/common/shm_util.py32CODE
LOWqa/common/shm_util.py41CODE
LOWqa/common/infer_util.py42CODE
LOWqa/L0_metrics/pinned_memory_metrics_test.py37CODE
LOWqa/L0_long_running_stress/stress.py31CODE
LOWqa/L0_model_config/compare_status.py38CODE
LOWdocs/conf.py50CODE
LOWdocs/conf.py51CODE
LOWdocs/conf.py53CODE
LOWsrc/python/tritonfrontend/__init__.py29CODE
LOWsrc/python/tritonfrontend/__init__.py30CODE
LOWsrc/python/tritonfrontend/__init__.py30CODE
LOWsrc/python/tritonfrontend/__init__.py33CODE
LOWsrc/python/tritonfrontend/__init__.py39CODE
LOWsrc/python/tritonfrontend/__init__.py45CODE
LOWsrc/python/tritonfrontend/_api/__init__.py28CODE
LOWsrc/python/tritonfrontend/_api/__init__.py35CODE
LOWsrc/python/tritonfrontend/_api/__init__.py42CODE
LOWsrc/python/tritonfrontend/_c/__init__.py27CODE
Fake / Example Data43 hits · 52 pts
SeverityFileLineSnippetContext
LOW⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py195 cshm.create_shared_memory_region("dummy_data", -1, 0)CODE
LOW⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py200 shm_op0_handle = cshm.create_shared_memory_region("dummy_data", 8, 0)CODE
LOW⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py205 "dummy_data", cshm.get_raw_handle(shm_op0_handle), 0, 8CODE
LOW⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py216 shm_op0_handle = cshm.create_shared_memory_region("dummy_data", 8, 0)CODE
LOW⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py217 self.triton_client.unregister_cuda_shared_memory("dummy_data")CODE
LOW⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py227 shm_op0_handle = cshm.create_shared_memory_region("dummy_data", 8, 0)CODE
LOW⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py229 "dummy_data", cshm.get_raw_handle(shm_op0_handle), 0, 8CODE
LOW⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py231 self.triton_client.unregister_cuda_shared_memory("dummy_data")CODE
LOW⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py241 shm_op0_handle = cshm.create_shared_memory_region("dummy_data", 8, 0)CODE
LOW⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py243 "dummy_data", cshm.get_raw_handle(shm_op0_handle), 0, 8CODE
LOW⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py247 "dummy_data", cshm.get_raw_handle(shm_op0_handle), 0, 8CODE
LOW⚡qa/L0_cuda_shared_memory/cuda_shared_memory_test.py251 "shared memory region 'dummy_data' already in manager", str(ex)CODE
LOWqa/L0_cuda_shared_memory/cuda_shared_memory_test.py159 shm_op0_handle = cshm.create_shared_memory_region("dummy_data", 8, 0)CODE
LOWqa/L0_cuda_shared_memory/cuda_shared_memory_test.py173 "dummy_data", cshm.get_raw_handle(shm_op0_handle), 0, 8CODE
LOWqa/L0_cuda_shared_memory/cuda_shared_memory_test.py180 self.triton_client.unregister_cuda_shared_memory("dummy_data")CODE
LOWqa/L0_parameters/parameters_test.py288 parameters = {reserved_key: "dummy-value"}CODE
LOW⚡qa/L0_parameters/parameters_test.py338 body, extra_headers={reserved_key: "dummy-value"}CODE
LOWqa/L0_parameters/parameters_test.py356 headers={reserved_key: "dummy-value"},CODE
LOWqa/L0_parameters/parameters_test.py363 headers={reserved_key: "dummy-value"},CODE
LOW⚡qa/L0_shared_memory/shared_memory_test.py186 shm.create_shared_memory_region("dummy_data", "/dummy_data", -1)CODE
LOW⚡qa/L0_shared_memory/shared_memory_test.py191 shm_op0_handle = shm.create_shared_memory_region("dummy_data", "/dummy_data", 8)CODE
LOW⚡qa/L0_shared_memory/shared_memory_test.py195 self.triton_client.register_system_shared_memory("dummy_data", "/dummy_data", 8)CODE
LOW⚡qa/L0_shared_memory/shared_memory_test.py205 shm_op0_handle = shm.create_shared_memory_region("dummy_data", "/dummy_data", 8)CODE
LOW⚡qa/L0_shared_memory/shared_memory_test.py206 self.triton_client.unregister_system_shared_memory("dummy_data")CODE
LOW⚡qa/L0_shared_memory/shared_memory_test.py216 shm_op0_handle = shm.create_shared_memory_region("dummy_data", "/dummy_data", 8)CODE
LOW⚡qa/L0_shared_memory/shared_memory_test.py217 self.triton_client.register_system_shared_memory("dummy_data", "/dummy_data", 8)CODE
LOW⚡qa/L0_shared_memory/shared_memory_test.py218 self.triton_client.unregister_system_shared_memory("dummy_data")CODE
LOW⚡qa/L0_shared_memory/shared_memory_test.py228 shm_op0_handle = shm.create_shared_memory_region("dummy_data", "/dummy_data", 8)CODE
LOW⚡qa/L0_shared_memory/shared_memory_test.py229 self.triton_client.register_system_shared_memory("dummy_data", "/dummy_data", 8)CODE
LOW⚡qa/L0_shared_memory/shared_memory_test.py232 "dummy_data", "/dummy_data", 8CODE
LOW⚡qa/L0_shared_memory/shared_memory_test.py236 "shared memory region 'dummy_data' already in manager", str(ex)CODE
LOWqa/L0_shared_memory/shared_memory_test.py151 shm_op0_handle = shm.create_shared_memory_region("dummy_data", "/dummy_data", 8)CODE
LOWqa/L0_shared_memory/shared_memory_test.py165 "dummy_data", "/dummy_data", 8CODE
LOWqa/L0_shared_memory/shared_memory_test.py172 self.triton_client.unregister_system_shared_memory("dummy_data")CODE
LOWqa/L0_storage_S3/test.sh97 aws configure set aws_access_key_id "dummy_id" && \CODE
LOWqa/L0_storage_S3/test.sh98 aws configure set aws_secret_access_key "dummy_key"CODE
LOWqa/L0_storage_S3/test.sh140 aws configure set aws_access_key_id "dummy_id" && \CODE
LOWqa/L0_storage_S3/test.sh141 aws configure set aws_secret_access_key "dummy_key"CODE
LOWqa/L0_storage_S3/test.sh199 aws configure set aws_access_key_id "dummy_id" && \CODE
LOWqa/L0_storage_S3/test.sh200 aws configure set aws_secret_access_key "dummy_key"CODE
LOW⚡qa/L0_client_timeout/client_non_infer_timeout_test.py305 "dummy_data", byte_size=byteSize, device_id=0CODE
LOW⚡qa/L0_client_timeout/client_non_infer_timeout_test.py310 "dummy_data",CODE
LOW⚡qa/L0_client_timeout/client_non_infer_timeout_test.py319 "dummy_data",CODE
Redundant / Tautological Comments35 hits · 50 pts
SeverityFileLineSnippetContext
LOW…rontend/frontend/fastapi/middleware/api_restriction.py193 # Check if the request matches any restricted patternsCOMMENT
LOWpython/openai/openai_frontend/engine/utils/triton.py639 # Check if the files existCOMMENT
LOWpython/openai/tests/test_chat_completions.py288 # Check if the number of words is around max_completion_tokensCOMMENT
LOW…ploy/mlflow-triton-plugin/mlflow_triton/deployments.py485 # Check if the deployment directory existsSTRING
LOW…ploy/mlflow-triton-plugin/mlflow_triton/deployments.py520 # Check if the model name is empty or only contains whitespace, tabs, or newlinesSTRING
LOWqa/L0_lifecycle/retry_model/1/model.py50 # Check if an special file has been created in the version directory,COMMENT
LOWqa/L0_batcher/queue_timeout_test.py81 # Check if the request has timed-outCOMMENT
LOWqa/L0_http/test.sh521# Check if the server is still working after the above bad requestsCOMMENT
LOW…equence_corrid_batcher/sequence_corrid_batcher_test.py236 # Check if the corrid data type matches the expected corrid data type specified in the model configCOMMENT
LOW…/L0_backend_python/model_control/model_control_test.py104 # Check if curl is availableCOMMENT
LOWqa/L0_backend_python/logging/test.sh107# Check if correct # log messages are present [ non-verbose-msg-cnt | verbose-msg-cnt ]COMMENT
LOWqa/L0_logging/test.sh125# Check if the current settings are returned [ file | info | warn | error | verbosity |format ]COMMENT
LOWqa/L0_logging/test.sh370# Check if the current settings are returned [ file | info | warn | error | verbosity |format ]COMMENT
LOWqa/L0_trace/test.sh232# Check if the current setting is returnedCOMMENT
LOWqa/L0_trace/test.sh292# Check if the current setting is returned (not specified setting from global)COMMENT
LOWqa/L0_trace/test.sh302# Check if the current setting is returned (not specified setting from global)COMMENT
LOWqa/L0_trace/test.sh386# Check if the current setting is returnedCOMMENT
LOWqa/L0_trace/test.sh417# Check if the current setting (global) is returnedCOMMENT
LOWqa/L0_trace/test.sh514# Check if the current setting is returnedCOMMENT
LOWqa/L0_trace/test.sh562# Check if the indexed file has been generated when trace count reaches 0COMMENT
LOWqa/L0_pytorch_python_runtime/test.sh168# Print result and exitCOMMENT
LOWqa/python_models/bls/model.py311 # Check if any of the threads had an exceptionCOMMENT
LOWqa/L0_cmdline_trace/test.sh469# Check if the traces are captured with proper hierarchyCOMMENT
LOWqa/L0_cmdline_trace/test.sh528# Check if the traces are captured with proper hierarchyCOMMENT
LOWqa/L0_response_cache/test.sh412 # Check if the JSON data file was generatedCOMMENT
LOWqa/common/check_copyright.py208 # Check if the copyright year line matches the regexSTRING
LOWqa/common/check_massif_log.py41 # Read the fileCOMMENT
LOWqa/L0_storage_S3_local/mock_s3_service.py109 # Print the resultCOMMENT
LOWqa/L0_simple_ensemble/ensemble_backpressure_test.py100 # Add response to list if it has data (not empty final-only response)COMMENT
LOWqa/L0_simple_ensemble/ensemble_backpressure_test.py104 # Check if this is the final responseCOMMENT
LOWqa/L0_metrics/test.sh192# Check if memory usage HAS reduced to 0 after using the --enable-peer-access flagCOMMENT
LOWqa/L0_infer/test.sh340 # Check if running a memory leak checkCOMMENT
LOWqa/L0_mlflow/plugin_test.py110 # Check if the additional files are properly copiedCOMMENT
LOWqa/L0_model_update/instance_update_test.py69 # Check if the test passed for this test case that is tearing downCOMMENT
LOWdocs/generate_docs.py230 # Check if target is valid for conversionCOMMENT
AI Slop Vocabulary20 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUMpython/openai/openai_frontend/engine/utils/triton.py303 # FIXME: This could be a bit more robust by reading byte size from firstCOMMENT
MEDIUM…ne/utils/tool_call_parsers/mistral_tool_call_parser.py220 # re-set stuff pertaining to progress in the current toolCOMMENT
MEDIUM…gine/utils/tool_call_parsers/llama_tool_call_parser.py221 # re-set stuff pertaining to progress in the current toolCOMMENT
MEDIUMqa/L0_lifecycle/test.sh1442# some more comprehensive fuzz attacks.COMMENT
MEDIUMqa/L0_trace/opentelemetry_unittest.py102 # Essentially, this is what will be injected to headers/metadataCOMMENT
MEDIUMqa/python_models/bls_request_rescheduling/model.py38 # TODO: Make this more robust to wait until fully unloadedCOMMENT
MEDIUMqa/python_models/bls_model_loading/model.py42 # TODO: Make this more robust to wait until fully unloadedCOMMENT
MEDIUMqa/L0_response_cache/test.sh119 # Redis >= 6.0 and is more comprehensive in what can be configured.COMMENT
MEDIUMqa/L0_torch_aoti_hstu/test.sh45# The CI harness runs this with `bash -ex`. The test checks exit codes itself andCOMMENT
MEDIUMqa/common/gen_qa_trt_plugin_models.py328 # Linux can leverage LD_PRELOAD. We must load the Windows plugin manuallySTRING
LOWqa/common/gen_qa_dyna_sequence_models.py223 # just return 0 if not-ready and 'INPUT'+'START'*('END'*'CORRID')COMMENT
LOWqa/common/gen_qa_dyna_sequence_models.py335 # just return 0 if not-ready and 'INPUT'+'START'*('END'*'CORRID')COMMENT
LOWqa/common/gen_qa_dyna_sequence_models.py719 # just return 0 if not-ready and 'INPUT'+'START'*('END'*'CORRID')STRING
LOWqa/common/gen_qa_sequence_models.py206 # just return 0 if not-ready and 'INPUT'+'START' otherwise... theCOMMENT
LOWqa/common/gen_qa_sequence_models.py299 # just return 0 if not-ready and 'INPUT'+'START' otherwise... theCOMMENT
LOWqa/common/gen_qa_sequence_models.py606 # just return 0 if not-ready and 'INPUT'+'START' otherwise... theSTRING
LOWqa/common/gen_qa_dyna_sequence_implicit_models.py55 # just return 0 if not-ready and 'INPUT'+'START'*('END'*'CORRID')COMMENT
MEDIUMqa/L0_metrics/metrics_queue_size_test.py281 # is less comprehensive on checking exact queue values, and just verifiesCOMMENT
LOWqa/L0_metrics/test.sh382# Don't use special debug env var for this, just set sufficient parameters forCOMMENT
MEDIUMqa/L0_model_config/test.sh79 # load the files provided in the version directory. Essentially,COMMENT
AI Structural Patterns21 hits · 18 pts
SeverityFileLineSnippetContext
LOWpython/openai/tests/test_openai_restricted_apis.py102CODE
LOWpython/openai/tests/test_openai_restricted_apis.py124CODE
LOWpython/openai/tests/test_openai_restricted_apis.py142CODE
LOWqa/L0_lifecycle/lifecycle_test.py3142CODE
LOWqa/L0_cuda_shared_memory/cuda_shared_memory_test.py742CODE
LOWqa/L0_storage_swiftstack/infer_test.py44CODE
LOWqa/L0_decoupled/decoupled_test.py246CODE
LOWqa/python_models/pytorch_fp32_fp32/model.py57CODE
LOWqa/python_models/response_sender/model_common.py114CODE
LOWqa/common/gen_ensemble_model_utils.py50CODE
LOWqa/common/gen_manifest.py803CODE
LOWqa/common/gen_manifest.py1039CODE
LOWqa/common/gen_qa_models.py1528CODE
LOWqa/common/infer_test.py51CODE
LOWqa/common/infer_util.py99CODE
LOWqa/common/infer_util.py737CODE
LOWqa/common/infer_util.py1019CODE
LOWqa/common/infer_util.py1363CODE
LOWqa/L0_grpc_state_cleanup/cleanup_test.py333CODE
LOWqa/L0_infer_variable/infer_variable_test.py59CODE
LOWqa/L0_infer/infer_test.py97CODE
Structural Annotation Overuse8 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡README.md92# Step 1: Create the example model repositoryCOMMENT
LOW⚡README.md97# Step 2: Launch triton from the NGC Triton containerCOMMENT
LOW⚡README.md100# Step 3: Sending an Inference RequestCOMMENT
LOWqa/python_models/identity_bf16/model.py83 # NOTE: The following helper function is for testing and exampleCOMMENT
LOWqa/L0_simple_ensemble/test.sh434# Step 1 - decoupled_producer (batch size 2)COMMENT
LOW…ials/Feature_Guide/Speculative_Decoding/vLLM/README.md166### Step 1: Launch ContainerCOMMENT
LOW…ials/Feature_Guide/Speculative_Decoding/vLLM/README.md176### Step 2: Start Triton ServerCOMMENT
LOW…ials/Feature_Guide/Speculative_Decoding/vLLM/README.md193### Step 3: Send Inference RequestsCOMMENT
AI Response Leakage1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdeploy/gke-marketplace-app/README.md59Users need to follow these [instructions](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accoCODE
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOWpython/openai/openai_frontend/engine/triton_engine.py102logger = logging.getLogger(__name__)CODE
LOW…ai_frontend/engine/utils/tool_call_parsers/__init__.py35__all__ = [CODE
LOW…ploy/mlflow-triton-plugin/mlflow_triton/deployments.py50logger = logging.getLogger(__name__)CODE