Turn any computer or edge device into a command center for your computer vision projects.
This report presents the forensic synthetic code analysis of roboflow/inference, a Python project with 2,374 GitHub stars. SynthScan v2.0 examined 682,164 lines of code across 3149 source files, recording 11699 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 20.1 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 11699 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | inference_sdk/config.py | 79 | def snapshot_cold_start_entries(self) -> list: | CODE |
| LOW⚡ | inference_sdk/config.py | 83 | def snapshot_cold_start_total_load_time(self) -> float: | CODE |
| LOW⚡ | inference_sdk/config.py | 87 | def snapshot_cold_start_count(self) -> int: | CODE |
| LOW | inference_sdk/http/client.py | 111 | def _collect_processing_time_from_response( | CODE |
| LOW | inference_sdk/http/client.py | 541 | def _execute_infer_from_api_request( | CODE |
| LOW | inference_sdk/http/client.py | 873 | async def get_model_description_async( | CODE |
| LOW | inference_sdk/http/client.py | 1271 | def get_clip_image_embeddings( | CODE |
| LOW | inference_sdk/http/client.py | 1301 | async def get_clip_image_embeddings_async( | CODE |
| LOW | inference_sdk/http/client.py | 1369 | async def get_clip_text_embeddings_async( | CODE |
| LOW | inference_sdk/http/client.py | 1548 | def get_perception_encoder_image_embeddings( | CODE |
| LOW | inference_sdk/http/client.py | 1565 | def get_perception_encoder_text_embeddings( | CODE |
| LOW | inference_sdk/http/client.py | 2388 | def _execute_workflow_request( | CODE |
| LOW | inference_sdk/http/client.py | 2509 | async def infer_from_yolo_world_async( | CODE |
| LOW | inference_sdk/http/client.py | 2565 | def start_inference_pipeline_with_workflow( | CODE |
| LOW | inference_sdk/http/client.py | 2693 | def get_inference_pipeline_status(self, pipeline_id: str) -> dict: | CODE |
| LOW | inference_sdk/http/client.py | 2750 | def resume_inference_pipeline(self, pipeline_id: str) -> dict: | CODE |
| LOW | inference_sdk/http/client.py | 2780 | def terminate_inference_pipeline(self, pipeline_id: str) -> dict: | CODE |
| LOW | inference_sdk/http/client.py | 2810 | def consume_inference_pipeline_result( | CODE |
| LOW | inference_sdk/http/client.py | 2841 | def _ensure_pipeline_id_not_empty(self, pipeline_id: str) -> None: | CODE |
| LOW | inference_sdk/http/client.py | 2925 | def _determine_client_downsizing_parameters( | CODE |
| LOW | inference_sdk/http/client.py | 2947 | def _ensure_model_is_selected(model_id: Optional[str]) -> None: | CODE |
| LOW | inference_sdk/http/entities.py | 198 | def to_object_detection_parameters(self) -> Dict[str, Any]: | CODE |
| LOW | inference_sdk/http/entities.py | 229 | def to_keypoints_detection_parameters(self) -> Dict[str, Any]: | CODE |
| LOW | inference_sdk/http/entities.py | 239 | def to_instance_segmentation_parameters(self) -> Dict[str, Any]: | CODE |
| LOW | inference_sdk/http/entities.py | 255 | def to_classification_parameters(self) -> Dict[str, Any]: | CODE |
| LOW | inference_sdk/http/entities.py | 279 | def to_legacy_call_parameters(self) -> Dict[str, Any]: | CODE |
| LOW | inference_sdk/http/utils/profilling.py | 7 | def save_workflows_profiler_trace( | CODE |
| LOW | inference_sdk/http/utils/loaders.py | 27 | def load_stream_inference_input( | CODE |
| LOW | inference_sdk/http/utils/loaders.py | 48 | def load_directory_inference_input( | CODE |
| LOW | inference_sdk/http/utils/loaders.py | 74 | def load_nested_batches_of_inference_input( | CODE |
| LOW | inference_sdk/http/utils/loaders.py | 107 | def load_static_inference_input( | CODE |
| LOW | inference_sdk/http/utils/loaders.py | 158 | async def load_static_inference_input_async( | CODE |
| LOW | inference_sdk/http/utils/loaders.py | 255 | async def load_image_from_string_async( | CODE |
| LOW | inference_sdk/http/utils/loaders.py | 329 | async def load_image_from_url_async( | CODE |
| LOW | inference_sdk/http/utils/aliases.py | 182 | def resolve_roboflow_model_alias(model_id: str) -> str: | CODE |
| LOW | inference_sdk/http/utils/executors.py | 55 | def execute_requests_packages( | CODE |
| LOW⚡ | inference_sdk/http/utils/executors.py | 89 | def _extract_model_id_from_request_data(request_data: RequestData) -> str: | CODE |
| LOW⚡ | inference_sdk/http/utils/executors.py | 103 | def _extract_model_ids_from_headers( | CODE |
| LOW | inference_sdk/http/utils/executors.py | 128 | def _parse_model_load_details( | CODE |
| LOW | inference_sdk/http/utils/executors.py | 151 | def _collect_remote_processing_times( | CODE |
| LOW | inference_sdk/http/utils/executors.py | 170 | def collect_remote_processing_metadata_from_response( | CODE |
| LOW | inference_sdk/http/utils/executors.py | 180 | def collect_remote_processing_metadata_from_headers( | CODE |
| LOW | inference_sdk/http/utils/executors.py | 242 | def _extract_cold_start_count_from_headers(headers: Mapping[str, str]) -> int: | CODE |
| LOW | inference_sdk/http/utils/executors.py | 314 | def _get_thread_local_requests_session() -> requests.Session: | CODE |
| LOW | inference_sdk/http/utils/executors.py | 322 | def _reset_thread_local_requests_session() -> None: | CODE |
| LOW | inference_sdk/http/utils/executors.py | 373 | async def execute_requests_packages_async( | CODE |
| LOW | inference_sdk/http/utils/executors.py | 402 | async def make_parallel_requests_async( | CODE |
| LOW | inference_sdk/http/utils/executors.py | 509 | def response_is_not_retryable_error(response: ClientResponse) -> bool: | CODE |
| LOW | inference_sdk/http/utils/post_processing.py | 78 | def decode_workflow_output_list( | CODE |
| LOW | inference_sdk/http/utils/post_processing.py | 123 | def decode_workflow_output_image( | CODE |
| LOW | inference_sdk/http/utils/post_processing.py | 144 | def response_contains_jpeg_image(response: Response) -> bool: | CODE |
| LOW | inference_sdk/http/utils/post_processing.py | 182 | def transform_visualisation_bytes( | CODE |
| LOW | inference_sdk/http/utils/post_processing.py | 203 | def adjust_prediction_to_client_scaling_factor( | CODE |
| LOW | inference_sdk/http/utils/post_processing.py | 251 | def predictions_should_not_be_post_processed(prediction: dict) -> bool: | CODE |
| LOW | inference_sdk/http/utils/post_processing.py | 267 | def adjust_object_detection_predictions_to_client_scaling_factor( | CODE |
| LOW | inference_sdk/http/utils/post_processing.py | 290 | def adjust_prediction_with_bbox_and_points_to_client_scaling_factor( | CODE |
| LOW | inference_sdk/http/utils/post_processing.py | 319 | def adjust_bbox_coordinates_to_client_scaling_factor( | CODE |
| LOW | inference_sdk/http/utils/post_processing.py | 339 | def adjust_points_coordinates_to_client_scaling_factor( | CODE |
| LOW | inference_sdk/http/utils/post_processing.py | 386 | def filter_model_descriptions( | CODE |
| LOW | inference_sdk/http/utils/requests.py | 11 | def api_key_safe_raise_for_status(response: Response) -> None: | CODE |
| 8908 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | inference_sdk/http/utils/url_utils.py | 86 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | inference_sdk/http/utils/url_utils.py | 88 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | inference_sdk/http/utils/url_utils.py | 134 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | inference_sdk/http/utils/url_utils.py | 136 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | inference_sdk/http/utils/url_utils.py | 199 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | inference_sdk/http/utils/url_utils.py | 201 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | inference_sdk/http/utils/url_utils.py | 431 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | inference_sdk/http/utils/url_utils.py | 433 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | development/codex/setup.sh | 4 | # -------------------------- | COMMENT |
| MEDIUM⚡ | development/codex/setup.sh | 6 | # -------------------------- | COMMENT |
| MEDIUM⚡ | development/codex/setup.sh | 11 | # -------------------------- | COMMENT |
| MEDIUM⚡ | development/codex/setup.sh | 13 | # -------------------------- | COMMENT |
| MEDIUM⚡ | …development/profiling/profile_yolov8_trt_cudagraphs.py | 36 | # ── Warmup ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …development/profiling/profile_yolov8_trt_cudagraphs.py | 44 | # ── (1) Cycling batch sizes, no CUDA graphs ───────────────────────── | COMMENT |
| MEDIUM⚡ | …development/profiling/profile_yolov8_trt_cudagraphs.py | 54 | # ── (2) Cycling batch sizes, CUDA graphs with forced recapture ────── | COMMENT |
| MEDIUM | …development/profiling/profile_yolov8_trt_cudagraphs.py | 68 | # ── (3) Cycling batch sizes, CUDA graphs with normal caching ──────── | COMMENT |
| MEDIUM | …development/profiling/profile_yolov8_trt_cudagraphs.py | 82 | # ── Results ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …els/development/profiling/profile_cuda_memory_leaks.py | 170 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …els/development/profiling/profile_cuda_memory_leaks.py | 172 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 49 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 51 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 111 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 113 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 132 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 134 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 248 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 250 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 353 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 355 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 434 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 436 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 522 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 524 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 659 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 661 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 954 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 956 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 1036 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …els/development/profiling/profile_cuda_memory_leaks.py | 1038 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …s/inference_models/models/common/hf_streaming_video.py | 78 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/inference_models/models/common/hf_streaming_video.py | 80 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/inference_models/models/common/hf_streaming_video.py | 126 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/inference_models/models/common/hf_streaming_video.py | 128 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/inference_models/models/common/hf_streaming_video.py | 160 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/inference_models/models/common/hf_streaming_video.py | 163 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/inference_models/models/common/hf_streaming_video.py | 275 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/inference_models/models/common/hf_streaming_video.py | 277 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/inference_models/models/common/hf_streaming_video.py | 309 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …s/inference_models/models/common/hf_streaming_video.py | 311 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …odels/inference_models/models/rfdetr/ms_deform_attn.py | 1 | # ------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …odels/inference_models/models/rfdetr/ms_deform_attn.py | 5 | # ------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …odels/inference_models/models/rfdetr/ms_deform_attn.py | 8 | # ------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …odels/inference_models/models/rfdetr/ms_deform_attn.py | 11 | # ------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …odels/inference_models/models/rfdetr/ms_deform_attn.py | 13 | # ------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …ence_models/models/rfdetr/dinov2_with_windowed_attn.py | 1 | # ------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …ence_models/models/rfdetr/dinov2_with_windowed_attn.py | 5 | # ------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …ence_models/models/rfdetr/dinov2_with_windowed_attn.py | 8 | # ------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …/inference_models/models/rfdetr/ms_deform_attn_func.py | 1 | # ------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …/inference_models/models/rfdetr/ms_deform_attn_func.py | 5 | # ------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …/inference_models/models/rfdetr/ms_deform_attn_func.py | 8 | # ------------------------------------------------------------------------------------------------ | COMMENT |
| 245 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …models/inference_models/models/qwen25vl/qwen25vl_hf.py | 0 | use 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.py | 0 | use 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.py | 0 | use 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.py | 0 | `conf_thresh`: scalar applies to all classes; 1-d tensor of shape (num_classes,) indexed by class_id for per-class thres | STRING |
| HIGH | …els/models/yolact/yolact_instance_segmentation_onnx.py | 0 | `conf_thresh`: scalar applies to all classes; 1-d tensor of shape (num_classes,) indexed by class_id for per-class thres | STRING |
| HIGH | inference_models/inference_models/models/yolonas/nms.py | 0 | `conf_thresh`: scalar applies to all classes; 1-d tensor of shape (num_classes,) indexed by class_id for per-class thres | STRING |
| HIGH | inference_models/inference_models/models/yolov5/nms.py | 0 | `conf_thresh`: scalar applies to all classes; 1-d tensor of shape (num_classes,) indexed by class_id for per-class thres | STRING |
| HIGH | …rence_models/models/common/roboflow/post_processing.py | 0 | `conf_thresh`: scalar applies to all classes; 1-d tensor of shape (num_classes,) indexed by class_id for per-class thres | STRING |
| HIGH | …ests/models/test_resnet_classifier_predictions_onnx.py | 0 | baseline (see `test_multi_label_onnx_dynamic_bs_package_numpy` above) returns class_ids=[2] (class 2 at conf 0.968). set | STRING |
| HIGH | …sts/models/test_resnet_classifier_predictions_torch.py | 0 | baseline (see `test_multi_label_onnx_dynamic_bs_package_numpy` above) returns class_ids=[2] (class 2 at conf 0.968). set | STRING |
| HIGH | …_tests/models/test_vit_classifier_predictions_torch.py | 0 | baseline (see `test_multi_label_onnx_dynamic_bs_package_numpy` above) returns class_ids=[2] (class 2 at conf 0.968). set | STRING |
| HIGH | …n_tests/models/test_vit_classifier_predictions_onnx.py | 0 | baseline (see `test_multi_label_onnx_dynamic_bs_package_numpy` above) returns class_ids=[2] (class 2 at conf 0.968). set | STRING |
| HIGH | …ws/unit_tests/core_steps/trackers/sort/test_sort_v1.py | 0 | trackers are pass-through: output kinds must equal input kinds. | STRING |
| HIGH | …ts/core_steps/trackers/bytetrack/test_byte_track_v1.py | 0 | trackers are pass-through: output kinds must equal input kinds. | STRING |
| HIGH | …nit_tests/core_steps/trackers/ocsort/test_ocsort_v1.py | 0 | trackers are pass-through: output kinds must equal input kinds. | STRING |
| HIGH | …ion_tests/execution/test_workflow_with_llama_vision.py | 0 | in 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.py | 0 | in 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.py | 0 | in 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.py | 0 | in 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.py | 0 | in this example, gpt model is expected to provide structured output in json, which can later be parsed by dedicated `rob | STRING |
| HIGH | …on_tests/execution/test_workflow_with_gemini_models.py | 0 | in this example, gpt model is expected to provide structured output in json, which can later be parsed by dedicated `rob | STRING |
| HIGH | …on_tests/execution/test_workflow_with_claude_models.py | 0 | in this example, gpt model is expected to provide structured output in json, which can later be parsed by dedicated `rob | STRING |
| HIGH | …n_tests/execution/test_workflow_with_open_ai_models.py | 0 | in this example, gpt model is expected to provide structured output in json, which can later be parsed by dedicated `rob | STRING |
| HIGH | …ion_tests/execution/test_workflow_with_llama_vision.py | 0 | in this example, gpt model is used as secondary classifier - first, yolo model detects dogs, then for each dog we run cl | STRING |
| HIGH | …on_tests/execution/test_workflow_with_gemini_models.py | 0 | in this example, gpt model is used as secondary classifier - first, yolo model detects dogs, then for each dog we run cl | STRING |
| HIGH | …on_tests/execution/test_workflow_with_claude_models.py | 0 | in this example, gpt model is used as secondary classifier - first, yolo model detects dogs, then for each dog we run cl | STRING |
| HIGH | …n_tests/execution/test_workflow_with_open_ai_models.py | 0 | in this example, gpt model is used as secondary classifier - first, yolo model detects dogs, then for each dog we run cl | STRING |
| HIGH | …ts/execution/test_workflow_with_custom_python_block.py | 0 | def run(self, predictions: batch[sv.detections]) -> blockresult: result = [] for prediction in predictions: result.appen | STRING |
| HIGH | …inference/integration_tests/test_workflow_endpoints.py | 0 | def run(self, predictions: batch[sv.detections]) -> blockresult: result = [] for prediction in predictions: result.appen | STRING |
| HIGH | tests/inference/hosted_platform_tests/test_workflows.py | 0 | def run(self, predictions: batch[sv.detections]) -> blockresult: result = [] for prediction in predictions: result.appen | STRING |
| HIGH | …ts/execution/test_workflow_with_custom_python_block.py | 0 | def my_function(self, prediction: sv.detections, crops: batch[workflowimagedata]) -> blockresult: detection_id2bbox = { | STRING |
| HIGH | …inference/integration_tests/test_workflow_endpoints.py | 0 | def my_function(self, prediction: sv.detections, crops: batch[workflowimagedata]) -> blockresult: detection_id2bbox = { | STRING |
| HIGH | tests/inference/hosted_platform_tests/test_workflows.py | 0 | def my_function(self, prediction: sv.detections, crops: batch[workflowimagedata]) -> blockresult: detection_id2bbox = { | STRING |
| HIGH | …on_tests/execution/test_workflow_with_gemini_models.py | 0 | in 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.py | 0 | in 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.py | 0 | in 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__.py | 0 | this is just example, test implementation, please do not assume it being fully functional. | STRING |
| HIGH | …execution/stub_plugins/flow_control_plugin/__init__.py | 0 | this is just example, test implementation, please do not assume it being fully functional. | STRING |
| HIGH | …ity_manipulation_plugin/stitch_detections_non_batch.py | 0 | this is just example, test implementation, please do not assume it being fully functional. | STRING |
| HIGH | …ation_plugin/detections_to_parent_coordinates_batch.py | 0 | this is just example, test implementation, please do not assume it being fully functional. | STRING |
| HIGH | …sionality_manipulation_plugin/tile_detections_batch.py | 0 | this is just example, test implementation, please do not assume it being fully functional. | STRING |
| HIGH | …n_plugin/detections_to_parent_coordinates_non_batch.py | 0 | this is just example, test implementation, please do not assume it being fully functional. | STRING |
| HIGH | …ality_manipulation_plugin/tile_detections_non_batch.py | 0 | this is just example, test implementation, please do not assume it being fully functional. | STRING |
| HIGH | …onality_manipulation_plugin/stitch_detections_batch.py | 0 | this is just example, test implementation, please do not assume it being fully functional. | STRING |
| HIGH | …manager/manager_app/test_inference_pipeline_manager.py | 0 | unit tests in this module are realised using `inferencepipelinemanager` mock - and within single process, submitting com | STRING |
| HIGH | …_management/manager/test_inference_pipeline_manager.py | 0 | unit tests in this module are realised using `inferencepipelinemanager` mock - and within single process, submitting com | STRING |
| HIGH | …tests/enterprise/stream_management/manager/test_app.py | 0 | unit tests in this module are realised using `inferencepipelinemanager` mock - and within single process, submitting com | STRING |
| HIGH | inference/core/managers/stub_loader.py | 0 | adds a model to the manager. args: model_id (str): the identifier of the model. model (model): the model instance. endpo | STRING |
| HIGH | inference/core/managers/base.py | 0 | adds a model to the manager. args: model_id (str): the identifier of the model. model (model): the model instance. endpo | STRING |
| HIGH | inference/core/managers/decorators/base.py | 0 | adds a model to the manager. args: model_id (str): the identifier of the model. model (model): the model instance. endpo | STRING |
| HIGH | …/core_steps/models/foundation/qwen3_6_openrouter/v1.py | 0 | ask a question to qwen 3.5 vision-language models served via openrouter. you can specify arbitrary text prompts or prede | STRING |
| HIGH | …ows/core_steps/models/foundation/kimi_openrouter/v1.py | 0 | ask a question to qwen 3.5 vision-language models served via openrouter. you can specify arbitrary text prompts or prede | STRING |
| HIGH | …/core_steps/models/foundation/qwen3_5_openrouter/v1.py | 0 | ask a question to qwen 3.5 vision-language models served via openrouter. you can specify arbitrary text prompts or prede | STRING |
| HIGH | …orkflows/core_steps/models/foundation/moondream2/v1.py | 0 | return list of model_id variants that can satisfy this block. | STRING |
| HIGH | …ows/core_steps/models/foundation/clip_comparison/v1.py | 0 | return list of model_id variants that can satisfy this block. | STRING |
| HIGH | …ows/core_steps/models/foundation/clip_comparison/v2.py | 0 | return list of model_id variants that can satisfy this block. | STRING |
| HIGH | …core/workflows/core_steps/models/foundation/clip/v1.py | 0 | return list of model_id variants that can satisfy this block. | STRING |
| HIGH | …/workflows/core_steps/models/foundation/easy_ocr/v1.py | 0 | return list of model_id variants that can satisfy this block. | STRING |
| HIGH | …/core/workflows/core_steps/models/foundation/ocr/v1.py | 0 | return list of model_id variants that can satisfy this block. | STRING |
| HIGH | …core/workflows/core_steps/models/foundation/qwen/v1.py | 0 | return list of model_id variants that can satisfy this block. | STRING |
| 127 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | debugrun.py | 4 | CODE | |
| LOW | inference_sdk/__init__.py | 5 | CODE | |
| LOW | inference_sdk/__init__.py | 6 | CODE | |
| LOW | inference_sdk/__init__.py | 6 | CODE | |
| LOW | inference_sdk/http/entities.py | 9 | CODE | |
| LOW | inference_sdk/http/utils/loaders.py | 5 | CODE | |
| LOW | inference_sdk/http/utils/loaders.py | 8 | CODE | |
| LOW | inference_sdk/webrtc/model_workflows.py | 10 | CODE | |
| LOW | inference_sdk/webrtc/client.py | 3 | CODE | |
| LOW | inference_sdk/webrtc/datachannel.py | 14 | CODE | |
| LOW | inference_sdk/webrtc/session.py | 12 | CODE | |
| LOW | inference_sdk/webrtc/session.py | 36 | CODE | |
| LOW | inference_sdk/webrtc/session.py | 42 | CODE | |
| LOW | inference_sdk/webrtc/session.py | 43 | CODE | |
| LOW | inference_sdk/webrtc/__init__.py | 3 | CODE | |
| LOW | inference_sdk/webrtc/__init__.py | 4 | CODE | |
| LOW | inference_sdk/webrtc/__init__.py | 5 | CODE | |
| LOW | inference_sdk/webrtc/__init__.py | 5 | CODE | |
| LOW | inference_sdk/webrtc/__init__.py | 6 | CODE | |
| LOW | inference_sdk/webrtc/__init__.py | 6 | CODE | |
| LOW | inference_sdk/webrtc/__init__.py | 6 | CODE | |
| LOW | inference_sdk/webrtc/__init__.py | 6 | CODE | |
| LOW | inference_sdk/webrtc/__init__.py | 6 | CODE | |
| LOW | inference_sdk/webrtc/__init__.py | 6 | CODE | |
| LOW | inference_sdk/webrtc/__init__.py | 6 | CODE | |
| LOW | inference_sdk/webrtc/__init__.py | 6 | CODE | |
| LOW | inference_sdk/webrtc/sources.py | 11 | CODE | |
| LOW | inference_sdk/webrtc/sources.py | 29 | CODE | |
| LOW | inference_sdk/webrtc/sources.py | 31 | CODE | |
| LOW | docker/config/lambda.py | 1 | CODE | |
| LOW | …les/video_analysis/aggregating_objects_passing_data.py | 10 | CODE | |
| LOW | …les/video_analysis/aggregating_objects_passing_data.py | 10 | CODE | |
| LOW | development/docs/write_openapi_spec.py | 4 | CODE | |
| LOW | development/docs/write_openapi_spec.py | 5 | CODE | |
| LOW | development/docs/write_openapi_spec.py | 7 | CODE | |
| LOW | development/docs/write_openapi_spec.py | 9 | CODE | |
| LOW | development/docs/write_openapi_spec.py | 10 | CODE | |
| LOW | development/docs/write_openapi_spec.py | 10 | CODE | |
| LOW | development/stream_interface/multiplexer.py | 1 | CODE | |
| LOW | development/stream_interface/multiplexer.py | 3 | CODE | |
| LOW | development/stream_interface/multiplexer.py | 5 | CODE | |
| LOW | development/stream_interface/multiplexer.py | 5 | CODE | |
| LOW | …opment/stream_interface/old_inference_pipeline_demo.py | 3 | CODE | |
| LOW | …opment/stream_interface/old_inference_pipeline_demo.py | 4 | CODE | |
| LOW | …opment/stream_interface/old_inference_pipeline_demo.py | 5 | CODE | |
| LOW | …opment/stream_interface/old_inference_pipeline_demo.py | 6 | CODE | |
| LOW | …opment/stream_interface/old_inference_pipeline_demo.py | 7 | CODE | |
| LOW | …opment/stream_interface/old_inference_pipeline_demo.py | 7 | CODE | |
| LOW | …opment/stream_interface/old_inference_pipeline_demo.py | 14 | CODE | |
| LOW | …opment/stream_interface/old_inference_pipeline_demo.py | 15 | CODE | |
| LOW | …opment/stream_interface/old_inference_pipeline_demo.py | 16 | CODE | |
| LOW | …opment/stream_interface/old_inference_pipeline_demo.py | 16 | CODE | |
| LOW | …opment/stream_interface/old_inference_pipeline_demo.py | 17 | CODE | |
| LOW | …opment/stream_interface/old_inference_pipeline_demo.py | 17 | CODE | |
| LOW | …opment/stream_interface/old_inference_pipeline_demo.py | 21 | CODE | |
| LOW | development/stream_interface/time_in_zone_demo.py | 6 | CODE | |
| LOW | …pment/stream_interface/inference_pipeline_on_camera.py | 2 | CODE | |
| LOW | …pment/stream_interface/inference_pipeline_on_camera.py | 3 | CODE | |
| LOW | …pment/stream_interface/inference_pipeline_on_camera.py | 4 | CODE | |
| LOW | …pment/stream_interface/inference_pipeline_on_camera.py | 7 | CODE | |
| 738 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | debugrun.py | 68 | except Exception as e: | CODE |
| MEDIUM | debugrun.py | 69 | print("Error starting server:", e) | CODE |
| LOW⚡ | inference_sdk/http/utils/executors.py | 99 | except Exception: | CODE |
| LOW | inference_sdk/webrtc/model_workflows.py | 130 | except Exception as e: | CODE |
| LOW⚡ | inference_sdk/webrtc/session.py | 858 | except Exception: | CODE |
| LOW⚡ | inference_sdk/webrtc/session.py | 862 | except Exception: | CODE |
| LOW⚡ | inference_sdk/webrtc/session.py | 940 | except Exception: | CODE |
| LOW⚡ | inference_sdk/webrtc/session.py | 946 | except Exception: | CODE |
| LOW⚡ | inference_sdk/webrtc/session.py | 965 | except Exception: | CODE |
| LOW⚡ | inference_sdk/webrtc/session.py | 984 | except Exception: | CODE |
| LOW⚡ | inference_sdk/webrtc/session.py | 987 | except Exception as e: | CODE |
| LOW⚡ | inference_sdk/webrtc/session.py | 995 | except Exception: | CODE |
| LOW | inference_sdk/webrtc/session.py | 298 | except Exception as e: | CODE |
| LOW | inference_sdk/webrtc/session.py | 367 | except Exception: | CODE |
| LOW | inference_sdk/webrtc/session.py | 416 | except Exception: | CODE |
| LOW | inference_sdk/webrtc/session.py | 595 | except Exception: | CODE |
| LOW | inference_sdk/webrtc/session.py | 620 | except Exception: | CODE |
| LOW | inference_sdk/webrtc/session.py | 676 | except Exception: | CODE |
| LOW | inference_sdk/webrtc/session.py | 727 | except Exception as e: | CODE |
| LOW | inference_sdk/webrtc/session.py | 893 | except Exception: | CODE |
| LOW | inference_sdk/webrtc/session.py | 1059 | except Exception: | CODE |
| LOW | inference_sdk/webrtc/session.py | 1077 | except Exception: | CODE |
| LOW | inference_sdk/webrtc/session.py | 1118 | except Exception: | CODE |
| LOW | inference_sdk/webrtc/session.py | 1132 | except Exception: | CODE |
| LOW | inference_sdk/webrtc/sources.py | 82 | except Exception: | CODE |
| LOW | inference_sdk/webrtc/sources.py | 188 | except Exception: | CODE |
| LOW | inference_sdk/webrtc/sources.py | 648 | except Exception: | CODE |
| LOW⚡ | …nt/workflows_examples/video_analysis/webhook_server.py | 48 | except Exception: | CODE |
| LOW⚡ | …nt/workflows_examples/video_analysis/webhook_server.py | 63 | except Exception: | CODE |
| LOW⚡ | …nt/workflows_examples/video_analysis/webhook_server.py | 78 | except Exception: | CODE |
| LOW | development/docs/build_block_docs.py | 513 | except Exception: | STRING |
| LOW | development/docs/build_block_docs.py | 618 | except Exception: | STRING |
| LOW | development/docs/build_block_docs.py | 637 | except Exception: | STRING |
| LOW | development/docs/validate_docs_jinja2.py | 39 | except Exception as exc: | CODE |
| MEDIUM | development/docs/validate_docs_jinja2.py | 54 | print(f"Error: {docs_dir} is not a directory", file=sys.stderr) | CODE |
| LOW | …codeflash-optimization-compare-visualization-parity.py | 209 | except Exception: | CODE |
| LOW | …codeflash-optimization-compare-visualization-parity.py | 231 | except Exception: | CODE |
| LOW | …ent/stream_interface/multiplexer_inference_pipeline.py | 60 | except Exception as e: | CODE |
| LOW | development/stream_interface/multiplexer_demo.py | 120 | except Exception as e: | CODE |
| LOW | inference_models/development/compile_large.py | 42 | except Exception as error: | CODE |
| LOW | inference_models/development/compile_small.py | 35 | except Exception as error: | CODE |
| LOW | inference_models/development/compile_all.py | 57 | except Exception as error: | CODE |
| LOW | inference_models/development/compile_medium.py | 38 | except Exception as error: | CODE |
| LOW | inference_models/development/compile_rfdetr.py | 24 | except Exception as error: | CODE |
| LOW | …els/development/profiling/profile_cuda_memory_leaks.py | 207 | except Exception as e: | CODE |
| LOW | …els/development/profiling/profile_cuda_memory_leaks.py | 273 | except Exception as e: | CODE |
| LOW | …els/development/profiling/profile_cuda_memory_leaks.py | 281 | except Exception: | CODE |
| LOW | …els/development/profiling/profile_cuda_memory_leaks.py | 469 | except Exception as e: | CODE |
| LOW | …els/development/profiling/profile_cuda_memory_leaks.py | 576 | except Exception as e: | CODE |
| LOW | …els/development/profiling/profile_cuda_memory_leaks.py | 765 | except Exception as e: | CODE |
| LOW | …els/development/profiling/profile_cuda_memory_leaks.py | 862 | except Exception as e: | CODE |
| LOW | inference_models/development/compilation/core.py | 78 | except Exception as e: | CODE |
| LOW | …ference_models/weights_providers/local_trt_packages.py | 66 | except Exception as error: | CODE |
| LOW | …ference_models/weights_providers/local_trt_packages.py | 112 | except Exception as error: | CODE |
| LOW | …_models/inference_models/weights_providers/roboflow.py | 183 | except Exception as error: | CODE |
| LOW | …_models/inference_models/weights_providers/roboflow.py | 425 | except Exception as error: | CODE |
| MEDIUM | …_models/inference_models/runtime_introspection/core.py | 293 | def _get_cuda_version_with_dpkg() -> Optional[Version]: | CODE |
| MEDIUM | …_models/inference_models/runtime_introspection/core.py | 305 | def _get_cuda_version_loading_shared_library() -> Optional[Version]: | CODE |
| MEDIUM | …_models/inference_models/runtime_introspection/core.py | 318 | def _get_cuda_version_from_torch() -> Optional[Version]: | CODE |
| MEDIUM | …_models/inference_models/runtime_introspection/core.py | 339 | def get_trt_version_from_libnvinfer() -> Optional[Version]: | CODE |
| 533 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | inference_sdk/utils/environment.py | 5 | Convert a string or boolean value to a boolean. Args: value (Union[str, bool]): The value to convert. Can b | STRING |
| HIGH | inference_sdk/http/client.py | 441 | Run inference on one or more images. Args: inference_input (Union[ImagesReference, List[ImagesRefer | STRING |
| HIGH | inference_sdk/http/client.py | 470 | Run inference asynchronously on one or more images. Args: inference_input (Union[ImagesReference, L | STRING |
| HIGH | inference_sdk/http/client.py | 498 | Run inference using API v0. Args: inference_input (Union[ImagesReference, List[ImagesReference]]): | STRING |
| HIGH | inference_sdk/http/client.py | 603 | Run inference using API v0 asynchronously. Args: inference_input (Union[ImagesReference, List[Image | STRING |
| HIGH | inference_sdk/http/client.py | 840 | Get the description of a model. Args: model_id (str): The identifier of the model. allo | STRING |
| HIGH | inference_sdk/http/client.py | 876 | Get the description of a model asynchronously. Args: model_id (str): The identifier of the model. | STRING |
| HIGH | inference_sdk/http/client.py | 956 | Load a model onto the server. Args: model_id (str): The identifier of the model to load. | STRING |
| HIGH | inference_sdk/http/client.py | 990 | Load a model onto the server asynchronously. Args: model_id (str): The identifier of the model to l | STRING |
| HIGH | inference_sdk/http/client.py | 1024 | Unload a model from the server. Args: model_id (str): The identifier of the model to unload. | STRING |
| HIGH | inference_sdk/http/client.py | 1105 | Run OCR on input image(s). Args: inference_input (Union[ImagesReference, List[ImagesReference]]): I | STRING |
| HIGH | inference_sdk/http/client.py | 1174 | Run OCR on input image(s) asynchronously. Args: inference_input (Union[ImagesReference, List[Images | STRING |
| HIGH | inference_sdk/http/client.py | 1276 | Get CLIP embeddings for input image(s). Args: inference_input (Union[ImagesReference, List[ImagesRe | STRING |
| HIGH | inference_sdk/http/client.py | 1306 | Get CLIP embeddings for input image(s) asynchronously. Args: inference_input (Union[ImagesReference | STRING |
| HIGH | inference_sdk/http/client.py | 1336 | Get CLIP embeddings for input text(s). Args: text (Union[str, List[str]]): Input text(s) to embed. | STRING |
| HIGH | inference_sdk/http/client.py | 1374 | Get CLIP embeddings for input text(s) asynchronously. Args: text (Union[str, List[str]]): Input tex | STRING |
| HIGH | inference_sdk/http/client.py | 1414 | Compare a subject against prompts using CLIP embeddings. Args: subject (Union[str, ImagesReference] | STRING |
| HIGH | inference_sdk/http/client.py | 1486 | Compare a subject against prompts using CLIP embeddings asynchronously. Args: subject (Union[str, I | STRING |
| HIGH | inference_sdk/http/client.py | 1604 | Run inference using a Large Multimodal Model (LMM). This method supports various vision-language models includi | STRING |
| HIGH | inference_sdk/http/client.py | 1665 | Run inference using a Large Multimodal Model (LMM) asynchronously. This method supports various vision-language | STRING |
| HIGH | inference_sdk/http/client.py | 1717 | Run depth estimation on input image(s). This method estimates depth maps from images using models like Depth An | STRING |
| HIGH | inference_sdk/http/client.py | 1763 | Run depth estimation on input image(s) asynchronously. Args: inference_input (Union[ImagesReference | STRING |
| HIGH | inference_sdk/http/client.py | 1802 | Run Segment Anything 2 (SAM2) segmentation on input image(s). This method performs instance segmentation using | STRING |
| HIGH | inference_sdk/http/client.py | 1854 | Run Segment Anything 2 (SAM2) segmentation on input image(s) asynchronously. Args: inference_input | STRING |
| HIGH | inference_sdk/http/client.py | 1899 | Generate 3D meshes and Gaussian splatting from a 2D image with mask prompts. This method uses SAM3 3D to genera | STRING |
| HIGH | inference_sdk/http/client.py | 1977 | Generate 3D meshes and Gaussian splatting from a 2D image asynchronously. Args: inference_input (Im | STRING |
| HIGH | inference_sdk/http/client.py | 2241 | Run inference using a workflow specification. Triggers inference from workflow specification at the inference H | STRING |
| HIGH | inference_sdk/http/client.py | 2298 | Run inference using a workflow specification. Triggers inference from workflow specification at the inference H | STRING |
| HIGH | inference_sdk/http/client.py | 2462 | Run inference using YOLO-World model. Args: inference_input: Input image(s) to run inference on. Ca | STRING |
| HIGH | inference_sdk/http/client.py | 2516 | Run inference using YOLO-World model asynchronously. Args: inference_input: Input image(s) to run i | STRING |
| HIGH | inference_sdk/http/client.py | 2585 | Starts an inference pipeline using a workflow specification. Args: video_reference: Path to video f | STRING |
| HIGH | inference_sdk/http/client.py | 2694 | Gets the current status of a specific inference pipeline. Args: pipeline_id: The unique identifier | STRING |
| HIGH | inference_sdk/http/client.py | 2721 | Pauses a running inference pipeline. Sends a request to pause the specified inference pipeline. The pipeline mu | STRING |
| HIGH | inference_sdk/http/client.py | 2751 | Resumes a paused inference pipeline. Sends a request to resume the specified inference pipeline. The pipeline m | STRING |
| HIGH | inference_sdk/http/client.py | 2781 | Terminates a running inference pipeline. Sends a request to terminate the specified inference pipeline. This wi | STRING |
| HIGH | inference_sdk/http/client.py | 2815 | Consumes and returns the next available result from an inference pipeline. Args: pipeline_id: The u | STRING |
| HIGH | inference_sdk/http/utils/request_building.py | 54 | Prepare requests data. Args: url: The URL of the request. encoded_inference_inputs: The encoded inf | STRING |
| HIGH | inference_sdk/http/utils/request_building.py | 96 | Assemble request data. Args: url: The URL of the request. batch_inference_inputs: The batch inferen | STRING |
| HIGH | inference_sdk/webrtc/model_workflows.py | 87 | Resolve a model's task type, either from ``task_type`` or the API. When ``task_type`` is provided it is validated a | STRING |
| HIGH | inference_sdk/webrtc/model_workflows.py | 150 | Build a minimal single-model workflow spec wrapping a model ID. The Workflow model block is chosen from ``TASK_TYPE | STRING |
| HIGH | inference_sdk/webrtc/client.py | 52 | Create a WebRTC streaming session. Exactly one of ``workflow`` or ``model_id`` must be provided. When | STRING |
| HIGH | inference_sdk/webrtc/client.py | 213 | Parse workflow configuration from inputs. Args: workflow: Either workflow ID (str) or specification | STRING |
| HIGH | inference_sdk/webrtc/session.py | 445 | Decorator to register frame callback handlers. The registered handlers will be called for each video frame rece | STRING |
| HIGH | inference_sdk/webrtc/session.py | 470 | Decorator to register data channel callback handlers. Can be used with or without parentheses: @ses | STRING |
| HIGH | inference_sdk/webrtc/sources.py | 117 | Get parameters to send to server in /initialise_webrtc_worker payload. Args: config: Stream configu | STRING |
| HIGH | development/profiling/config.py | 59 | Validate target name. Args: value (str): Provided target name. Returns: Normal | STRING |
| HIGH | development/profiling/config.py | 92 | Validate data source name. Args: value (str): Provided data source name. Returns: | STRING |
| HIGH | development/profiling/config.py | 168 | Validate required string fields. Args: value (str): Provided string value. Returns: | STRING |
| HIGH | development/profiling/config.py | 188 | Validate warmup pass count. Args: value (int): Provided warmup count. Returns: | STRING |
| HIGH | development/profiling/config.py | 207 | Validate measured iteration count. Args: value (int): Provided measured iteration count. R | STRING |
| HIGH | development/profiling/config.py | 224 | Load a YAML profiling config. Args: path (str | Path): Path to the YAML config file. Returns: | STRING |
| HIGH | development/profiling/config.py | 247 | Parse raw YAML config values into a profile config. Args: raw_config (Mapping[str, Any]): Raw mapping loade | STRING |
| HIGH | development/profiling/registry.py | 77 | Resolve a built-in or explicitly imported profiling target. Args: name (str): Target lookup name. i | STRING |
| HIGH | development/profiling/data/__init__.py | 17 | Build a profiling data source by name. Args: name (str): Registered data source name. config (Mappi | STRING |
| HIGH | …ence_models/inference_models/weights_providers/core.py | 19 | Retrieve model metadata from a registered weights provider. Fetches model metadata (including available packages, d | STRING |
| HIGH | inference_models/inference_models/utils/download.py | 111 | Download multiple files to a directory with parallel downloads and hash verification. Downloads files from URLs to | STRING |
| HIGH | …ce_models/inference_models/models/auto_loaders/core.py | 131 | Display comprehensive metadata and available packages for a model. Shows detailed information about a model wit | STRING |
| HIGH | …ce_models/inference_models/models/auto_loaders/core.py | 259 | Display detailed information about a specific model package. Shows comprehensive details for a single model pac | STRING |
| HIGH | …ce_models/inference_models/models/auto_loaders/core.py | 467 | Load and initialize a computer vision model with automatic backend selection. This is the primary entry point f | STRING |
| HIGH | …rence_models/inference_models/models/common/streams.py | 10 | Get a CUDA stream shared by all models within the calling thread. Streams are cached per (thread, device, purpose) | STRING |
| 55 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …lows/unit_tests/core_steps/sinks/test_twilio_sms_v2.py | 272 | from inference.core.exceptions import RoboflowAPIUnsuccessfulRequestError | CODE |
| CRITICAL | …lows/unit_tests/core_steps/sinks/test_twilio_sms_v2.py | 305 | from inference.core.exceptions import RoboflowAPIUnsuccessfulRequestError | CODE |
| CRITICAL | …s/core_steps/models/foundation/test_gaze_deprecated.py | 7 | from inference.core.exceptions import FeatureDeprecatedError | CODE |
| CRITICAL | …ore_steps/models/foundation/test_cog_vlm_deprecated.py | 7 | from inference.core.exceptions import FeatureDeprecatedError | CODE |
| CRITICAL | …_tests/execution/test_workflow_with_gaze_deprecated.py | 15 | from inference.core.exceptions import FeatureDeprecatedError | CODE |
| CRITICAL | …rence/unit_tests/core/test_feature_deprecated_error.py | 3 | from inference.core.exceptions import FeatureDeprecatedError | CODE |
| CRITICAL | …inference/unit_tests/core/active_learning/test_core.py | 28 | from inference.core.exceptions import RoboflowAPIConnectionError | CODE |
| CRITICAL | …core/active_learning/samplers/test_contains_classes.py | 13 | from inference.core.exceptions import ActiveLearningConfigurationError | CODE |
| CRITICAL | …/active_learning/samplers/test_number_of_detections.py | 15 | from inference.core.exceptions import ActiveLearningConfigurationError | CODE |
| CRITICAL | …re/active_learning/samplers/test_close_to_threshold.py | 21 | from inference.core.exceptions import ActiveLearningConfigurationError | CODE |
| CRITICAL | …nit_tests/core/active_learning/samplers/test_random.py | 9 | from inference.core.exceptions import ActiveLearningConfigurationError | CODE |
| CRITICAL | tests/inference/unit_tests/core/registries/test_base.py | 5 | from inference.core.exceptions import ModelNotRecognisedError | CODE |
| CRITICAL | …ts/inference/unit_tests/core/utils/test_postprocess.py | 7 | from inference.core.exceptions import PostProcessingError | CODE |
| CRITICAL | …sts/inference/unit_tests/core/utils/test_preprocess.py | 7 | from inference.core.exceptions import PreProcessingError | CODE |
| CRITICAL | …ts/inference/unit_tests/core/utils/test_environment.py | 5 | from inference.core.exceptions import InvalidEnvironmentVariableError | CODE |
| CRITICAL⚡ | tests/inference/unit_tests/core/utils/test_roboflow.py | 5 | from inference.core.exceptions import InvalidModelIDError | CODE |
| CRITICAL | …it_tests/core/models/test_inference_models_adapters.py | 14 | from inference.core.exceptions import PostProcessingError | CODE |
| CRITICAL | tests/inference/unit_tests/core/models/test_roboflow.py | 8 | from inference.core.exceptions import ModelArtefactError | CODE |
| CRITICAL | …/webrtc_worker/test_start_worker_region_enforcement.py | 14 | from inference.core.exceptions import WebRTCConfigurationError | CODE |
| CRITICAL⚡ | …rence/unit_tests/core/interfaces/http/test_http_api.py | 14 | from inference.core.exceptions import RoboflowAPINotAuthorizedError | CODE |
| CRITICAL⚡ | tests/inference/unit_tests/models/test_gaze_stub.py | 5 | from inference.core.exceptions import FeatureDeprecatedError | CODE |
| CRITICAL | inference/core/active_learning/entities.py | 8 | from inference.core.exceptions import ActiveLearningConfigurationDecodingError | CODE |
| CRITICAL | …ce/core/active_learning/samplers/close_to_threshold.py | 18 | from inference.core.exceptions import ActiveLearningConfigurationError | CODE |
| CRITICAL | …/core/active_learning/samplers/number_of_detections.py | 21 | from inference.core.exceptions import ActiveLearningConfigurationError | CODE |
| CRITICAL | inference/core/active_learning/samplers/random.py | 12 | from inference.core.exceptions import ActiveLearningConfigurationError | CODE |
| CRITICAL | …ence/core/active_learning/samplers/contains_classes.py | 15 | from inference.core.exceptions import ActiveLearningConfigurationError | CODE |
| CRITICAL | inference/core/registries/base.py | 3 | from inference.core.exceptions import ModelNotRecognisedError | CODE |
| CRITICAL | inference/core/cache/model_artifacts.py | 13 | from inference.core.exceptions import ModelArtefactError | CODE |
| CRITICAL | …e/workflows/core_steps/models/foundation/cog_vlm/v1.py | 7 | from inference.core.exceptions import FeatureDeprecatedError | CODE |
| CRITICAL | …core/workflows/core_steps/models/foundation/gaze/v1.py | 6 | from inference.core.exceptions import FeatureDeprecatedError | CODE |
| CRITICAL | …xecution_engine/v1/dynamic_blocks/block_scaffolding.py | 14 | from inference.core.exceptions import WorkspaceLoadError | CODE |
| CRITICAL | inference/core/utils/preprocess.py | 19 | from inference.core.exceptions import PreProcessingError | CODE |
| CRITICAL | inference/core/utils/postprocess.py | 7 | from inference.core.exceptions import PostProcessingError | CODE |
| CRITICAL | inference/core/utils/roboflow.py | 4 | from inference.core.exceptions import InvalidModelIDError | CODE |
| CRITICAL | inference/core/utils/environment.py | 4 | from inference.core.exceptions import InvalidEnvironmentVariableError | CODE |
| CRITICAL | inference/core/models/inference_models_adapters.py | 51 | from inference.core.exceptions import PostProcessingError | CODE |
| CRITICAL | inference/core/models/utils/keypoints.py | 4 | from inference.core.exceptions import ModelArtefactError | CODE |
| CRITICAL | inference/core/interfaces/stream/inference_pipeline.py | 27 | from inference.core.exceptions import CannotInitialiseModelError, MissingApiKeyError | CODE |
| CRITICAL | inference/core/interfaces/http/dependencies.py | 6 | from inference.core.exceptions import InputImageLoadError | CODE |
| CRITICAL | inference/models/yolov8/yolov8_keypoints_detection.py | 5 | from inference.core.exceptions import ModelArtefactError | CODE |
| CRITICAL | inference/models/sam3_3d/segment_anything_3d.py | 27 | from inference.core.exceptions import ModelArtefactError | CODE |
| CRITICAL | inference/models/vllm_proxy/errors.py | 12 | from inference.core.exceptions import ModelDeploymentNotSupportedError | CODE |
| CRITICAL | inference/models/transformers/transformers.py | 22 | from inference.core.exceptions import ModelArtefactError | CODE |
| CRITICAL | inference/models/trocr/trocr.py | 11 | from inference.core.exceptions import InvalidModelIDError | CODE |
| CRITICAL | inference/models/gaze/gaze.py | 1 | from inference.core.exceptions import FeatureDeprecatedError | CODE |
| CRITICAL | inference/models/gaze/gaze_inference_models.py | 1 | from inference.core.exceptions import FeatureDeprecatedError | CODE |
| CRITICAL | inference/models/sam3/visual_segmentation.py | 40 | from inference.core.exceptions import ModelArtefactError, RoboflowAPINotAuthorizedError | CODE |
| CRITICAL | inference/models/sam3/segment_anything3.py | 55 | from inference.core.exceptions import ModelArtefactError, RoboflowAPINotAuthorizedError | CODE |
| CRITICAL | inference/models/owlv2/owlv2.py | 39 | from inference.core.exceptions import InvalidModelIDError, ModelArtefactError | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | inference_models/README.md | 69 | api_key="<your-api-key>" # model access secured with API key | CODE |
| HIGH | …ce_models/inference_models/models/auto_loaders/core.py | 197 | ... api_key="your_api_key" | STRING |
| HIGH | …ce_models/inference_models/models/auto_loaders/core.py | 633 | ... api_key="your_api_key" | STRING |
| HIGH | inference_models/docs/index.md | 79 | api_key="<your-api-key>" # model access secured with API key | CODE |
| HIGH⚡ | …ce_models/docs/models/sam2-interactive-segmentation.md | 59 | model = AutoModel.from_pretrained("sam2/hiera_b_plus", api_key="your_api_key") | CODE |
| HIGH | …ce_models/docs/models/sam2-interactive-segmentation.md | 167 | api_key="your_api_key", | CODE |
| HIGH | …ce_models/docs/models/sam2-interactive-segmentation.md | 202 | api_key="your_api_key", | CODE |
| HIGH | …ence_models/docs/models/sam3-video-concept-tracking.md | 76 | model = AutoModel.from_pretrained("sam3video", api_key="your_api_key") | CODE |
| HIGH | …ence_models/docs/models/sam3-video-concept-tracking.md | 162 | model = AutoModel.from_pretrained("sam3trackervideo", api_key="your_api_key") | CODE |
| HIGH | inference_models/docs/models/deeplabv3plus.md | 59 | api_key="<your-api-key>" | CODE |
| HIGH | inference_models/docs/models/deeplabv3plus.md | 83 | api_key="<your-api-key>" | CODE |
| HIGH | inference_models/docs/models/deeplabv3plus.md | 114 | api_key="<your-api-key>" | CODE |
| HIGH⚡ | …nce_models/docs/models/sam-interactive-segmentation.md | 56 | model = AutoModel.from_pretrained("sam/vit_b", api_key="your_api_key") | CODE |
| HIGH | …nce_models/docs/models/sam-interactive-segmentation.md | 146 | api_key="your_api_key", | CODE |
| HIGH | …nce_models/docs/models/sam-interactive-segmentation.md | 181 | api_key="your_api_key", | CODE |
| HIGH | inference_models/docs/how-to/debug-model-loading.md | 173 | api_key="your_api_key" | CODE |
| HIGH | …ference_models/docs/getting-started/trt-compilation.md | 73 | --api-key <your_api_key> | CODE |
| HIGH | …ference_models/docs/getting-started/trt-compilation.md | 168 | api_key="your_api_key" | CODE |
| HIGH | docs/enterprise/stream_management_api.md | 266 | "api_key": "YOUR-API-KEY", | CODE |
| HIGH | docs/workflows/workflows_compiler.md | 299 | "workflows_core.api_key": "<YOUR-API-KEY>, | CODE |
| HIGH | docs/workflows/workflows_compiler.md | 299 | "workflows_core.api_key": "<YOUR-API-KEY>, | CODE |
| HIGH⚡ | docs/workflows/modes_of_running.md | 48 | "api_key": "<YOUR-API-KEY>", | CODE |
| HIGH⚡ | docs/workflows/modes_of_running.md | 48 | "api_key": "<YOUR-API-KEY>", | CODE |
| HIGH⚡ | docs/workflows/modes_of_running.md | 58 | - `<your-workspace-name>`, `<your-workflow-id>`, `<YOUR-API-KEY>` must be replaced with actual values - | CODE |
| HIGH⚡ | docs/workflows/modes_of_running.md | 58 | - `<your-workspace-name>`, `<your-workflow-id>`, `<YOUR-API-KEY>` must be replaced with actual values - | CODE |
| HIGH | docs/workflows/modes_of_running.md | 77 | api_key="<YOUR-API-KEY>", | CODE |
| HIGH | docs/workflows/modes_of_running.md | 77 | api_key="<YOUR-API-KEY>", | CODE |
| HIGH | docs/workflows/modes_of_running.md | 94 | - `<your-workspace-name>`, `<your-workflow-id>`, `<YOUR-API-KEY>` must be replaced with actual values - | CODE |
| HIGH | docs/workflows/modes_of_running.md | 94 | - `<your-workspace-name>`, `<your-workflow-id>`, `<YOUR-API-KEY>` must be replaced with actual values - | CODE |
| HIGH | docs/workflows/modes_of_running.md | 121 | api_key="<YOUR-API-KEY>", | CODE |
| HIGH | docs/workflows/modes_of_running.md | 121 | api_key="<YOUR-API-KEY>", | CODE |
| HIGH | docs/workflows/modes_of_running.md | 138 | - `<your-workspace-name>`, `<your-workflow-id>`, `<YOUR-API-KEY>` must be replaced with actual values - | CODE |
| HIGH | docs/workflows/modes_of_running.md | 138 | - `<your-workspace-name>`, `<your-workflow-id>`, `<YOUR-API-KEY>` must be replaced with actual values - | CODE |
| HIGH | docs/workflows/modes_of_running.md | 196 | api_key="<YOUR-API-KEY>", | CODE |
| HIGH | docs/workflows/modes_of_running.md | 196 | api_key="<YOUR-API-KEY>", | CODE |
| HIGH | docs/workflows/modes_of_running.md | 210 | - `<your-workspace-name>`, `<your-workflow-id>`, `<YOUR-API-KEY>` must be replaced with actual values - | CODE |
| HIGH | docs/workflows/modes_of_running.md | 210 | - `<your-workspace-name>`, `<your-workflow-id>`, `<YOUR-API-KEY>` must be replaced with actual values - | CODE |
| HIGH | docs/workflows/modes_of_running.md | 324 | "workflows_core.api_key": "<YOUR-API-KEY>, | CODE |
| HIGH | docs/workflows/modes_of_running.md | 324 | "workflows_core.api_key": "<YOUR-API-KEY>, | CODE |
| HIGH | docs/workflows/video_processing/overview.md | 125 | api_key="<YOUR-API-KEY>", | CODE |
| HIGH | docs/workflows/video_processing/overview.md | 125 | api_key="<YOUR-API-KEY>", | CODE |
| HIGH | docs/start/overview.md | 72 | api_key="YOUR_API_KEY", # For private/fine-tuned models | CODE |
| HIGH | docs/foundation/qwen2.5-vl.md | 35 | api_key="YOUR_API_KEY" # Optional if your model requires an API key | CODE |
| HIGH | docs/foundation/qwen2.5-vl.md | 79 | api_key="YOUR_API_KEY" | CODE |
| HIGH | docs/foundation/qwen2.5-vl.md | 149 | api_key="YOUR_API_KEY" | CODE |
| HIGH | docs/foundation/sam2.md | 64 | os.environ["API_KEY"] = "<YOUR-API-KEY>" | CODE |
| HIGH | docs/foundation/sam2.md | 64 | os.environ["API_KEY"] = "<YOUR-API-KEY>" | CODE |
| HIGH | docs/foundation/sam2.md | 309 | api_key="<YOUR-API-KEY>", | CODE |
| HIGH | docs/foundation/sam2.md | 309 | api_key="<YOUR-API-KEY>", | CODE |
| HIGH | docs/foundation/sam3.md | 134 | curl -X POST 'http://localhost:9001/sam3/concept_segment?api_key=<YOUR_API_KEY>' \ | CODE |
| HIGH | docs/foundation/sam3.md | 134 | curl -X POST 'http://localhost:9001/sam3/concept_segment?api_key=<YOUR_API_KEY>' \ | CODE |
| HIGH | docs/foundation/sam3.md | 151 | curl -X POST 'http://localhost:9001/sam3/concept_segment?api_key=<YOUR_API_KEY>' \ | CODE |
| HIGH | docs/foundation/sam3.md | 151 | curl -X POST 'http://localhost:9001/sam3/concept_segment?api_key=<YOUR_API_KEY>' \ | CODE |
| HIGH | docs/foundation/sam3.md | 179 | curl -X POST 'http://localhost:9001/sam3/embed_image?api_key=<YOUR_API_KEY>' \ | CODE |
| HIGH | docs/foundation/sam3.md | 179 | curl -X POST 'http://localhost:9001/sam3/embed_image?api_key=<YOUR_API_KEY>' \ | CODE |
| HIGH | docs/foundation/sam3.md | 193 | curl -X POST 'http://localhost:9001/sam3/visual_segment?api_key=<YOUR_API_KEY>' \ | CODE |
| HIGH | docs/foundation/sam3.md | 193 | curl -X POST 'http://localhost:9001/sam3/visual_segment?api_key=<YOUR_API_KEY>' \ | CODE |
| HIGH | docs/foundation/sam3.md | 294 | api_key="<YOUR-API-KEY>", | CODE |
| HIGH | docs/foundation/sam3.md | 294 | api_key="<YOUR-API-KEY>", | CODE |
| HIGH | docs/server_configuration/accepted_input_formats.md | 35 | "api_key": "YOUR-API-KEY", | CODE |
| 9 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | inference_sdk/http/utils/post_processing.py | 45 | CODE | |
| LOW | inference_sdk/http/utils/post_processing.py | 78 | CODE | |
| LOW | inference_sdk/http/utils/url_utils.py | 341 | CODE | |
| LOW | inference_sdk/webrtc/datachannel.py | 140 | CODE | |
| LOW | inference_sdk/webrtc/session.py | 554 | CODE | |
| LOW | inference_sdk/webrtc/session.py | 865 | CODE | |
| LOW | inference_sdk/webrtc/session.py | 900 | CODE | |
| LOW | inference_sdk/webrtc/session.py | 1022 | CODE | |
| LOW | …les/video_analysis/aggregating_objects_passing_data.py | 157 | CODE | |
| LOW | …orkflows_examples/video_analysis/using_webhook_sink.py | 243 | CODE | |
| LOW | development/stream_interface/time_in_zone_demo.py | 92 | CODE | |
| LOW | …pment/stream_interface/inference_pipeline_on_camera.py | 54 | CODE | |
| LOW | …codeflash-optimization-compare-visualization-parity.py | 177 | CODE | |
| LOW | development/stream_interface/workflows_demo.py | 68 | CODE | |
| LOW | development/stream_interface/yolo_world_demo.py | 31 | CODE | |
| LOW | …elopment/stream_interface/objects_passing_line_demo.py | 93 | CODE | |
| LOW | …ent/stream_interface/multiplexer_inference_pipeline.py | 44 | CODE | |
| LOW | development/stream_interface/camera_demo.py | 58 | CODE | |
| LOW | …ment/stream_interface/rfdetr_coco_same_shape_parity.py | 283 | CODE | |
| LOW | …ment/stream_interface/rfdetr_coco_same_shape_parity.py | 437 | CODE | |
| LOW | development/stream_interface/multiplexer_demo.py | 100 | CODE | |
| LOW | …els/development/profiling/profile_cuda_memory_leaks.py | 525 | CODE | |
| LOW | …els/development/profiling/profile_cuda_memory_leaks.py | 662 | CODE | |
| LOW | inference_models/inference_models/utils/download.py | 96 | CODE | |
| LOW | inference_models/inference_models/utils/download.py | 629 | CODE | |
| LOW | inference_models/inference_models/utils/download.py | 858 | CODE | |
| LOW | …ce_models/inference_models/models/auto_loaders/core.py | 968 | CODE | |
| LOW | …ce_models/inference_models/models/auto_loaders/core.py | 1470 | CODE | |
| LOW | …ce_models/inference_models/models/auto_loaders/core.py | 428 | CODE | |
| LOW | …ference_models/models/auto_loaders/auto_negotiation.py | 848 | CODE | |
| LOW | …models/models/depth_anything_v3/architecture/dinov2.py | 223 | CODE | |
| LOW | …erence_models/inference_models/models/sam/sam_torch.py | 200 | CODE | |
| LOW | …erence_models/inference_models/models/sam/sam_torch.py | 283 | CODE | |
| LOW | …ls/inference_models/models/pp_ocrv6/pp_ocrv6_common.py | 164 | CODE | |
| LOW | …ce_models/inference_models/models/doctr/doctr_torch.py | 191 | CODE | |
| LOW | inference_models/inference_models/models/common/onnx.py | 496 | CODE | |
| LOW | …s/inference_models/models/common/hf_streaming_video.py | 376 | CODE | |
| LOW | inference_models/inference_models/models/common/trt.py | 687 | CODE | |
| LOW | …erence_models/models/common/roboflow/model_packages.py | 64 | CODE | |
| LOW | …erence_models/models/common/roboflow/pre_processing.py | 113 | CODE | |
| LOW | …erence_models/models/common/roboflow/pre_processing.py | 573 | CODE | |
| LOW | …erence_models/models/common/roboflow/pre_processing.py | 869 | CODE | |
| LOW | …ence_models/models/rfdetr/dinov2_with_windowed_attn.py | 1226 | CODE | |
| LOW | …ence_models/models/rfdetr/dinov2_with_windowed_attn.py | 1330 | CODE | |
| LOW | …dels/models/rfdetr/rfdetr_instance_segmentation_trt.py | 421 | CODE | |
| LOW | …nce_models/inference_models/models/rfdetr/projector.py | 72 | CODE | |
| LOW | …nce_models/inference_models/models/rfdetr/projector.py | 213 | CODE | |
| LOW | …s/inference_models/models/rfdetr/triton_postprocess.py | 978 | CODE | |
| LOW | …s/inference_models/models/rfdetr/triton_postprocess.py | 1497 | CODE | |
| LOW | …odels/inference_models/models/rfdetr/pre_processing.py | 44 | CODE | |
| LOW | …ence_models/inference_models/models/sam3/sam3_torch.py | 947 | CODE | |
| LOW | …ence_models/inference_models/models/sam3/sam3_torch.py | 297 | CODE | |
| LOW | …ence_models/inference_models/models/sam3/sam3_torch.py | 527 | CODE | |
| LOW | …erence_models/inference_models/models/sam3/entities.py | 13 | CODE | |
| LOW | …erence_models/inference_models/models/sam3/entities.py | 14 | CODE | |
| LOW | …ence_models/inference_models/models/sam2/sam2_torch.py | 230 | CODE | |
| LOW | …ence_models/inference_models/models/sam2/sam2_torch.py | 313 | CODE | |
| LOW | …odels/models/perception_encoder/vision_encoder/rope.py | 81 | CODE | |
| LOW | …_models/models/perception_encoder/vision_encoder/pe.py | 482 | CODE | |
| LOW | inference_models/tests/e2e_platform_tests/conftest.py | 86 | CODE | |
| 207 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …nt/benchmark_scripts/benchmark_owlv2_inference_time.py | 19 | # Create a temporary file | COMMENT |
| MEDIUM | …erence_models/models/rfdetr/rfdetr_backbone_pytorch.py | 76 | # Create the encoder | COMMENT |
| MEDIUM | …erence_models/models/rfdetr/rfdetr_backbone_pytorch.py | 188 | # Create a new Parameter with the new size | COMMENT |
| MEDIUM⚡ | tests/unit/core/cache/test_air_gapped.py | 164 | # Create a cache directory for the model variant with a file. | COMMENT |
| MEDIUM⚡ | tests/unit/core/cache/test_air_gapped.py | 227 | # Create a cache directory for one of the variants with a file. | COMMENT |
| MEDIUM⚡ | tests/unit/core/cache/test_air_gapped.py | 281 | # Create a cache directory but with no files in it. | COMMENT |
| MEDIUM | …workflows/unit_tests/core_steps/sinks/test_email_v2.py | 286 | # Create a small numpy image for ExtractImageProperty (width/height) | COMMENT |
| MEDIUM⚡ | …ws/unit_tests/core_steps/sinks/test_event_writer_v1.py | 333 | # Create a filled square mask — findContours will produce a polygon | COMMENT |
| MEDIUM | …sts/core_steps/sinks/roboflow/vision_events/test_v1.py | 108 | # Create a simple square mask | COMMENT |
| MEDIUM | …s/unit_tests/core_steps/models/foundation/test_clip.py | 30 | # Create a mock WorkflowImageData instance | COMMENT |
| MEDIUM⚡ | …nit_tests/core_steps/visualizations/test_icon_alpha.py | 22 | # Create a test background image (white) | COMMENT |
| MEDIUM⚡ | …nit_tests/core_steps/visualizations/test_icon_alpha.py | 29 | # Create an icon with alpha channel (red circle with transparent background) | COMMENT |
| MEDIUM | …nit_tests/core_steps/visualizations/test_icon_alpha.py | 96 | # Create a test background image (white) | COMMENT |
| MEDIUM | …nit_tests/core_steps/visualizations/test_icon_alpha.py | 103 | # Create an icon with alpha channel | COMMENT |
| MEDIUM | …t_tests/core_steps/classical_cv/test_mask_edge_snap.py | 90 | # Create a single mask (e.g., from instance segmentation model) | COMMENT |
| MEDIUM | …t_tests/core_steps/classical_cv/test_mask_edge_snap.py | 169 | # Create a mask | COMMENT |
| MEDIUM | …s/core_steps/classical_cv/test_distance_measurement.py | 59 | tolerance = 1e-5 # Define a tolerance level | CODE |
| MEDIUM | …s/core_steps/classical_cv/test_distance_measurement.py | 119 | tolerance = 1e-3 # Define a tolerance level | CODE |
| MEDIUM | …s/core_steps/classical_cv/test_distance_measurement.py | 185 | tolerance = 1e-3 # Define a tolerance level | CODE |
| MEDIUM | …s/core_steps/classical_cv/test_distance_measurement.py | 243 | tolerance = 1e-3 # Define a tolerance level | CODE |
| MEDIUM⚡ | …s/core_steps/classical_cv/test_contrast_enhancement.py | 41 | # Create a test BGR image with low contrast | COMMENT |
| MEDIUM | …s/core_steps/classical_cv/test_contrast_enhancement.py | 66 | # Create a test grayscale image | COMMENT |
| MEDIUM | …s/core_steps/classical_cv/test_contrast_enhancement.py | 89 | # Create a test BGRA image | COMMENT |
| MEDIUM | …s/core_steps/classical_cv/test_contrast_enhancement.py | 115 | # Create a test image with some outliers | COMMENT |
| MEDIUM | …ows/integration_tests/execution/test_mask_edge_snap.py | 131 | # Create a single mask | COMMENT |
| MEDIUM | …ows/integration_tests/execution/test_mask_edge_snap.py | 245 | # Create a mask | COMMENT |
| MEDIUM | …ows/integration_tests/execution/test_mask_edge_snap.py | 297 | # Create a mask | COMMENT |
| MEDIUM | …ows/integration_tests/execution/test_mask_edge_snap.py | 454 | # Create a mask | COMMENT |
| MEDIUM | …cution/test_workflow_with_custom_python_block_modal.py | 108 | # Create a temporary Python script that runs the workflow | COMMENT |
| MEDIUM | …ation_tests/execution/test_workflow_with_opc_writer.py | 232 | # Create a variable with a string-based NodeId directly (like Ignition does) | COMMENT |
| MEDIUM | …ation_tests/execution/test_workflow_with_opc_writer.py | 719 | # Create a connection | COMMENT |
| MEDIUM | …/execution/test_existing_blocks_modal_compatibility.py | 37 | # Create a temporary Python script that runs the workflow | COMMENT |
| MEDIUM | …erence/unit_tests/core/interfaces/http/test_builder.py | 112 | # Create a workflow | COMMENT |
| MEDIUM | …ce/models_predictions_tests/test_perception_encoder.py | 21 | # Create a simple test image | COMMENT |
| MEDIUM | examples/inference-client/udp.py | 18 | # Create a datagram (UDP) socket | COMMENT |
| MEDIUM | …lows/core_steps/transformations/detections_merge/v1.py | 164 | # Create a new detection with the union bbox and ensure numpy arrays for all fields | COMMENT |
| MEDIUM | …xecution_engine/v1/dynamic_blocks/block_scaffolding.py | 298 | # Create a stub module for local reference | COMMENT |
| MEDIUM | …xecution_engine/v1/dynamic_blocks/block_scaffolding.py | 333 | # Create a stub module for local reference | COMMENT |
| MEDIUM | inference/core/models/roboflow.py | 938 | # Create an ONNX Runtime Session with a list of execution providers in priority order. ORT attempts to load | COMMENT |
| MEDIUM | inference/models/clip/clip_model.py | 63 | # Create an ONNX Runtime Session with a list of execution providers in priority order. ORT attempts to load prov | COMMENT |
| MEDIUM | modal/deploy_modal_app.py | 89 | # Create an instance to get the method | COMMENT |
| MEDIUM | modal/modal_app.py | 67 | # Create the Modal App | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | inference_sdk/http/client.py | 1653 | CODE | |
| LOW | inference_sdk/http/client.py | 1708 | CODE | |
| LOW | inference_sdk/http/client.py | 1754 | CODE | |
| LOW | inference_sdk/http/client.py | 1791 | CODE | |
| LOW | inference_sdk/http/client.py | 1843 | CODE | |
| LOW | inference_sdk/http/client.py | 1884 | CODE | |
| LOW | inference_sdk/http/client.py | 2229 | CODE | |
| LOW | inference_sdk/http/client.py | 2286 | CODE | |
| LOW | inference_sdk/http/client.py | 2350 | CODE | |
| LOW | inference_sdk/http/client.py | 2452 | CODE | |
| LOW | inference_sdk/http/client.py | 2388 | CODE | |
| LOW | inference_sdk/http/client.py | 2565 | CODE | |
| LOW | …nterface/codeflash-optimization-compare-percentiles.py | 125 | CODE | |
| LOW | development/profiling/config.py | 328 | CODE | |
| LOW | inference_models/development/compilation/core.py | 27 | CODE | |
| LOW | inference_models/inference_models/utils/download.py | 96 | CODE | |
| LOW | …ce_models/inference_models/models/auto_loaders/core.py | 968 | CODE | |
| LOW | …ce_models/inference_models/models/auto_loaders/core.py | 1118 | CODE | |
| LOW | …ce_models/inference_models/models/auto_loaders/core.py | 1242 | CODE | |
| LOW | …ce_models/inference_models/models/auto_loaders/core.py | 428 | CODE | |
| LOW | …ference_models/models/auto_loaders/auto_negotiation.py | 59 | CODE | |
| LOW | …models/models/depth_anything_v3/architecture/dinov2.py | 31 | CODE | |
| LOW | …odels/models/depth_anything_v3/architecture/dualdpt.py | 38 | CODE | |
| LOW | …els/depth_anything_v3/architecture/layers/attention.py | 16 | CODE | |
| LOW | …/models/depth_anything_v3/architecture/layers/block.py | 28 | CODE | |
| LOW | …els/depth_anything_v3/architecture/layers/drop_path.py | 24 | CODE | |
| LOW | …erence_models/inference_models/models/sam/sam_torch.py | 283 | CODE | |
| LOW | …ls/inference_models/models/rfdetr/triton_preprocess.py | 570 | CODE | |
| LOW | …odels/inference_models/models/rfdetr/ms_deform_attn.py | 180 | CODE | |
| LOW | …ence_models/models/rfdetr/dinov2_with_windowed_attn.py | 799 | CODE | |
| LOW | …ence_models/models/rfdetr/dinov2_with_windowed_attn.py | 298 | CODE | |
| LOW | …erence_models/models/rfdetr/rfdetr_backbone_pytorch.py | 51 | CODE | |
| LOW | …erence_models/models/rfdetr/rfdetr_backbone_pytorch.py | 223 | CODE | |
| LOW | …/inference_models/models/rfdetr/rfdetr_base_pytorch.py | 723 | CODE | |
| LOW | …nce_models/inference_models/models/rfdetr/projector.py | 127 | CODE | |
| LOW | …e_models/inference_models/models/rfdetr/transformer.py | 165 | CODE | |
| LOW | …e_models/inference_models/models/rfdetr/transformer.py | 460 | CODE | |
| LOW | …e_models/inference_models/models/rfdetr/transformer.py | 586 | CODE | |
| LOW | …e_models/inference_models/models/rfdetr/transformer.py | 636 | CODE | |
| LOW | …e_models/inference_models/models/rfdetr/transformer.py | 698 | CODE | |
| LOW | …ence_models/inference_models/models/sam3/sam3_torch.py | 70 | CODE | |
| LOW | …ence_models/inference_models/models/sam3/sam3_torch.py | 297 | CODE | |
| LOW | …ence_models/inference_models/models/sam2/sam2_torch.py | 313 | CODE | |
| LOW | …rence_models/inference_models/models/owlv2/owlv2_hf.py | 139 | CODE | |
| LOW | …odels/models/perception_encoder/vision_encoder/rope.py | 81 | CODE | |
| LOW | …_models/models/perception_encoder/vision_encoder/pe.py | 298 | CODE | |
| LOW | …_models/models/perception_encoder/vision_encoder/pe.py | 541 | CODE | |
| LOW | …/inference_models/model_pipelines/auto_loaders/core.py | 59 | CODE | |
| LOW | inference/core/nms.py | 6 | CODE | |
| LOW | inference/core/workflows/errors.py | 167 | CODE | |
| LOW | …orkflows/core_steps/sinks/roboflow/vision_events/v1.py | 599 | CODE | |
| LOW | …orkflows/core_steps/sinks/roboflow/vision_events/v1.py | 474 | CODE | |
| LOW | …rence/core/workflows/core_steps/trackers/botsort/v1.py | 290 | CODE | |
| LOW | …e/workflows/core_steps/classical_cv/camera_focus/v2.py | 563 | CODE | |
| LOW | …ce/core/workflows/execution_engine/v1/executor/core.py | 385 | CODE | |
| LOW | inference/core/models/object_detection_base.py | 42 | CODE | |
| LOW | inference/core/models/instance_segmentation_base.py | 48 | CODE | |
| LOW | inference/core/interfaces/udp/udp_stream.py | 68 | CODE | |
| LOW | inference/core/interfaces/camera/video_source.py | 199 | CODE | |
| LOW | inference/core/interfaces/webrtc_worker/webrtc.py | 221 | CODE | |
| 71 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ce_models/docs/models/sam2-interactive-segmentation.md | 62 | # Step 1: Embed the image (optional but recommended for multiple segmentations) | COMMENT |
| LOW⚡ | …ce_models/docs/models/sam2-interactive-segmentation.md | 65 | # Step 2: Segment with point prompts | COMMENT |
| LOW | …nce_models/docs/models/rfdetr-instance-segmentation.md | 82 | ### Step 1: Train Your Model | COMMENT |
| LOW | …nce_models/docs/models/rfdetr-instance-segmentation.md | 100 | ### Step 2: Deploy Instantly with inference-models | COMMENT |
| LOW | inference_models/docs/models/rfdetr-object-detection.md | 96 | ### Step 1: Train Your Model | COMMENT |
| LOW | inference_models/docs/models/rfdetr-object-detection.md | 114 | ### Step 2: Deploy Instantly with inference-models | COMMENT |
| LOW⚡ | …nce_models/docs/models/sam-interactive-segmentation.md | 59 | # Step 1: Embed the image (optional but recommended for multiple segmentations) | COMMENT |
| LOW⚡ | …nce_models/docs/models/sam-interactive-segmentation.md | 62 | # Step 2: Segment with point prompts | COMMENT |
| LOW | inference_models/docs/how-to/local-packages.md | 52 | #### Step 1: Create `model_config.json` | COMMENT |
| LOW | inference_models/docs/how-to/local-packages.md | 68 | #### Step 2: Implement Your Model Class | COMMENT |
| LOW | inference_models/docs/contributors/adding-model.md | 16 | ## Step 1: Understanding Model Implementation Philosophy | COMMENT |
| LOW | inference_models/docs/contributors/adding-model.md | 77 | ## Step 2: Create Model Implementation | COMMENT |
| LOW | inference_models/docs/contributors/adding-model.md | 196 | ## Step 3: Register Model in Registry | COMMENT |
| LOW | inference_models/docs/contributors/adding-model.md | 324 | ## Step 4: Prepare Model Packages for Registration | COMMENT |
| LOW | inference_models/docs/contributors/adding-model.md | 363 | ## Step 5: Add Tests | COMMENT |
| LOW | inference_models/docs/contributors/adding-model.md | 367 | ## Step 6: Write Documentation | COMMENT |
| LOW⚡ | docs/workflows/create_and_run.md | 8 | ## Step 1: Create a Workflow | COMMENT |
| LOW⚡ | docs/workflows/create_and_run.md | 16 | ## Step 2: Add an object detection model | COMMENT |
| LOW⚡ | docs/workflows/create_and_run.md | 21 | ## Step 3: Crop each detected object to run breed classification | COMMENT |
| LOW⚡ | docs/workflows/create_and_run.md | 27 | ## Step 4: Classify dog breeds with second stage model | COMMENT |
| LOW⚡ | docs/workflows/create_and_run.md | 36 | ## Step 5: Replace Bounding Box classes with classification model predictions | COMMENT |
| LOW⚡ | docs/workflows/create_and_run.md | 45 | ## Step 6: Visualise predictions | COMMENT |
| LOW | docs/workflows/create_and_run.md | 56 | ## Step 7: Construct output | COMMENT |
| LOW | docs/workflows/create_and_run.md | 62 | ## Step 8: Running the workflow | COMMENT |
| LOW⚡ | …orkflows/core_steps/sinks/roboflow/vision_events/v1.py | 693 | # Step 1: Convert predictions to vision events annotation format | COMMENT |
| LOW⚡ | …orkflows/core_steps/sinks/roboflow/vision_events/v1.py | 696 | # Step 2: Upload images and build a single image entry | COMMENT |
| LOW | …orkflows/core_steps/sinks/roboflow/vision_events/v1.py | 716 | # Step 3: Build and send event | COMMENT |
| LOW⚡ | inference/core/interfaces/webrtc_worker/utils.py | 385 | # Step 1: we remove expired entries | COMMENT |
| LOW⚡ | inference/core/interfaces/webrtc_worker/utils.py | 388 | # Step 2: we return what is still valid | COMMENT |
| LOW | inference/usage_tracking/payload_helpers.py | 6 | # NOTE: This module is used in isolation, no imports from inference are allowed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | inference_sdk/webrtc/datachannel.py | 68 | # Check if all chunks received | COMMENT |
| LOW | inference_sdk/webrtc/session.py | 132 | # Check if session was closed (e.g., from a handler) | COMMENT |
| LOW | inference_sdk/webrtc/session.py | 505 | # Check if being used without parentheses: @session.on_data | COMMENT |
| LOW | inference_sdk/webrtc/session.py | 1026 | # Check if it's a chunked binary message | COMMENT |
| LOW | inference_sdk/webrtc/session.py | 1207 | # Check if video is will be sent through datachannel instead of video track | COMMENT |
| LOW | development/otel/start-otel-dev.sh | 40 | # Check if already running | COMMENT |
| LOW | …nference_models/models/auto_loaders/models_registry.py | 611 | # Check if implementation requires features that package doesn't have | COMMENT |
| LOW | …nference_models/models/auto_loaders/models_registry.py | 618 | # Check if package has features that implementation doesn't support | COMMENT |
| LOW | …execution/test_workflow_with_background_subtraction.py | 163 | # Check if there are any non-zero pixels (indicating detected motion) | STRING |
| LOW | …integration_tests/populate_expected_responses_batch.py | 25 | # Iterate through list of tests | COMMENT |
| LOW | …e/integration_tests/populate_expected_responses_sam.py | 21 | # Iterate through list of tests | COMMENT |
| LOW | …/integration_tests/populate_expected_responses_clip.py | 21 | # Iterate through list of tests | COMMENT |
| LOW | …rence/integration_tests/populate_expected_responses.py | 33 | # Iterate through list of tests | COMMENT |
| LOW | inference/core/nms.py | 47 | # Assign directly to the view | COMMENT |
| LOW | inference/core/workflows/core_steps/loader.py | 786 | # Check if block type category is disabled | COMMENT |
| LOW | …core_steps/fusion/detections_classes_replacement/v1.py | 227 | # Check if predictions are string-based (e.g. from OCR/LMM models) | STRING |
| LOW | …rkflows/core_steps/fusion/detections_list_rollup/v1.py | 345 | # Check if we have instance segmentation (with masks) or object detection (without masks) | STRING |
| LOW | …core_steps/transformations/stitch_ocr_detections/v2.py | 476 | # Check if distribution is bimodal using several heuristics: | COMMENT |
| LOW | …re/workflows/core_steps/sinks/email_notification/v2.py | 510 | # Check if using Roboflow Managed API Key | STRING |
| LOW | …re/workflows/core_steps/sinks/email_notification/v2.py | 906 | # Check if it's a workspace member restriction | COMMENT |
| LOW | …re/workflows/core_steps/sinks/email_notification/v2.py | 931 | # Check if it's a rate limit error | COMMENT |
| LOW | …rence/core/workflows/core_steps/sinks/twilio/sms/v2.py | 395 | # Check if using Roboflow Managed API Key | STRING |
| LOW⚡ | …kflows/core_steps/classical_cv/pixel_color_count/v1.py | 186 | # Check if color is in hex format | STRING |
| LOW | …kflows/core_steps/classical_cv/pixel_color_count/v1.py | 200 | # Check if color is in tuple format | STRING |
| LOW | …workflows/core_steps/classical_cv/dominant_color/v1.py | 165 | # Assign pixels to nearest centroid | STRING |
| LOW | …orkflows/core_steps/classical_cv/sift_comparison/v1.py | 136 | # Check if both descriptor arrays have at least 2 descriptors | STRING |
| LOW | …orkflows/core_steps/classical_cv/sift_comparison/v2.py | 230 | # Check if both descriptor arrays have at least 2 descriptors | STRING |
| LOW | …rkflows/core_steps/analytics/detection_event_log/v1.py | 349 | # Check if it's time to run cleanup | COMMENT |
| LOW | …s/execution_engine/v1/dynamic_blocks/modal_executor.py | 57 | # Check if Modal credentials are available | COMMENT |
| LOW | …s/execution_engine/v1/dynamic_blocks/modal_executor.py | 555 | # Check if Modal is available | COMMENT |
| LOW | …/execution_engine/v1/dynamic_blocks/block_assembler.py | 97 | # Check if we're using Modal for secure remote execution | COMMENT |
| LOW | inference/core/interfaces/http/http_api.py | 1611 | # Check if in-memory logging is enabled | COMMENT |
| LOW | …ise/workflows/enterprise_blocks/sinks/opc_writer/v1.py | 242 | # Check if we have an existing connection | COMMENT |
| LOW | inference/models/sam3_3d/segment_anything_3d.py | 85 | # Check if already in correct format (uint8, 0/255 range, correct size) | COMMENT |
| LOW | app_bundles/osx/build.py | 164 | # Check if file is executable or matches .dylib/.so extension | COMMENT |
| LOW | app_bundles/osx/build.py | 288 | # Check if make_dmg.sh created the unversioned file | COMMENT |
| LOW | modal/modal_app.py | 455 | # Check if function expects a 'self' parameter | COMMENT |
| LOW | modal/utils.py | 35 | # Check if modal is installed | COMMENT |
| LOW | modal/utils.py | 132 | # Check if this is the active profile | COMMENT |
| LOW | …_cli/lib/roboflow_cloud/data_staging/api_operations.py | 2203 | # Check if any errors occurred during processing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | inference_sdk/webrtc/__init__.py | 17 | __all__ = [ | CODE |
| LOW | inference_models/inference_models/developer_tools.py | 97 | __all__ = [ | CODE |
| LOW | …ference_models/weights_providers/local_trt_packages.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW | …dels/models/depth_anything_v3/architecture/__init__.py | 26 | __all__ = ["DepthAnything3Net"] | CODE |
| LOW | …dels/depth_anything_v3/architecture/layers/__init__.py | 20 | __all__ = [ | CODE |
| LOW | …ence_models/models/rfdetr/dinov2_with_windowed_attn.py | 1450 | __all__ = [ | CODE |
| LOW | …/inference_models/models/rfdetr/triton_jit_fallback.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …rence/unit_tests/core/interfaces/http/test_http_api.py | 24 | def set_stream_manager_client(self, stream_manager_client) -> None: | CODE |
| LOW | …ttp/test_legacy_http_route_accepts_confidence_modes.py | 26 | def set_stream_manager_client(self, stream_manager_client) -> None: | CODE |
| LOW | …e/interfaces/http/test_workflow_debug_logs_contract.py | 26 | def set_stream_manager_client(self, stream_manager_client) -> None: | CODE |
| LOW | inference/__init__.py | 36 | __all__ = [ | CODE |
| LOW | inference/core/telemetry.py | 102 | def set_span_attribute(key: str, value: Any) -> None: | CODE |
| LOW | inference/core/cache/air_gapped.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | inference/core/managers/prometheus.py | 32 | def set_stream_manager_client(self, stream_manager_client) -> None: | CODE |
| LOW | inference/core/workflows/core_steps/common/entities.py | 14 | __all__ = ["StepExecutionMode"] | CODE |
| LOW | …rkflows/execution_engine/v1/inner_workflow/__init__.py | 27 | __all__ = [ | CODE |
| LOW | …_engine/v1/inner_workflow/dynamic_blocks_collection.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …kflows/execution_engine/introspection/blocks_loader.py | 52 | logger = logging.getLogger(__name__) | CODE |
| LOW | inference/core/utils/cuda_health.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | inference/core/logging/memory_handler.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | inference/core/interfaces/camera/video_source.py | 677 | def _set_file_mode_consumption_strategies(self) -> None: | CODE |
| LOW⚡ | inference/core/interfaces/camera/video_source.py | 681 | def _set_stream_mode_consumption_strategies(self) -> None: | CODE |
| LOW⚡ | inference/core/interfaces/camera/video_source.py | 936 | def _set_file_mode_buffering_strategies(self) -> None: | CODE |
| LOW⚡ | inference/core/interfaces/camera/video_source.py | 940 | def _set_stream_mode_buffering_strategies(self) -> None: | CODE |
| LOW | …ence/core/interfaces/webrtc_worker/sources/__init__.py | 6 | __all__ = ["ThreadedVideoFileTrack", "VideoFileUploadHandler"] | CODE |
| LOW⚡ | inference/core/interfaces/http/http_api.py | 438 | def _set_request_header(request: Request, header_name: str, header_value: str) -> None: | CODE |
| LOW⚡ | inference/core/interfaces/http/http_api.py | 446 | def _set_optional_context_var(context_var: Optional[Any], value: Optional[str]) -> None: | CODE |
| LOW⚡ | inference/core/interfaces/http/builder/routes.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ows/enterprise_blocks/sinks/microsoft_sql_server/v1.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ence/models/depth_anything_v3/architecture/__init__.py | 26 | __all__ = ["DepthAnything3Net"] | CODE |
| LOW | …dels/depth_anything_v3/architecture/layers/__init__.py | 20 | __all__ = [ | CODE |
| LOW | inference/models/easy_ocr/__init__.py | 3 | __all__ = ["EasyOCR"] | CODE |
| LOW | inference/models/vllm_proxy/qwen3_5_vllm.py | 48 | __all__ = [ | CODE |
| LOW | inference/models/vllm_proxy/__init__.py | 16 | __all__ = ["VLLM_PROXY_ENABLED"] | CODE |
| LOW | inference/models/vllm_proxy/qwen3vl_vllm.py | 54 | __all__ = [ | CODE |
| LOW | inference/models/rfdetr_nas/__init__.py | 6 | __all__ = ["RFDETRNasObjectDetection", "RFDETRNasInstanceSegmentation"] | CODE |
| LOW | inference/models/rfdetr/__init__.py | 6 | __all__ = ["RFDETRObjectDetection", "RFDETRInstanceSegmentation"] | CODE |
| LOW | inference/models/sam3/__init__.py | 6 | __all__ = ["SegmentAnything3", "Sam3ForInteractiveImageSegmentation"] | CODE |
| LOW | inference/models/perception_encoder/__init__.py | 3 | __all__ = ["PerceptionEncoder"] | CODE |
| LOW | …e_compiler/core/compilation_handlers/engine_builder.py | 42 | def set_timing_cache_manager(self, cache_manager: TimingCacheManager) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mkdocs.yml | 61 | - Securing Your Server: install/security.md | COMMENT |
| LOW | inference_sdk/webrtc/model_workflows.py | 21 | deduct_api_key_from_string, | COMMENT |
| LOW | docker/entrypoint/run_uvicorn.sh | 1 | #!/bin/sh | COMMENT |
| LOW | development/otel/start-otel-dev.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …converters/convert_florence2_original_pytorch_to_hf.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …ls/models/depth_anything_v3/depth_anything_v3_torch.py | 1 | # Copyright (c) 2025 Roboflow, Inc. | COMMENT |
| LOW | …ce_models/models/depth_anything_v3/architecture/dpt.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | …odels/models/depth_anything_v3/architecture/dualdpt.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | …dels/models/depth_anything_v3/architecture/__init__.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | …ce_models/models/depth_anything_v3/architecture/da3.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | …ls/models/depth_anything_v3/architecture/head_utils.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | …odels/inference_models/models/rfdetr/ms_deform_attn.py | 1 | # ------------------------------------------------------------------------ | COMMENT |
| LOW | …/inference_models/models/rfdetr/ms_deform_attn_func.py | 1 | # ------------------------------------------------------------------------ | COMMENT |
| LOW | …ls/inference_models/models/rfdetr/position_encoding.py | 1 | # ------------------------------------------------------------------------ | COMMENT |
| LOW | …nce_models/inference_models/models/rfdetr/projector.py | 1 | # ------------------------------------------------------------------------ | COMMENT |
| LOW | …e_models/inference_models/models/rfdetr/transformer.py | 1 | # ------------------------------------------------------------------------ | COMMENT |
| LOW | …/unit_tests/core_steps/fusion/test_overlap_analysis.py | 241 | ) | COMMENT |
| LOW | docs/javascript/init_kapa_widget.js | 1 | // Interaction-gated loader for the Kapa.ai "Ask AI" widget. | COMMENT |
| LOW | .github/workflows/claude-pr-review-notice.yml | 1 | name: Claude PR Review — PR Notice | COMMENT |
| LOW | .github/workflows/test.nvidia_t4.yml | 141 | # if: ${{ github.event.inputs.test_name == '' || github.event.inputs.test_name == 'qwen25' }} | COMMENT |
| LOW | inference/core/env.py | 61 | # re-validated (scheme / FQDN / allow-list / block-list) instead of being | COMMENT |
| LOW | …/workflows/core_steps/models/foundation/qwen_vlm/v1.py | 181 | "Qwen 3.5 VL 2B", | COMMENT |
| LOW | …ows/core_steps/visualizations/common/base_colorable.py | 61 | # "Matplotlib gnuplot2", | COMMENT |
| LOW | inference/enterprise/parallel/build.sh | 1 | #!/bin/bash | COMMENT |
| LOW | inference/models/depth_anything_v3/depth_anything_v3.py | 1 | # Copyright (c) 2025 Roboflow, Inc. | COMMENT |
| LOW | …epth_anything_v3/depth_anything_v3_inference_models.py | 1 | # Copyright (c) 2025 Roboflow, Inc. | COMMENT |
| LOW | inference/models/depth_anything_v3/architecture/dpt.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | …rence/models/depth_anything_v3/architecture/dualdpt.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | …ence/models/depth_anything_v3/architecture/__init__.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | inference/models/depth_anything_v3/architecture/da3.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | …ce/models/depth_anything_v3/architecture/head_utils.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | app_bundles/osx/run_inference.py | 121 | COMMENT | |
| LOW | app_bundles/osx/run_inference.py | 141 | COMMENT | |
| LOW | app_bundles/osx/launcher.c.txt | 1 | // this is the source code for the binary checked in to the repo. | COMMENT |
| LOW | app_bundles/osx/hooks/hook-inference.models.py | 1 | # ── hooks/hook-inference.models.py ──────────────────────────────── | COMMENT |
| LOW | app_bundles/windows/run_inference.py | 121 | # import inference.models.gaze as _gaze | COMMENT |
| LOW | app_bundles/windows/hooks/hook-inference.models.py | 1 | # ── hooks/hook-inference.models.py ──────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | inference/landing/src/app/components/Examples.tsx | 38 | print(res.json()) | CODE |
| HIGH | inference/landing/src/app/components/Examples.tsx | 55 | print(results) | CODE |
| HIGH | inference/landing/src/app/components/Examples.tsx | 69 | print(embeddings) | CODE |
| HIGH | inference/landing/src/app/components/Examples.tsx | 83 | print(embeddings) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | inference_models/inference_models/models/common/cuda.py | 98 | context.push() | CODE |
| HIGH | …e/interfaces/http/test_workflow_debug_logs_contract.py | 11 | - no `debug` flag -> `python_blocks_output_streams` is null, | STRING |
| HIGH | …e/interfaces/http/test_workflow_debug_logs_contract.py | 308 | # then - empty capture serializes as null, not {} | STRING |
| HIGH | …core_steps/formatters/first_non_empty_or_default/v1.py | 38 | - Default value can be any type (string, number, object, null, etc.) | CODE |
| HIGH | …core_steps/formatters/first_non_empty_or_default/v1.py | 114 | description="Default value to return when all data inputs are empty (None). This ensures the output is always no | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …orkflows/core_steps/sinks/roboflow/vision_events/v1.py | 693 | # Step 1: Convert predictions to vision events annotation format | COMMENT |
| LOW⚡ | …orkflows/core_steps/sinks/roboflow/vision_events/v1.py | 696 | # Step 2: Upload images and build a single image entry | COMMENT |
| LOW | …orkflows/core_steps/sinks/roboflow/vision_events/v1.py | 716 | # Step 3: Build and send event | COMMENT |
| LOW⚡ | inference/core/interfaces/webrtc_worker/utils.py | 385 | # Step 1: we remove expired entries | COMMENT |
| LOW⚡ | inference/core/interfaces/webrtc_worker/utils.py | 388 | # Step 2: we return what is still valid | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ce_models/inference_models/models/auto_loaders/core.py | 131 | """Display comprehensive metadata and available packages for a model. | STRING |
| LOW | inference/core/roboflow_api.py | 277 | # remaining aiohttp.ClientError seems to qualify to simply pass-through raise | COMMENT |
| LOW | …s/execution_engine/v1/dynamic_blocks/modal_executor.py | 603 | # For validation, we don't need complex inputs, just pass empty JSON | STRING |
| MEDIUM | …ise/workflows/enterprise_blocks/sinks/opc_writer/v1.py | 407 | [asyncua](https://github.com/FreeOpcUa/opcua-asyncio) library for seamless communication. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …erence_sdk/unit_tests/webrtc/test_session_lifecycle.py | 150 | CODE | |
| MEDIUM | …erence_sdk/unit_tests/webrtc/test_session_lifecycle.py | 167 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ts/execution/test_workflow_with_custom_python_block.py | 453 | def my_function(self, prediction: sv.Detections, crops: Batch[WorkflowImageData]) -> BlockResult: | CODE |
| LOW | …inference/integration_tests/test_workflow_endpoints.py | 131 | def my_function(self, prediction: sv.Detections, crops: Batch[WorkflowImageData]) -> BlockResult: | CODE |
| LOW | …inference/integration_tests/test_workflow_endpoints.py | 235 | def my_function(self, prediction: sv.Detections, crops: Batch[WorkflowImageData]) -> BlockResult: | CODE |
| LOW | tests/inference/hosted_platform_tests/test_workflows.py | 136 | def my_function(self, prediction: sv.Detections, crops: Batch[WorkflowImageData]) -> BlockResult: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .claude/skills/add-inference-model/SKILL.md | 32 | ## Before scaffolding — survey existing models | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ce/unit_tests/core/interfaces/stream/test_workflows.py | 349 | response = _FakeResponse("placeholder") | CODE |
| LOW | …/inference/unit_tests/usage_tracking/test_collector.py | 955 | api_key = "fake-key" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | development/otel/start-otel-dev.sh | 6 | # Usage: | COMMENT |