Repository Analysis

roboflow/inference

Turn any computer or edge device into a command center for your computer vision projects.

21.7 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of roboflow/inference, a Python project with 2,428 GitHub stars. SynthScan v2.0 examined 868,085 lines of code across 3704 source files, recording 16224 pattern matches distributed across 25 syntactic categories. The overall adjusted score of 21.7 places this repository in the Moderate 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).

21.7
Adjusted Score
21.7
Raw Score
100%
Time Factor
2026-08-28
Last Push
2.4K
Stars
Python
Language
868.1K
Lines of Code
3.7K
Files
16.2K
Pattern Hits
2026-08-29
Scan Date
0.16
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 55HIGH 535MEDIUM 630LOW 15004

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 16224 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

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

Hyper-Verbose Identifiers12726 hits · 11272 pts
SeverityFileLineSnippetContext
LOWinference_sdk/config.py93 def snapshot_cold_start_entries(self) -> list:CODE
LOWinference_sdk/config.py97 def snapshot_cold_start_total_load_time(self) -> float:CODE
LOWinference_sdk/config.py101 def snapshot_cold_start_count(self) -> int:CODE
LOWinference_sdk/regions.py88def resolve_roboflow_service_url(CODE
LOWinference_sdk/http/client.py109def _warn_about_default_api_key_transport_once() -> None:CODE
LOWinference_sdk/http/client.py144def _collect_processing_time_from_response(CODE
LOWinference_sdk/http/client.py593 def _execute_infer_from_api_request(CODE
LOWinference_sdk/http/client.py921 async def get_model_description_async(CODE
LOWinference_sdk/http/client.py1335 def get_clip_image_embeddings(CODE
LOWinference_sdk/http/client.py1365 async def get_clip_image_embeddings_async(CODE
LOWinference_sdk/http/client.py1433 async def get_clip_text_embeddings_async(CODE
LOWinference_sdk/http/client.py1616 def get_perception_encoder_image_embeddings(CODE
LOWinference_sdk/http/client.py1633 def get_perception_encoder_text_embeddings(CODE
LOWinference_sdk/http/client.py2516 def _execute_workflow_request(CODE
LOWinference_sdk/http/client.py2643 async def infer_from_yolo_world_async(CODE
LOWinference_sdk/http/client.py2702 def start_inference_pipeline_with_workflow(CODE
LOWinference_sdk/http/client.py2832 def get_inference_pipeline_status(self, pipeline_id: str) -> dict:CODE
LOWinference_sdk/http/client.py2891 def resume_inference_pipeline(self, pipeline_id: str) -> dict:CODE
LOWinference_sdk/http/client.py2922 def terminate_inference_pipeline(self, pipeline_id: str) -> dict:CODE
LOWinference_sdk/http/client.py2953 def consume_inference_pipeline_result(CODE
LOWinference_sdk/http/client.py2988 def _ensure_pipeline_id_not_empty(self, pipeline_id: str) -> None:CODE
LOWinference_sdk/http/client.py3063 def __warn_if_webrtc_transport_is_stale(self) -> None:CODE
LOWinference_sdk/http/client.py3087 def __resolved_api_key_transport(self) -> ApiKeyTransport:CODE
LOWinference_sdk/http/client.py3164def _determine_client_downsizing_parameters(CODE
LOWinference_sdk/http/client.py3186def _ensure_model_is_selected(model_id: Optional[str]) -> None:CODE
LOWinference_sdk/http/entities.py231 def to_billing_query_parameters(self) -> Optional[Dict[str, Any]]:CODE
LOWinference_sdk/http/entities.py268 def to_object_detection_parameters(self) -> Dict[str, Any]:CODE
LOWinference_sdk/http/entities.py299 def to_keypoints_detection_parameters(self) -> Dict[str, Any]:CODE
LOWinference_sdk/http/entities.py309 def to_instance_segmentation_parameters(self) -> Dict[str, Any]:CODE
LOWinference_sdk/http/entities.py325 def to_classification_parameters(self) -> Dict[str, Any]:CODE
LOWinference_sdk/http/entities.py349 def to_legacy_call_parameters(self) -> Dict[str, Any]:CODE
LOWinference_sdk/http/utils/profilling.py7def save_workflows_profiler_trace(CODE
LOWinference_sdk/http/utils/loaders.py27def load_stream_inference_input(CODE
LOWinference_sdk/http/utils/loaders.py48def load_directory_inference_input(CODE
LOWinference_sdk/http/utils/loaders.py74def load_nested_batches_of_inference_input(CODE
LOWinference_sdk/http/utils/loaders.py107def load_static_inference_input(CODE
LOWinference_sdk/http/utils/loaders.py158async def load_static_inference_input_async(CODE
LOWinference_sdk/http/utils/loaders.py255async def load_image_from_string_async(CODE
LOWinference_sdk/http/utils/loaders.py329async def load_image_from_url_async(CODE
LOWinference_sdk/http/utils/depth_maps.py14def warn_depth_map_json_format_deprecated() -> None:CODE
LOWinference_sdk/http/utils/depth_maps.py34def decode_png_normalized_depth(payload: str) -> np.ndarray:CODE
LOWinference_sdk/http/utils/depth_maps.py51def decode_depth_estimation_result(CODE
LOWinference_sdk/http/utils/aliases.py197def resolve_roboflow_model_alias(model_id: str) -> str:CODE
LOWinference_sdk/http/utils/executors.py55def execute_requests_packages(CODE
LOWinference_sdk/http/utils/executors.py89def _extract_model_id_from_request_data(request_data: RequestData) -> str:CODE
LOWinference_sdk/http/utils/executors.py103def _extract_model_ids_from_headers(CODE
LOWinference_sdk/http/utils/executors.py128def _parse_model_load_details(CODE
LOWinference_sdk/http/utils/executors.py151def _collect_remote_processing_times(CODE
LOWinference_sdk/http/utils/executors.py170def collect_remote_processing_metadata_from_response(CODE
LOWinference_sdk/http/utils/executors.py180def collect_remote_processing_metadata_from_headers(CODE
LOWinference_sdk/http/utils/executors.py242def _extract_cold_start_count_from_headers(headers: Mapping[str, str]) -> int:CODE
LOWinference_sdk/http/utils/executors.py314def _get_thread_local_requests_session() -> requests.Session:CODE
LOWinference_sdk/http/utils/executors.py322def _reset_thread_local_requests_session() -> None:CODE
LOWinference_sdk/http/utils/executors.py373async def execute_requests_packages_async(CODE
LOWinference_sdk/http/utils/executors.py402async def make_parallel_requests_async(CODE
LOWinference_sdk/http/utils/executors.py509def response_is_not_retryable_error(response: ClientResponse) -> bool:CODE
LOWinference_sdk/http/utils/post_processing.py78def decode_workflow_output_list(CODE
LOWinference_sdk/http/utils/post_processing.py123def decode_workflow_output_image(CODE
LOWinference_sdk/http/utils/post_processing.py144def response_contains_jpeg_image(response: Response) -> bool:CODE
LOWinference_sdk/http/utils/post_processing.py182def transform_visualisation_bytes(CODE
12666 more matches not shown…
Decorative Section Separators525 hits · 1952 pts
SeverityFileLineSnippetContext
MEDIUMinference_sdk/http/utils/url_utils.py86# ---------------------------------------------------------------------------COMMENT
MEDIUMinference_sdk/http/utils/url_utils.py88# ---------------------------------------------------------------------------COMMENT
MEDIUMinference_sdk/http/utils/url_utils.py134# ---------------------------------------------------------------------------COMMENT
MEDIUMinference_sdk/http/utils/url_utils.py136# ---------------------------------------------------------------------------COMMENT
MEDIUMinference_sdk/http/utils/url_utils.py199# ---------------------------------------------------------------------------COMMENT
MEDIUMinference_sdk/http/utils/url_utils.py201# ---------------------------------------------------------------------------COMMENT
MEDIUMinference_sdk/http/utils/url_utils.py431# ---------------------------------------------------------------------------COMMENT
MEDIUMinference_sdk/http/utils/url_utils.py433# ---------------------------------------------------------------------------COMMENT
MEDIUMdevelopment/codex/setup.sh4# --------------------------COMMENT
MEDIUMdevelopment/codex/setup.sh6# --------------------------COMMENT
MEDIUMdevelopment/codex/setup.sh11# --------------------------COMMENT
MEDIUMdevelopment/codex/setup.sh13# --------------------------COMMENT
MEDIUM…arks/semantic_segmentation/benchmark_postprocessing.py83# --------------------------------------------------------------------------COMMENT
MEDIUM…arks/semantic_segmentation/benchmark_postprocessing.py88# --------------------------------------------------------------------------COMMENT
MEDIUM…arks/semantic_segmentation/benchmark_postprocessing.py170# --------------------------------------------------------------------------COMMENT
MEDIUM…arks/semantic_segmentation/benchmark_postprocessing.py172# --------------------------------------------------------------------------COMMENT
MEDIUM…arks/semantic_segmentation/benchmark_postprocessing.py266# --------------------------------------------------------------------------COMMENT
MEDIUM…arks/semantic_segmentation/benchmark_postprocessing.py268# --------------------------------------------------------------------------COMMENT
MEDIUM…arks/semantic_segmentation/benchmark_postprocessing.py419# --------------------------------------------------------------------------COMMENT
MEDIUM…arks/semantic_segmentation/benchmark_postprocessing.py421# --------------------------------------------------------------------------COMMENT
MEDIUM…development/profiling/profile_yolov8_trt_cudagraphs.py36 # ── Warmup ──────────────────────────────────────────────────────────COMMENT
MEDIUM…development/profiling/profile_yolov8_trt_cudagraphs.py44 # ── (1) Cycling batch sizes, no CUDA graphs ─────────────────────────COMMENT
MEDIUM…development/profiling/profile_yolov8_trt_cudagraphs.py54 # ── (2) Cycling batch sizes, CUDA graphs with forced recapture ──────COMMENT
MEDIUM…development/profiling/profile_yolov8_trt_cudagraphs.py68 # ── (3) Cycling batch sizes, CUDA graphs with normal caching ────────COMMENT
MEDIUM…development/profiling/profile_yolov8_trt_cudagraphs.py82 # ── Results ─────────────────────────────────────────────────────────COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py170# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py172# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py49# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py51# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py111# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py113# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py132# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py134# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py248# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py250# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py353# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py355# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py434# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py436# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py522# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py524# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py659# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py661# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py954# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py956# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py1036# ---------------------------------------------------------------------------COMMENT
MEDIUM…els/development/profiling/profile_cuda_memory_leaks.py1038# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/inference_models/models/common/hf_streaming_video.py78 # ------------------------------------------------------------------COMMENT
MEDIUM…s/inference_models/models/common/hf_streaming_video.py80 # ------------------------------------------------------------------COMMENT
MEDIUM…s/inference_models/models/common/hf_streaming_video.py126 # ------------------------------------------------------------------COMMENT
MEDIUM…s/inference_models/models/common/hf_streaming_video.py128 # ------------------------------------------------------------------COMMENT
MEDIUM…s/inference_models/models/common/hf_streaming_video.py160 # ------------------------------------------------------------------COMMENT
MEDIUM…s/inference_models/models/common/hf_streaming_video.py163 # ------------------------------------------------------------------COMMENT
MEDIUM…s/inference_models/models/common/hf_streaming_video.py305 # ------------------------------------------------------------------COMMENT
MEDIUM…s/inference_models/models/common/hf_streaming_video.py307 # ------------------------------------------------------------------COMMENT
MEDIUM…s/inference_models/models/common/hf_streaming_video.py339# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/inference_models/models/common/hf_streaming_video.py341# ---------------------------------------------------------------------------COMMENT
MEDIUM…odels/inference_models/models/rfdetr/ms_deform_attn.py1# ------------------------------------------------------------------------COMMENT
MEDIUM…odels/inference_models/models/rfdetr/ms_deform_attn.py5# ------------------------------------------------------------------------COMMENT
MEDIUM…odels/inference_models/models/rfdetr/ms_deform_attn.py8# ------------------------------------------------------------------------------------------------COMMENT
465 more matches not shown…
Cross-File Repetition355 hits · 1775 pts
SeverityFileLineSnippetContext
HIGH…models/inference_models/models/qwen25vl/qwen25vl_hf.py0use flash_attention_2 if available, otherwise eager. sdpa has dtype mismatch issues with some transformers versions.STRING
HIGH…e_models/inference_models/models/smolvlm/smolvlm_hf.py0use flash_attention_2 if available, otherwise eager. sdpa has dtype mismatch issues with some transformers versions.STRING
HIGH…e_models/inference_models/models/qwen3vl/qwen3vl_hf.py0use flash_attention_2 if available, otherwise eager. sdpa has dtype mismatch issues with some transformers versions.STRING
HIGH…dels/models/yolact/yolact_instance_segmentation_trt.py0`conf_thresh`: scalar applies to all classes; 1-d tensor of shape (num_classes,) indexed by class_id for per-class thresSTRING
HIGH…els/models/yolact/yolact_instance_segmentation_onnx.py0`conf_thresh`: scalar applies to all classes; 1-d tensor of shape (num_classes,) indexed by class_id for per-class thresSTRING
HIGHinference_models/inference_models/models/yolonas/nms.py0`conf_thresh`: scalar applies to all classes; 1-d tensor of shape (num_classes,) indexed by class_id for per-class thresSTRING
HIGHinference_models/inference_models/models/yolov5/nms.py0`conf_thresh`: scalar applies to all classes; 1-d tensor of shape (num_classes,) indexed by class_id for per-class thresSTRING
HIGH…rence_models/models/common/roboflow/post_processing.py0`conf_thresh`: scalar applies to all classes; 1-d tensor of shape (num_classes,) indexed by class_id for per-class thresSTRING
HIGH…dels/inference_models/models/optimization/contracts.py0return whether the scheduler supports the runtime context. args: context: runtime target and request context. returns: wSTRING
HIGH…ference_models/models/rfdetr/optimization/contracts.py0return whether the scheduler supports the runtime context. args: context: runtime target and request context. returns: wSTRING
HIGH…e_models/models/rfdetr/optimization/schedulers/base.py0return whether the scheduler supports the runtime context. args: context: runtime target and request context. returns: wSTRING
HIGH…ls/rfdetr/optimization/preprocessors/threaded_exact.py0return whether the base path supports the runtime context. args: context: runtime target and request context. returns: wSTRING
HIGH…/rfdetr/optimization/preprocessors/triton_universal.py0return whether the base path supports the runtime context. args: context: runtime target and request context. returns: wSTRING
HIGH…els/rfdetr/optimization/postprocessors/triton_fused.py0return whether the base path supports the runtime context. args: context: runtime target and request context. returns: wSTRING
HIGH…odels/models/rfdetr/optimization/preprocessors/base.py0return whether the base path supports the runtime context. args: context: runtime target and request context. returns: wSTRING
HIGH…dels/models/rfdetr/optimization/postprocessors/base.py0return whether the base path supports the runtime context. args: context: runtime target and request context. returns: wSTRING
HIGH…ests/models/test_resnet_classifier_predictions_onnx.py0baseline (see `test_multi_label_onnx_dynamic_bs_package_numpy` above) returns class_ids=[2] (class 2 at conf 0.968). setSTRING
HIGH…sts/models/test_resnet_classifier_predictions_torch.py0baseline (see `test_multi_label_onnx_dynamic_bs_package_numpy` above) returns class_ids=[2] (class 2 at conf 0.968). setSTRING
HIGH…_tests/models/test_vit_classifier_predictions_torch.py0baseline (see `test_multi_label_onnx_dynamic_bs_package_numpy` above) returns class_ids=[2] (class 2 at conf 0.968). setSTRING
HIGH…n_tests/models/test_vit_classifier_predictions_onnx.py0baseline (see `test_multi_label_onnx_dynamic_bs_package_numpy` above) returns class_ids=[2] (class 2 at conf 0.968). setSTRING
HIGH…tests/core_steps/formatters/vlm_as_detector/test_v1.py0{"bboxes": [[434.0, 30.848499298095703, 760.4000244140625, 530.4144897460938], [0.4000000059604645, 96.13949584960938, 5STRING
HIGH…ore_steps/formatters/vlm_as_detector/test_v1_tensor.py0{"bboxes": [[434.0, 30.848499298095703, 760.4000244140625, 530.4144897460938], [0.4000000059604645, 96.13949584960938, 5STRING
HIGH…tests/core_steps/formatters/vlm_as_detector/test_v2.py0{"bboxes": [[434.0, 30.848499298095703, 760.4000244140625, 530.4144897460938], [0.4000000059604645, 96.13949584960938, 5STRING
HIGH…ws/unit_tests/core_steps/trackers/sort/test_sort_v1.py0trackers are pass-through: output kinds must equal input kinds.STRING
HIGH…ts/core_steps/trackers/bytetrack/test_byte_track_v1.py0trackers are pass-through: output kinds must equal input kinds.STRING
HIGH…nit_tests/core_steps/trackers/ocsort/test_ocsort_v1.py0trackers are pass-through: output kinds must equal input kinds.STRING
HIGH…ion_tests/execution/test_workflow_with_llama_vision.py0in this example, gpt model is used as multi-label classifier. output from the model is parsed by special `roboflow_core/STRING
HIGH…on_tests/execution/test_workflow_with_gemini_models.py0in this example, gpt model is used as multi-label classifier. output from the model is parsed by special `roboflow_core/STRING
HIGH…on_tests/execution/test_workflow_with_claude_models.py0in this example, gpt model is used as multi-label classifier. output from the model is parsed by special `roboflow_core/STRING
HIGH…n_tests/execution/test_workflow_with_open_ai_models.py0in this example, gpt model is used as multi-label classifier. output from the model is parsed by special `roboflow_core/STRING
HIGH…ion_tests/execution/test_workflow_with_llama_vision.py0in this example, gpt model is expected to provide structured output in json, which can later be parsed by dedicated `robSTRING
HIGH…on_tests/execution/test_workflow_with_gemini_models.py0in this example, gpt model is expected to provide structured output in json, which can later be parsed by dedicated `robSTRING
HIGH…on_tests/execution/test_workflow_with_claude_models.py0in this example, gpt model is expected to provide structured output in json, which can later be parsed by dedicated `robSTRING
HIGH…n_tests/execution/test_workflow_with_open_ai_models.py0in this example, gpt model is expected to provide structured output in json, which can later be parsed by dedicated `robSTRING
HIGH…ion_tests/execution/test_workflow_with_llama_vision.py0in this example, gpt model is used as secondary classifier - first, yolo model detects dogs, then for each dog we run clSTRING
HIGH…on_tests/execution/test_workflow_with_gemini_models.py0in this example, gpt model is used as secondary classifier - first, yolo model detects dogs, then for each dog we run clSTRING
HIGH…on_tests/execution/test_workflow_with_claude_models.py0in this example, gpt model is used as secondary classifier - first, yolo model detects dogs, then for each dog we run clSTRING
HIGH…n_tests/execution/test_workflow_with_open_ai_models.py0in this example, gpt model is used as secondary classifier - first, yolo model detects dogs, then for each dog we run clSTRING
HIGH…ts/execution/test_workflow_with_custom_python_block.py0def run(self, predictions: batch[sv.detections]) -> blockresult: result = [] for prediction in predictions: result.appenSTRING
HIGH…inference/integration_tests/test_workflow_endpoints.py0def run(self, predictions: batch[sv.detections]) -> blockresult: result = [] for prediction in predictions: result.appenSTRING
HIGHtests/inference/hosted_platform_tests/test_workflows.py0def run(self, predictions: batch[sv.detections]) -> blockresult: result = [] for prediction in predictions: result.appenSTRING
HIGH…ts/execution/test_workflow_with_custom_python_block.py0def my_function(self, prediction: sv.detections, crops: batch[workflowimagedata]) -> blockresult: detection_id2bbox = { STRING
HIGH…inference/integration_tests/test_workflow_endpoints.py0def my_function(self, prediction: sv.detections, crops: batch[workflowimagedata]) -> blockresult: detection_id2bbox = { STRING
HIGHtests/inference/hosted_platform_tests/test_workflows.py0def my_function(self, prediction: sv.detections, crops: batch[workflowimagedata]) -> blockresult: detection_id2bbox = { STRING
HIGH…on_tests/execution/test_workflow_with_gemini_models.py0in this example, gpt model is used as ocr system. user just points task type and do not need to provide any prompt.STRING
HIGH…on_tests/execution/test_workflow_with_claude_models.py0in this example, gpt model is used as ocr system. user just points task type and do not need to provide any prompt.STRING
HIGH…n_tests/execution/test_workflow_with_open_ai_models.py0in this example, gpt model is used as ocr system. user just points task type and do not need to provide any prompt.STRING
HIGH…tion/stub_plugins/input_free_blocks_plugin/__init__.py0this is just example, test implementation, please do not assume it being fully functional.STRING
HIGH…execution/stub_plugins/flow_control_plugin/__init__.py0this is just example, test implementation, please do not assume it being fully functional.STRING
HIGH…ity_manipulation_plugin/stitch_detections_non_batch.py0this is just example, test implementation, please do not assume it being fully functional.STRING
HIGH…ation_plugin/detections_to_parent_coordinates_batch.py0this is just example, test implementation, please do not assume it being fully functional.STRING
HIGH…sionality_manipulation_plugin/tile_detections_batch.py0this is just example, test implementation, please do not assume it being fully functional.STRING
HIGH…n_plugin/detections_to_parent_coordinates_non_batch.py0this is just example, test implementation, please do not assume it being fully functional.STRING
HIGH…ality_manipulation_plugin/tile_detections_non_batch.py0this is just example, test implementation, please do not assume it being fully functional.STRING
HIGH…onality_manipulation_plugin/stitch_detections_batch.py0this is just example, test implementation, please do not assume it being fully functional.STRING
HIGH…manager/manager_app/test_inference_pipeline_manager.py0unit tests in this module are realised using `inferencepipelinemanager` mock - and within single process, submitting comSTRING
HIGH…_management/manager/test_inference_pipeline_manager.py0unit tests in this module are realised using `inferencepipelinemanager` mock - and within single process, submitting comSTRING
HIGH…tests/enterprise/stream_management/manager/test_app.py0unit tests in this module are realised using `inferencepipelinemanager` mock - and within single process, submitting comSTRING
HIGHinference/core/managers/stub_loader.py0adds a model to the manager. args: model_id (str): the identifier of the model. model (model): the model instance. endpoSTRING
HIGHinference/core/managers/base.py0adds a model to the manager. args: model_id (str): the identifier of the model. model (model): the model instance. endpoSTRING
295 more matches not shown…
Unused Imports874 hits · 839 pts
SeverityFileLineSnippetContext
LOWdebugrun.py4CODE
LOWinference_sdk/__init__.py8CODE
LOWinference_sdk/__init__.py9CODE
LOWinference_sdk/__init__.py9CODE
LOWinference_sdk/__init__.py9CODE
LOWinference_sdk/http/entities.py9CODE
LOWinference_sdk/http/utils/loaders.py5CODE
LOWinference_sdk/http/utils/loaders.py8CODE
LOWinference_sdk/webrtc/model_workflows.py10CODE
LOWinference_sdk/webrtc/client.py3CODE
LOWinference_sdk/webrtc/datachannel.py14CODE
LOWinference_sdk/webrtc/session.py12CODE
LOWinference_sdk/webrtc/session.py36CODE
LOWinference_sdk/webrtc/session.py42CODE
LOWinference_sdk/webrtc/session.py43CODE
LOWinference_sdk/webrtc/__init__.py3CODE
LOWinference_sdk/webrtc/__init__.py4CODE
LOWinference_sdk/webrtc/__init__.py5CODE
LOWinference_sdk/webrtc/__init__.py5CODE
LOWinference_sdk/webrtc/__init__.py6CODE
LOWinference_sdk/webrtc/__init__.py6CODE
LOWinference_sdk/webrtc/__init__.py6CODE
LOWinference_sdk/webrtc/__init__.py6CODE
LOWinference_sdk/webrtc/__init__.py6CODE
LOWinference_sdk/webrtc/__init__.py6CODE
LOWinference_sdk/webrtc/__init__.py6CODE
LOWinference_sdk/webrtc/__init__.py6CODE
LOWinference_sdk/webrtc/sources.py11CODE
LOWinference_sdk/webrtc/sources.py29CODE
LOWinference_sdk/webrtc/sources.py31CODE
LOWdocker/config/lambda.py1CODE
LOW…les/video_analysis/aggregating_objects_passing_data.py10CODE
LOW…les/video_analysis/aggregating_objects_passing_data.py10CODE
LOWdevelopment/docs/write_openapi_spec.py4CODE
LOWdevelopment/docs/write_openapi_spec.py5CODE
LOWdevelopment/docs/write_openapi_spec.py7CODE
LOWdevelopment/docs/write_openapi_spec.py9CODE
LOWdevelopment/docs/write_openapi_spec.py10CODE
LOWdevelopment/docs/write_openapi_spec.py10CODE
LOWdevelopment/stream_interface/multiplexer.py1CODE
LOWdevelopment/stream_interface/multiplexer.py3CODE
LOWdevelopment/stream_interface/multiplexer.py5CODE
LOWdevelopment/stream_interface/multiplexer.py5CODE
LOW…opment/stream_interface/old_inference_pipeline_demo.py3CODE
LOW…opment/stream_interface/old_inference_pipeline_demo.py4CODE
LOW…opment/stream_interface/old_inference_pipeline_demo.py5CODE
LOW…opment/stream_interface/old_inference_pipeline_demo.py6CODE
LOW…opment/stream_interface/old_inference_pipeline_demo.py7CODE
LOW…opment/stream_interface/old_inference_pipeline_demo.py7CODE
LOW…opment/stream_interface/old_inference_pipeline_demo.py14CODE
LOW…opment/stream_interface/old_inference_pipeline_demo.py15CODE
LOW…opment/stream_interface/old_inference_pipeline_demo.py16CODE
LOW…opment/stream_interface/old_inference_pipeline_demo.py16CODE
LOW…opment/stream_interface/old_inference_pipeline_demo.py17CODE
LOW…opment/stream_interface/old_inference_pipeline_demo.py17CODE
LOW…opment/stream_interface/old_inference_pipeline_demo.py21CODE
LOWdevelopment/stream_interface/time_in_zone_demo.py6CODE
LOW…pment/stream_interface/inference_pipeline_on_camera.py2CODE
LOW…pment/stream_interface/inference_pipeline_on_camera.py3CODE
LOW…pment/stream_interface/inference_pipeline_on_camera.py4CODE
814 more matches not shown…
Excessive Try-Catch Wrapping734 hits · 732 pts
SeverityFileLineSnippetContext
LOWdebugrun.py68 except Exception as e:CODE
MEDIUMdebugrun.py69 print("Error starting server:", e)CODE
LOWinference_sdk/http/utils/executors.py99 except Exception:CODE
LOWinference_sdk/webrtc/model_workflows.py130 except Exception as e:CODE
LOWinference_sdk/webrtc/session.py912 except Exception:CODE
LOWinference_sdk/webrtc/session.py916 except Exception:CODE
LOWinference_sdk/webrtc/session.py994 except Exception:CODE
LOWinference_sdk/webrtc/session.py1000 except Exception:CODE
LOWinference_sdk/webrtc/session.py1019 except Exception:CODE
LOWinference_sdk/webrtc/session.py1038 except Exception:CODE
LOWinference_sdk/webrtc/session.py1041 except Exception as e:CODE
LOWinference_sdk/webrtc/session.py1049 except Exception:CODE
LOWinference_sdk/webrtc/session.py303 except Exception as e:CODE
LOWinference_sdk/webrtc/session.py395 except Exception:CODE
LOWinference_sdk/webrtc/session.py403 except Exception:CODE
LOWinference_sdk/webrtc/session.py415 except Exception:CODE
LOWinference_sdk/webrtc/session.py470 except Exception:CODE
LOWinference_sdk/webrtc/session.py649 except Exception:CODE
LOWinference_sdk/webrtc/session.py674 except Exception:CODE
LOWinference_sdk/webrtc/session.py730 except Exception:CODE
LOWinference_sdk/webrtc/session.py781 except Exception as e:CODE
LOWinference_sdk/webrtc/session.py947 except Exception:CODE
LOWinference_sdk/webrtc/session.py1113 except Exception:CODE
LOWinference_sdk/webrtc/session.py1131 except Exception:CODE
LOWinference_sdk/webrtc/session.py1172 except Exception:CODE
LOWinference_sdk/webrtc/session.py1186 except Exception:CODE
LOWinference_sdk/webrtc/sources.py82 except Exception:CODE
LOWinference_sdk/webrtc/sources.py188 except Exception:CODE
LOWinference_sdk/webrtc/sources.py648 except Exception:CODE
LOWdocker/scripts/verify_gstreamer_cuda_tensor_runtime.py184 except Exception as error: # noqa: BLE001 - surfaced via assert belowCODE
MEDIUMdocker/scripts/verify_gstreamer_cuda_tensor_runtime.py179def consume() -> None:CODE
LOWdocker/scripts/verify_jetson_tensor_runtime.py336 except Exception as error: # noqa: BLE001 - surfaced via assert belowCODE
MEDIUMdocker/scripts/verify_jetson_tensor_runtime.py331def consume() -> None:CODE
LOW…nt/workflows_examples/video_analysis/webhook_server.py48 except Exception:CODE
LOW…nt/workflows_examples/video_analysis/webhook_server.py63 except Exception:CODE
LOW…nt/workflows_examples/video_analysis/webhook_server.py78 except Exception:CODE
LOWdevelopment/docs/build_block_docs.py513 except Exception:STRING
LOWdevelopment/docs/build_block_docs.py632 except Exception:STRING
LOWdevelopment/docs/build_block_docs.py651 except Exception:STRING
LOWdevelopment/docs/check_redirect_destinations.py96 except Exception as error: # noqa: BLE001 - network errors are reported, not raisedCODE
LOWdevelopment/docs/validate_docs_jinja2.py39 except Exception as exc:CODE
MEDIUMdevelopment/docs/validate_docs_jinja2.py54 print(f"Error: {docs_dir} is not a directory", file=sys.stderr)CODE
LOW…ent/stream_interface/multiplexer_inference_pipeline.py60 except Exception as e:CODE
LOWdevelopment/stream_interface/multiplexer_demo.py120 except Exception as e:CODE
LOW…arks/semantic_segmentation/benchmark_postprocessing.py251 except Exception:CODE
LOW…arks/semantic_segmentation/benchmark_postprocessing.py485 except Exception:CODE
LOWinference_models/development/compile_large.py42 except Exception as error:CODE
LOWinference_models/development/compile_small.py35 except Exception as error:CODE
LOWinference_models/development/compile_all.py57 except Exception as error:CODE
LOWinference_models/development/compile_medium.py38 except Exception as error:CODE
LOWinference_models/development/compile_rfdetr.py24 except Exception as error:CODE
LOW…els/development/profiling/profile_cuda_memory_leaks.py207 except Exception as e:CODE
LOW…els/development/profiling/profile_cuda_memory_leaks.py273 except Exception as e:CODE
LOW…els/development/profiling/profile_cuda_memory_leaks.py281 except Exception:CODE
LOW…els/development/profiling/profile_cuda_memory_leaks.py469 except Exception as e:CODE
LOW…els/development/profiling/profile_cuda_memory_leaks.py576 except Exception as e:CODE
LOW…els/development/profiling/profile_cuda_memory_leaks.py765 except Exception as e:CODE
LOW…els/development/profiling/profile_cuda_memory_leaks.py862 except Exception as e:CODE
LOWinference_models/development/compilation/core.py78 except Exception as e:CODE
LOW…ference_models/weights_providers/local_trt_packages.py147 except Exception as error:CODE
674 more matches not shown…
Docstring Block Structure151 hits · 718 pts
SeverityFileLineSnippetContext
HIGHinference_sdk/utils/environment.py5Convert a string or boolean value to a boolean. Args: value (Union[str, bool]): The value to convert. Can bSTRING
HIGHinference_sdk/http/client.py493Run inference on one or more images. Args: inference_input (Union[ImagesReference, List[ImagesReferSTRING
HIGHinference_sdk/http/client.py522Run inference asynchronously on one or more images. Args: inference_input (Union[ImagesReference, LSTRING
HIGHinference_sdk/http/client.py550Run inference using API v0. Args: inference_input (Union[ImagesReference, List[ImagesReference]]): STRING
HIGHinference_sdk/http/client.py653Run inference using API v0 asynchronously. Args: inference_input (Union[ImagesReference, List[ImageSTRING
HIGHinference_sdk/http/client.py888Get the description of a model. Args: model_id (str): The identifier of the model. alloSTRING
HIGHinference_sdk/http/client.py924Get the description of a model asynchronously. Args: model_id (str): The identifier of the model. STRING
HIGHinference_sdk/http/client.py1008Load a model onto the server. Args: model_id (str): The identifier of the model to load. STRING
HIGHinference_sdk/http/client.py1042Load a model onto the server asynchronously. Args: model_id (str): The identifier of the model to lSTRING
HIGHinference_sdk/http/client.py1076Unload a model from the server. Args: model_id (str): The identifier of the model to unload. STRING
HIGHinference_sdk/http/client.py1163Run OCR on input image(s). Args: inference_input (Union[ImagesReference, List[ImagesReference]]): ISTRING
HIGHinference_sdk/http/client.py1235Run OCR on input image(s) asynchronously. Args: inference_input (Union[ImagesReference, List[ImagesSTRING
HIGHinference_sdk/http/client.py1340Get CLIP embeddings for input image(s). Args: inference_input (Union[ImagesReference, List[ImagesReSTRING
HIGHinference_sdk/http/client.py1370Get CLIP embeddings for input image(s) asynchronously. Args: inference_input (Union[ImagesReferenceSTRING
HIGHinference_sdk/http/client.py1400Get CLIP embeddings for input text(s). Args: text (Union[str, List[str]]): Input text(s) to embed. STRING
HIGHinference_sdk/http/client.py1438Get CLIP embeddings for input text(s) asynchronously. Args: text (Union[str, List[str]]): Input texSTRING
HIGHinference_sdk/http/client.py1480Compare a subject against prompts using CLIP embeddings. Args: subject (Union[str, ImagesReference]STRING
HIGHinference_sdk/http/client.py1552Compare a subject against prompts using CLIP embeddings asynchronously. Args: subject (Union[str, ISTRING
HIGHinference_sdk/http/client.py1672Run inference using a Large Multimodal Model (LMM). This method supports various vision-language models includiSTRING
HIGHinference_sdk/http/client.py1733Run inference using a Large Multimodal Model (LMM) asynchronously. This method supports various vision-languageSTRING
HIGHinference_sdk/http/client.py1786Run depth estimation on input image(s). This method estimates depth maps from images using models like Depth AnSTRING
HIGHinference_sdk/http/client.py1856Run depth estimation on input image(s) asynchronously. Args: inference_input (Union[ImagesReferenceSTRING
HIGHinference_sdk/http/client.py1914Run Segment Anything 2 (SAM2) segmentation on input image(s). This method performs instance segmentation using STRING
HIGHinference_sdk/http/client.py1966Run Segment Anything 2 (SAM2) segmentation on input image(s) asynchronously. Args: inference_input STRING
HIGHinference_sdk/http/client.py2011Generate 3D meshes and Gaussian splatting from a 2D image with mask prompts. This method uses SAM3 3D to generaSTRING
HIGHinference_sdk/http/client.py2092Generate 3D meshes and Gaussian splatting from a 2D image asynchronously. Args: inference_input (ImSTRING
HIGHinference_sdk/http/client.py2360Run inference using a workflow specification. Triggers inference from workflow specification at the inference HSTRING
HIGHinference_sdk/http/client.py2421Run inference using a workflow specification. Triggers inference from workflow specification at the inference HSTRING
HIGHinference_sdk/http/client.py2593Run inference using YOLO-World model. Args: inference_input: Input image(s) to run inference on. CaSTRING
HIGHinference_sdk/http/client.py2650Run inference using YOLO-World model asynchronously. Args: inference_input: Input image(s) to run iSTRING
HIGHinference_sdk/http/client.py2722Starts an inference pipeline using a workflow specification. Args: video_reference: Path to video fSTRING
HIGHinference_sdk/http/client.py2833Gets the current status of a specific inference pipeline. Args: pipeline_id: The unique identifier STRING
HIGHinference_sdk/http/client.py2861Pauses a running inference pipeline. Sends a request to pause the specified inference pipeline. The pipeline muSTRING
HIGHinference_sdk/http/client.py2892Resumes a paused inference pipeline. Sends a request to resume the specified inference pipeline. The pipeline mSTRING
HIGHinference_sdk/http/client.py2923Terminates a running inference pipeline. Sends a request to terminate the specified inference pipeline. This wiSTRING
HIGHinference_sdk/http/client.py2958Consumes and returns the next available result from an inference pipeline. Args: pipeline_id: The uSTRING
HIGHinference_sdk/http/utils/request_building.py54Prepare requests data. Args: url: The URL of the request. encoded_inference_inputs: The encoded infSTRING
HIGHinference_sdk/http/utils/request_building.py96Assemble request data. Args: url: The URL of the request. batch_inference_inputs: The batch inferenSTRING
HIGHinference_sdk/webrtc/model_workflows.py87Resolve a model's task type, either from ``task_type`` or the API. When ``task_type`` is provided it is validated aSTRING
HIGHinference_sdk/webrtc/model_workflows.py150Build a minimal single-model workflow spec wrapping a model ID. The Workflow model block is chosen from ``TASK_TYPESTRING
HIGHinference_sdk/webrtc/client.py62Create a WebRTC streaming session. Exactly one of ``workflow`` or ``model_id`` must be provided. When STRING
HIGHinference_sdk/webrtc/client.py224Parse workflow configuration from inputs. Args: workflow: Either workflow ID (str) or specificationSTRING
HIGHinference_sdk/webrtc/session.py499Decorator to register frame callback handlers. The registered handlers will be called for each video frame receSTRING
HIGHinference_sdk/webrtc/session.py524Decorator to register data channel callback handlers. Can be used with or without parentheses: @sesSTRING
HIGHinference_sdk/webrtc/sources.py117Get parameters to send to server in /initialise_webrtc_worker payload. Args: config: Stream configuSTRING
HIGHdevelopment/profiling/config.py59Validate target name. Args: value (str): Provided target name. Returns: NormalSTRING
HIGHdevelopment/profiling/config.py92Validate data source name. Args: value (str): Provided data source name. Returns: STRING
HIGHdevelopment/profiling/config.py168Validate required string fields. Args: value (str): Provided string value. Returns: STRING
HIGHdevelopment/profiling/config.py188Validate warmup pass count. Args: value (int): Provided warmup count. Returns: STRING
HIGHdevelopment/profiling/config.py207Validate measured iteration count. Args: value (int): Provided measured iteration count. RSTRING
HIGHdevelopment/profiling/config.py224Load a YAML profiling config. Args: path (str | Path): Path to the YAML config file. Returns: STRING
HIGHdevelopment/profiling/config.py247Parse raw YAML config values into a profile config. Args: raw_config (Mapping[str, Any]): Raw mapping loadeSTRING
HIGHdevelopment/profiling/registry.py77Resolve a built-in or explicitly imported profiling target. Args: name (str): Target lookup name. iSTRING
HIGHdevelopment/profiling/data/__init__.py17Build a profiling data source by name. Args: name (str): Registered data source name. config (MappiSTRING
HIGH…ence_models/inference_models/weights_providers/core.py27Retrieve model metadata from a registered weights provider. Fetches model metadata (including available packages, dSTRING
HIGHinference_models/inference_models/utils/download.py125Download multiple files to a directory with parallel downloads and hash verification. Downloads files from URLs to STRING
HIGH…ce_models/inference_models/models/auto_loaders/core.py1131Display comprehensive metadata and available packages for a model. Shows detailed information about a model witSTRING
HIGH…ce_models/inference_models/models/auto_loaders/core.py1263Display detailed information about a specific model package. Shows comprehensive details for a single model pacSTRING
HIGH…ce_models/inference_models/models/auto_loaders/core.py1523Load and initialize a computer vision model with automatic backend selection. This is the primary entry point fSTRING
HIGH…odels/inference_models/models/optimization/registry.py190Resolve one compatible implementation without compatibility fallback. Args: stage: Stage category bSTRING
91 more matches not shown…
Hallucination Indicators55 hits · 560 pts
SeverityFileLineSnippetContext
CRITICAL…lows/unit_tests/core_steps/sinks/test_twilio_sms_v2.py272 from inference.core.exceptions import RoboflowAPIUnsuccessfulRequestErrorCODE
CRITICAL…lows/unit_tests/core_steps/sinks/test_twilio_sms_v2.py305 from inference.core.exceptions import RoboflowAPIUnsuccessfulRequestErrorCODE
CRITICAL…s/core_steps/models/foundation/test_gaze_deprecated.py7from inference.core.exceptions import FeatureDeprecatedErrorCODE
CRITICAL…ore_steps/models/foundation/test_cog_vlm_deprecated.py7from inference.core.exceptions import FeatureDeprecatedErrorCODE
CRITICAL…_tests/execution/test_workflow_with_gaze_deprecated.py15from inference.core.exceptions import FeatureDeprecatedErrorCODE
CRITICAL…rence/unit_tests/core/test_feature_deprecated_error.py3from inference.core.exceptions import FeatureDeprecatedErrorCODE
CRITICAL…core/active_learning/samplers/test_contains_classes.py13from inference.core.exceptions import ActiveLearningConfigurationErrorCODE
CRITICAL…/active_learning/samplers/test_number_of_detections.py15from inference.core.exceptions import ActiveLearningConfigurationErrorCODE
CRITICAL…re/active_learning/samplers/test_close_to_threshold.py21from inference.core.exceptions import ActiveLearningConfigurationErrorCODE
CRITICAL…nit_tests/core/active_learning/samplers/test_random.py9from inference.core.exceptions import ActiveLearningConfigurationErrorCODE
CRITICALtests/inference/unit_tests/core/registries/test_base.py5from inference.core.exceptions import ModelNotRecognisedErrorCODE
CRITICAL…nference/unit_tests/core/cache/test_model_artifacts.py26from inference.core.exceptions import ModelArtefactErrorCODE
CRITICAL…ts/inference/unit_tests/core/utils/test_postprocess.py7from inference.core.exceptions import PostProcessingErrorCODE
CRITICAL…sts/inference/unit_tests/core/utils/test_preprocess.py7from inference.core.exceptions import PreProcessingErrorCODE
CRITICAL…ts/inference/unit_tests/core/utils/test_environment.py5from inference.core.exceptions import InvalidEnvironmentVariableErrorCODE
CRITICALtests/inference/unit_tests/core/utils/test_roboflow.py5from inference.core.exceptions import InvalidModelIDErrorCODE
CRITICAL…ts/core/models/test_offline_onnx_cache_immutability.py9 from inference.core.exceptions import ModelArtefactErrorCODE
CRITICAL…it_tests/core/models/test_inference_models_adapters.py15from inference.core.exceptions import PostProcessingErrorCODE
CRITICALtests/inference/unit_tests/core/models/test_roboflow.py8from inference.core.exceptions import ModelArtefactErrorCODE
CRITICAL…/webrtc_worker/test_start_worker_region_enforcement.py14from inference.core.exceptions import WebRTCConfigurationErrorCODE
CRITICAL…ests/core/interfaces/webrtc_worker/test_offline_ice.py3from inference.core.exceptions import WebRTCConfigurationErrorCODE
CRITICAL…rence/unit_tests/core/interfaces/http/test_http_api.py17from inference.core.exceptions import RoboflowAPINotAuthorizedErrorCODE
CRITICALtests/inference/unit_tests/models/test_gaze_stub.py5from inference.core.exceptions import FeatureDeprecatedErrorCODE
CRITICALinference/core/active_learning/entities.py8from inference.core.exceptions import ActiveLearningConfigurationDecodingErrorCODE
CRITICAL…ce/core/active_learning/samplers/close_to_threshold.py18from inference.core.exceptions import ActiveLearningConfigurationErrorCODE
CRITICAL…/core/active_learning/samplers/number_of_detections.py21from inference.core.exceptions import ActiveLearningConfigurationErrorCODE
CRITICALinference/core/active_learning/samplers/random.py12from inference.core.exceptions import ActiveLearningConfigurationErrorCODE
CRITICAL…ence/core/active_learning/samplers/contains_classes.py15from inference.core.exceptions import ActiveLearningConfigurationErrorCODE
CRITICALinference/core/registries/base.py3from inference.core.exceptions import ModelNotRecognisedErrorCODE
CRITICALinference/core/cache/model_artifacts.py18from inference.core.exceptions import ModelArtefactErrorCODE
CRITICALinference/core/cache/air_gapped.py22from inference.core.exceptions import ModelArtefactErrorCODE
CRITICAL…e/workflows/core_steps/models/foundation/cog_vlm/v1.py7from inference.core.exceptions import FeatureDeprecatedErrorCODE
CRITICAL…s/core_steps/models/foundation/yolo_world/v1_tensor.py15from inference.core.exceptions import FeatureDeprecatedErrorCODE
CRITICAL…core/workflows/core_steps/models/foundation/gaze/v1.py6from inference.core.exceptions import FeatureDeprecatedErrorCODE
CRITICAL…xecution_engine/v1/dynamic_blocks/block_scaffolding.py18from inference.core.exceptions import WorkspaceLoadErrorCODE
CRITICALinference/core/utils/preprocess.py19from inference.core.exceptions import PreProcessingErrorCODE
CRITICALinference/core/utils/postprocess.py7from inference.core.exceptions import PostProcessingErrorCODE
CRITICALinference/core/utils/roboflow.py4from inference.core.exceptions import InvalidModelIDErrorCODE
CRITICALinference/core/utils/environment.py4from inference.core.exceptions import InvalidEnvironmentVariableErrorCODE
CRITICALinference/core/models/inference_models_adapters.py54from inference.core.exceptions import PostProcessingErrorCODE
CRITICALinference/core/models/utils/keypoints.py4from inference.core.exceptions import ModelArtefactErrorCODE
CRITICALinference/core/interfaces/camera/dgpu_producer.py41 "inference.core.interfaces.camera.discoverability.check_pynvvideocodec()."CODE
CRITICALinference/core/interfaces/stream/inference_pipeline.py28from inference.core.exceptions import CannotInitialiseModelError, MissingApiKeyErrorCODE
CRITICAL…e/core/interfaces/stream_manager/manager_app/webrtc.py29from inference.core.exceptions import WebRTCConfigurationErrorCODE
CRITICALinference/core/interfaces/http/dependencies.py6from inference.core.exceptions import InputImageLoadErrorCODE
CRITICALinference/models/yolov8/yolov8_keypoints_detection.py5from inference.core.exceptions import ModelArtefactErrorCODE
CRITICALinference/models/sam3_3d/segment_anything_3d.py27from inference.core.exceptions import ModelArtefactErrorCODE
CRITICALinference/models/vllm_proxy/errors.py12from inference.core.exceptions import ModelDeploymentNotSupportedErrorCODE
CRITICALinference/models/transformers/transformers.py23from inference.core.exceptions import ModelArtefactErrorCODE
CRITICALinference/models/trocr/trocr.py11from inference.core.exceptions import InvalidModelIDErrorCODE
CRITICALinference/models/gaze/gaze.py1from inference.core.exceptions import FeatureDeprecatedErrorCODE
CRITICALinference/models/gaze/gaze_inference_models.py1from inference.core.exceptions import FeatureDeprecatedErrorCODE
CRITICALinference/models/sam3/visual_segmentation.py42from inference.core.exceptions import ModelArtefactError, RoboflowAPINotAuthorizedErrorCODE
CRITICALinference/models/sam3/segment_anything3.py56from inference.core.exceptions import ModelArtefactError, RoboflowAPINotAuthorizedErrorCODE
CRITICALinference/models/owlv2/owlv2.py41from inference.core.exceptions import InvalidModelIDError, ModelArtefactErrorCODE
Deep Nesting344 hits · 312 pts
SeverityFileLineSnippetContext
LOWinference_sdk/http/utils/post_processing.py45CODE
LOWinference_sdk/http/utils/post_processing.py78CODE
LOWinference_sdk/http/utils/url_utils.py341CODE
LOWinference_sdk/webrtc/datachannel.py140CODE
LOWinference_sdk/webrtc/session.py406CODE
LOWinference_sdk/webrtc/session.py608CODE
LOWinference_sdk/webrtc/session.py919CODE
LOWinference_sdk/webrtc/session.py954CODE
LOWinference_sdk/webrtc/session.py1076CODE
LOW…les/video_analysis/aggregating_objects_passing_data.py157CODE
LOW…orkflows_examples/video_analysis/using_webhook_sink.py243CODE
LOWdevelopment/stream_interface/time_in_zone_demo.py92CODE
LOW…pment/stream_interface/inference_pipeline_on_camera.py54CODE
LOWdevelopment/stream_interface/workflows_demo.py68CODE
LOWdevelopment/stream_interface/yolo_world_demo.py31CODE
LOW…elopment/stream_interface/objects_passing_line_demo.py93CODE
LOW…ent/stream_interface/multiplexer_inference_pipeline.py44CODE
LOWdevelopment/stream_interface/camera_demo.py58CODE
LOW…ment/stream_interface/rfdetr_coco_same_shape_parity.py283CODE
LOW…ment/stream_interface/rfdetr_coco_same_shape_parity.py437CODE
LOWdevelopment/stream_interface/multiplexer_demo.py100CODE
LOW…arks/semantic_segmentation/benchmark_postprocessing.py271CODE
LOW…els/development/profiling/profile_cuda_memory_leaks.py525CODE
LOW…els/development/profiling/profile_cuda_memory_leaks.py662CODE
LOW…inference_models/weights_providers/offline_registry.py765CODE
LOWinference_models/inference_models/utils/blob_storage.py51CODE
LOWinference_models/inference_models/utils/download.py109CODE
LOWinference_models/inference_models/utils/download.py338CODE
LOWinference_models/inference_models/utils/download.py682CODE
LOWinference_models/inference_models/utils/download.py913CODE
LOW…ce_models/models/auto_loaders/auto_resolution_cache.py97CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py750CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py2211CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py3331CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py3495CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py1481CODE
LOW…rence_models/models/auto_loaders/presentation_utils.py106CODE
LOW…ference_models/models/auto_loaders/auto_negotiation.py848CODE
LOW…models/models/depth_anything_v3/architecture/dinov2.py223CODE
LOW…erence_models/inference_models/models/sam/sam_torch.py200CODE
LOW…erence_models/inference_models/models/sam/sam_torch.py283CODE
LOW…ls/inference_models/models/pp_ocrv6/pp_ocrv6_common.py164CODE
LOW…ce_models/inference_models/models/doctr/doctr_torch.py191CODE
LOWinference_models/inference_models/models/common/onnx.py509CODE
LOW…s/inference_models/models/common/hf_streaming_video.py426CODE
LOW…s/inference_models/models/common/hf_streaming_video.py166CODE
LOWinference_models/inference_models/models/common/trt.py707CODE
LOW…erence_models/models/common/roboflow/model_packages.py64CODE
LOW…erence_models/models/common/roboflow/pre_processing.py113CODE
LOW…erence_models/models/common/roboflow/pre_processing.py573CODE
LOW…erence_models/models/common/roboflow/pre_processing.py869CODE
LOW…s/models/rfdetr/triton_object_detection_postprocess.py210CODE
LOW…ence_models/models/rfdetr/dinov2_with_windowed_attn.py1226CODE
LOW…ence_models/models/rfdetr/dinov2_with_windowed_attn.py1330CODE
LOW…dels/models/rfdetr/rfdetr_instance_segmentation_trt.py422CODE
LOW…nce_models/inference_models/models/rfdetr/projector.py72CODE
LOW…nce_models/inference_models/models/rfdetr/projector.py213CODE
LOW…s/inference_models/models/rfdetr/triton_postprocess.py986CODE
LOW…s/inference_models/models/rfdetr/triton_postprocess.py1505CODE
LOW…odels/inference_models/models/rfdetr/pre_processing.py94CODE
284 more matches not shown…
AI Structural Patterns162 hits · 151 pts
SeverityFileLineSnippetContext
LOWinference_sdk/http/client.py1721CODE
LOWinference_sdk/http/client.py1776CODE
LOWinference_sdk/http/client.py1955CODE
LOWinference_sdk/http/client.py1996CODE
LOWinference_sdk/http/client.py2347CODE
LOWinference_sdk/http/client.py2408CODE
LOWinference_sdk/http/client.py2476CODE
LOWinference_sdk/http/client.py2583CODE
LOWinference_sdk/http/client.py2516CODE
LOWinference_sdk/http/client.py2702CODE
LOWdevelopment/profiling/config.py328CODE
LOW…arks/semantic_segmentation/benchmark_postprocessing.py416CODE
LOWinference_models/development/compilation/core.py27CODE
LOWinference_models/inference_models/utils/download.py109CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py2211CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py2640CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py2870CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py3331CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py1481CODE
LOW…ference_models/models/auto_loaders/auto_negotiation.py59CODE
LOW…models/models/depth_anything_v3/architecture/dinov2.py31CODE
LOW…odels/models/depth_anything_v3/architecture/dualdpt.py38CODE
LOW…els/depth_anything_v3/architecture/layers/attention.py16CODE
LOW…/models/depth_anything_v3/architecture/layers/block.py28CODE
LOW…els/depth_anything_v3/architecture/layers/drop_path.py24CODE
LOW…erence_models/inference_models/models/sam/sam_torch.py283CODE
LOW…dels/inference_models/models/optimization/contracts.py41CODE
LOW…dels/inference_models/models/optimization/contracts.py55CODE
LOW…e_models/inference_models/models/mage_vl/mage_vl_hf.py217CODE
LOW…ls/inference_models/models/rfdetr/triton_preprocess.py580CODE
LOW…odels/inference_models/models/rfdetr/ms_deform_attn.py180CODE
LOW…ence_models/models/rfdetr/dinov2_with_windowed_attn.py799CODE
LOW…ence_models/models/rfdetr/dinov2_with_windowed_attn.py298CODE
LOW…ce_models/models/rfdetr/rfdetr_object_detection_trt.py137CODE
LOW…erence_models/models/rfdetr/rfdetr_backbone_pytorch.py52CODE
LOW…erence_models/models/rfdetr/rfdetr_backbone_pytorch.py228CODE
LOW…/inference_models/models/rfdetr/rfdetr_base_pytorch.py723CODE
LOW…nce_models/inference_models/models/rfdetr/projector.py127CODE
LOW…e_models/inference_models/models/rfdetr/transformer.py165CODE
LOW…e_models/inference_models/models/rfdetr/transformer.py460CODE
LOW…e_models/inference_models/models/rfdetr/transformer.py586CODE
LOW…e_models/inference_models/models/rfdetr/transformer.py636CODE
LOW…e_models/inference_models/models/rfdetr/transformer.py698CODE
LOW…ference_models/models/rfdetr/optimization/selection.py74CODE
LOW…ference_models/models/rfdetr/optimization/selection.py130CODE
LOW…ference_models/models/rfdetr/optimization/selection.py252CODE
LOW…ls/rfdetr/optimization/preprocessors/threaded_exact.py101CODE
LOW…ls/rfdetr/optimization/preprocessors/threaded_exact.py121CODE
LOW…ls/rfdetr/optimization/preprocessors/threaded_exact.py154CODE
LOW…/rfdetr/optimization/preprocessors/triton_universal.py109CODE
LOW…/rfdetr/optimization/preprocessors/triton_universal.py132CODE
LOW…/rfdetr/optimization/preprocessors/triton_universal.py152CODE
LOW…/rfdetr/optimization/preprocessors/triton_universal.py195CODE
LOW…els/models/rfdetr/optimization/preprocessors/common.py64CODE
LOW…odels/models/rfdetr/optimization/preprocessors/base.py93CODE
LOW…odels/models/rfdetr/optimization/preprocessors/base.py113CODE
LOW…odels/models/rfdetr/optimization/preprocessors/base.py146CODE
LOW…els/rfdetr/optimization/postprocessors/triton_fused.py105CODE
LOW…els/rfdetr/optimization/postprocessors/triton_fused.py125CODE
LOW…dels/models/rfdetr/optimization/postprocessors/base.py79CODE
102 more matches not shown…
Self-Referential Comments43 hits · 136 pts
SeverityFileLineSnippetContext
MEDIUM…nt/benchmark_scripts/benchmark_owlv2_inference_time.py19# Create a temporary fileCOMMENT
MEDIUM…erence_models/models/rfdetr/rfdetr_backbone_pytorch.py77 # Create the encoderCOMMENT
MEDIUM…erence_models/models/rfdetr/rfdetr_backbone_pytorch.py193 # Create a new Parameter with the new sizeCOMMENT
MEDIUMtests/unit/core/cache/test_air_gapped.py254 # Create a cache directory for the model variant with a file.COMMENT
MEDIUMtests/unit/core/cache/test_air_gapped.py318 # Create a cache directory for one of the variants with a file.COMMENT
MEDIUMtests/unit/core/cache/test_air_gapped.py377 # Create a cache directory but with no files in it.COMMENT
MEDIUM…workflows/unit_tests/core_steps/sinks/test_email_v2.py286 # Create a small numpy image for ExtractImageProperty (width/height)COMMENT
MEDIUM…ws/unit_tests/core_steps/sinks/test_event_writer_v1.py333 # Create a filled square mask — findContours will produce a polygonCOMMENT
MEDIUM…sts/core_steps/sinks/roboflow/vision_events/test_v1.py110 # Create a simple square maskCOMMENT
MEDIUM…s/unit_tests/core_steps/models/foundation/test_clip.py30 # Create a mock WorkflowImageData instanceCOMMENT
MEDIUM…nit_tests/core_steps/visualizations/test_icon_alpha.py22 # Create a test background image (white)COMMENT
MEDIUM…nit_tests/core_steps/visualizations/test_icon_alpha.py29 # Create an icon with alpha channel (red circle with transparent background)COMMENT
MEDIUM…nit_tests/core_steps/visualizations/test_icon_alpha.py96 # Create a test background image (white)COMMENT
MEDIUM…nit_tests/core_steps/visualizations/test_icon_alpha.py103 # Create an icon with alpha channelCOMMENT
MEDIUM…t_tests/core_steps/classical_cv/test_mask_edge_snap.py90 # Create a single mask (e.g., from instance segmentation model)COMMENT
MEDIUM…t_tests/core_steps/classical_cv/test_mask_edge_snap.py169 # Create a maskCOMMENT
MEDIUM…s/core_steps/classical_cv/test_distance_measurement.py59 tolerance = 1e-5 # Define a tolerance levelCODE
MEDIUM…s/core_steps/classical_cv/test_distance_measurement.py119 tolerance = 1e-3 # Define a tolerance levelCODE
MEDIUM…s/core_steps/classical_cv/test_distance_measurement.py185 tolerance = 1e-3 # Define a tolerance levelCODE
MEDIUM…s/core_steps/classical_cv/test_distance_measurement.py243 tolerance = 1e-3 # Define a tolerance levelCODE
MEDIUM…s/core_steps/classical_cv/test_contrast_enhancement.py41 # Create a test BGR image with low contrastCOMMENT
MEDIUM…s/core_steps/classical_cv/test_contrast_enhancement.py66 # Create a test grayscale imageCOMMENT
MEDIUM…s/core_steps/classical_cv/test_contrast_enhancement.py89 # Create a test BGRA imageCOMMENT
MEDIUM…s/core_steps/classical_cv/test_contrast_enhancement.py115 # Create a test image with some outliersCOMMENT
MEDIUM…ows/integration_tests/execution/test_mask_edge_snap.py178 # Create a single maskCOMMENT
MEDIUM…ows/integration_tests/execution/test_mask_edge_snap.py294 # Create a maskCOMMENT
MEDIUM…ows/integration_tests/execution/test_mask_edge_snap.py347 # Create a maskCOMMENT
MEDIUM…ows/integration_tests/execution/test_mask_edge_snap.py506 # Create a maskCOMMENT
MEDIUM…cution/test_workflow_with_custom_python_block_modal.py108 # Create a temporary Python script that runs the workflowCOMMENT
MEDIUM…ation_tests/execution/test_workflow_with_opc_writer.py239 # Create a variable with a string-based NodeId directly (like Ignition does)COMMENT
MEDIUM…ation_tests/execution/test_workflow_with_opc_writer.py756 # Create a connectionCOMMENT
MEDIUM…/execution/test_existing_blocks_modal_compatibility.py37 # Create a temporary Python script that runs the workflowCOMMENT
MEDIUM…erence/unit_tests/core/interfaces/http/test_builder.py131 # Create a workflowCOMMENT
MEDIUM…ce/models_predictions_tests/test_perception_encoder.py21 # Create a simple test imageCOMMENT
MEDIUMexamples/inference-client/udp.py18 # Create a datagram (UDP) socketCOMMENT
MEDIUM…lows/core_steps/transformations/detections_merge/v1.py164 # Create a new detection with the union bbox and ensure numpy arrays for all fieldsCOMMENT
MEDIUM…xecution_engine/v1/dynamic_blocks/block_scaffolding.py517 # Create a stub module for local referenceCOMMENT
MEDIUM…xecution_engine/v1/dynamic_blocks/block_scaffolding.py552 # Create a stub module for local referenceCOMMENT
MEDIUMinference/core/models/roboflow.py974 # Create an ONNX Runtime Session with a list of execution providers in priority order. ORT attempts to load COMMENT
MEDIUMinference/usage_tracking/payload_helpers.py11# This module is also reused by an isolated offloader and must not importCOMMENT
MEDIUMinference/models/clip/clip_model.py64 # Create an ONNX Runtime Session with a list of execution providers in priority order. ORT attempts to load provCOMMENT
MEDIUMmodal/deploy_modal_app.py81 # Create an instance to get the methodCOMMENT
MEDIUMmodal/modal_app.py144# Create the Modal AppCOMMENT
Magic Placeholder Names20 hits · 100 pts
SeverityFileLineSnippetContext
HIGHinference_models/README.md69 api_key="<your-api-key>" # model access secured with API keyCODE
HIGH…ce_models/inference_models/models/auto_loaders/core.py1197 ... api_key="your_api_key"STRING
HIGH…ce_models/inference_models/models/auto_loaders/core.py1694 ... api_key="your_api_key"STRING
HIGHinference_models/docs/index.md79 api_key="<your-api-key>" # model access secured with API keyCODE
HIGH…ce_models/docs/models/sam2-interactive-segmentation.md59model = AutoModel.from_pretrained("sam2/hiera_b_plus", api_key="your_api_key")CODE
HIGH…ce_models/docs/models/sam2-interactive-segmentation.md167 api_key="your_api_key",CODE
HIGH…ce_models/docs/models/sam2-interactive-segmentation.md202 api_key="your_api_key",CODE
HIGH…ence_models/docs/models/sam3-video-concept-tracking.md76model = AutoModel.from_pretrained("sam3video", api_key="your_api_key")CODE
HIGH…ence_models/docs/models/sam3-video-concept-tracking.md162model = AutoModel.from_pretrained("sam3trackervideo", api_key="your_api_key")CODE
HIGHinference_models/docs/models/deeplabv3plus.md59 api_key="<your-api-key>"CODE
HIGHinference_models/docs/models/deeplabv3plus.md83 api_key="<your-api-key>"CODE
HIGHinference_models/docs/models/deeplabv3plus.md114 api_key="<your-api-key>"CODE
HIGH…nce_models/docs/models/sam-interactive-segmentation.md56model = AutoModel.from_pretrained("sam/vit_b", api_key="your_api_key")CODE
HIGH…nce_models/docs/models/sam-interactive-segmentation.md146 api_key="your_api_key",CODE
HIGH…nce_models/docs/models/sam-interactive-segmentation.md181 api_key="your_api_key",CODE
HIGHinference_models/docs/how-to/debug-model-loading.md173 api_key="your_api_key"CODE
HIGH…ference_models/docs/getting-started/trt-compilation.md73 --api-key <your_api_key>CODE
HIGH…ference_models/docs/getting-started/trt-compilation.md168 api_key="your_api_key"CODE
HIGHexamples/inference-dashboard-example/README.md58python main.py --dataset_id [YOUR_DATASET_ID] --api_key [YOUR_API_KEY] --video_path [PATH_TO_VIDEO] --interval_minutes [CODE
HIGHexamples/webrtc/README.md20 --api-key YOUR_API_KEYCODE
Over-Commented Block67 hits · 64 pts
SeverityFileLineSnippetContext
LOWinference_sdk/webrtc/model_workflows.py21 deduct_api_key_from_string,COMMENT
LOW…er_cuda_tensor_bridge/gstreamer_cuda_tensor_bridge.cpp1#include <cuda.h>COMMENT
LOWdocker/entrypoint/run_uvicorn.sh1#!/bin/shCOMMENT
LOWdevelopment/otel/start-otel-dev.sh1#!/usr/bin/env bashCOMMENT
LOW…converters/convert_florence2_original_pytorch_to_hf.py1# coding=utf-8COMMENT
LOW…ls/models/depth_anything_v3/depth_anything_v3_torch.py1# Copyright (c) 2025 Roboflow, Inc.COMMENT
LOW…ce_models/models/depth_anything_v3/architecture/dpt.py1# Copyright (c) 2025 ByteDance Ltd. and/or its affiliatesCOMMENT
LOW…odels/models/depth_anything_v3/architecture/dualdpt.py1# Copyright (c) 2025 ByteDance Ltd. and/or its affiliatesCOMMENT
LOW…dels/models/depth_anything_v3/architecture/__init__.py1# Copyright (c) 2025 ByteDance Ltd. and/or its affiliatesCOMMENT
LOW…ce_models/models/depth_anything_v3/architecture/da3.py1# Copyright (c) 2025 ByteDance Ltd. and/or its affiliatesCOMMENT
LOW…ls/models/depth_anything_v3/architecture/head_utils.py1# Copyright (c) 2025 ByteDance Ltd. and/or its affiliatesCOMMENT
LOW…odels/inference_models/models/rfdetr/ms_deform_attn.py1# ------------------------------------------------------------------------COMMENT
LOW…/inference_models/models/rfdetr/ms_deform_attn_func.py1# ------------------------------------------------------------------------COMMENT
LOW…ls/inference_models/models/rfdetr/position_encoding.py1# ------------------------------------------------------------------------COMMENT
LOW…nce_models/inference_models/models/rfdetr/projector.py1# ------------------------------------------------------------------------COMMENT
LOW…e_models/inference_models/models/rfdetr/transformer.py1# ------------------------------------------------------------------------COMMENT
LOW…_steps/visualizations/test_viz_phase_transfer_audit.py321COMMENT
LOW…ow_continue_if_inside_inner_with_crop_batch_lineage.py481 assert nested_result[0]["from_child"] == ["passed", None]COMMENT
LOW…_workflow_after_continue_if_with_crop_batch_lineage.py341_OD_CLASS_NAMES = ["dog"]COMMENT
LOWrequirements/requirements.gpu.cu13.txt1# CUDA 13 sibling of requirements.gpu.txt, consumed by Dockerfile.onnx.gpu onCOMMENT
LOWrequirements/requirements.magevl.txt1# Optional dependencies for Mage-VL's codec video backend.COMMENT
LOWrequirements/requirements.magevl.txt21# therefore intentionally NOT wired into the pypi extras (seeCOMMENT
LOWrequirements/requirements.pali.flash_attn.cu13.txt1# CUDA 13 sibling of requirements.pali.flash_attn.txt, consumed byCOMMENT
LOWrequirements/requirements.cosmos.txt1# Optional dependencies for NVIDIA Cosmos 3 Edge (reasoner + generator).COMMENT
LOWdocs/javascript/init_kapa_widget.js1// Interaction-gated loader for the Kapa.ai "Ask AI" widget.COMMENT
LOW.github/workflows/claude-pr-review-notice.yml1name: Claude PR Review — PR NoticeCOMMENT
LOWinference/core/env.py1401 str2bool(os.getenv("ENABLE_TENSOR_DATA_REPRESENTATION", "False"))COMMENT
LOWinference/core/env.py1461 passCOMMENT
LOW…/core_steps/fusion/detections_list_rollup/v1_tensor.py881 else:COMMENT
LOW…models/foundation/segment_anything2_video/v1_tensor.py301 if should_reset:COMMENT
LOW…steps/models/foundation/segment_anything3/v3_tensor.py221COMMENT
LOW…/workflows/core_steps/models/foundation/qwen_vlm/v2.py81 roboflow_platform_model,COMMENT
LOW…/workflows/core_steps/models/foundation/qwen_vlm/v3.py401# ---------------------------------------------------------------------------COMMENT
LOW…odels/roboflow/multi_label_classification/v3_tensor.py301 )COMMENT
LOW…odels/roboflow/multi_label_classification/v2_tensor.py261 )COMMENT
LOW…erence/core/workflows/core_steps/common/serializers.py281COMMENT
LOW…ence/core/workflows/core_steps/common/tensor_native.py61# ``attach_native_detection_metadata`` stores a host-side copy of each box'sCOMMENT
LOW…workflows/core_steps/visualizations/label/v1_tensor.py81#: (``supervision/annotators/core.py`` ``CV2_FONT``).COMMENT
LOW…workflows/core_steps/visualizations/label/v1_tensor.py961 )COMMENT
LOW…e_steps/visualizations/common/base_colorable_tensor.py61 # "Matplotlib Terrain",COMMENT
LOW…ows/core_steps/visualizations/common/base_colorable.py61 # "Matplotlib Terrain",COMMENT
LOW…lows/core_steps/visualizations/rich_label/v1_tensor.py101 return passthroughCOMMENT
LOW…e_steps/classical_cv/detections_nearest_neighbor/v1.py341COMMENT
LOWinference/core/workflows/prototypes/block.py241 model_id: strCOMMENT
LOWinference/core/workflows/execution_engine/constants.py61SMOOTHED_SPEED_KEY_IN_INFERENCE_RESPONSE = "smoothed_speed"COMMENT
LOW…rence/core/workflows/execution_engine/entities/base.py581 if self._numpy_image is not None:COMMENT
LOW…ence/core/interfaces/camera/gstreamer_cuda_producer.py201 tail = (COMMENT
LOWinference/core/interfaces/camera/video_source.py1221 return FalseCOMMENT
LOWinference/core/interfaces/camera/jetson_producer.py241 return (COMMENT
LOWinference/core/interfaces/camera/jetson_producer.py261 # - the queue buffers COMPRESSED data before the depayloader (cheap,COMMENT
LOWinference/enterprise/parallel/build.sh1#!/bin/bashCOMMENT
LOW…ise/workflows/enterprise_blocks/sinks/opc_writer/v1.py581COMMENT
LOW…ise/workflows/enterprise_blocks/sinks/opc_writer/v1.py701 user_name: Optional username used for the connectionCOMMENT
LOWinference/usage_tracking/decorator_helpers.py41 "usage_billing_suppressed", default=FalseCOMMENT
LOWinference/models/depth_anything_v3/depth_anything_v3.py1# Copyright (c) 2025 Roboflow, Inc.COMMENT
LOW…epth_anything_v3/depth_anything_v3_inference_models.py1# Copyright (c) 2025 Roboflow, Inc.COMMENT
LOWinference/models/depth_anything_v3/architecture/dpt.py1# Copyright (c) 2025 ByteDance Ltd. and/or its affiliatesCOMMENT
LOW…rence/models/depth_anything_v3/architecture/dualdpt.py1# Copyright (c) 2025 ByteDance Ltd. and/or its affiliatesCOMMENT
LOW…ence/models/depth_anything_v3/architecture/__init__.py1# Copyright (c) 2025 ByteDance Ltd. and/or its affiliatesCOMMENT
LOWinference/models/depth_anything_v3/architecture/da3.py1# Copyright (c) 2025 ByteDance Ltd. and/or its affiliatesCOMMENT
7 more matches not shown…
Modern Structural Boilerplate54 hits · 56 pts
SeverityFileLineSnippetContext
LOWinference_sdk/webrtc/__init__.py17__all__ = [CODE
LOWinference_models/inference_models/developer_tools.py97__all__ = [CODE
LOW…ference_models/weights_providers/local_trt_packages.py40logger = logging.getLogger(__name__)CODE
LOW…dels/models/depth_anything_v3/architecture/__init__.py26__all__ = ["DepthAnything3Net"]CODE
LOW…dels/depth_anything_v3/architecture/layers/__init__.py20__all__ = [CODE
LOW…els/inference_models/models/optimization/triton_jit.py13logger = logging.getLogger(__name__)CODE
LOW…ence_models/models/rfdetr/dinov2_with_windowed_attn.py1450__all__ = [CODE
LOW…s/models/rfdetr/optimization/preprocessors/__init__.py13__all__ = [CODE
LOW…/models/rfdetr/optimization/engine_plugins/__init__.py7__all__ = ["BaseEngineAdjacentPlugin"]CODE
LOW…/models/rfdetr/optimization/postprocessors/__init__.py10__all__ = ["BasePostprocessor", "TritonFusedPostprocessor"]CODE
LOW…dels/rfdetr/optimization/buffer_strategies/__init__.py7__all__ = ["BaseBufferStrategy"]CODE
LOW…dels/models/rfdetr/optimization/schedulers/__init__.py7__all__ = ["BaseExecutionScheduler"]CODE
LOW…rence/unit_tests/core/interfaces/http/test_http_api.py28 def set_stream_manager_client(self, stream_manager_client) -> None:CODE
LOW…core/interfaces/http/test_workflow_billing_contract.py46 def set_stream_manager_client(self, stream_manager_client) -> None:STRING
LOW…/interfaces/http/test_workflow_sink_policy_contract.py16 def set_stream_manager_client(self, stream_manager_client) -> None:CODE
LOW…ttp/test_legacy_http_route_accepts_confidence_modes.py26 def set_stream_manager_client(self, stream_manager_client) -> None:CODE
LOW…e/interfaces/http/test_workflow_debug_logs_contract.py26 def set_stream_manager_client(self, stream_manager_client) -> None:CODE
LOWinference/__init__.py45__all__ = [CODE
LOWinference/core/telemetry.py108def set_span_attribute(key: str, value: Any) -> None:CODE
LOWinference/core/cache/air_gapped.py25logger = logging.getLogger(__name__)CODE
LOWinference/core/managers/prometheus.py34 def set_stream_manager_client(self, stream_manager_client) -> None:CODE
LOW…rence/core/workflows/core_steps/common/utils_tensor.py66__all__ = [CODE
LOW…re/workflows/core_steps/common/deserializers_tensor.py678__all__ = [CODE
LOWinference/core/workflows/core_steps/common/entities.py14__all__ = ["StepExecutionMode"]CODE
LOW…rkflows/execution_engine/v1/inner_workflow/__init__.py27__all__ = [CODE
LOW…_engine/v1/inner_workflow/dynamic_blocks_collection.py17logger = logging.getLogger(__name__)CODE
LOW…kflows/execution_engine/introspection/blocks_loader.py52logger = logging.getLogger(__name__)CODE
LOWinference/core/utils/cuda_health.py13logger = logging.getLogger(__name__)CODE
LOWinference/core/logging/memory_handler.py20logger = logging.getLogger(__name__)CODE
LOW…ence/core/interfaces/camera/gstreamer_rtsp_producer.py25__all__ = [CODE
LOWinference/core/interfaces/camera/discoverability.py13logger = logging.getLogger(__name__)CODE
LOWinference/core/interfaces/camera/video_source.py850 def _set_file_mode_consumption_strategies(self) -> None:CODE
LOWinference/core/interfaces/camera/video_source.py854 def _set_stream_mode_consumption_strategies(self) -> None:CODE
LOWinference/core/interfaces/camera/video_source.py1114 def _set_file_mode_buffering_strategies(self) -> None:CODE
LOWinference/core/interfaces/camera/video_source.py1118 def _set_stream_mode_buffering_strategies(self) -> None:CODE
LOWinference/core/interfaces/camera/collection_policy.py39logger = logging.getLogger(__name__)CODE
LOW…ence/core/interfaces/webrtc_worker/sources/__init__.py6__all__ = ["ThreadedVideoFileTrack", "VideoFileUploadHandler"]CODE
LOW…nce/core/interfaces/stream/model_handlers/workflows.py16logger = logging.getLogger(__name__)CODE
LOWinference/core/interfaces/http/http_api.py448def _set_request_header(request: Request, header_name: str, header_value: str) -> None:CODE
LOWinference/core/interfaces/http/http_api.py456def _set_optional_context_var(context_var: Optional[Any], value: Optional[str]) -> None:CODE
LOWinference/core/interfaces/http/builder/routes.py33logger = logging.getLogger(__name__)CODE
LOW…ows/enterprise_blocks/sinks/microsoft_sql_server/v1.py35logger = logging.getLogger(__name__)CODE
LOW…ence/models/depth_anything_v3/architecture/__init__.py26__all__ = ["DepthAnything3Net"]CODE
LOW…dels/depth_anything_v3/architecture/layers/__init__.py20__all__ = [CODE
LOWinference/models/easy_ocr/__init__.py3__all__ = ["EasyOCR"]CODE
LOWinference/models/vllm_proxy/qwen3_5_vllm.py48__all__ = [CODE
LOWinference/models/vllm_proxy/__init__.py16__all__ = ["VLLM_PROXY_ENABLED"]CODE
LOWinference/models/vllm_proxy/qwen3_8_vllm.py39__all__ = ["Qwen38VLLMProxy"]CODE
LOWinference/models/vllm_proxy/qwen3vl_vllm.py54__all__ = [CODE
LOWinference/models/rfdetr_nas/__init__.py6__all__ = ["RFDETRNasObjectDetection", "RFDETRNasInstanceSegmentation"]CODE
LOWinference/models/rfdetr/__init__.py6__all__ = ["RFDETRObjectDetection", "RFDETRInstanceSegmentation"]CODE
LOWinference/models/sam3/__init__.py6__all__ = ["SegmentAnything3", "Sam3ForInteractiveImageSegmentation"]CODE
LOWinference/models/perception_encoder/__init__.py3__all__ = ["PerceptionEncoder"]CODE
LOW…e_compiler/core/compilation_handlers/engine_builder.py42 def set_timing_cache_manager(self, cache_manager: TimingCacheManager) -> None:CODE
Redundant / Tautological Comments44 hits · 56 pts
SeverityFileLineSnippetContext
LOWinference_sdk/webrtc/datachannel.py68 # Check if all chunks receivedCOMMENT
LOWinference_sdk/webrtc/session.py132 # Check if session was closed (e.g., from a handler)COMMENT
LOWinference_sdk/webrtc/session.py559 # Check if being used without parentheses: @session.on_dataCOMMENT
LOWinference_sdk/webrtc/session.py1080 # Check if it's a chunked binary messageCOMMENT
LOWinference_sdk/webrtc/session.py1265 # Check if video is will be sent through datachannel instead of video trackCOMMENT
LOWdevelopment/otel/start-otel-dev.sh40# Check if already runningCOMMENT
LOW…nference_models/models/auto_loaders/models_registry.py640 # Check if implementation requires features that package doesn't haveCOMMENT
LOW…nference_models/models/auto_loaders/models_registry.py647 # Check if package has features that implementation doesn't supportCOMMENT
LOW…execution/test_workflow_with_background_subtraction.py163 # Check if there are any non-zero pixels (indicating detected motion)STRING
LOW…integration_tests/populate_expected_responses_batch.py25 # Iterate through list of testsCOMMENT
LOW…e/integration_tests/populate_expected_responses_sam.py21 # Iterate through list of testsCOMMENT
LOW…/integration_tests/populate_expected_responses_clip.py21 # Iterate through list of testsCOMMENT
LOW…rence/integration_tests/populate_expected_responses.py33 # Iterate through list of testsCOMMENT
LOWinference/core/nms.py47 # Assign directly to the viewCOMMENT
LOWinference/core/workflows/core_steps/loader.py1697 # Check if block type category is disabledCOMMENT
LOW…core_steps/fusion/detections_classes_replacement/v1.py227 # Check if predictions are string-based (e.g. from OCR/LMM models)STRING
LOW…eps/fusion/detections_classes_replacement/v1_tensor.py262 # Check if predictions are string-based (e.g. from OCR/LMM models)STRING
LOW…rkflows/core_steps/fusion/detections_list_rollup/v1.py345 # Check if we have instance segmentation (with masks) or object detection (without masks)STRING
LOW…/core_steps/fusion/detections_list_rollup/v1_tensor.py502 # Check if we have instance segmentation (with masks) or object detection (without masks)COMMENT
LOW…core_steps/transformations/stitch_ocr_detections/v2.py476 # Check if distribution is bimodal using several heuristics:COMMENT
LOW…eps/transformations/stitch_ocr_detections/v2_tensor.py550 # Check if distribution is bimodal using several heuristics:COMMENT
LOW…re/workflows/core_steps/sinks/email_notification/v2.py515 # Check if using Roboflow Managed API KeySTRING
LOW…re/workflows/core_steps/sinks/email_notification/v2.py911 # Check if it's a workspace member restrictionCOMMENT
LOW…re/workflows/core_steps/sinks/email_notification/v2.py936 # Check if it's a rate limit errorCOMMENT
LOW…rence/core/workflows/core_steps/sinks/twilio/sms/v2.py400 # Check if using Roboflow Managed API KeySTRING
LOW…kflows/core_steps/classical_cv/pixel_color_count/v1.py186 # Check if color is in hex formatSTRING
LOW…kflows/core_steps/classical_cv/pixel_color_count/v1.py200 # Check if color is in tuple formatSTRING
LOW…workflows/core_steps/classical_cv/dominant_color/v1.py181 # Assign pixels to nearest centroidCOMMENT
LOW…orkflows/core_steps/classical_cv/sift_comparison/v1.py136 # Check if both descriptor arrays have at least 2 descriptorsSTRING
LOW…orkflows/core_steps/classical_cv/sift_comparison/v2.py230 # Check if both descriptor arrays have at least 2 descriptorsSTRING
LOW…rkflows/core_steps/analytics/detection_event_log/v1.py349 # Check if it's time to run cleanupCOMMENT
LOW…/core_steps/analytics/detection_event_log/v1_tensor.py353 # Check if it's time to run cleanupCOMMENT
LOW…s/execution_engine/v1/dynamic_blocks/modal_executor.py61# Check if Modal credentials are availableCOMMENT
LOW…s/execution_engine/v1/dynamic_blocks/modal_executor.py646 # Check if Modal is availableCOMMENT
LOW…/execution_engine/v1/dynamic_blocks/block_assembler.py99 # Check if we're using Modal for secure remote executionCOMMENT
LOWinference/core/interfaces/http/http_api.py1779 # Check if in-memory logging is enabledCOMMENT
LOW…ise/workflows/enterprise_blocks/sinks/opc_writer/v1.py546 # Check if we have an existing connection. This comes first: both gates belowCOMMENT
LOWinference/models/sam3_3d/segment_anything_3d.py86 # Check if already in correct format (uint8, 0/255 range, correct size)COMMENT
LOWapp_bundles/osx/build.py164 # Check if file is executable or matches .dylib/.so extensionCOMMENT
LOWapp_bundles/osx/build.py288 # Check if make_dmg.sh created the unversioned fileCOMMENT
LOWmodal/modal_app.py585 # Check if function expects a 'self' parameterCOMMENT
LOWmodal/utils.py35 # Check if modal is installedCOMMENT
LOWmodal/utils.py132 # Check if this is the active profileCOMMENT
LOW…_cli/lib/roboflow_cloud/data_staging/api_operations.py2203 # Check if any errors occurred during processingCOMMENT
Structural Annotation Overuse26 hits · 46 pts
SeverityFileLineSnippetContext
LOW…ce_models/docs/models/sam2-interactive-segmentation.md62# Step 1: Embed the image (optional but recommended for multiple segmentations)COMMENT
LOW…ce_models/docs/models/sam2-interactive-segmentation.md65# Step 2: Segment with point promptsCOMMENT
LOW…nce_models/docs/models/rfdetr-instance-segmentation.md82### Step 1: Train Your ModelCOMMENT
LOW…nce_models/docs/models/rfdetr-instance-segmentation.md100### Step 2: Deploy Instantly with inference-modelsCOMMENT
LOWinference_models/docs/models/rfdetr-object-detection.md126### Step 1: Train Your ModelCOMMENT
LOWinference_models/docs/models/rfdetr-object-detection.md144### Step 2: Deploy Instantly with inference-modelsCOMMENT
LOW…nce_models/docs/models/sam-interactive-segmentation.md59# Step 1: Embed the image (optional but recommended for multiple segmentations)COMMENT
LOW…nce_models/docs/models/sam-interactive-segmentation.md62# Step 2: Segment with point promptsCOMMENT
LOWinference_models/docs/how-to/local-packages.md52#### Step 1: Create `model_config.json`COMMENT
LOWinference_models/docs/how-to/local-packages.md68#### Step 2: Implement Your Model ClassCOMMENT
LOWinference_models/docs/contributors/adding-model.md16## Step 1: Understanding Model Implementation PhilosophyCOMMENT
LOWinference_models/docs/contributors/adding-model.md77## Step 2: Create Model ImplementationCOMMENT
LOWinference_models/docs/contributors/adding-model.md196## Step 3: Register Model in RegistryCOMMENT
LOWinference_models/docs/contributors/adding-model.md324## Step 4: Prepare Model Packages for RegistrationCOMMENT
LOWinference_models/docs/contributors/adding-model.md363## Step 5: Add TestsCOMMENT
LOWinference_models/docs/contributors/adding-model.md367## Step 6: Write DocumentationCOMMENT
LOW…n_engine/dynamic_blocs/test_representation_boundary.py742# Step 3: OUT direction (legacy -> native) + result walker + round trips #COMMENT
LOW…orkflows/core_steps/sinks/roboflow/vision_events/v1.py702 # Step 1: Convert predictions to vision events annotation formatCOMMENT
LOW…orkflows/core_steps/sinks/roboflow/vision_events/v1.py705 # Step 2: Upload images and build a single image entryCOMMENT
LOW…orkflows/core_steps/sinks/roboflow/vision_events/v1.py725 # Step 3: Build and send eventCOMMENT
LOW…s/core_steps/sinks/roboflow/vision_events/v1_tensor.py713 # Step 1: Convert predictions to vision events annotation formatCOMMENT
LOW…s/core_steps/sinks/roboflow/vision_events/v1_tensor.py716 # Step 2: Upload images and build a single image entryCOMMENT
LOW…s/core_steps/sinks/roboflow/vision_events/v1_tensor.py736 # Step 3: Build and send eventCOMMENT
LOWinference/core/interfaces/webrtc_worker/utils.py385 # Step 1: we remove expired entriesCOMMENT
LOWinference/core/interfaces/webrtc_worker/utils.py388 # Step 2: we return what is still validCOMMENT
LOWinference/usage_tracking/payload_helpers.py7# NOTE: This module is used in isolation, no imports from inference are allowedCOMMENT
Cross-Language Confusion (JS/TS)4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHinference/landing/src/app/components/Examples.tsx38print(res.json())CODE
HIGHinference/landing/src/app/components/Examples.tsx55print(results)CODE
HIGHinference/landing/src/app/components/Examples.tsx69print(embeddings)CODE
HIGHinference/landing/src/app/components/Examples.tsx83print(embeddings)CODE
Verbosity Indicators9 hits · 18 pts
SeverityFileLineSnippetContext
LOW…n_engine/dynamic_blocs/test_representation_boundary.py742# Step 3: OUT direction (legacy -> native) + result walker + round trips #COMMENT
LOW…orkflows/core_steps/sinks/roboflow/vision_events/v1.py702 # Step 1: Convert predictions to vision events annotation formatCOMMENT
LOW…orkflows/core_steps/sinks/roboflow/vision_events/v1.py705 # Step 2: Upload images and build a single image entryCOMMENT
LOW…orkflows/core_steps/sinks/roboflow/vision_events/v1.py725 # Step 3: Build and send eventCOMMENT
LOW…s/core_steps/sinks/roboflow/vision_events/v1_tensor.py713 # Step 1: Convert predictions to vision events annotation formatCOMMENT
LOW…s/core_steps/sinks/roboflow/vision_events/v1_tensor.py716 # Step 2: Upload images and build a single image entryCOMMENT
LOW…s/core_steps/sinks/roboflow/vision_events/v1_tensor.py736 # Step 3: Build and send eventCOMMENT
LOWinference/core/interfaces/webrtc_worker/utils.py385 # Step 1: we remove expired entriesCOMMENT
LOWinference/core/interfaces/webrtc_worker/utils.py388 # Step 2: we return what is still validCOMMENT
Cross-Language Confusion5 hits · 18 pts
SeverityFileLineSnippetContext
HIGHinference_models/inference_models/models/common/cuda.py98 context.push()CODE
HIGH…e/interfaces/http/test_workflow_debug_logs_contract.py11- no `debug` flag -> `python_blocks_output_streams` is null,STRING
HIGH…e/interfaces/http/test_workflow_debug_logs_contract.py308 # then - empty capture serializes as null, not {}STRING
HIGH…core_steps/formatters/first_non_empty_or_default/v1.py38 - Default value can be any type (string, number, object, null, etc.)CODE
HIGH…core_steps/formatters/first_non_empty_or_default/v1.py114 description="Default value to return when all data inputs are empty (None). This ensures the output is always noSTRING
Fake / Example Data11 hits · 8 pts
SeverityFileLineSnippetContext
LOW…ce/unit_tests/core/interfaces/stream/test_workflows.py369 response = _FakeResponse("placeholder")CODE
LOW…ce/unit_tests/usage_tracking/test_decorator_helpers.py926@pytest.mark.parametrize("placeholder", ["external", None])CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1104 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1141 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1172 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1205 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1238 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1278 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1310 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1356 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1393 api_key = "fake-key"CODE
AI Slop Vocabulary5 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUM…ce_models/inference_models/models/auto_loaders/core.py1131 """Display comprehensive metadata and available packages for a model.STRING
MEDIUM…s/test_workflow_with_control_flow_with_side_effects.py45# mock harness (`_run_workflow_tensor_native`).COMMENT
LOWinference/core/roboflow_api.py337 # remaining aiohttp.ClientError seems to qualify to simply pass-through raiseCOMMENT
LOW…s/execution_engine/v1/dynamic_blocks/modal_executor.py694 # For validation, we don't need complex inputs, just pass empty JSONSTRING
MEDIUM…ise/workflows/enterprise_blocks/sinks/opc_writer/v1.py855[asyncua](https://github.com/FreeOpcUa/opcua-asyncio) library for seamless communication.CODE
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM.claude/skills/add-inference-model/SKILL.md32## Before scaffolding — survey existing modelsCOMMENT
MEDIUM…ference/core/workflows/core_steps/common/openrouter.py541 # OpenRouter returns the reasoning trace as an extra `reasoning`COMMENT
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUM…erence_sdk/unit_tests/webrtc/test_session_lifecycle.py215CODE
MEDIUM…erence_sdk/unit_tests/webrtc/test_session_lifecycle.py232CODE
Overly Generic Function Names4 hits · 4 pts
SeverityFileLineSnippetContext
LOW…ts/execution/test_workflow_with_custom_python_block.py457def my_function(self, prediction: sv.Detections, crops: Batch[WorkflowImageData]) -> BlockResult:CODE
LOW…inference/integration_tests/test_workflow_endpoints.py138def my_function(self, prediction: sv.Detections, crops: Batch[WorkflowImageData]) -> BlockResult:CODE
LOW…inference/integration_tests/test_workflow_endpoints.py240def my_function(self, prediction: sv.Detections, crops: Batch[WorkflowImageData]) -> BlockResult:CODE
LOWtests/inference/hosted_platform_tests/test_workflows.py146def my_function(self, prediction: sv.Detections, crops: Batch[WorkflowImageData]) -> BlockResult:CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdevelopment/otel/start-otel-dev.sh6# Usage:COMMENT
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUM…tests/core_steps/formatters/vlm_as_detector/test_v2.py558 "Let me know if you need anything else."STRING