AI Slop Code RIsk Monitor

roboflow/inference

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

25.4 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for roboflow/inference, a Python project with 2,476 GitHub stars. SynthScan examined 1,062,106 lines of code across 4270 source files, recording 22078 pattern matches distributed across 26 syntactic categories. The legacy adjusted pattern signal is 25.4 (Elevated pattern signal); it is not an authorship estimate.

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

25.4
Adjusted Signal
25.4
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
2.5K
Stars
Python
Language
1.1M
Lines of Code
4.3K
Files
22.1K
Pattern Hits
2026-10-12
Scan Date
0.25
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 55.7/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 8.4/100 · LOW

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

Agent Over-Engineering Ratio 66.3/100 · HIGH

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

PR Review Velocity Impact 75.2/100 · CRITICAL

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 68HIGH 995MEDIUM 992LOW 20023

Directory Score Breakdown

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

Pattern Findings

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

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

Hyper-Verbose Identifiers17239 hits · 15126 pts
SeverityFileLineSnippetContext
LOW⚡inference_sdk/config.py93 def snapshot_cold_start_entries(self) -> list:CODE
LOW⚡inference_sdk/config.py97 def snapshot_cold_start_total_load_time(self) -> float:CODE
LOW⚡inference_sdk/config.py101 def snapshot_cold_start_count(self) -> int:CODE
LOWinference_sdk/regions.py88def resolve_roboflow_service_url(CODE
LOWinference_sdk/http/client.py117def _warn_about_default_api_key_transport_once() -> None:CODE
LOWinference_sdk/http/client.py157def _collect_processing_time_from_response(CODE
LOWinference_sdk/http/client.py607 def _execute_infer_from_api_request(CODE
LOWinference_sdk/http/client.py938 async def get_model_description_async(CODE
LOWinference_sdk/http/client.py1352 def get_clip_image_embeddings(CODE
LOWinference_sdk/http/client.py1421 async def get_image_embeddings_async(CODE
LOWinference_sdk/http/client.py1474 async def get_clip_image_embeddings_async(CODE
LOWinference_sdk/http/client.py1542 async def get_clip_text_embeddings_async(CODE
LOWinference_sdk/http/client.py1725 def get_perception_encoder_image_embeddings(CODE
LOWinference_sdk/http/client.py1742 def get_perception_encoder_text_embeddings(CODE
LOWinference_sdk/http/client.py2625 def _execute_workflow_request(CODE
LOWinference_sdk/http/client.py2935 async def infer_from_yolo_world_async(CODE
LOWinference_sdk/http/client.py2994 def start_inference_pipeline_with_workflow(CODE
LOWinference_sdk/http/client.py3124 def get_inference_pipeline_status(self, pipeline_id: str) -> dict:CODE
LOWinference_sdk/http/client.py3183 def resume_inference_pipeline(self, pipeline_id: str) -> dict:CODE
LOWinference_sdk/http/client.py3214 def terminate_inference_pipeline(self, pipeline_id: str) -> dict:CODE
LOWinference_sdk/http/client.py3245 def consume_inference_pipeline_result(CODE
LOWinference_sdk/http/client.py3280 def _ensure_pipeline_id_not_empty(self, pipeline_id: str) -> None:CODE
LOWinference_sdk/http/client.py3355 def __warn_if_webrtc_transport_is_stale(self) -> None:CODE
LOWinference_sdk/http/client.py3379 def __resolved_api_key_transport(self) -> ApiKeyTransport:CODE
LOWinference_sdk/http/client.py3480def _ensure_task_takes_an_image(task_type: str, asynchronous: bool = False) -> None:CODE
LOWinference_sdk/http/client.py3497def _determine_client_downsizing_parameters(CODE
LOWinference_sdk/http/client.py3519def _ensure_model_is_selected(model_id: Optional[str]) -> None:CODE
LOWinference_sdk/http/entities.py239 def to_billing_query_parameters(self) -> Optional[Dict[str, Any]]:CODE
LOWinference_sdk/http/entities.py276 def to_object_detection_parameters(self) -> Dict[str, Any]:CODE
LOWinference_sdk/http/entities.py307 def to_keypoints_detection_parameters(self) -> Dict[str, Any]:CODE
LOWinference_sdk/http/entities.py317 def to_instance_segmentation_parameters(self) -> Dict[str, Any]:CODE
LOWinference_sdk/http/entities.py334 def to_classification_parameters(self) -> Dict[str, Any]:CODE
LOWinference_sdk/http/entities.py359 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
LOW⚡inference_sdk/http/utils/executors.py89def _extract_model_id_from_request_data(request_data: RequestData) -> str:CODE
LOW⚡inference_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/anomaly_maps.py62def decode_anomaly_detection_result(CODE
LOWinference_sdk/http/utils/post_processing.py78def decode_workflow_output_list(CODE
17179 more matches not shown…
Decorative Section Separators855 hits · 3260 pts
SeverityFileLineSnippetContext
MEDIUM⚡inference_sdk/http/utils/url_utils.py86# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡inference_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
MEDIUM⚡development/codex/setup.sh4# --------------------------COMMENT
MEDIUM⚡development/codex/setup.sh6# --------------------------COMMENT
MEDIUM⚡development/codex/setup.sh11# --------------------------COMMENT
MEDIUM⚡development/codex/setup.sh13# --------------------------COMMENT
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py254# ---------------------------------------------------------------------------------COMMENT
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py256# ---------------------------------------------------------------------------------COMMENT
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py761# ---------------------------------------------------------------------------------COMMENT
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py763# ---------------------------------------------------------------------------------COMMENT
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py1115# ---------------------------------------------------------------------------------COMMENT
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py1117# ---------------------------------------------------------------------------------COMMENT
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py2143# ---------------------------------------------------------------------------------COMMENT
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py2145# ---------------------------------------------------------------------------------COMMENT
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py2354# ---------------------------------------------------------------------------------COMMENT
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py2356# ---------------------------------------------------------------------------------COMMENT
MEDIUM…stream_interface/test_benchmark_pipeline_extraction.py2099# ---------------------------------------------------------------------------------COMMENT
MEDIUM…stream_interface/test_benchmark_pipeline_extraction.py2101# ---------------------------------------------------------------------------------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
795 more matches not shown…
Cross-File Repetition538 hits · 2690 pts
SeverityFileLineSnippetContext
HIGHinference_sdk/http/errors.py0raised when a url resolves to a destination that is not permitted.STRING
HIGHworkflows/roboflow_workflows/utils/url_input.py0raised when a url resolves to a destination that is not permitted.STRING
HIGHinference/core/utils/url_input.py0raised when a url resolves to a destination that is not permitted.STRING
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…odels/models/rfdetr/optimization/preprocessors/base.py0return whether the triton path supports the runtime context. args: context: runtime target and request context. returns:STRING
HIGH…dels/models/rfdetr/optimization/postprocessors/base.py0return whether the triton path supports the runtime context. args: context: runtime target and request context. returns:STRING
HIGH…els/rfdetr/optimization/postprocessors/triton_fused.py0return whether the triton path supports the runtime context. args: context: runtime target and request context. returns:STRING
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…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…s/core/interfaces/test_workflows_execution_observer.py0def run(self, value) -> blockresult: return {"result": value}STRING
HIGH…e/interfaces/http/test_workflow_debug_logs_contract.py0def run(self, value) -> blockresult: return {"result": value}STRING
HIGH…nit_tests/execution_engine/test_observer_resolution.py0def run(self, value) -> blockresult: return {"result": value}STRING
HIGH…low_workflows/enterprise_blocks/sinks/postgresql/v1.py0return the legacy editor restrictions of this block. returns: restrictions for the workflow editor. each shares its codeSTRING
HIGH…workflows/enterprise_blocks/sinks/kafka_consumer/v1.py0return the legacy editor restrictions of this block. returns: restrictions for the workflow editor. each shares its codeSTRING
HIGH…workflows/enterprise_blocks/sinks/kafka_producer/v1.py0return the legacy editor restrictions of this block. returns: restrictions for the workflow editor. each shares its codeSTRING
HIGH…roboflow_workflows/core_steps/fusion/image_stack/v1.py0return the legacy editor restrictions of this block. returns: restrictions for the workflow editor. each shares its codeSTRING
HIGHworkflows/roboflow_workflows/core_steps/sinks/s3/v1.py0return the legacy editor restrictions of this block. returns: restrictions for the workflow editor. each shares its codeSTRING
HIGH…s/roboflow_workflows/core_steps/sinks/local_file/v1.py0return the legacy editor restrictions of this block. returns: restrictions for the workflow editor. each shares its codeSTRING
HIGH…teps/secrets_providers/environment_secrets_store/v1.py0return the legacy editor restrictions of this block. returns: restrictions for the workflow editor. each shares its codeSTRING
478 more matches not shown…
Docstring Block Structure244 hits · 1172 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.py506Run inference on one or more images. Args: inference_input (Union[ImagesReference, List[ImagesReferSTRING
HIGHinference_sdk/http/client.py535Run inference asynchronously on one or more images. Args: inference_input (Union[ImagesReference, LSTRING
HIGHinference_sdk/http/client.py563Run inference using API v0. Args: inference_input (Union[ImagesReference, List[ImagesReference]]): STRING
HIGHinference_sdk/http/client.py667Run inference using API v0 asynchronously. Args: inference_input (Union[ImagesReference, List[ImageSTRING
HIGHinference_sdk/http/client.py905Get the description of a model. Args: model_id (str): The identifier of the model. alloSTRING
HIGHinference_sdk/http/client.py941Get the description of a model asynchronously. Args: model_id (str): The identifier of the model. STRING
HIGHinference_sdk/http/client.py1025Load a model onto the server. Args: model_id (str): The identifier of the model to load. STRING
HIGHinference_sdk/http/client.py1059Load a model onto the server asynchronously. Args: model_id (str): The identifier of the model to lSTRING
HIGHinference_sdk/http/client.py1093Unload a model from the server. Args: model_id (str): The identifier of the model to unload. STRING
HIGHinference_sdk/http/client.py1180Run OCR on input image(s). Args: inference_input (Union[ImagesReference, List[ImagesReference]]): ISTRING
HIGHinference_sdk/http/client.py1252Run OCR on input image(s) asynchronously. Args: inference_input (Union[ImagesReference, List[ImagesSTRING
HIGHinference_sdk/http/client.py1357Get CLIP embeddings for input image(s). Args: inference_input (Union[ImagesReference, List[ImagesReSTRING
HIGHinference_sdk/http/client.py1388Get classifier features or logits with embedding-space metadata. Requires a server exposing ``POST /infer/embedSTRING
HIGHinference_sdk/http/client.py1427Get classifier features or logits asynchronously. Requires a server exposing ``POST /infer/embeddings``. ComparSTRING
HIGHinference_sdk/http/client.py1479Get CLIP embeddings for input image(s) asynchronously. Args: inference_input (Union[ImagesReferenceSTRING
HIGHinference_sdk/http/client.py1509Get CLIP embeddings for input text(s). Args: text (Union[str, List[str]]): Input text(s) to embed. STRING
HIGHinference_sdk/http/client.py1547Get CLIP embeddings for input text(s) asynchronously. Args: text (Union[str, List[str]]): Input texSTRING
HIGHinference_sdk/http/client.py1589Compare a subject against prompts using CLIP embeddings. Args: subject (Union[str, ImagesReference]STRING
HIGHinference_sdk/http/client.py1661Compare a subject against prompts using CLIP embeddings asynchronously. Args: subject (Union[str, ISTRING
HIGHinference_sdk/http/client.py1781Run inference using a Large Multimodal Model (LMM). This method supports various vision-language models includiSTRING
HIGHinference_sdk/http/client.py1842Run inference using a Large Multimodal Model (LMM) asynchronously. This method supports various vision-languageSTRING
HIGHinference_sdk/http/client.py1895Run depth estimation on input image(s). This method estimates depth maps from images using models like Depth AnSTRING
HIGHinference_sdk/http/client.py1965Run depth estimation on input image(s) asynchronously. Args: inference_input (Union[ImagesReferenceSTRING
HIGHinference_sdk/http/client.py2023Run Segment Anything 2 (SAM2) segmentation on input image(s). This method performs instance segmentation using STRING
HIGHinference_sdk/http/client.py2075Run Segment Anything 2 (SAM2) segmentation on input image(s) asynchronously. Args: inference_input STRING
HIGHinference_sdk/http/client.py2120Generate 3D meshes and Gaussian splatting from a 2D image with mask prompts. This method uses SAM3 3D to generaSTRING
HIGHinference_sdk/http/client.py2201Generate 3D meshes and Gaussian splatting from a 2D image asynchronously. Args: inference_input (ImSTRING
HIGHinference_sdk/http/client.py2469Run inference using a workflow specification. Triggers inference from workflow specification at the inference HSTRING
HIGHinference_sdk/http/client.py2530Run inference using a workflow specification. Triggers inference from workflow specification at the inference HSTRING
HIGHinference_sdk/http/client.py2700Run a video model over one clip, sent whole. Args: video_reference (VideoReference): URL or local pSTRING
HIGHinference_sdk/http/client.py2731Run a video model over one clip asynchronously. See ``infer_on_video``. Args: video_reference (VideSTRING
HIGHinference_sdk/http/client.py2885Run inference using YOLO-World model. Args: inference_input: Input image(s) to run inference on. CaSTRING
HIGHinference_sdk/http/client.py2942Run inference using YOLO-World model asynchronously. Args: inference_input: Input image(s) to run iSTRING
HIGHinference_sdk/http/client.py3014Starts an inference pipeline using a workflow specification. Args: video_reference: Path to video fSTRING
HIGHinference_sdk/http/client.py3125Gets the current status of a specific inference pipeline. Args: pipeline_id: The unique identifier STRING
HIGHinference_sdk/http/client.py3153Pauses a running inference pipeline. Sends a request to pause the specified inference pipeline. The pipeline muSTRING
HIGHinference_sdk/http/client.py3184Resumes a paused inference pipeline. Sends a request to resume the specified inference pipeline. The pipeline mSTRING
HIGHinference_sdk/http/client.py3215Terminates a running inference pipeline. Sends a request to terminate the specified inference pipeline. This wiSTRING
HIGHinference_sdk/http/client.py3250Consumes 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/http/utils/anomaly_maps.py20Decode the ``anomaly_map`` payload of an anomaly detection response. Args: payload (Mapping[str, Any]): MapSTRING
HIGHinference_sdk/http/utils/anomaly_maps.py65Replace a serialized ``anomaly_map`` payload with a float32 numpy array. Args: result (Union[dict, List[dicSTRING
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.py610Decorator to register frame callback handlers. The registered handlers will be called for each video frame receSTRING
HIGHinference_sdk/webrtc/session.py635Decorator to register data channel callback handlers. Can be used with or without parentheses: @sesSTRING
HIGHinference_sdk/webrtc/turn_probe.py70Check that a TURN server answers over the transport its URL names. Sends one STUN Binding Request, which TURN serveSTRING
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
184 more matches not shown…
Unused Imports1065 hits · 993 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.py37CODE
LOWinference_sdk/webrtc/session.py43CODE
LOWinference_sdk/webrtc/session.py44CODE
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
1005 more matches not shown…
Empty Error Handlers178 hits · 890 pts
SeverityFileLineSnippetContext
HIGHinference_sdk/webrtc/session.py581except Exception:CODE
HIGHinference_sdk/webrtc/session.py1027except Exception:CODE
HIGHinference_sdk/webrtc/session.py506except Exception:CODE
HIGHinference_sdk/webrtc/session.py1023except Exception:CODE
HIGHinference_sdk/webrtc/session.py481except asyncio.CancelledError:CODE
HIGHinference_sdk/webrtc/session.py483except Exception:CODE
HIGHinference_sdk/webrtc/session.py1108except Exception:CODE
HIGHinference_sdk/webrtc/session.py1133except Exception:CODE
HIGHinference_sdk/webrtc/session.py1114except Exception:CODE
HIGHinference_sdk/webrtc/session.py1227except Exception:CODE
HIGHinference_sdk/webrtc/session.py1152except Exception:CODE
HIGHinference_sdk/webrtc/session.py1163except Exception:CODE
HIGHinference_sdk/webrtc/sources.py188except Exception:CODE
HIGHinference_sdk/webrtc/sources.py561except OSError:CODE
HIGHinference_sdk/webrtc/sources.py86except OSError:CODE
HIGHinference_sdk/webrtc/sources.py648except Exception:CODE
HIGH…ment/stream_interface/benchmark_pipeline_extraction.py980except importlib_metadata.PackageNotFoundError:CODE
HIGH…ment/stream_interface/benchmark_pipeline_extraction.py1944except psutil.Error:CODE
HIGH…ment/stream_interface/benchmark_pipeline_extraction.py1881except psutil.Error:CODE
HIGH…elopment/stream_interface/benchmark_instrumentation.py887except OSError:CODE
HIGH…els/development/profiling/profile_cuda_memory_leaks.py281except Exception:CODE
HIGH…inference_models/weights_providers/offline_registry.py667except ValueError:CODE
HIGH…_models/inference_models/runtime_introspection/core.py475except Exception:CODE
HIGHinference_models/inference_models/utils/blob_storage.py100except Exception:CODE
HIGH…ce_models/models/auto_loaders/auto_resolution_cache.py154except OSError:CODE
HIGH…ce_models/inference_models/models/auto_loaders/core.py3576except OSError:CODE
HIGH…models/inference_models/models/qwen25vl/qwen25vl_hf.py47except ImportError:CODE
HIGH…nce_models/inference_models/models/gemma4/gemma4_hf.py70except ImportError:CODE
HIGH…els/inference_models/models/optimization/triton_jit.py80except ImportError: # pragma: no cover - optional at import timeCODE
HIGH…els/inference_models/models/optimization/triton_jit.py87except ImportError: # pragma: no cover - optional at import timeCODE
HIGH…els/inference_models/models/optimization/triton_jit.py94except ImportError: # pragma: no cover - optional at import timeCODE
HIGH…e_models/inference_models/models/mage_vl/mage_vl_hf.py102except ValueError:CODE
HIGH…e_models/inference_models/models/mage_vl/mage_vl_hf.py86except ImportError:CODE
HIGH…e_models/inference_models/models/glm_ocr/glm_ocr_hf.py40except ImportError:CODE
HIGH…dels/inference_models/models/paligemma/paligemma_hf.py31except ImportError:CODE
HIGH…inference_models/models/cosmos3/cosmos3_reasoner_hf.py76except ImportError:CODE
HIGH…e_models/inference_models/models/smolvlm/smolvlm_hf.py42except ImportError:CODE
HIGH…e_models/inference_models/models/qwen3vl/qwen3vl_hf.py42except ImportError:CODE
HIGH…odels/models/rfdetr/rfdetr_object_detection_pytorch.py68except:CODE
HIGH…/models/rfdetr/rfdetr_instance_segmentation_pytorch.py69except:CODE
HIGH…ence_models/tests/integration_tests/models/conftest.py1939except Exception:CODE
HIGHtests/workflows/integration_tests/execution/conftest.py259except OSError:CODE
HIGHtests/workflows/integration_tests/execution/conftest.py630except (OSError, ValueError):CODE
HIGH…cution/test_workflow_with_custom_python_block_modal.py194except Exception:CODE
HIGH…ation_tests/execution/test_workflow_with_opc_writer.py216except asyncio.CancelledError:CODE
HIGH…ation_tests/execution/test_workflow_with_opc_writer.py256except asyncio.CancelledError:CODE
HIGH…/execution/test_existing_blocks_modal_compatibility.py98except Exception:CODE
HIGH…ide_effects/test_rfdetr_sliced_workflow_main_parity.py349except OSError:CODE
HIGH…ide_effects/test_rfdetr_sliced_workflow_main_parity.py354except OSError:CODE
HIGH…ide_effects/test_rfdetr_sliced_workflow_main_parity.py358except OSError:CODE
HIGHtests/inference/unit_tests/conftest.py162except ModuleNotFoundError:CODE
HIGH…s/inference/unit_tests/core/cache/test_memory_cache.py127except threading.BrokenBarrierError:CODE
HIGHtests/inference/unit_tests/core/utils/test_mjpeg.py74except (BrokenPipeError, ConnectionResetError):CODE
HIGH…ts/inference/unit_tests/core/utils/test_file_system.py475except ValueError:CODE
HIGH…ts/inference/unit_tests/core/utils/test_file_system.py755except WriteError:CODE
HIGH…ts/inference/unit_tests/core/utils/test_file_system.py786except:CODE
HIGH…e/unit_tests/core/interfaces/_stream_contract_probe.py83except (AttributeError, TypeError):CODE
HIGH…unit_tests/core/interfaces/camera/test_video_source.py658except StreamOperationNotAllowedError:CODE
HIGH…it_tests/core/interfaces/http/test_mtls_enforcement.py59except ssl.SSLWantReadError:CODE
HIGH…it_tests/core/interfaces/http/test_mtls_enforcement.py65except ssl.SSLWantReadError:CODE
118 more matches not shown…
Excessive Try-Catch Wrapping849 hits · 826 pts
SeverityFileLineSnippetContext
LOWdebugrun.py68 except Exception as e:CODE
MEDIUMdebugrun.py69 print("Error starting server:", e)CODE
LOW⚡inference_sdk/http/utils/executors.py99 except Exception:CODE
LOWinference_sdk/webrtc/model_workflows.py130 except Exception as e:CODE
LOW⚡inference_sdk/webrtc/session.py1023 except Exception:CODE
LOW⚡inference_sdk/webrtc/session.py1027 except Exception:CODE
LOW⚡inference_sdk/webrtc/session.py1108 except Exception:CODE
LOW⚡inference_sdk/webrtc/session.py1114 except Exception:CODE
LOW⚡inference_sdk/webrtc/session.py1133 except Exception:CODE
LOW⚡inference_sdk/webrtc/session.py1152 except Exception:CODE
LOW⚡inference_sdk/webrtc/session.py1155 except Exception as e:CODE
LOW⚡inference_sdk/webrtc/session.py1163 except Exception:CODE
LOWinference_sdk/webrtc/session.py289 except Exception:CODE
LOWinference_sdk/webrtc/session.py294 except Exception:CODE
LOWinference_sdk/webrtc/session.py461 except Exception:CODE
LOWinference_sdk/webrtc/session.py469 except Exception:CODE
LOWinference_sdk/webrtc/session.py483 except Exception:CODE
LOWinference_sdk/webrtc/session.py506 except Exception:CODE
LOWinference_sdk/webrtc/session.py581 except Exception:CODE
LOWinference_sdk/webrtc/session.py760 except Exception:CODE
LOWinference_sdk/webrtc/session.py785 except Exception:CODE
LOWinference_sdk/webrtc/session.py841 except Exception:CODE
LOWinference_sdk/webrtc/session.py892 except Exception as e:CODE
LOWinference_sdk/webrtc/session.py1058 except Exception:CODE
LOWinference_sdk/webrtc/session.py1227 except Exception:CODE
LOWinference_sdk/webrtc/session.py1245 except Exception:CODE
LOWinference_sdk/webrtc/session.py1286 except Exception:CODE
LOWinference_sdk/webrtc/session.py1300 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
LOWdocker/scripts/verify_pillow_simd.py158 except Exception as error: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.py524 except Exception:STRING
LOWdevelopment/docs/build_block_docs.py643 except Exception:STRING
LOWdevelopment/docs/build_block_docs.py662 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
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py1152def _sample_tree(self) -> None:CODE
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py1808def consume_in_thread() -> None:CODE
LOW⚡…ment/stream_interface/benchmark_pipeline_extraction.py1858 except Exception as error: # noqa: BLE001 - the server is stopped belowCODE
LOW⚡…ment/stream_interface/benchmark_pipeline_extraction.py1864 except Exception as error: # noqa: BLE001 - the server is stopped belowCODE
LOW…ment/stream_interface/benchmark_pipeline_extraction.py1560 except Exception as error: # noqa: BLE001 - diagnostic onlyCODE
LOW…ment/stream_interface/benchmark_pipeline_extraction.py1811 except Exception as error: # noqa: BLE001 - reported as run failureCODE
LOW…ment/stream_interface/benchmark_pipeline_extraction.py1842 except Exception as error: # noqa: BLE001 - diagnostics onlyCODE
LOW…ment/stream_interface/benchmark_pipeline_extraction.py1929 except Exception: # noqa: BLE001 - not listening yetCODE
LOW…elopment/stream_interface/benchmark_instrumentation.py136 except Exception as error: # noqa: BLE001 - never break the runtimeCODE
LOW…elopment/stream_interface/benchmark_instrumentation.py162 except Exception as error: # noqa: BLE001 - never break the runtimeCODE
LOW…elopment/stream_interface/benchmark_instrumentation.py205 except Exception as error: # noqa: BLE001 - never break the runtimeCODE
LOW…elopment/stream_interface/benchmark_instrumentation.py240 except Exception: # noqa: BLE001 - diagnostics onlyCODE
LOW…elopment/stream_interface/benchmark_instrumentation.py273 except Exception as error: # noqa: BLE001 - diagnostics onlyCODE
LOW…elopment/stream_interface/benchmark_instrumentation.py329 except Exception: # noqa: BLE001 - diagnostics onlyCODE
LOW…elopment/stream_interface/benchmark_instrumentation.py517 except Exception as error: # noqa: BLE001 - diagnostic onlyCODE
789 more matches not shown…
Hallucination Indicators68 hits · 695 pts
SeverityFileLineSnippetContext
CRITICAL…lows/unit_tests/core_steps/sinks/test_twilio_sms_v2.py283 from inference.core.exceptions import RoboflowAPIUnsuccessfulRequestErrorCODE
CRITICAL…lows/unit_tests/core_steps/sinks/test_twilio_sms_v2.py317 from inference.core.exceptions import RoboflowAPIUnsuccessfulRequestErrorCODE
CRITICAL…s/core_steps/models/foundation/test_gaze_deprecated.py5from inference.core.exceptions import FeatureDeprecatedErrorCODE
CRITICAL…ore_steps/models/foundation/test_cog_vlm_deprecated.py5from inference.core.exceptions import FeatureDeprecatedErrorCODE
CRITICAL…core_steps/visualizations/test_icon_local_file_gate.py7from inference.core.exceptions import InputImageLoadErrorCODE
CRITICAL…cution_engine/dynamic_blocs/test_workspace_resolver.py78 from inference.core.exceptions import WorkspaceLoadErrorCODE
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.py25from inference.core.exceptions import ModelArtefactErrorCODE
CRITICAL…it_tests/core/utils/test_action_recognition_results.py6from inference.core.exceptions import PayloadTooLargeErrorCODE
CRITICAL…ts/inference/unit_tests/core/utils/test_postprocess.py7from inference.core.exceptions import PostProcessingErrorCODE
CRITICAL…ts/inference/unit_tests/core/utils/test_video_utils.py11from inference.core.exceptions import InputImageLoadError, PayloadTooLargeErrorCODE
CRITICAL…ce/unit_tests/core/utils/test_local_file_permission.py14from inference.core.exceptions import InputImageLoadErrorCODE
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
CRITICAL⚡tests/inference/unit_tests/core/utils/test_roboflow.py5from inference.core.exceptions import InvalidModelIDErrorCODE
CRITICAL…t_tests/core/models/test_action_recognition_adapter.py110 from inference.core.exceptions import PayloadTooLargeErrorCODE
CRITICAL…t_tests/core/models/test_action_recognition_adapter.py412 from inference.core.exceptions import PayloadTooLargeErrorCODE
CRITICAL…t_tests/core/models/test_action_recognition_adapter.py551 from inference.core.exceptions import ModelDeploymentNotSupportedErrorCODE
CRITICAL…ts/core/models/test_offline_onnx_cache_immutability.py9 from inference.core.exceptions import ModelArtefactErrorCODE
CRITICALtests/inference/unit_tests/core/models/test_roboflow.py8from inference.core.exceptions import ModelArtefactErrorCODE
CRITICAL…s/core/interfaces/test_image_codec_local_file_paths.py14from inference.core.exceptions import InputImageLoadErrorCODE
CRITICAL…it_tests/core/interfaces/test_workflows_image_codec.py31from inference.core.exceptions import InputImageLoadError, InvalidImageTypeDeclaredCODE
CRITICAL…s/core/interfaces/test_step_error_handler_selection.py3from inference.core.exceptions import FeatureDeprecatedErrorCODE
CRITICAL…it_tests/core/interfaces/test_streams_configuration.py375from inference.core.exceptions import WebRTCConfigurationErrorCODE
CRITICAL…unit_tests/core/interfaces/test_image_codec_binding.py631from inference.core.exceptions import InputImageLoadError, InvalidImageTypeDeclaredCODE
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…ence/unit_tests/core/interfaces/stream/test_support.py20from inference.core.exceptions import InvalidEnvironmentVariableErrorCODE
CRITICAL…terfaces/stream_manager/manager_app/test_host_spawn.py216 from inference.core.exceptions import RoboflowAPINotNotFoundErrorCODE
CRITICAL…rence/unit_tests/core/interfaces/http/test_http_api.py17from inference.core.exceptions import RoboflowAPINotAuthorizedErrorCODE
CRITICAL…ore/interfaces/legacy_stream/test_pipeline_wrappers.py25from inference.core.exceptions import CannotInitialiseModelError, MissingApiKeyErrorCODE
CRITICAL⚡tests/inference/unit_tests/models/test_gaze_stub.py5from inference.core.exceptions import FeatureDeprecatedErrorCODE
CRITICAL⚡…sts/unit_tests/core_steps/sinks/test_mqtt_writer_v2.py1286 mock_client_cls.return_value.publish.return_value.wait_for_publish.assert_called_once()CODE
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
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/utils/action_recognition_results.py6from inference.core.exceptions import PayloadTooLargeErrorCODE
CRITICALinference/core/utils/url_input.py28from inference.core.exceptions import PayloadTooLargeErrorCODE
CRITICALinference/core/models/classification_base.py27from inference.core.exceptions import ModelDeploymentNotSupportedErrorCODE
CRITICALinference/core/models/utils/keypoints.py4from inference.core.exceptions import ModelArtefactErrorCODE
CRITICALinference/core/interfaces/roboflow_platform_client.py15from inference.core.exceptions import WorkspaceLoadErrorCODE
CRITICALinference/core/interfaces/http/dependencies.py6from inference.core.exceptions import InputImageLoadErrorCODE
CRITICAL…ce/core/interfaces/legacy_stream/inference_pipeline.py109from inference.core.exceptions import CannotInitialiseModelError, MissingApiKeyErrorCODE
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
8 more matches not shown…
Deep Nesting409 hits · 362 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.py269CODE
LOWinference_sdk/webrtc/session.py359CODE
LOWinference_sdk/webrtc/session.py495CODE
LOWinference_sdk/webrtc/session.py719CODE
LOWinference_sdk/webrtc/session.py1030CODE
LOWinference_sdk/webrtc/session.py1065CODE
LOWinference_sdk/webrtc/session.py275CODE
LOWinference_sdk/webrtc/session.py1190CODE
LOW…les/video_analysis/aggregating_objects_passing_data.py157CODE
LOW…orkflows_examples/video_analysis/using_webhook_sink.py243CODE
LOW…ment/stream_interface/benchmark_pipeline_extraction.py462CODE
LOW…ment/stream_interface/benchmark_pipeline_extraction.py685CODE
LOW…ment/stream_interface/benchmark_pipeline_extraction.py792CODE
LOW…ment/stream_interface/benchmark_pipeline_extraction.py1332CODE
LOW…ment/stream_interface/benchmark_pipeline_extraction.py1708CODE
LOW…ment/stream_interface/benchmark_pipeline_extraction.py1389CODE
LOWdevelopment/stream_interface/time_in_zone_demo.py92CODE
LOW…pment/stream_interface/inference_pipeline_on_camera.py54CODE
LOW…elopment/stream_interface/benchmark_instrumentation.py597CODE
LOW…elopment/stream_interface/benchmark_instrumentation.py107CODE
LOW…elopment/stream_interface/benchmark_instrumentation.py141CODE
LOW…elopment/stream_interface/benchmark_instrumentation.py511CODE
LOW…elopment/stream_interface/benchmark_instrumentation.py142CODE
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
LOWdevelopment/profiling/nsys_stats.py264CODE
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…rence_models/inference_models/utils/onnx_embeddings.py31CODE
LOW…rence_models/inference_models/utils/onnx_embeddings.py83CODE
LOW…ce_models/models/auto_loaders/auto_resolution_cache.py97CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py778CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py2278CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py3419CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py3583CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py1509CODE
LOW…rence_models/models/auto_loaders/presentation_utils.py106CODE
LOW…ference_models/models/auto_loaders/auto_negotiation.py883CODE
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…ference_models/models/optimization/runtime_metadata.py40CODE
LOW…ls/inference_models/models/pp_ocrv6/pp_ocrv6_common.py164CODE
349 more matches not shown…
AI Structural Patterns204 hits · 186 pts
SeverityFileLineSnippetContext
LOWinference_sdk/http/client.py1830CODE
LOWinference_sdk/http/client.py1885CODE
LOWinference_sdk/http/client.py2064CODE
LOWinference_sdk/http/client.py2105CODE
LOWinference_sdk/http/client.py2456CODE
LOWinference_sdk/http/client.py2517CODE
LOWinference_sdk/http/client.py2585CODE
LOWinference_sdk/http/client.py2692CODE
LOWinference_sdk/http/client.py2625CODE
LOWinference_sdk/http/client.py2994CODE
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…dels/models/yolov8/yolov8_instance_segmentation_trt.py272CODE
LOW…els/models/yolov8/yolov8_instance_segmentation_onnx.py223CODE
LOW…ls/yolov8/yolov8_instance_segmentation_torch_script.py181CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py2278CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py2717CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py2947CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py3419CODE
LOW…ce_models/inference_models/models/auto_loaders/core.py1509CODE
LOW…ference_models/models/auto_loaders/auto_negotiation.py60CODE
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…ference_models/models/optimization/runtime_metadata.py88CODE
LOW…dels/inference_models/models/optimization/contracts.py42CODE
LOW…dels/inference_models/models/optimization/contracts.py56CODE
LOW…e_models/inference_models/models/mage_vl/mage_vl_hf.py217CODE
LOW…inference_models/models/cosmos3/cosmos3_reasoner_hf.py297CODE
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…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.py870CODE
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…odels/models/rfdetr/rfdetr_object_detection_pytorch.py468CODE
LOW…odels/models/rfdetr/rfdetr_object_detection_pytorch.py494CODE
LOW…s/inference_models/models/rfdetr/triton_postprocess.py483CODE
LOW…e_models/models/rfdetr/rfdetr_object_detection_onnx.py279CODE
LOW…e_models/models/rfdetr/rfdetr_object_detection_onnx.py299CODE
LOW…odels/inference_models/models/rfdetr/pre_processing.py158CODE
LOW…s/models/rfdetr/triton_universal_preprocess_runtime.py229CODE
LOW…ence_models/models/rfdetr/optimization/backend_path.py295CODE
LOW…ence_models/models/rfdetr/optimization/backend_path.py309CODE
LOW…ce_models/models/rfdetr/optimization/backend_stages.py72CODE
LOW…ce_models/models/rfdetr/optimization/backend_stages.py159CODE
LOW…ference_models/models/rfdetr/optimization/selection.py192CODE
LOW…/rfdetr/optimization/preprocessors/triton_universal.py114CODE
144 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
MEDIUM⚡tests/unit/core/cache/test_air_gapped.py254 # Create a cache directory for the model variant with a file.COMMENT
MEDIUM⚡tests/unit/core/cache/test_air_gapped.py318 # Create a cache directory for one of the variants with a file.COMMENT
MEDIUM⚡tests/unit/core/cache/test_air_gapped.py377 # Create a cache directory but with no files in it.COMMENT
MEDIUM…sts/core_steps/sinks/roboflow/vision_events/test_v1.py110 # Create a simple square maskCOMMENT
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.py760 # 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
MEDIUM…lows/core_steps/transformations/detections_merge/v1.py182 # Create a new detection with the union bbox and ensure numpy arrays for all fieldsCOMMENT
MEDIUM…xecution_engine/v1/dynamic_blocks/block_scaffolding.py613 # Create a stub module for local referenceCOMMENT
MEDIUM…xecution_engine/v1/dynamic_blocks/block_scaffolding.py645 # Create a stub module for local referenceCOMMENT
MEDIUM…ows/tests/unit_tests/core_steps/sinks/test_email_v2.py294 # Create a small numpy image for ExtractImageProperty (width/height)COMMENT
MEDIUM⚡…ts/unit_tests/core_steps/sinks/test_event_writer_v1.py332 # Create a filled square mask — findContours will produce a polygonCOMMENT
MEDIUM…s/unit_tests/core_steps/models/foundation/test_clip.py28 # Create a mock WorkflowImageData instanceCOMMENT
MEDIUM⚡…nit_tests/core_steps/visualizations/test_icon_alpha.py21 # Create a test background image (white)COMMENT
MEDIUM⚡…nit_tests/core_steps/visualizations/test_icon_alpha.py28 # Create an icon with alpha channel (red circle with transparent background)COMMENT
MEDIUM…nit_tests/core_steps/visualizations/test_icon_alpha.py95 # Create a test background image (white)COMMENT
MEDIUM…nit_tests/core_steps/visualizations/test_icon_alpha.py102 # Create an icon with alpha channelCOMMENT
MEDIUM…t_tests/core_steps/classical_cv/test_mask_edge_snap.py89 # Create a single mask (e.g., from instance segmentation model)COMMENT
MEDIUM…t_tests/core_steps/classical_cv/test_mask_edge_snap.py168 # Create a maskCOMMENT
MEDIUM…s/core_steps/classical_cv/test_distance_measurement.py58 tolerance = 1e-5 # Define a tolerance levelCODE
MEDIUM…s/core_steps/classical_cv/test_distance_measurement.py118 tolerance = 1e-3 # Define a tolerance levelCODE
MEDIUM…s/core_steps/classical_cv/test_distance_measurement.py184 tolerance = 1e-3 # Define a tolerance levelCODE
MEDIUM…s/core_steps/classical_cv/test_distance_measurement.py242 tolerance = 1e-3 # Define a tolerance levelCODE
MEDIUM⚡…s/core_steps/classical_cv/test_contrast_enhancement.py40 # Create a test BGR image with low contrastCOMMENT
MEDIUM…s/core_steps/classical_cv/test_contrast_enhancement.py65 # Create a test grayscale imageCOMMENT
MEDIUM…s/core_steps/classical_cv/test_contrast_enhancement.py88 # Create a test BGRA imageCOMMENT
MEDIUM…s/core_steps/classical_cv/test_contrast_enhancement.py114 # Create a test image with some outliersCOMMENT
MEDIUMexamples/inference-client/udp.py18 # Create a datagram (UDP) socketCOMMENT
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.py65 # 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.py395# Create the Modal AppCOMMENT
Magic Placeholder Names22 hits · 110 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.py1225 ... api_key="your_api_key"STRING
HIGH…ce_models/inference_models/models/auto_loaders/core.py1732 ... 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
HIGHdocs/workflows/classifier_embeddings.md108client = InferenceHTTPClient("http://localhost:9001", api_key="YOUR_API_KEY")CODE
HIGHdocs/workflows/classifier_embeddings.md138 "my-project/3", 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 Block118 hits · 105 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…els/inference_models/models/base/action_recognition.py21COMMENT
LOW…els/inference_models/models/base/action_recognition.py281 # Training drops the trailing remainder when it validates, because aCOMMENT
LOWtests/workflows/unit_tests/test_configuration.py21REPO_ROOT = Path(__file__).resolve().parents[3]COMMENT
LOW…tion_engine/dynamic_blocs/test_block_usage_metering.py761 assert details["duration_source"] == BLOCK_DURATION_SOURCE_REMOTE_RUNTIMECOMMENT
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
LOW…sts/core/test_roboflow_plugin_workload_declarations.py541 for block_type in PLUGIN_BLOCK_TYPES:COMMENT
LOW…unit_tests/core/interfaces/test_image_codec_binding.py521 # Narrower than the test above, and deliberately so: this covers theCOMMENT
LOW…re/interfaces/http/test_workflows_describe_workload.py1041# key and still be authorised as different workspaces, and the registry callCOMMENT
LOW…low_workflows/enterprise_blocks/sinks/opc_writer/v1.py601 # the pool just after the sweep and never be closed.COMMENT
LOW…low_workflows/enterprise_blocks/sinks/opc_writer/v1.py721 """COMMENT
LOWworkflows/roboflow_workflows/core_steps/loader.py1561 )COMMENT
LOWworkflows/roboflow_workflows/core_steps/loader.py1641 schema = manifest_class.model_json_schema()COMMENT
LOW…/core_steps/fusion/detections_list_rollup/v1_tensor.py901 if merged_bboxes:COMMENT
LOW…lows/core_steps/transformations/track_class_lock/v1.py41# would otherwise grow per-video state without limit on long-running servers;COMMENT
LOW…w_workflows/core_steps/models/foundation/zai_vlm/v1.py81# the format pinned for GLM 5.3 FlashCOMMENT
LOW…w_workflows/core_steps/models/foundation/zai_vlm/v2.py81COMMENT
LOW…w_workflows/core_steps/models/foundation/zai_vlm/v2.py101 "Only use these labels: {class_list}. Return a JSON array only."COMMENT
LOW…steps/models/foundation/segment_anything3/v3_tensor.py241COMMENT
LOW…_workflows/core_steps/models/foundation/qwen_vlm/v4.py101 OFFLINE_PLATFORM_CLIENT,COMMENT
LOW…_workflows/core_steps/models/foundation/qwen_vlm/v4.py421# Every task sends a single user message with the image part FIRST and theCOMMENT
LOW…_workflows/core_steps/models/foundation/qwen_vlm/v1.py201 "Qwen 3.5 VL 2B",COMMENT
LOW…_workflows/core_steps/models/foundation/qwen_vlm/v2.py381COMMENT
LOW…ow_workflows/core_steps/models/foundation/openai/v6.py61)COMMENT
LOW…odels/roboflow/multi_label_classification/v1_tensor.py281 # numpy parity: `Model.infer_from_request` stamps `time` (elapsed aroundCOMMENT
LOW…/roboflow_workflows/core_steps/common/tensor_native.py61TensorNativeDetections = Union[Detections, InstanceDetections]COMMENT
LOW…workflows/core_steps/visualizations/label/v1_tensor.py101_PENDING_TRACK_COLOR_BGR = (128, 128, 128)COMMENT
LOW…workflows/core_steps/visualizations/label/v1_tensor.py981 else predictionsCOMMENT
LOW…e_steps/visualizations/common/base_colorable_tensor.py61 # "Matplotlib Stern",COMMENT
LOW…ows/core_steps/visualizations/common/base_colorable.py61 # "Matplotlib Stern",COMMENT
LOW…lows/core_steps/visualizations/rich_label/v1_tensor.py121 if passthrough is not None:COMMENT
LOW…e_steps/classical_cv/detections_nearest_neighbor/v1.py81COMMENT
LOW…e_steps/classical_cv/detections_nearest_neighbor/v1.py401 # than raising.COMMENT
LOW…/classical_cv/detections_nearest_neighbor/v1_tensor.py321 valid, distance_matrix, torch.full_like(distance_matrix, infinity)COMMENT
LOW…w_workflows/core_steps/classical_cv/camera_focus/v2.py741# keeps the frame on the device instead of paying a full-frame device->hostCOMMENT
LOWworkflows/roboflow_workflows/prototypes/block.py61 available: bool = TrueCOMMENT
LOW…flows/roboflow_workflows/execution_engine/constants.py61SMOOTHED_SPEED_KEY_IN_INFERENCE_RESPONSE = "smoothed_speed"COMMENT
LOW…rkflows/roboflow_workflows/execution_engine/v1/core.py441 ) -> "ExecutionEngineV1":COMMENT
LOW…xecution_engine/v1/dynamic_blocks/block_scaffolding.py81 "import requests",COMMENT
LOW…xecution_engine/v1/dynamic_blocks/block_scaffolding.py421 # `legacy_compatibility` blocks receive the documented sv/numpyCOMMENT
LOW…s/execution_engine/v1/dynamic_blocks/modal_executor.py81_WEBEXEC_HTTP_METHOD_LABEL = "execute-block"COMMENT
LOW…s/execution_engine/v1/dynamic_blocks/modal_executor.py1241 reply_raw = self._recv_reassembled(msgpack)COMMENT
LOW…s/execution_engine/v1/dynamic_blocks/modal_executor.py1721 # which would re-run side effects that may alreadyCOMMENT
LOW…s/execution_engine/v1/dynamic_blocks/modal_executor.py1761 #COMMENT
58 more matches not shown…
Modern Structural Boilerplate94 hits · 96 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…_models/inference_models/models/cosmos3/span_format.py297 def set_input_length(self, input_length: int) -> None:CODE
LOW…ence_models/models/rfdetr/dinov2_with_windowed_attn.py1450__all__ = [CODE
LOW…s/models/rfdetr/optimization/preprocessors/__init__.py10__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⚡…t_tests/models/common/test_coreml_provider_defaults.py19 def set_version(version: str) -> None:CODE
LOW…tream_manager/manager_app/test_result_serialization.py116def _set_legacy_tensor_mode(monkeypatch: pytest.MonkeyPatch, enabled: bool) -> None:CODE
LOW…tream_manager/manager_app/test_result_serialization.py120def _set_stream_tensor_mode(monkeypatch: pytest.MonkeyPatch, enabled: bool) -> None:CODE
LOW…tream_manager/manager_app/test_result_serialization.py332def _set_manager_tensor_mode(monkeypatch: pytest.MonkeyPatch, enabled: bool) -> None: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.py63 def set_stream_manager_client(self, stream_manager_client) -> None:STRING
LOW…re/interfaces/http/test_workflows_describe_workload.py59 def set_stream_manager_client(self, stream_manager_client) -> None:CODE
LOW…erfaces/http/test_workflow_blocks_describe_resolver.py43 def set_stream_manager_client(self, stream_manager_client) -> None:CODE
LOW…sts/core/interfaces/http/test_workflow_schema_route.py15 def set_stream_manager_client(self, stream_manager_client) -> None:CODE
LOW…/interfaces/http/test_workflow_sink_policy_contract.py15 def set_stream_manager_client(self, stream_manager_client) -> None:CODE
LOW…nterfaces/http/test_legacy_action_recognition_route.py31 def set_stream_manager_client(self, stream_manager_client) -> None:CODE
LOW…nterfaces/http/test_workflows_describe_workload_e2e.py164 def set_stream_manager_client(self, stream_manager_client) -> None:STRING
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
LOW…flow_workflows/enterprise_blocks/sinks/kafka_common.py32logger = logging.getLogger(__name__)CODE
LOW…workflows/enterprise_blocks/sinks/kafka_consumer/v1.py72logger = logging.getLogger(__name__)CODE
LOW…workflows/enterprise_blocks/sinks/kafka_producer/v1.py63logger = logging.getLogger(__name__)CODE
LOW…boflow_workflows/core_steps/models/workload_presets.py37__all__ = [CODE
LOW…s/roboflow_workflows/core_steps/common/utils_tensor.py65__all__ = [CODE
LOW…ow_workflows/core_steps/common/deserializers_tensor.py682__all__ = [CODE
LOW…flows/roboflow_workflows/core_steps/common/entities.py14__all__ = ["StepExecutionMode"]CODE
LOW…w_workflows/core_steps/common/vlm_decoding/__init__.py69__all__ = [CODE
LOW⚡workflows/roboflow_workflows/utils/images.py18__all__ = [CODE
LOWworkflows/roboflow_workflows/prototypes/image_codec.py241def set_default_image_codec_factory(factory: Callable[[], ImageCodec]) -> None:CODE
LOWworkflows/roboflow_workflows/prototypes/image_codec.py264def set_image_codec(codec: ImageCodec) -> None:CODE
LOW…rkflows/execution_engine/v1/inner_workflow/__init__.py27__all__ = [CODE
LOW…s/execution_engine/v1/dynamic_blocks/modal_executor.py190def _set_socket_timeout(ws: Any, value: Optional[float]) -> None:CODE
LOW…sts/unit_tests/core_steps/sinks/test_kafka_consumer.py145 def set_low_watermark(self, topic: str, partition: int, low: int) -> None:CODE
LOW…_vision/streamvision/camera/gstreamer_rtsp_producer.py19__all__ = [CODE
LOWstream_vision/streamvision/camera/discoverability.py13logger = logging.getLogger(__name__)CODE
LOW⚡stream_vision/streamvision/camera/video_source.py849 def _set_file_mode_consumption_strategies(self) -> None:CODE
LOW⚡stream_vision/streamvision/camera/video_source.py853 def _set_stream_mode_consumption_strategies(self) -> None:CODE
LOW⚡stream_vision/streamvision/camera/video_source.py1135 def _set_file_mode_buffering_strategies(self) -> None:CODE
LOW⚡stream_vision/streamvision/camera/video_source.py1139 def _set_stream_mode_buffering_strategies(self) -> None:CODE
LOWstream_vision/streamvision/camera/video_source.py54logger = logging.getLogger(__name__)CODE
LOWstream_vision/streamvision/camera/camera.py9logger = logging.getLogger(__name__)CODE
LOWstream_vision/streamvision/camera/utils.py28logger = logging.getLogger(__name__)CODE
LOWstream_vision/streamvision/camera/collection_policy.py39logger = logging.getLogger(__name__)CODE
LOWstream_vision/streamvision/camera/capture_properties.py23logger = logging.getLogger(__name__)CODE
LOWstream_vision/streamvision/webrtc_worker/watchdog.py15logger = logging.getLogger(__name__)CODE
LOWstream_vision/streamvision/webrtc_worker/webrtc.py84logger = logging.getLogger(__name__)CODE
LOW…eam_vision/streamvision/webrtc_worker/modal_session.py25logger = logging.getLogger(__name__)CODE
LOWstream_vision/streamvision/webrtc_worker/utils.py18logger = logging.getLogger(__name__)CODE
LOW…_vision/streamvision/webrtc_worker/sources/__init__.py6__all__ = ["ThreadedVideoFileTrack", "VideoFileUploadHandler"]CODE
LOW…ream_vision/streamvision/webrtc_worker/sources/file.py14logger = logging.getLogger(__name__)CODE
LOWstream_vision/streamvision/stream/utils.py29logger = logging.getLogger(__name__)CODE
LOWstream_vision/streamvision/stream/pipeline.py80logger = logging.getLogger(__name__)CODE
34 more matches not shown…
Redundant / Tautological Comments46 hits · 56 pts
SeverityFileLineSnippetContext
LOWinference_sdk/webrtc/datachannel.py68 # Check if all chunks receivedCOMMENT
LOWinference_sdk/webrtc/session.py133 # Check if session was closed (e.g., from a handler)COMMENT
LOWinference_sdk/webrtc/session.py670 # Check if being used without parentheses: @session.on_dataCOMMENT
LOWinference_sdk/webrtc/session.py1194 # Check if it's a chunked binary messageCOMMENT
LOWinference_sdk/webrtc/session.py1379 # Check if video is will be sent through datachannel instead of video trackCOMMENT
LOWdevelopment/otel/start-otel-dev.sh40# Check if already runningCOMMENT
LOW…ment/stream_interface/benchmark_pipeline_extraction.py800 # Check if arg is a reference flag with = form (e.g., --source=value)COMMENT
LOW…ment/stream_interface/benchmark_pipeline_extraction.py813 # Check if this arg is a reference flag without = formCOMMENT
LOW…nference_models/models/auto_loaders/models_registry.py742 # Check if implementation requires features that package doesn't haveCOMMENT
LOW…nference_models/models/auto_loaders/models_registry.py749 # 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
LOW…low_workflows/enterprise_blocks/sinks/opc_writer/v1.py556 # Check if we have an existing connection. This comes first: both gates belowCOMMENT
LOWworkflows/roboflow_workflows/core_steps/loader.py1645 # Check if block type category is disabledCOMMENT
LOW…core_steps/fusion/detections_classes_replacement/v1.py245 # Check if predictions are string-based (e.g. from OCR/LMM models)STRING
LOW…eps/fusion/detections_classes_replacement/v1_tensor.py281 # Check if predictions are string-based (e.g. from OCR/LMM models)STRING
LOW…rkflows/core_steps/fusion/detections_list_rollup/v1.py363 # Check if we have instance segmentation (with masks) or object detection (without masks)STRING
LOW…/core_steps/fusion/detections_list_rollup/v1_tensor.py524 # Check if we have instance segmentation (with masks) or object detection (without masks)COMMENT
LOW…core_steps/transformations/stitch_ocr_detections/v2.py491 # Check if distribution is bimodal using several heuristics:COMMENT
LOW…eps/transformations/stitch_ocr_detections/v2_tensor.py566 # Check if distribution is bimodal using several heuristics:COMMENT
LOW…ow_workflows/core_steps/sinks/email_notification/v2.py561 # Check if using Roboflow Managed API KeySTRING
LOW…ow_workflows/core_steps/sinks/email_notification/v2.py959 # Check if it's a workspace member restrictionCOMMENT
LOW…ow_workflows/core_steps/sinks/email_notification/v2.py984 # Check if it's a rate limit errorCOMMENT
LOW…s/roboflow_workflows/core_steps/sinks/twilio/sms/v2.py446 # Check if using Roboflow Managed API KeySTRING
LOW⚡…kflows/core_steps/classical_cv/pixel_color_count/v1.py204 # Check if color is in hex formatSTRING
LOW…kflows/core_steps/classical_cv/pixel_color_count/v1.py218 # Check if color is in tuple formatSTRING
LOW…workflows/core_steps/classical_cv/dominant_color/v1.py199 # Assign pixels to nearest centroidCOMMENT
LOW…orkflows/core_steps/classical_cv/sift_comparison/v1.py154 # Check if both descriptor arrays have at least 2 descriptorsSTRING
LOW…orkflows/core_steps/classical_cv/sift_comparison/v2.py271 # Check if both descriptor arrays have at least 2 descriptorsSTRING
LOW…rkflows/core_steps/analytics/detection_event_log/v1.py375 # Check if it's time to run cleanupCOMMENT
LOW…/core_steps/analytics/detection_event_log/v1_tensor.py380 # Check if it's time to run cleanupCOMMENT
LOW…s/execution_engine/v1/dynamic_blocks/modal_executor.py72# Check if Modal credentials are availableCOMMENT
LOW…s/execution_engine/v1/dynamic_blocks/modal_executor.py779 # Check if Modal is availableCOMMENT
LOW…/execution_engine/v1/dynamic_blocks/block_assembler.py172 # Check if we're using Modal for secure remote executionCOMMENT
LOWinference/core/nms.py47 # Assign directly to the viewCOMMENT
LOWinference/core/interfaces/http/http_api.py1924 # Check if in-memory logging is enabledCOMMENT
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.py931 # 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.md83### Step 1: Train Your ModelCOMMENT
LOW…nce_models/docs/models/rfdetr-instance-segmentation.md101### Step 2: Deploy Instantly with inference-modelsCOMMENT
LOWinference_models/docs/models/rfdetr-object-detection.md162### Step 1: Train Your ModelCOMMENT
LOWinference_models/docs/models/rfdetr-object-detection.md180### 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.md66#### Step 1: Create `model_config.json`COMMENT
LOWinference_models/docs/how-to/local-packages.md82#### 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.md326## Step 4: Prepare Model Packages for RegistrationCOMMENT
LOWinference_models/docs/contributors/adding-model.md365## Step 5: Add TestsCOMMENT
LOWinference_models/docs/contributors/adding-model.md369## Step 6: Write DocumentationCOMMENT
LOW…n_engine/dynamic_blocs/test_representation_boundary.py771# Step 3: OUT direction (legacy -> native) + result walker + round trips #COMMENT
LOW⚡…ce/roboflow_workflows_plugin/sinks/vision_events/v1.py745 # Step 1: Convert predictions to vision events annotation formatCOMMENT
LOW⚡…ce/roboflow_workflows_plugin/sinks/vision_events/v1.py748 # Step 2: Upload images and build a single image entryCOMMENT
LOW…ce/roboflow_workflows_plugin/sinks/vision_events/v1.py768 # Step 3: Build and send eventCOMMENT
LOW⚡…flow_workflows_plugin/sinks/vision_events/v1_tensor.py756 # Step 1: Convert predictions to vision events annotation formatCOMMENT
LOW⚡…flow_workflows_plugin/sinks/vision_events/v1_tensor.py759 # Step 2: Upload images and build a single image entryCOMMENT
LOW…flow_workflows_plugin/sinks/vision_events/v1_tensor.py779 # Step 3: Build and send eventCOMMENT
LOW⚡inference/core/interfaces/webrtc_worker/utils.py207 # Step 1: we remove expired entriesCOMMENT
LOW⚡inference/core/interfaces/webrtc_worker/utils.py210 # 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
AI Slop Vocabulary17 hits · 45 pts
SeverityFileLineSnippetContext
MEDIUM⚡…ment/stream_interface/benchmark_pipeline_extraction.py1855 # the harness on the child), hence the explicit terminates first.COMMENT
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py647 # harness's own retained per-frame records over a fixed-duration window, so aCOMMENT
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py1296 # GPU move this independently of the harness under test).COMMENT
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py1316 # it isolates the harness's own GPU usage from co-tenant processes.COMMENT
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py1822 # harness; whatever is still buffered at termination is reported as pending.COMMENT
MEDIUM…ment/stream_interface/benchmark_pipeline_extraction.py1962 # perf_counter (harness timestamps) -> wall clock, to join the probe's time_ns.COMMENT
MEDIUM⚡…stream_interface/test_benchmark_pipeline_extraction.py1337 repeat["metrics"]["rss_mb_slope_per_min"] = 2.0 # the harness's own retentionCODE
MEDIUM…stream_interface/test_benchmark_pipeline_extraction.py2215 # No model in the workflow: no model calls, and the harness never fakes them.COMMENT
MEDIUM…stream_interface/test_benchmark_pipeline_extraction.py2271 # not just inspecting the dict the harness built.COMMENT
MEDIUM…stream_interface/test_benchmark_pipeline_extraction.py1113 sampler._tracked = {10: None, 20: None} # the harness process treeCODE
MEDIUM…ce_models/inference_models/models/auto_loaders/core.py1159 """Display comprehensive metadata and available packages for a model.STRING
MEDIUM⚡tests/workflows/unit_tests/test_configuration.py35# The harness below lifts `env.py`'s OWN resolution statement out by AST andCOMMENT
MEDIUM…s/test_workflow_with_control_flow_with_side_effects.py48# mock harness (`_run_workflow_tensor_native`).COMMENT
MEDIUM…_tests/core/interfaces/test_streams_public_contract.py31# parents[5] is the repo root; used as the subprocess cwd so imports match the harness.COMMENT
MEDIUM…low_workflows/enterprise_blocks/sinks/opc_writer/v1.py888[asyncua](https://github.com/FreeOpcUa/opcua-asyncio) library for seamless communication.CODE
LOW…s/execution_engine/v1/dynamic_blocks/modal_executor.py827 # For validation, we don't need complex inputs, just pass empty JSONSTRING
LOWinference/core/roboflow_api.py338 # remaining aiohttp.ClientError seems to qualify to simply pass-through raiseCOMMENT
Modern AI Meta-Vocabulary12 hits · 38 pts
SeverityFileLineSnippetContext
MEDIUM…ce_models/models/cosmos3/cosmos3_action_recognition.py373 # Falling through would serve a fine-tune as a zero-shot model.COMMENT
MEDIUM…ce_models/models/cosmos3/cosmos3_action_recognition.py397 # Serving these weights zero-shot would answer with the wrongCOMMENT
MEDIUM…s/unit_tests/models/test_cosmos3_action_recognition.py185 # arrive, which is what the zero-shot path needs.COMMENT
MEDIUM…s/unit_tests/models/test_cosmos3_action_recognition.py710 wrapper = Cosmos3EdgeActionRecognition(reasoner=reasoner) # untrained: zero-shotCODE
MEDIUM…/models/test_cosmos3_action_recognition_predictions.py93 # Base weights run zero-shot, which answers in its own words. Asserting aCOMMENT
MEDIUM⚡…/models/test_cosmos3_action_recognition_predictions.py107 # neither. Handing zero-shot a fine-tune's limits broke it three ways.COMMENT
MEDIUM⚡…t_tests/core/models/test_action_recognition_adapter.py395 # A zero-shot model ignores the filter and answers in its own words. ACOMMENT
MEDIUM…ws/core_steps/models/roboflow/action_recognition/v1.py404 # carries ids. See the adapter for the zero-shot case this avoids.COMMENT
MEDIUM…ows/roboflow_workflows/core_steps/common/openrouter.py640 # OpenRouter returns the reasoning trace as an extra `reasoning`COMMENT
MEDIUM.claude/skills/add-inference-model/SKILL.md32## Before scaffolding — survey existing modelsCOMMENT
MEDIUMinference/core/models/inference_models_adapters.py2294 # request filter is not a vocabulary: a zero-shot model ignores it andCOMMENT
MEDIUMmodal/modal_app.py633# distribution. Import from the compat namespace so the same scaffoldingCOMMENT
Cross-Language Confusion9 hits · 38 pts
SeverityFileLineSnippetContext
HIGHinference_models/inference_models/models/common/cuda.py98 context.push()CODE
HIGH⚡…s/unit_tests/models/test_cosmos3_action_recognition.py534 '```json\n[{"start": null, "end": 1.0, "caption": "walking"}]\n```',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…ts/inference_cli/unit_tests/lib/test_podman_adapter.py255 # --network host containers report "Ports": null; status must print aCOMMENT
HIGH…core_steps/formatters/first_non_empty_or_default/v1.py40 - Default value can be any type (string, number, object, null, etc.)CODE
HIGH…core_steps/formatters/first_non_empty_or_default/v1.py116 description="Default value to return when all data inputs are empty (None). This ensures the output is always noSTRING
HIGH…_workflows/core_steps/formatters/vlm_as_detector/v1.py370 # does not serialise as ``width: null, height: null``.STRING
HIGH…_workflows/core_steps/formatters/vlm_as_detector/v2.py496 # does not serialise as ``width: null, height: null``.STRING
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.py771# Step 3: OUT direction (legacy -> native) + result walker + round trips #COMMENT
LOW⚡…ce/roboflow_workflows_plugin/sinks/vision_events/v1.py745 # Step 1: Convert predictions to vision events annotation formatCOMMENT
LOW⚡…ce/roboflow_workflows_plugin/sinks/vision_events/v1.py748 # Step 2: Upload images and build a single image entryCOMMENT
LOW…ce/roboflow_workflows_plugin/sinks/vision_events/v1.py768 # Step 3: Build and send eventCOMMENT
LOW⚡…flow_workflows_plugin/sinks/vision_events/v1_tensor.py756 # Step 1: Convert predictions to vision events annotation formatCOMMENT
LOW⚡…flow_workflows_plugin/sinks/vision_events/v1_tensor.py759 # Step 2: Upload images and build a single image entryCOMMENT
LOW…flow_workflows_plugin/sinks/vision_events/v1_tensor.py779 # Step 3: Build and send eventCOMMENT
LOW⚡inference/core/interfaces/webrtc_worker/utils.py207 # Step 1: we remove expired entriesCOMMENT
LOW⚡inference/core/interfaces/webrtc_worker/utils.py210 # Step 2: we return what is still validCOMMENT
Fake / Example Data19 hits · 17 pts
SeverityFileLineSnippetContext
LOW…ference/unit_tests/core/test_roboflow_plugin_blocks.py116 "workflows_core.api_key": "fake-key",CODE
LOW…ce/unit_tests/core/interfaces/stream/test_workflows.py387 response = _FakeResponse("placeholder")CODE
LOW⚡…ce/unit_tests/usage_tracking/test_decorator_helpers.py932@pytest.mark.parametrize("placeholder", ["external", None])CODE
LOW⚡…/inference/unit_tests/usage_tracking/test_collector.py2999 api_key="fake-key",CODE
LOW⚡…/inference/unit_tests/usage_tracking/test_collector.py3009 cached = collector._resource_details["fake-key"]CODE
LOW⚡…/inference/unit_tests/usage_tracking/test_collector.py3012 rows = list(collector._usage["fake-key"].values())CODE
LOW⚡…/inference/unit_tests/usage_tracking/test_collector.py3033 api_key="fake-key",CODE
LOW⚡…/inference/unit_tests/usage_tracking/test_collector.py3042 rows = list(collector._usage["fake-key"].values())CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1158 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1197 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1228 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1261 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1294 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1334 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1366 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1412 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py1449 api_key = "fake-key"CODE
LOW…/inference/unit_tests/usage_tracking/test_collector.py2942 api_key = "fake-key"CODE
LOW…ion_engine/introspection/test_workload_fixtures_e2e.py464 "api_key": "fake-key",CODE
Overly Generic Function Names5 hits · 6 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
LOW⚡stream_vision/tests/unit_tests/test_decontamination.py101 "def helper():\n"CODE
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUM…erence_sdk/unit_tests/webrtc/test_session_lifecycle.py735CODE
MEDIUM…erence_sdk/unit_tests/webrtc/test_session_lifecycle.py753CODE
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUM…tests/core_steps/formatters/vlm_as_detector/test_v2.py565 "Let me know if you need anything else."STRING
MEDIUM⚡…ws/tests/unit_tests/core_steps/common/test_vlm_json.py134 "Let me know if you need anything else."CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdevelopment/otel/start-otel-dev.sh6# Usage:COMMENT