Cost-efficient and pluggable Infrastructure components for GenAI inference
This report presents the forensic synthetic code analysis of vllm-project/aibrix, a Go project with 4,957 GitHub stars. SynthScan v2.0 examined 454,374 lines of code across 1880 source files, recording 3207 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 9.2 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 3207 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/integration/engine/lora/test_lru_swap_pinning.py | 86 | def test_access_updates_lru_order(self, llm_with_lora): | CODE |
| LOW | test/integration/engine/lora/test_lru_swap_pinning.py | 139 | def test_eviction_with_mixed_access_pattern(self, llm_with_lora): | CODE |
| LOW | test/integration/engine/lora/test_lru_swap_pinning.py | 285 | def test_repeated_swaps_vs_baseline(self, llm_swap_test): | CODE |
| LOW | test/integration/engine/lora/test_lru_swap_pinning.py | 342 | def test_swap_latency_consistency(self, llm_swap_test): | CODE |
| LOW | test/integration/engine/lora/test_lru_swap_pinning.py | 408 | def test_pinned_lora_not_evicted(self, llm_pinning_test): | CODE |
| LOW | test/integration/engine/lora/test_lru_swap_pinning.py | 435 | def test_pin_cpu_lora_when_gpu_available(self, llm_pinning_test): | CODE |
| LOW | test/integration/engine/lora/test_lru_swap_pinning.py | 467 | def test_pin_cpu_lora_when_gpu_full_with_pins(self, llm_pinning_test): | CODE |
| LOW | test/integration/engine/lora/test_lru_swap_pinning.py | 509 | def test_all_pinned_blocks_new_lora(self, llm_pinning_test): | CODE |
| LOW | test/integration/engine/lora/test_lru_swap_pinning.py | 554 | def test_unpin_allows_eviction(self, llm_pinning_test): | CODE |
| LOW | test/integration/engine/lora/test_lru_swap_pinning.py | 585 | def test_pin_nonexistent_raises(self, llm_pinning_test): | CODE |
| LOW | test/integration/engine/lora/test_memory.py | 60 | def test_lora_memory_allocation(self, llm_memory_constrained): | CODE |
| LOW | test/integration/engine/lora/test_memory.py | 95 | def test_kv_pressure_preserves_pinned_loras(self, llm_memory_constrained): | CODE |
| LOW | test/integration/engine/lora/test_memory.py | 147 | def test_memory_stability_under_load(self, llm_memory_constrained): | CODE |
| LOW | test/integration/engine/lora/test_memory.py | 190 | def test_lora_buffer_preallocation(self): | CODE |
| LOW | test/integration/engine/lora/test_memory.py | 242 | def test_memory_scales_with_max_loras(self): | CODE |
| LOW | test/integration/engine/lora/test_memory.py | 284 | def test_memory_scales_with_rank(self): | CODE |
| LOW | test/integration/engine/lora/test_memory.py | 324 | def test_rank_mismatch_handling(self): | CODE |
| LOW | test/integration/engine/lora/test_api.py | 61 | def test_load_use_unload_cycle(self, llm): | CODE |
| LOW | test/integration/engine/lora/test_api.py | 130 | def test_remove_lora_idempotent(self, llm): | CODE |
| LOW | test/integration/engine/lora/test_api.py | 185 | def test_pin_lora_not_found_raises(self, llm): | CODE |
| LOW | …t/integration/engine/lora/test_batching_concurrency.py | 61 | async def test_batch_lora_limit_timing(self, async_engine_batching): | CODE |
| LOW | …t/integration/engine/lora/test_batching_concurrency.py | 133 | async def test_same_lora_batching_efficiency(self, async_engine_batching): | CODE |
| LOW | …t/integration/engine/lora/test_batching_concurrency.py | 188 | async def test_throughput_comparison(self, async_engine_batching): | CODE |
| LOW | …t/integration/engine/lora/test_batching_concurrency.py | 280 | async def test_high_concurrency_random_loras(self, async_engine_concurrency): | CODE |
| LOW | …t/integration/engine/lora/test_batching_concurrency.py | 362 | async def test_burst_traffic_per_lora(self, async_engine_concurrency): | CODE |
| LOW | …t/integration/engine/lora/test_batching_concurrency.py | 427 | async def test_sequential_vs_parallel(self, async_engine_concurrency): | CODE |
| LOW | …t/integration/engine/lora/test_batching_concurrency.py | 496 | async def async_engine_single_gpu_slot(self): | CODE |
| LOW | …t/integration/engine/lora/test_batching_concurrency.py | 523 | async def test_pin_cpu_lora_during_inflight_request(self, async_engine_single_gpu_slot): | CODE |
| LOW | python/aibrix/tests/test_downloaders.py | 25 | def test_downloaders_py_parses(self): | CODE |
| LOW | python/aibrix/tests/test_downloaders.py | 29 | def test_download_is_async_download_sync_is_sync(self): | CODE |
| LOW | python/aibrix/tests/test_logger.py | 21 | def test_init_logger_basic_functionality(): | CODE |
| LOW | python/aibrix/tests/test_logger.py | 33 | def test_logger_with_structured_data(): | CODE |
| LOW | python/aibrix/tests/test_logger.py | 52 | def test_logger_different_log_levels(): | CODE |
| LOW | python/aibrix/tests/test_logger.py | 71 | def test_logger_complex_data_types(): | CODE |
| LOW | python/aibrix/tests/test_logger.py | 95 | def test_logger_multiple_calls(): | CODE |
| LOW | python/aibrix/tests/test_logger.py | 111 | def test_logger_special_characters(): | CODE |
| LOW | python/aibrix/tests/test_logger.py | 159 | def test_logger_format_example(): | CODE |
| LOW⚡ | python/aibrix/tests/metrics/test_metrics.py | 24 | def test_get_metric_standard_rules_ignore_case(): | CODE |
| LOW⚡ | python/aibrix/tests/metrics/test_metrics.py | 34 | def test_get_metric_standard_rules_not_support(): | CODE |
| LOW⚡ | python/aibrix/tests/metrics/test_metrics.py | 40 | def test_get_metric_standard_rules_trtllm_support(): | CODE |
| LOW | python/aibrix/tests/metrics/test_metrics.py | 51 | def test_get_metric_standard_rules_sglang_support(): | CODE |
| LOW | python/aibrix/tests/metrics/test_metrics.py | 88 | def test_rename_with_prefix_suffix(self): | CODE |
| LOW | python/aibrix/tests/metrics/test_metrics.py | 102 | def test_assertion_on_name_mismatch(self): | CODE |
| LOW | python/aibrix/tests/metrics/test_metrics.py | 173 | def test_collect_keep_original_metric(self, mock_session): | STRING |
| LOW | python/aibrix/tests/metrics/test_metrics.py | 215 | def test_collect_deepcopy_preserves_original(self, mock_session): | STRING |
| LOW | python/aibrix/tests/metrics/test_metrics.py | 260 | def test_collect_request_failure(self, mock_session): | STRING |
| LOW | …/aibrix/tests/metrics/test_metrics_passthrough_mode.py | 34 | def test_raw_passthrough_mode_enabled(self, mock_session): | STRING |
| LOW | …/aibrix/tests/metrics/test_metrics_passthrough_mode.py | 72 | def test_raw_passthrough_mode_disabled(self, mock_session): | CODE |
| LOW | …/aibrix/tests/metrics/test_metrics_passthrough_mode.py | 110 | def test_env_var_enables_passthrough_mode(self, mock_session): | CODE |
| LOW | …/aibrix/tests/metrics/test_metrics_passthrough_mode.py | 146 | def test_transformation_disabled_forces_passthrough(self, mock_session): | CODE |
| LOW | …/aibrix/tests/metrics/test_metrics_passthrough_mode.py | 181 | def test_transformation_error_fallback_to_passthrough(self, mock_session): | CODE |
| LOW | …/aibrix/tests/metrics/test_metrics_passthrough_mode.py | 217 | def test_explicit_passthrough_overrides_env_var(self, mock_session): | CODE |
| LOW | …/aibrix/tests/metrics/test_metrics_passthrough_mode.py | 255 | def test_mode_detection_priority(self): | CODE |
| LOW | …thon/aibrix/tests/metrics/test_metrics_multi_engine.py | 27 | def test_get_metric_rules_vllm(self): | CODE |
| LOW | …thon/aibrix/tests/metrics/test_metrics_multi_engine.py | 83 | def test_get_metric_rules_sglang(self): | CODE |
| LOW | …thon/aibrix/tests/metrics/test_metrics_multi_engine.py | 140 | def test_get_metric_rules_case_insensitive(self): | CODE |
| LOW | …thon/aibrix/tests/metrics/test_metrics_multi_engine.py | 154 | def test_get_metric_rules_unsupported_engine(self): | CODE |
| LOW | …thon/aibrix/tests/metrics/test_metrics_multi_engine.py | 162 | def test_core_metrics_standardization(self): | CODE |
| LOW | …thon/aibrix/tests/metrics/test_metrics_multi_engine.py | 218 | def test_trtllm_metrics_standardization(self): | CODE |
| LOW | …thon/aibrix/tests/metrics/test_metrics_multi_engine.py | 254 | def test_trtllm_case_insensitivity(self): | CODE |
| 1078 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/integration/engine/lora/test_config.py | 13 | # ===================================================================== | COMMENT |
| MEDIUM | test/integration/engine/lora/test_config.py | 15 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | test/integration/engine/lora/test_config.py | 26 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | test/integration/engine/lora/test_config.py | 28 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | test/integration/engine/lora/test_config.py | 34 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | test/integration/engine/lora/test_config.py | 36 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/aibrix/tests/batch/test_batch_usage.py | 100 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | python/aibrix/tests/batch/test_batch_usage.py | 102 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/tests/batch/test_batch_usage.py | 56 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/tests/batch/test_batch_usage.py | 58 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/tests/batch/test_batch_usage.py | 366 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/tests/batch/test_batch_usage.py | 368 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …/aibrix/tests/batch/manifest/test_manifest_renderer.py | 422 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …/aibrix/tests/batch/manifest/test_manifest_renderer.py | 424 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …/aibrix/tests/batch/manifest/test_manifest_renderer.py | 463 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …/aibrix/tests/batch/manifest/test_manifest_renderer.py | 465 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …/aibrix/tests/batch/manifest/test_manifest_renderer.py | 524 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …/aibrix/tests/batch/manifest/test_manifest_renderer.py | 526 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/aibrix/tests/batch/manifest/test_manifest_renderer.py | 50 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/aibrix/tests/batch/manifest/test_manifest_renderer.py | 52 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/aibrix/tests/batch/manifest/test_manifest_renderer.py | 207 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/aibrix/tests/batch/manifest/test_manifest_renderer.py | 209 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/job_driver/base.py | 253 | # ── protocol methods ────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/job_driver/base.py | 445 | # ── overridable options ────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/job_driver/base.py | 500 | # ── failure / error / log helpers ────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/job_driver/base.py | 681 | # ── usage accounting ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/job_driver/base.py | 923 | # ── lifecycle template ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/job_driver/base.py | 1030 | # ── shared phases ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …brix/aibrix/batch/job_driver/runtime/k8s_deployment.py | 180 | # ── Runtime phases ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …brix/aibrix/batch/job_driver/runtime/k8s_deployment.py | 274 | # ── k8s helpers ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …thon/aibrix/aibrix/batch/job_driver/runtime/k8s_job.py | 135 | # ── Runtime phases ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …thon/aibrix/aibrix/batch/job_driver/runtime/k8s_job.py | 208 | # ── self-hosting driver hooks ──────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/manifest/renderer.py | 74 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/manifest/renderer.py | 76 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/manifest/renderer.py | 120 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/manifest/renderer.py | 122 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/manifest/renderer.py | 198 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/manifest/renderer.py | 200 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/manifest/renderer.py | 489 | # ── Entry point ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/manifest/renderer.py | 543 | # ── Layer 1: system base ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/manifest/renderer.py | 600 | # ── Layer 2: template ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/manifest/renderer.py | 635 | # ── Layer 3: profile ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/manifest/renderer.py | 647 | # ── Layer 4: per-batch (final, immutable) ────────────────────────────── | COMMENT |
| MEDIUM | …on/aibrix/aibrix/batch/manifest/deployment_renderer.py | 70 | # ── Layer 1: system base ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | …on/aibrix/aibrix/batch/manifest/deployment_renderer.py | 191 | # ── Layer 2: template ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …on/aibrix/aibrix/batch/manifest/deployment_renderer.py | 225 | # ── service ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/template/registry.py | 66 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/template/registry.py | 68 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/template/registry.py | 88 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/template/registry.py | 90 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | python/aibrix/aibrix/batch/template/registry.py | 201 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | python/aibrix/aibrix/batch/template/registry.py | 203 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/template/registry.py | 262 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/template/registry.py | 264 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/template/registry.py | 413 | # ── Lookup API ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/template/registry.py | 564 | # ── Lookup API ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/template/registry.py | 589 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/template/registry.py | 591 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/template/schema.py | 52 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/template/schema.py | 54 | # ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| 172 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .readthedocs.yaml | 1 | # .readthedocs.yaml | COMMENT |
| LOW | cmd/controllers/main.go | 241 | LeaseDuration: &leaseDuration, | COMMENT |
| LOW | test/run-e2e-tests.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/regression/v0.4.0/benchmark-client.yaml | 21 | hostPath: | COMMENT |
| LOW | test/regression/v0.4.0/dynamo/disagg_router.yaml | 1 | # SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | test/regression/v0.4.0/dynamo/disagg.yaml | 1 | # SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | test/e2e/routing_config_profile_test.go | 21 | "net/http" | COMMENT |
| LOW | test/e2e/pd_test.go | 61 | } | COMMENT |
| LOW | test/e2e/pd_test.go | 81 | // | COMMENT |
| LOW | python/aibrix/tests/__init__.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/test_downloaders.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/test_logger.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/metrics/test_metrics.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | …/aibrix/tests/metrics/test_metrics_passthrough_mode.py | 1 | # Copyright 2025 The Aibrix Team. | COMMENT |
| LOW | …thon/aibrix/tests/metrics/test_metrics_multi_engine.py | 1 | # Copyright 2025 The Aibrix Team. | COMMENT |
| LOW | …n/aibrix/tests/gpu_optimizer/test_gatewayloadreader.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/gpu_optimizer/test_gen_benchmark.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | …n/aibrix/tests/gpu_optimizer/test_datasetloadreader.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | …n/aibrix/tests/runtime/test_runtime_downloaders_tos.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | …ibrix/tests/runtime/test_artifact_service_threading.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/runtime/__init__.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | …hon/aibrix/tests/runtime/test_model_runtime_metrics.py | 1 | # Copyright 2026 The Aibrix Team. | COMMENT |
| LOW | …ibrix/tests/runtime/test_artifact_service_lora_name.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/runtime/test_model_runtime.py | 1 | # Copyright 2026 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/runtime/test_app.py | 1 | # Copyright 2026 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/downloader/test_utils.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/downloader/test_entity.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/downloader/test_downloader_s3.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/downloader/test_downloader_tos.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | …thon/aibrix/tests/downloader/test_downloader_tos_v1.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/downloader/test_downloader_hf.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | …/tests/openapi/engine/test_vllm_engine_lora_loading.py | 1 | # Copyright 2025 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/storage/test_reader.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/storage/test_utils.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/storage/conftest.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/storage/test_base2.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/storage/test_redis_storage.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/storage/test_factory.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/storage/__init__.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | …hon/aibrix/tests/storage/test_small_parts_benchmark.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/storage/test_storage.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/storage/test_local_storage.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/batch/test_rbac_setup.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/batch/conftest.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/batch/conftest.py | 701 | COMMENT | |
| LOW | python/aibrix/tests/batch/conftest.py | 721 | # `test_e2e_abnormal_job_behavior.py`. | COMMENT |
| LOW | python/aibrix/tests/batch/conftest.py | 741 | # Readers: `backend_supports_runtime_cleanup_interruption()`. | COMMENT |
| LOW | python/aibrix/tests/batch/conftest.py | 801 | request_kwargs={ | COMMENT |
| LOW | python/aibrix/tests/batch/test_batch_endpoints.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/batch/test_dispatch_engine.py | 1 | # Copyright 2026 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/batch/test_batch_usage.py | 1 | # Copyright 2026 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/batch/test_batch_api_read_flip.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/batch/test_e2e_openai_batch_api.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/batch/test_job_store.py | 1 | # Copyright 2026 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/batch/test_scheduler.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | python/aibrix/tests/batch/test_batch_manager.py | 1 | # Copyright 2024 The Aibrix Team. | COMMENT |
| LOW | …ibrix/tests/batch/test_inference_client_integration.py | 1 | # Copyright 2026 The Aibrix Team. | COMMENT |
| LOW | …thon/aibrix/tests/batch/test_concurrency_controller.py | 1 | # Copyright 2026 The Aibrix Team. | COMMENT |
| LOW | …on/aibrix/tests/batch/testdata/deployment_example.yaml | 41 | # command: | COMMENT |
| 459 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/integration/engine/lora/create_test_loras.py | 16 | CODE | |
| LOW | test/integration/engine/lora/test_config.py | 11 | CODE | |
| LOW | test/integration/engine/lora/test_memory.py | 13 | CODE | |
| LOW | …/aibrix/tests/batch/job_driver/runtime/test_runtime.py | 1380 | CODE | |
| LOW | …/aibrix/tests/batch/job_driver/runtime/test_runtime.py | 1417 | CODE | |
| LOW | …brix/tests/batch/job_driver/runtime/k8s_job_backend.py | 1 | CODE | |
| LOW | …thon/aibrix/tests/batch/job_driver/runtime/backends.py | 1 | CODE | |
| LOW | …x/tests/batch/job_driver/runtime/deployment_backend.py | 1 | CODE | |
| LOW | python/aibrix/tests/fake/batch_runtime.py | 1 | CODE | |
| LOW | python/aibrix/aibrix/context/__init__.py | 1 | CODE | |
| LOW | python/aibrix/aibrix/context/__init__.py | 1 | CODE | |
| LOW | python/aibrix/aibrix/context/__init__.py | 1 | CODE | |
| LOW | python/aibrix/aibrix/context/__init__.py | 6 | CODE | |
| LOW | python/aibrix/aibrix/context/__init__.py | 6 | CODE | |
| LOW | python/aibrix/aibrix/context/__init__.py | 6 | CODE | |
| LOW | python/aibrix/aibrix/context/__init__.py | 6 | CODE | |
| LOW | …thon/aibrix/aibrix/gpu_optimizer/optimizer/__init__.py | 14 | CODE | |
| LOW | …thon/aibrix/aibrix/gpu_optimizer/optimizer/__init__.py | 15 | CODE | |
| LOW | …rix/gpu_optimizer/optimizer/solver/melange/__init__.py | 1 | CODE | |
| LOW | …rix/gpu_optimizer/optimizer/solver/melange/__init__.py | 2 | CODE | |
| LOW | python/aibrix/aibrix/gpu_optimizer/utils/__init__.py | 14 | CODE | |
| LOW | python/aibrix/aibrix/gpu_optimizer/utils/__init__.py | 15 | CODE | |
| LOW | python/aibrix/aibrix/runtime/model_runtime.py | 28 | CODE | |
| LOW | python/aibrix/aibrix/storage/__init__.py | 17 | CODE | |
| LOW | python/aibrix/aibrix/storage/__init__.py | 17 | CODE | |
| LOW | python/aibrix/aibrix/storage/__init__.py | 18 | CODE | |
| LOW | python/aibrix/aibrix/storage/__init__.py | 18 | CODE | |
| LOW | python/aibrix/aibrix/storage/__init__.py | 19 | CODE | |
| LOW | python/aibrix/aibrix/storage/__init__.py | 20 | CODE | |
| LOW | python/aibrix/aibrix/storage/__init__.py | 20 | CODE | |
| LOW | python/aibrix/aibrix/storage/__init__.py | 21 | CODE | |
| LOW | python/aibrix/aibrix/storage/__init__.py | 22 | CODE | |
| LOW | python/aibrix/aibrix/storage/__init__.py | 23 | CODE | |
| LOW | python/aibrix/aibrix/storage/__init__.py | 23 | CODE | |
| LOW | python/aibrix/aibrix/storage/__init__.py | 24 | CODE | |
| LOW | python/aibrix/aibrix/storage/__init__.py | 24 | CODE | |
| LOW | python/aibrix/aibrix/batch/__init__.py | 14 | CODE | |
| LOW | python/aibrix/aibrix/batch/scheduling_policy.py | 22 | CODE | |
| LOW | python/aibrix/aibrix/batch/batch_scheduler.py | 38 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 15 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 15 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 15 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 15 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 15 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 15 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 15 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 15 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 15 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 15 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 15 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 28 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 28 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 28 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 28 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 28 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 28 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 28 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 28 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 28 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 28 | CODE | |
| 328 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/integration/engine/lora/create_test_loras.py | 96 | except Exception as e: | CODE |
| MEDIUM | test/integration/engine/lora/create_test_loras.py | 363 | print(f"Error: No manifest.json found in {output_dir}") | CODE |
| LOW | test/integration/engine/lora/test_config.py | 95 | except Exception: | CODE |
| LOW | test/integration/engine/lora/test_config.py | 120 | except Exception: | CODE |
| LOW | test/integration/engine/lora/test_memory.py | 127 | except Exception as e: | CODE |
| LOW | test/integration/engine/lora/run_all_tests.py | 89 | except Exception as e: | CODE |
| LOW | …t/integration/engine/lora/test_batching_concurrency.py | 314 | except Exception as e: | CODE |
| LOW | …t/integration/engine/lora/test_batching_concurrency.py | 575 | except Exception as e: | CODE |
| LOW | …t/integration/engine/lora/test_batching_concurrency.py | 586 | except Exception as e: | CODE |
| LOW | python/aibrix/tests/test_logger.py | 48 | except Exception as e: | CODE |
| LOW | python/aibrix/tests/test_logger.py | 67 | except Exception as e: | CODE |
| LOW | python/aibrix/tests/test_logger.py | 91 | except Exception as e: | CODE |
| LOW | python/aibrix/tests/test_logger.py | 107 | except Exception as e: | CODE |
| LOW | python/aibrix/tests/test_logger.py | 126 | except Exception as e: | CODE |
| LOW | python/aibrix/tests/test_logger.py | 155 | except Exception as e: | CODE |
| LOW | python/aibrix/tests/test_logger.py | 180 | except Exception as e: | CODE |
| LOW | python/aibrix/tests/storage/test_redis_storage.py | 59 | except Exception: | CODE |
| LOW | python/aibrix/tests/storage/test_redis_storage.py | 65 | except Exception: | CODE |
| LOW | python/aibrix/tests/storage/test_s3_demo.py | 91 | except Exception as e: | CODE |
| MEDIUM | python/aibrix/tests/storage/test_s3_demo.py | 92 | print(f"Error running demo test: {e}") | CODE |
| MEDIUM | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1001 | def _stop(): | CODE |
| LOW | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1275 | except Exception: | CODE |
| LOW | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1278 | except Exception: | CODE |
| LOW⚡ | python/aibrix/tests/batch/conftest.py | 231 | except Exception as ex: # noqa: BLE001 | CODE |
| LOW⚡ | python/aibrix/tests/batch/conftest.py | 235 | except Exception as ex: # noqa: BLE001 | CODE |
| LOW | python/aibrix/tests/batch/conftest.py | 158 | except Exception as e: | CODE |
| LOW | python/aibrix/tests/batch/conftest.py | 161 | except Exception as e: | CODE |
| LOW | python/aibrix/tests/batch/conftest.py | 199 | except Exception as e: | CODE |
| LOW | python/aibrix/tests/batch/conftest.py | 291 | except Exception as e: | CODE |
| LOW | python/aibrix/tests/batch/conftest.py | 419 | except Exception as e: | CODE |
| LOW | python/aibrix/tests/e2e/test_batch_api.py | 176 | except Exception as e: | CODE |
| LOW | python/aibrix/aibrix/app.py | 135 | except Exception as e: | CODE |
| MEDIUM | python/aibrix/aibrix/app.py | 128 | def inference_engine_ready() -> bool: | CODE |
| LOW | python/aibrix/aibrix/metrics/http_collector.py | 67 | except Exception as e: | CODE |
| LOW | python/aibrix/aibrix/metrics/http_collector.py | 94 | except Exception as e: | CODE |
| MEDIUM | python/aibrix/aibrix/metrics/http_collector.py | 56 | def _collect(self): | CODE |
| LOW | python/aibrix/aibrix/gpu_optimizer/app.py | 194 | except Exception as e: | CODE |
| LOW | python/aibrix/aibrix/gpu_optimizer/app.py | 212 | except Exception as e: | CODE |
| LOW | python/aibrix/aibrix/gpu_optimizer/app.py | 266 | except Exception as e: | CODE |
| LOW | python/aibrix/aibrix/gpu_optimizer/app.py | 293 | except Exception as e: | STRING |
| LOW | python/aibrix/aibrix/gpu_optimizer/app.py | 320 | except Exception as e: | STRING |
| LOW | python/aibrix/aibrix/gpu_optimizer/app.py | 329 | except Exception as e: | STRING |
| LOW | python/aibrix/aibrix/gpu_optimizer/app.py | 361 | except Exception as e: | STRING |
| LOW | python/aibrix/aibrix/gpu_optimizer/app.py | 367 | except Exception as e: | STRING |
| LOW | python/aibrix/aibrix/gpu_optimizer/app.py | 392 | except Exception: | STRING |
| LOW | …ibrix/aibrix/gpu_optimizer/load_monitor/load_reader.py | 153 | except Exception: | CODE |
| LOW | …ibrix/aibrix/gpu_optimizer/load_monitor/load_reader.py | 276 | except Exception as e: | CODE |
| LOW | …ibrix/aibrix/gpu_optimizer/load_monitor/load_reader.py | 323 | except Exception as e: | CODE |
| LOW | …ibrix/aibrix/gpu_optimizer/load_monitor/load_reader.py | 349 | except Exception as e: | CODE |
| LOW | …on/aibrix/aibrix/gpu_optimizer/load_monitor/monitor.py | 181 | except Exception as e: | CODE |
| LOW | …on/aibrix/aibrix/gpu_optimizer/load_monitor/monitor.py | 290 | except Exception as e: | CODE |
| LOW | …on/aibrix/aibrix/gpu_optimizer/load_monitor/monitor.py | 345 | except Exception as e: | CODE |
| LOW | …on/aibrix/aibrix/gpu_optimizer/load_monitor/monitor.py | 370 | except Exception as e: | CODE |
| LOW | …ix/aibrix/gpu_optimizer/load_monitor/profile_reader.py | 41 | except Exception: | CODE |
| LOW | …ix/aibrix/gpu_optimizer/load_monitor/profile_reader.py | 48 | except Exception as e: | CODE |
| LOW | …aibrix/aibrix/gpu_optimizer/load_monitor/visualizer.py | 302 | except Exception as e: | CODE |
| LOW | …hon/aibrix/aibrix/gpu_optimizer/optimizer/optimizer.py | 104 | except Exception as e: | CODE |
| LOW | …_optimizer/optimizer/profiling/gen_benchmark_prompt.py | 29 | except Exception as e: | CODE |
| LOW | …_optimizer/optimizer/profiling/gen_benchmark_prompt.py | 35 | except Exception as te: | CODE |
| LOW | …_optimizer/optimizer/profiling/gen_benchmark_prompt.py | 107 | except Exception as e: | CODE |
| 234 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test/integration/controller/podset_test.go | 118 | // Step 1: Create the PodSet | COMMENT |
| LOW⚡ | test/integration/controller/podset_test.go | 120 | // Step 2: Wait for all Pods to be created | COMMENT |
| LOW⚡ | test/integration/controller/podset_test.go | 134 | // Step 1: List all Pods | COMMENT |
| LOW⚡ | test/integration/controller/podset_test.go | 136 | // Step 2: Patch all Pods to Running and Ready (simulate integration test environment) | COMMENT |
| LOW⚡ | test/integration/controller/roleset_test.go | 134 | // Step 1: Create the RoleSet | COMMENT |
| LOW⚡ | test/integration/controller/roleset_test.go | 137 | // Step 2: Wait for 3 Pods to be created (1 master + 2 workers) | COMMENT |
| LOW⚡ | test/integration/controller/roleset_test.go | 140 | // Step 3: Patch all Pods to Running and Ready (simulate integration test environment) | COMMENT |
| LOW | test/integration/controller/stormservice_test.go | 170 | // Step 4: Update replicas to test scaling (scale down) | COMMENT |
| LOW | test/integration/controller/stormservice_test.go | 183 | // Step 5: Update replicas to test scaling (scale up) | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1438 | # Step 1: Skip uploading file | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1440 | # Step 2: Create batch job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1453 | # Step 3: Wait for validation to fail | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1456 | # Step 4: Verify failed status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1488 | # Step 2: Inject FailingBatchManager to add fail_after metadata during job creation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1495 | # Step 3: Create batch job with failing manager that injects fail_after metadata | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1504 | # Step 4: Wait for job to start processing | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1506 | # Step 5: Wait for finalization to complete | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1511 | # Step 7: Verify failed status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1801 | # Step 2: Inject the exception to the finalize_job_output_data to fail during finalizing | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1810 | # Step 3: Create batch job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1820 | # Step 4: Wait for job to reach final status | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1823 | # Step 6: Verify failed status due to finalization error using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1868 | # Step 2: Inject the FailingBatchManager to fail during validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1873 | # Step 3: Create batch job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1879 | # Step 4: Cancel job during processing | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1883 | # Step 5: Wait for validation to fail | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1886 | # Step 6: Verify failed status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1916 | # Step 1: Upload input file and set deterministic preparation barrier | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1933 | # Step 2: Create batch job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1940 | # Step 3: Wait until the job is pinned inside prepare_job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1946 | # Step 4: Verify the job is pending in progress before preparation completes | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1951 | # Step 5: Cancel while preparation is still blocked | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1955 | # Step 6: Release preparation and wait for cancellation to settle | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1979 | # Step 7: Verify cancelled status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2000 | # Step 8: Verify a follow-up job still succeeds | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2032 | # Step 2: Create deployment-backed batch job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2040 | # Step 3: Wait until the job is pinned inside runtime initialization | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2046 | # Step 4: Verify the job is pending in progress before runtime init completes | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2051 | # Step 5: Cancel while runtime initialization is still blocked | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2055 | # Step 6: Release runtime initialization and wait for cancellation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2069 | # Step 7: Verify cancelled status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2215 | # Step 2: Create batch job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2222 | # Step 3: Wait until exactly 3 requests have been persisted and the job blocks | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2244 | # Step 4: Cancel job during processing | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2249 | # Step 5: Wait for cancellation and finalization | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2262 | # Step 6: Verify cancelled status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2306 | # Step 2: Inject the FailingBatchManager to stall cancellation execution | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2319 | # Step 3: Create batch job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2328 | # Step 4: Wait until the job is already finalizing | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2334 | # Step 5: Cancellation should not interrupt finalization once it has started | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2338 | # Step 6: Wait for final status and verify the job still completes | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2343 | # Step 7: Verify final status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2456 | # Step 2: Mock job manager to prevent validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2462 | # Step 3: Create batch job with very short completion window | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2472 | # Step 4: Wait longer than completion window for expiration | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2475 | # Step 5: Check that job expired | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2480 | # Step 6: Verify expired status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2530 | # Step 2: Inject FailingBatchManager to add fail_after metadata during job creation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2535 | # Step 3: Create batch job with failing manager that injects fail_after metadata | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2555 | # Step 4: Wait for job to start processing | COMMENT |
| 59 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/aibrix/aibrix/runtime/artifact_service.py | 151 | Download artifact from remote location. Args: artifact_url: Source URL (s3://, gs://, hugg | STRING |
| HIGH | python/aibrix/aibrix/runtime/artifact_service.py | 311 | Unload LoRA adapter from engine and optionally clean up local files. Args: request: Runtim | STRING |
| HIGH | python/aibrix/aibrix/runtime/downloaders.py | 37 | Download artifact from source to local path. Args: source_url: Source URL (s3://, gs://, e | STRING |
| HIGH | python/aibrix/aibrix/runtime/downloaders.py | 554 | Get appropriate downloader based on URL scheme. Args: source_url: Source URL Returns: Art | STRING |
| HIGH | python/aibrix/aibrix/storage/factory.py | 33 | Factory function to create storage instances. Args: storage_type: Type of storage to create config: | STRING |
| HIGH | python/aibrix/aibrix/storage/reader.py | 249 | Read up to size bytes from the file. Args: size: Maximum number of bytes to read (-1 for all) | STRING |
| HIGH | python/aibrix/aibrix/storage/reader.py | 298 | Change the stream position to the given byte offset. Args: offset: Offset in bytes when | STRING |
| HIGH | python/aibrix/aibrix/storage/reader.py | 515 | Read a chunk of data with specified size. Args: chunk_size: Size of chunk to read in bytes | STRING |
| HIGH | python/aibrix/aibrix/storage/reader.py | 785 | Read and return one line from the stream. Args: size: Maximum number of bytes to read (-1 for no li | STRING |
| HIGH | python/aibrix/aibrix/storage/redis.py | 271 | Get an object from Redis storage. Args: key: Object key/path range_start: Start byte po | STRING |
| HIGH | python/aibrix/aibrix/storage/redis.py | 548 | Get object size in bytes. Args: key: Object key/path Returns: Object size in b | STRING |
| HIGH | python/aibrix/aibrix/storage/base.py | 180 | Put an object to storage. Args: key: Object key/path data: Data to write (bytes, string | STRING |
| HIGH | python/aibrix/aibrix/storage/base.py | 290 | Get object metadata without downloading the object content. Args: key: Object key/path Ret | STRING |
| HIGH | python/aibrix/aibrix/batch/batch_manager.py | 288 | Async job creation that waits for job ID to be available. Before calling this, user needs to submit job | STRING |
| HIGH | python/aibrix/aibrix/batch/job_entity/batch_job.py | 215 | Create BatchJobSpec from string parameters with validation. Args: input_file_id: The ID of the inpu | STRING |
| HIGH | python/aibrix/aibrix/batch/job_entity/batch_job.py | 254 | Validate and convert endpoint string to BatchJobEndpoint. Args: endpoint_str: String value of the e | STRING |
| HIGH | python/aibrix/aibrix/batch/job_entity/batch_job.py | 278 | Validate and convert completion window string to CompletionWindow. Args: completion_window_str: Str | STRING |
| HIGH | python/aibrix/aibrix/batch/manifest/renderer.py | 499 | Render a complete K8s Job manifest. Args: session_id: Caller-supplied session id (annotation persis | STRING |
| HIGH | python/aibrix/aibrix/batch/manifest/engine_adapter.py | 50 | Dispatch to the engine-specific argument builder. Args: spec: The full template spec. served_model_ | STRING |
| HIGH | python/aibrix/aibrix/batch/storage/batch_storage.py | 88 | Read job input info from storage. Args: job: BatchJob Returns: Tuple of total line number and | STRING |
| HIGH | python/aibrix/aibrix/batch/storage/batch_storage.py | 119 | Read next request from job input data. Args: job_id: Job identifier Returns: Next request dict | STRING |
| HIGH | python/aibrix/aibrix/batch/storage/batch_storage.py | 139 | Check if a request is done. Args: job: BatchJob request_index: Index of the request being processed | STRING |
| HIGH | python/aibrix/aibrix/batch/storage/batch_storage.py | 206 | Get job output data from storage. Args: file_id: File identifier Returns: List of result dicti | STRING |
| HIGH | python/aibrix/aibrix/batch/storage/batch_metastore.py | 164 | Set metadata to metastore with advanced options. Args: key: Metadata key value: Metadata value | STRING |
| HIGH | python/aibrix/aibrix/batch/storage/batch_metastore.py | 198 | Get metadata from metastore. Args: key: Metadata key Returns: Metadata value Raises: | STRING |
| HIGH | python/aibrix/aibrix/batch/storage/batch_metastore.py | 238 | Lock a request for processing. Args: key: Request key to lock expiration_seconds: TTL for the lock | STRING |
| HIGH | python/aibrix/aibrix/batch/storage/batch_metastore.py | 445 | List metastore keys matching the given prefix with optional pagination. Args: prefix: Key prefix to filter | STRING |
| HIGH | python/aibrix/aibrix/batch/storage/batch_metastore.py | 476 | List all metastore keys matching the given prefix. Args: prefix: Key prefix to filter Returns: | STRING |
| HIGH | python/aibrix/aibrix/metadata/secret_gen.py | 159 | Create a Kubernetes secret with S3 credentials. Args: bucket_name: S3 bucket name (optiona | STRING |
| HIGH | python/aibrix/aibrix/metadata/secret_gen.py | 232 | Create a Kubernetes secret with TOS credentials. Args: bucket_name: TOS bucket name (optio | STRING |
| HIGH | python/aibrix/aibrix/metadata/secret_gen.py | 304 | Delete a Kubernetes secret. Args: secret_name: Name of the secret to delete Retur | STRING |
| HIGH | python/aibrix/aibrix/metadata/api/v1/users.py | 114 | Read user information. Args: request: FastAPI request user: User with name to look up Returns: | STRING |
| HIGH | python/aibrix/aibrix/metadata/api/v1/users.py | 143 | Update user information. Args: request: FastAPI request user: Updated user data Returns: | STRING |
| HIGH | python/aibrix/aibrix/metadata/api/v1/users.py | 172 | Delete a user. Args: request: FastAPI request user: User with name to delete Returns: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/regression/v0.4.0/values.yaml | 2 | # This file contains all configurable parameters for running experiments | COMMENT |
| MEDIUM | …/aibrix/tests/metrics/test_metrics_passthrough_mode.py | 189 | # Create a rule that will raise an exception | COMMENT |
| MEDIUM | python/aibrix/tests/storage/test_reader.py | 205 | # Create a mock file-like object for UploadFile | COMMENT |
| MEDIUM | python/aibrix/tests/storage/test_reader.py | 738 | # Create a size limiter that allows up to 10 bytes total | COMMENT |
| MEDIUM | python/aibrix/tests/storage/test_reader.py | 770 | # Create a size limiter that allows up to 5 bytes total | COMMENT |
| MEDIUM | python/aibrix/tests/storage/test_reader.py | 808 | # Create a size limiter that allows up to 50 bytes total | COMMENT |
| MEDIUM | python/aibrix/tests/storage/test_reader.py | 837 | # Create a size limiter that allows up to 45 bytes total | COMMENT |
| MEDIUM | python/aibrix/tests/storage/test_reader.py | 865 | # Create a size limiter that allows up to 15 bytes total | COMMENT |
| MEDIUM | python/aibrix/tests/storage/test_reader.py | 894 | # Create a size limiter that allows up to 10 bytes | COMMENT |
| MEDIUM | python/aibrix/tests/storage/test_reader.py | 918 | # Create a size limiter that allows up to 10 bytes | COMMENT |
| MEDIUM | python/aibrix/tests/storage/test_reader.py | 978 | # Create a size limiter that raises an exception | COMMENT |
| MEDIUM | python/aibrix/tests/storage/test_reader.py | 998 | # Create a dynamic size limiter that becomes more restrictive | COMMENT |
| MEDIUM | python/aibrix/tests/storage/test_reader.py | 1039 | # Create a size limiter that allows up to 10 bytes total | COMMENT |
| MEDIUM | python/aibrix/tests/batch/conftest.py | 342 | # Create the secret | COMMENT |
| MEDIUM⚡ | python/aibrix/tests/batch/test_batch_manager.py | 212 | # Create a job | COMMENT |
| MEDIUM | python/aibrix/tests/batch/test_batch_manager.py | 164 | # Create a job | COMMENT |
| MEDIUM | python/aibrix/tests/batch/test_batch_manager.py | 268 | # Create a mock BatchJob | COMMENT |
| MEDIUM | python/aibrix/tests/batch/test_batch_manager.py | 828 | # Create a mock BatchJob in pending state | COMMENT |
| MEDIUM | python/aibrix/tests/batch/test_batch_manager.py | 934 | # Create a mock BatchJob with the session_id | COMMENT |
| MEDIUM | python/aibrix/tests/batch/test_batch_manager.py | 1045 | # Create a job using the async method | COMMENT |
| MEDIUM | python/aibrix/tests/batch/test_job_entity.py | 42 | # Create a standard exception | COMMENT |
| MEDIUM | python/aibrix/tests/batch/test_job_entity.py | 635 | # Create a BatchJobError instance | COMMENT |
| MEDIUM | python/aibrix/tests/batch/testdata/job_rbac.yaml | 2 | # This file contains the necessary Kubernetes RBAC resources for tests that depend on create_test_app | COMMENT |
| MEDIUM | python/aibrix/tests/batch/job_driver/test_driver.py | 423 | # Create a temporary file for job input | COMMENT |
| MEDIUM⚡ | python/aibrix/tests/metadata/test_files_api.py | 158 | # Create a file without specifying purpose in metadata | COMMENT |
| MEDIUM | python/aibrix/aibrix/app.py | 66 | # Create a new Headers object to ensure proper case-insensitive handling | COMMENT |
| MEDIUM | …ibrix/gpu_optimizer/optimizer/solver/melange/runner.py | 19 | # This class is adapted from code originally written by Tyler Griggs | COMMENT |
| MEDIUM | …ibrix/gpu_optimizer/optimizer/solver/melange/solver.py | 7 | # This class is adapted from code originally written by Tyler Griggs | COMMENT |
| MEDIUM | …_optimizer/optimizer/profiling/gen_benchmark_prompt.py | 193 | # Create the benchmark-compatible format | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/worker.py | 452 | # Create a structured traceback from the target exception | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/job_entity/batch_job.py | 487 | # Create a new instance by calling __init__ with the current object's data. | COMMENT |
| MEDIUM | python/aibrix/aibrix/metadata/secret_gen.py | 218 | # Create the secret | COMMENT |
| MEDIUM | python/aibrix/aibrix/metadata/secret_gen.py | 292 | # Create the secret | COMMENT |
| MEDIUM | python/aibrix/aibrix/metadata/core/asyncio_thread.py | 19 | # Define a TypeVar to represent the generic return type. | COMMENT |
| MEDIUM | python/aibrix/aibrix/metadata/setting/config.py | 41 | # Create an instance of the Settings class | COMMENT |
| MEDIUM | python/aibrix_kvcache/tests/test_cache_ops.py | 70 | # Create a random slot mapping. | COMMENT |
| MEDIUM | python/aibrix_kvcache/tests/test_cache_ops.py | 105 | # Create the KV caches. | COMMENT |
| MEDIUM | python/aibrix_kvcache/tests/test_cache_ops.py | 200 | # Create a random slot mapping. | COMMENT |
| MEDIUM | python/aibrix_kvcache/tests/test_cache_ops.py | 235 | # Create the KV caches. | COMMENT |
| MEDIUM | …on/aibrix_kvcache/aibrix_kvcache/l2/connectors/shfs.py | 90 | # Create a two-level directory structure to avoid too many files in one | COMMENT |
| MEDIUM | config/crd/kustomizeconfig.yaml | 1 | # This file is for teaching kustomize how to substitute name and namespace reference in CRD | COMMENT |
| MEDIUM⚡ | development/app/test_openai_endpoints.py | 281 | # Create a minimal audio file for testing | COMMENT |
| MEDIUM⚡ | development/app/test_openai_endpoints.py | 285 | # Create a minimal WAV file header (44 bytes) + silence | COMMENT |
| MEDIUM | samples/adapter/adapter-s3-example.yaml | 176 | # Create a Secret with the same name in the cluster (same namespace as this ModelAdapter) to access S3: | COMMENT |
| MEDIUM | deployment/terraform/gcp/.terraform.lock.hcl | 1 | # This file is maintained automatically by "terraform init". | COMMENT |
| MEDIUM | deployment/terraform/kubernetes/.terraform.lock.hcl | 1 | # This file is maintained automatically by "terraform init". | COMMENT |
| MEDIUM | deployment/standalone/configs/endpoints-pd.yaml | 2 | # This file defines separate prefill and decode engines grouped by roleset. | COMMENT |
| MEDIUM | deployment/standalone/configs/endpoints.yaml | 2 | # This file defines the backend endpoints for the gateway plugin. | COMMENT |
| MEDIUM | …rks/generator/workload_generator/workload_generator.py | 309 | # Define the grouping time range (e.g., 1 second) | COMMENT |
| MEDIUM | benchmarks/scenarios/lora/benchmark.py | 38 | # Define a system message if needed (optional) | COMMENT |
| MEDIUM | benchmarks/scenarios/lora/benchmark.py | 52 | # Create an OpenAI client with custom base URL if necessary | COMMENT |
| MEDIUM | benchmarks/client/analyze.py | 123 | # Create a DataFrame for plotting | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test/integration/controller/podset_test.go | 118 | // Step 1: Create the PodSet | COMMENT |
| LOW⚡ | test/integration/controller/podset_test.go | 120 | // Step 2: Wait for all Pods to be created | COMMENT |
| LOW⚡ | test/integration/controller/podset_test.go | 134 | // Step 1: List all Pods | COMMENT |
| LOW⚡ | test/integration/controller/podset_test.go | 136 | // Step 2: Patch all Pods to Running and Ready (simulate integration test environment) | COMMENT |
| LOW⚡ | test/integration/controller/roleset_test.go | 134 | // Step 1: Create the RoleSet | COMMENT |
| LOW⚡ | test/integration/controller/roleset_test.go | 137 | // Step 2: Wait for 3 Pods to be created (1 master + 2 workers) | COMMENT |
| LOW⚡ | test/integration/controller/roleset_test.go | 140 | // Step 3: Patch all Pods to Running and Ready (simulate integration test environment) | COMMENT |
| LOW | test/integration/controller/stormservice_test.go | 170 | // Step 4: Update replicas to test scaling (scale down) | COMMENT |
| LOW | test/integration/controller/stormservice_test.go | 183 | // Step 5: Update replicas to test scaling (scale up) | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1438 | # Step 1: Skip uploading file | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1440 | # Step 2: Create batch job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1453 | # Step 3: Wait for validation to fail | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1456 | # Step 4: Verify failed status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1488 | # Step 2: Inject FailingBatchManager to add fail_after metadata during job creation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1495 | # Step 3: Create batch job with failing manager that injects fail_after metadata | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1504 | # Step 4: Wait for job to start processing | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1506 | # Step 5: Wait for finalization to complete | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1511 | # Step 7: Verify failed status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1801 | # Step 2: Inject the exception to the finalize_job_output_data to fail during finalizing | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1810 | # Step 3: Create batch job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1820 | # Step 4: Wait for job to reach final status | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1823 | # Step 6: Verify failed status due to finalization error using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1868 | # Step 2: Inject the FailingBatchManager to fail during validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1873 | # Step 3: Create batch job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1879 | # Step 4: Cancel job during processing | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1883 | # Step 5: Wait for validation to fail | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1886 | # Step 6: Verify failed status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1916 | # Step 1: Upload input file and set deterministic preparation barrier | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1933 | # Step 2: Create batch job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1940 | # Step 3: Wait until the job is pinned inside prepare_job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1946 | # Step 4: Verify the job is pending in progress before preparation completes | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1951 | # Step 5: Cancel while preparation is still blocked | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1955 | # Step 6: Release preparation and wait for cancellation to settle | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1979 | # Step 7: Verify cancelled status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2000 | # Step 8: Verify a follow-up job still succeeds | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2032 | # Step 2: Create deployment-backed batch job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2040 | # Step 3: Wait until the job is pinned inside runtime initialization | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2046 | # Step 4: Verify the job is pending in progress before runtime init completes | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2051 | # Step 5: Cancel while runtime initialization is still blocked | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2055 | # Step 6: Release runtime initialization and wait for cancellation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2069 | # Step 7: Verify cancelled status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2215 | # Step 2: Create batch job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2222 | # Step 3: Wait until exactly 3 requests have been persisted and the job blocks | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2244 | # Step 4: Cancel job during processing | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2249 | # Step 5: Wait for cancellation and finalization | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2262 | # Step 6: Verify cancelled status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2306 | # Step 2: Inject the FailingBatchManager to stall cancellation execution | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2319 | # Step 3: Create batch job | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2328 | # Step 4: Wait until the job is already finalizing | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2334 | # Step 5: Cancellation should not interrupt finalization once it has started | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2338 | # Step 6: Wait for final status and verify the job still completes | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2343 | # Step 7: Verify final status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2456 | # Step 2: Mock job manager to prevent validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2462 | # Step 3: Create batch job with very short completion window | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2472 | # Step 4: Wait longer than completion window for expiration | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2475 | # Step 5: Check that job expired | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2480 | # Step 6: Verify expired status using comprehensive validation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2530 | # Step 2: Inject FailingBatchManager to add fail_after metadata during job creation | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2535 | # Step 3: Create batch job with failing manager that injects fail_after metadata | COMMENT |
| LOW⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2555 | # Step 4: Wait for job to start processing | COMMENT |
| 36 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/integration/engine/lora/create_test_loras.py | 109 | CODE | |
| LOW | test/integration/engine/lora/create_test_loras.py | 166 | CODE | |
| LOW | test/integration/engine/lora/test_config.py | 39 | CODE | |
| LOW | test/integration/engine/lora/test_memory.py | 95 | CODE | |
| LOW | test/integration/engine/lora/run_all_tests.py | 103 | CODE | |
| LOW | python/aibrix/tests/downloader/test_entity.py | 130 | CODE | |
| LOW | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 325 | CODE | |
| LOW | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 510 | CODE | |
| LOW | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 567 | CODE | |
| LOW | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1794 | CODE | |
| LOW | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1909 | CODE | |
| LOW | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 354 | CODE | |
| LOW | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 700 | CODE | |
| LOW | python/aibrix/tests/batch/conftest.py | 204 | CODE | |
| LOW | python/aibrix/tests/batch/conftest.py | 359 | CODE | |
| LOW | python/aibrix/tests/batch/conftest.py | 1002 | CODE | |
| LOW | python/aibrix/tests/batch/test_e2e_openai_batch_api.py | 41 | CODE | |
| LOW | python/aibrix/tests/batch/test_e2e_openai_batch_api.py | 337 | CODE | |
| LOW | python/aibrix/tests/batch/test_e2e_openai_batch_api.py | 404 | CODE | |
| LOW | python/aibrix/tests/e2e/test_batch_api.py | 109 | CODE | |
| LOW | python/aibrix/tests/e2e/test_batch_api.py | 198 | CODE | |
| LOW | python/aibrix/tests/e2e/test_batch_api.py | 363 | CODE | |
| LOW | python/aibrix/aibrix/metrics/http_collector.py | 73 | CODE | |
| LOW | python/aibrix/aibrix/gpu_optimizer/app.py | 298 | CODE | |
| LOW | …on/aibrix/aibrix/gpu_optimizer/load_monitor/monitor.py | 375 | CODE | |
| LOW | …ix/aibrix/gpu_optimizer/load_monitor/profile_reader.py | 32 | CODE | |
| LOW | …on/aibrix/aibrix/gpu_optimizer/load_monitor/helpers.py | 191 | CODE | |
| LOW | …ibrix/gpu_optimizer/optimizer/solver/melange/solver.py | 33 | CODE | |
| LOW | …_optimizer/optimizer/profiling/gen_benchmark_prompt.py | 111 | CODE | |
| LOW | …ibrix/gpu_optimizer/optimizer/profiling/gen_profile.py | 81 | CODE | |
| LOW | …rix/gpu_optimizer/optimizer/profiling/gpu_benchmark.py | 90 | CODE | |
| LOW | …rix/gpu_optimizer/optimizer/profiling/gpu_benchmark.py | 152 | CODE | |
| LOW | …rix/gpu_optimizer/optimizer/profiling/gpu_benchmark.py | 206 | CODE | |
| LOW | python/aibrix/aibrix/runtime/artifact_service.py | 76 | CODE | |
| LOW | python/aibrix/aibrix/runtime/artifact_service.py | 306 | CODE | |
| LOW | python/aibrix/aibrix/runtime/downloaders.py | 195 | CODE | |
| LOW | python/aibrix/aibrix/runtime/model_runtime.py | 202 | CODE | |
| LOW | python/aibrix/aibrix/downloader/s3.py | 106 | CODE | |
| LOW | python/aibrix/aibrix/storage/local.py | 569 | CODE | |
| LOW | python/aibrix/aibrix/storage/factory.py | 28 | CODE | |
| LOW | python/aibrix/aibrix/storage/redis.py | 332 | CODE | |
| LOW | python/aibrix/aibrix/storage/redis_upgrade.py | 223 | CODE | |
| LOW | python/aibrix/aibrix/storage/base2.py | 16 | CODE | |
| LOW | python/aibrix/aibrix/storage/base2.py | 68 | CODE | |
| LOW | python/aibrix/aibrix/storage/base2.py | 176 | CODE | |
| LOW | python/aibrix/aibrix/storage/s3.py | 474 | CODE | |
| LOW | python/aibrix/aibrix/batch/batch_manager.py | 736 | CODE | |
| LOW | python/aibrix/aibrix/batch/batch_manager.py | 948 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_entity/batch_job.py | 668 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_driver/base.py | 1179 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_driver/runtime/base.py | 329 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_driver/runtime/base.py | 984 | CODE | |
| LOW | python/aibrix/aibrix/batch/job_driver/runtime/base.py | 1038 | CODE | |
| LOW | python/aibrix/aibrix/batch/manifest/storage_env.py | 46 | CODE | |
| LOW | python/aibrix/aibrix/batch/manifest/engine_adapter.py | 79 | CODE | |
| LOW | python/aibrix/aibrix/batch/manifest/engine_adapter.py | 199 | CODE | |
| LOW | python/aibrix/aibrix/batch/storage/adapter.py | 269 | CODE | |
| LOW | python/aibrix/aibrix/batch/storage/input_validation.py | 21 | CODE | |
| LOW | python/aibrix/aibrix/batch/client/concurrency.py | 347 | CODE | |
| LOW | python/aibrix/aibrix/batch/client/engine.py | 201 | CODE | |
| 62 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cmd/controllers/main.go | 56 | //+kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | cmd/controllers/main.go | 78 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | cmd/controllers/main.go | 108 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | cmd/controllers/main.go | 249 | // In the default scaffold provided, the program ends immediately after | COMMENT |
| MEDIUM | cmd/controllers/main.go | 293 | //+kubebuilder:scaffold:builder | COMMENT |
| MEDIUM | test/integration/webhook/suit_test.go | 32 | //+kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | test/integration/webhook/suit_test.go | 111 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | test/integration/webhook/suit_test.go | 142 | //+kubebuilder:scaffold:webhook | COMMENT |
| MEDIUM | test/integration/controller/suit_test.go | 123 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/batch_manager.py | 152 | # BatchManager orchestrates; the registry holds the pools. | COMMENT |
| MEDIUM | python/aibrix/aibrix/batch/batch_manager.py | 169 | # by-pool access (orchestration logic + tests) working unchanged while the | COMMENT |
| MEDIUM | python/aibrix/aibrix/metadata/setting/config.py | 33 | EXTERNAL_API_URL: Optional[str] = None # Example: URL for an external microservice | CODE |
| MEDIUM | …vllm/kv_connector/aibrix_offloading_connector_type1.py | 1157 | # this stub exists purely as type-checker scaffolding for the | COMMENT |
| MEDIUM | config/crd/kustomization.yaml | 8 | #+kubebuilder:scaffold:crdkustomizeresource | COMMENT |
| MEDIUM | config/crd/kustomization.yaml | 13 | #+kubebuilder:scaffold:crdkustomizewebhookpatch | COMMENT |
| MEDIUM | config/crd/kustomization.yaml | 24 | #+kubebuilder:scaffold:crdkustomizecainjectionpatch | COMMENT |
| MEDIUM | config/samples/kustomization.yaml | 11 | #+kubebuilder:scaffold:manifestskustomizesamples | COMMENT |
| MEDIUM | hack/verify-crd-sync.sh | 58 | # Example: orchestration.aibrix.ai_stormservices.yaml | COMMENT |
| MEDIUM | samples/semantic-router/semantic-router-configmap.yaml | 496 | # such request to the slower qwen3-8b chain-of-thought path. | COMMENT |
| MEDIUM | samples/kvcache/vineyard/kvcache-tp.yaml | 7 | # kvcache.orchestration.aibrix.ai/node-affinity-gpu-type: NVIDIA-L20 | COMMENT |
| MEDIUM | samples/orchestration/roleset-inplace-update.yaml | 2 | # kubectl apply -f samples/orchestration/roleset-inplace-update.yaml | COMMENT |
| MEDIUM | samples/orchestration/stormservice-inplace-update.yaml | 2 | # kubectl apply -f samples/orchestration/stormservice-inplace-update.yaml | COMMENT |
| MEDIUM | pkg/controller/stormservice/suite_test.go | 36 | //+kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | pkg/controller/stormservice/suite_test.go | 83 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | pkg/controller/rayclusterfleet/suite_test.go | 37 | //+kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | pkg/controller/rayclusterfleet/suite_test.go | 85 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | pkg/controller/rayclusterreplicaset/suite_test.go | 37 | //+kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | pkg/controller/rayclusterreplicaset/suite_test.go | 85 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | pkg/controller/kvcache/suite_test.go | 36 | //+kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | pkg/controller/kvcache/suite_test.go | 78 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | pkg/controller/modeladapter/suite_test.go | 36 | //+kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | pkg/controller/modeladapter/suite_test.go | 78 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | pkg/controller/roleset/suite_test.go | 34 | //+kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | pkg/controller/roleset/suite_test.go | 76 | //+kubebuilder:scaffold:scheme | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/integration/engine/lora/run_all_tests.py | 255 | # Check if file exists | COMMENT |
| LOW | python/aibrix/tests/storage/test_s3_demo.py | 44 | # Check if we can run S3 tests | COMMENT |
| LOW | python/aibrix/tests/storage/test_storage.py | 952 | # Check if S3 credentials are available | COMMENT |
| LOW | python/aibrix/tests/storage/test_storage.py | 967 | # Check if TOS credentials are available | COMMENT |
| LOW | python/aibrix/aibrix/app.py | 130 | # Check if the engine is initialized | COMMENT |
| LOW | python/aibrix/aibrix/app.py | 151 | # Check if this is a delegation request (has artifact_url) | COMMENT |
| LOW | python/aibrix/aibrix/app.py | 195 | # Check if this is a delegation request (has cleanup_local) | COMMENT |
| LOW | python/aibrix/aibrix/app.py | 265 | # Check if the inference engine is ready | COMMENT |
| LOW | …ibrix/gpu_optimizer/optimizer/solver/melange/solver.py | 118 | # Print the results if needed | COMMENT |
| LOW | python/aibrix/aibrix/gpu_optimizer/utils/logging.py | 37 | # Check if the record is an access log and extract the path | COMMENT |
| LOW | python/aibrix/aibrix/runtime/artifact_service.py | 167 | # Check if already downloaded | COMMENT |
| LOW | python/aibrix/aibrix/runtime/artifact_service.py | 264 | # Check if engine returned error | COMMENT |
| LOW | python/aibrix/aibrix/runtime/artifact_service.py | 333 | # Check if engine returned error | COMMENT |
| LOW | python/aibrix/aibrix/runtime/downloaders.py | 122 | # Check if it's a directory (ends with /) or single file | COMMENT |
| LOW | python/aibrix/aibrix/runtime/downloaders.py | 244 | # Check if it's a directory (prefix) or single file | COMMENT |
| LOW | python/aibrix/aibrix/downloader/s3.py | 157 | # Check if token file exists and is readable | COMMENT |
| LOW | python/aibrix/aibrix/storage/local.py | 436 | # Check if metadata exists (which implies object exists) | COMMENT |
| LOW | python/aibrix/aibrix/storage/factory.py | 168 | # Check if S3 credentials are available | COMMENT |
| LOW | python/aibrix/aibrix/storage/factory.py | 173 | # Check if TOS credentials are available (higher priority than S3) | COMMENT |
| LOW | python/aibrix/aibrix/storage/tos.py | 85 | # Check if we should use multipart upload | COMMENT |
| LOW | python/aibrix/aibrix/storage/redis.py | 221 | # Check if the SET operation succeeded | COMMENT |
| LOW | python/aibrix/aibrix/storage/redis.py | 377 | # Check if this prefix corresponds to a list index | COMMENT |
| LOW | python/aibrix/aibrix/storage/redis.py | 564 | # Check if key actually exists | COMMENT |
| LOW | python/aibrix/aibrix/storage/utils.py | 89 | # Check if the sanitized key already has an extension | COMMENT |
| LOW | python/aibrix/aibrix/storage/s3.py | 101 | # Check if we should use multipart upload | COMMENT |
| LOW | python/aibrix/aibrix/batch/batch_manager.py | 347 | # Check if job exists in any state | COMMENT |
| LOW | python/aibrix/aibrix/batch/batch_manager.py | 368 | # Check if job is finalizing | COMMENT |
| LOW | python/aibrix/aibrix/batch/batch_manager.py | 427 | # Check if job exists in any state | COMMENT |
| LOW | python/aibrix/aibrix/batch/batch_manager.py | 465 | # Check if transition is in valid transitions | COMMENT |
| LOW | …thon/aibrix/aibrix/batch/state/job_progress_tracker.py | 64 | # Check if self._min_unexecuted_id need to be updated | COMMENT |
| LOW | python/aibrix/aibrix/metadata/app.py | 118 | # Check if metadata store is ready | COMMENT |
| LOW | python/aibrix/aibrix/metadata/api/v1/files.py | 357 | # Read file content from storage | COMMENT |
| LOW | python/aibrix/aibrix/metadata/api/v1/users.py | 100 | # Check if user exists | COMMENT |
| LOW | python/aibrix/aibrix/metadata/api/v1/users.py | 158 | # Check if user exists | COMMENT |
| LOW | python/aibrix/aibrix/metadata/api/v1/users.py | 187 | # Check if user exists | COMMENT |
| LOW | python/aibrix/aibrix/metadata/api/v1/batch.py | 713 | # Check if job exists (store-first read). | COMMENT |
| LOW | python/aibrix_kvcache/setup.py | 386 | # Check if the command was executed successfully | COMMENT |
| LOW | python/aibrix_kvcache/aibrix_kvcache/transport/rdma.py | 495 | # Check if matches with any network interfaces | COMMENT |
| LOW | …thon/aibrix_kvcache/aibrix_kvcache/memory/allocator.py | 493 | # Check if the length is valid for at least one size | COMMENT |
| LOW | …vllm/kv_connector/aibrix_offloading_connector_type1.py | 780 | # Check if the first dimension of the cache is kv or num_blocks | COMMENT |
| LOW⚡ | …brix_kvcache/integration/vllm/kv_connector/__init__.py | 42 | # Check if _update_states already accepts load_results (source patch) | COMMENT |
| LOW | …gration/vllm/kv_connector/aibrix_pd_reuse_connector.py | 988 | # Check if the first dimension of the cache is kv or num_blocks | COMMENT |
| LOW | …gration/vllm/kv_connector/aibrix_pd_reuse_connector.py | 1461 | # Check if already exists in cache | COMMENT |
| LOW | development/app/test_openai_endpoints.py | 134 | # Check if last chunk has usage info | COMMENT |
| LOW | development/app/test_openai_endpoints.py | 360 | # Check if server is running | COMMENT |
| LOW | development/app/test_vllm_endpoints.py | 392 | # Check if server is running | COMMENT |
| LOW | development/app/app.py | 485 | # Check if adapter already loaded | COMMENT |
| LOW | development/app/app.py | 532 | # Check if adapter exists | COMMENT |
| LOW | benchmarks/benchmark.py | 362 | # Check if user asked for help on overrides | COMMENT |
| LOW | benchmarks/generator/workload_generator/utils.py | 128 | # Read the file and extract the first two timestamps | COMMENT |
| LOW | benchmarks/client/client.py | 336 | # Check if we can start a new session without blocking | COMMENT |
| LOW | benchmarks/client/client.py | 357 | # Check if duration limit has been exceeded | COMMENT |
| LOW | apps/chat/api/services/conversation.py | 80 | # Set parent_id to the last message if not specified | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/aibrix/tests/batch/test_batch_manager.py | 54 | def _set_current_loop_name(name: str) -> None: | CODE |
| LOW | python/aibrix/tests/batch/test_batch_manager.py | 969 | async def update_job_ready(self, job: BatchJob) -> None: | CODE |
| LOW | python/aibrix/tests/batch/test_batch_manager.py | 975 | async def update_job_status(self, job: BatchJob) -> None: | CODE |
| LOW | python/aibrix/tests/batch/test_batch_manager.py | 1126 | async def update_job_status(self, job: BatchJob) -> None: | CODE |
| LOW | python/aibrix/tests/batch/test_batch_manager.py | 1165 | async def update_job_status(self, job: BatchJob) -> None: | CODE |
| LOW | python/aibrix/tests/batch/test_batch_manager.py | 1240 | async def update_job_status(self, job: BatchJob) -> None: | CODE |
| LOW | python/aibrix/tests/batch/test_batch_manager.py | 1308 | async def update_job_status(self, job: BatchJob) -> None: | CODE |
| LOW | python/aibrix/aibrix/context/__init__.py | 13 | __all__ = [ | CODE |
| LOW | python/aibrix/aibrix/runtime/model_runtime_metrics.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/aibrix/aibrix/runtime/model_runtime_api.py | 47 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/aibrix/aibrix/runtime/model_runtime.py | 51 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/aibrix/aibrix/runtime/model_runtime.py | 128 | def set_limit(self, ipc_name: str, limit_bytes: int) -> None: | CODE |
| LOW | python/aibrix/aibrix/runtime/model_runtime.py | 135 | def set_limit(self, ipc_name: str, limit_bytes: int) -> None: | CODE |
| LOW | python/aibrix/aibrix/runtime/model_runtime.py | 521 | def set_limit(self, ipc_name: str, limit_bytes: int) -> None: | CODE |
| LOW | python/aibrix/aibrix/downloader/__init__.py | 40 | __all__ = ["download_model", "get_downloader"] | CODE |
| LOW | python/aibrix/aibrix/storage/__init__.py | 29 | __all__ = [ | CODE |
| LOW | python/aibrix/aibrix/batch/batch_manager.py | 183 | def set_scheduler(self, scheduler: BatchScheduler) -> None: | CODE |
| LOW | python/aibrix/aibrix/batch/batch_manager.py | 186 | def set_endpoint_source(self, endpoint_source: Optional[EndpointSource]) -> None: | CODE |
| LOW | python/aibrix/aibrix/batch/__init__.py | 16 | __all__ = ["BatchDriver"] | CODE |
| LOW | python/aibrix/aibrix/batch/job_entity/__init__.py | 58 | __all__ = [ | CODE |
| LOW | python/aibrix/aibrix/batch/job_driver/__init__.py | 42 | __all__ = [ | CODE |
| LOW | python/aibrix/aibrix/batch/job_driver/base.py | 1470 | def _set_error_injector(self, job: Optional[BatchJob]) -> None: | CODE |
| LOW | …hon/aibrix/aibrix/batch/job_driver/runtime/__init__.py | 45 | __all__ = [ | CODE |
| LOW | python/aibrix/aibrix/batch/manifest/__init__.py | 34 | __all__ = [ | CODE |
| LOW | python/aibrix/aibrix/batch/template/__init__.py | 66 | __all__ = [ | CODE |
| LOW | python/aibrix/aibrix/batch/state/__init__.py | 26 | __all__ = [ | CODE |
| LOW | python/aibrix/aibrix/batch/state/job_store.py | 116 | async def _update_existing_job(self, job: BatchJob) -> None: | CODE |
| LOW | python/aibrix/aibrix/batch/storage/__init__.py | 35 | __all__ = [ | CODE |
| LOW | python/aibrix/aibrix/batch/client/concurrency.py | 249 | def _update_ewmas(self, outcome: ConcurrencyOutcome) -> None: | CODE |
| LOW | python/aibrix/aibrix/batch/client/__init__.py | 62 | __all__ = [ | CODE |
| LOW | python/aibrix/aibrix/batch/client/sources/__init__.py | 27 | __all__ = [ | CODE |
| LOW | python/aibrix/aibrix/metadata/core/__init__.py | 18 | __all__ = ["AsyncLoopThread", "HTTPXClientWrapper", "T"] | CODE |
| LOW | python/aibrix/aibrix/metadata/api/v1/__init__.py | 17 | __all__ = ["batch", "files"] | CODE |
| LOW | python/aibrix/aibrix/metadata/setting/__init__.py | 16 | __all__ = ["settings"] | CODE |
| LOW | python/aibrix_kvcache/setup.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/aibrix_kvcache/aibrix_kvcache/__init__.py | 35 | __all__ = [ | CODE |
| LOW | …on/aibrix_kvcache/aibrix_kvcache/transport/__init__.py | 19 | __all__ = ["HAS_RDMA_TRANSPORT_SUPPORT"] | CODE |
| LOW | python/aibrix_kvcache/aibrix_kvcache/memory/__init__.py | 20 | __all__ = [ | CODE |
| LOW⚡ | …brix_kvcache/integration/vllm/kv_connector/__init__.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/aibrix_kvcache/aibrix_kvcache/l2/__init__.py | 19 | __all__ = [ | CODE |
| LOW | …ibrix_kvcache/aibrix_kvcache/l2/connectors/__init__.py | 23 | __all__ = [ | CODE |
| LOW | …vcache/aibrix_kvcache/l2/connectors/priskv/__init__.py | 17 | __all__ = ["PrisKVConnector"] | CODE |
| LOW | …x_kvcache/aibrix_kvcache/l2/connectors/eic/__init__.py | 17 | __all__ = ["EICConnector"] | CODE |
| LOW | …brix_kvcache/aibrix_kvcache/l2/marshallers/__init__.py | 20 | __all__ = [ | CODE |
| LOW | …rix_kvcache/aibrix_kvcache/l2/key_builders/__init__.py | 22 | __all__ = [ | CODE |
| LOW | …aibrix_kvcache/aibrix_kvcache/l2/placement/__init__.py | 18 | __all__ = [ | CODE |
| LOW | python/aibrix_kvcache/aibrix_kvcache/common/__init__.py | 20 | __all__ = ["AsyncBase", "ObjectPool", "CachedPyObjectBase", "ConditionalLock"] | CODE |
| LOW | …on/aibrix_kvcache/aibrix_kvcache/common/object_pool.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ibrix_kvcache/aibrix_kvcache/common/cached_pyobject.py | 64 | def set_free_list_max_size(cls: Type[T], size: int) -> None: | CODE |
| LOW | python/aibrix_kvcache/aibrix_kvcache/l1/__init__.py | 17 | __all__ = ["L1Cache"] | CODE |
| LOW⚡ | python/aibrix_kvcache/aibrix_kvcache/l1/l1_cache.py | 102 | def set_on_put_callback(self, functor: Functor) -> None: | CODE |
| LOW⚡ | python/aibrix_kvcache/aibrix_kvcache/l1/l1_cache.py | 106 | def set_on_evict_callback(self, on_evict: Functor) -> None: | CODE |
| LOW⚡ | python/aibrix_kvcache/aibrix_kvcache/l1/l1_cache.py | 110 | def set_on_hot_access_callback(self, on_hot_access: Functor) -> None: | CODE |
| LOW | …_kvcache/aibrix_kvcache/l1/eviction_policy/__init__.py | 20 | __all__ = ["BaseEvictionPolicy", "Functor", "FIFO", "LRU", "S3FIFO"] | CODE |
| LOW⚡ | …rix_kvcache/l1/eviction_policy/base_eviction_policy.py | 144 | def set_on_put_callback(self, functor: Functor) -> None: | CODE |
| LOW⚡ | …rix_kvcache/l1/eviction_policy/base_eviction_policy.py | 148 | def set_on_evict_callback(self, functor: Functor) -> None: | CODE |
| LOW⚡ | …rix_kvcache/l1/eviction_policy/base_eviction_policy.py | 152 | def set_on_hot_access_callback(self, functor: Functor) -> None: | CODE |
| LOW | …aibrix_kvcache/aibrix_kvcache/meta_service/__init__.py | 18 | __all__ = [ | CODE |
| LOW⚡ | development/app/app.py | 118 | logger = logging.getLogger(__name__) | CODE |
| LOW | development/app/simulator.py | 199 | def _set_time(self, time: float) -> None: | CODE |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …/tests/openapi/engine/test_vllm_engine_lora_loading.py | 126 | """Test LoRA adapter loading with robust error handling.""" | STRING |
| MEDIUM | …/tests/openapi/engine/test_vllm_engine_lora_loading.py | 31 | """Test robust LoRA implementation in VLLMInferenceEngine.""" | STRING |
| MEDIUM | …/tests/openapi/engine/test_vllm_engine_lora_loading.py | 46 | """Test engine initialization sets up robust HTTP client.""" | STRING |
| MEDIUM | …/tests/openapi/engine/test_vllm_engine_lora_loading.py | 252 | """Test LoRA adapter unloading with robust error handling.""" | STRING |
| MEDIUM | …/tests/openapi/engine/test_vllm_engine_lora_loading.py | 418 | """Test list models functionality with robust error handling.""" | STRING |
| MEDIUM⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1456 | # Step 4: Verify failed status using comprehensive validation | COMMENT |
| MEDIUM⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1511 | # Step 7: Verify failed status using comprehensive validation | COMMENT |
| MEDIUM⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1823 | # Step 6: Verify failed status due to finalization error using comprehensive validation | COMMENT |
| MEDIUM⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1886 | # Step 6: Verify failed status using comprehensive validation | COMMENT |
| MEDIUM⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1979 | # Step 7: Verify cancelled status using comprehensive validation | COMMENT |
| MEDIUM⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2069 | # Step 7: Verify cancelled status using comprehensive validation | COMMENT |
| MEDIUM⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2262 | # Step 6: Verify cancelled status using comprehensive validation | COMMENT |
| MEDIUM⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2343 | # Step 7: Verify final status using comprehensive validation | COMMENT |
| MEDIUM⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2480 | # Step 6: Verify expired status using comprehensive validation | COMMENT |
| MEDIUM⚡ | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 2562 | # Step 7: Verify expired status using comprehensive validation | COMMENT |
| LOW | python/aibrix/aibrix/downloader/tos.py | 173 | # For single file downloads, just use the filename. | COMMENT |
| LOW | python/aibrix/aibrix/downloader/s3.py | 348 | # For single file downloads, just use the filename. | COMMENT |
| MEDIUM | python/aibrix_kvcache/aibrix_kvcache/cache_manager.py | 1593 | # If L1Cache is enabled, we put kv tensors to L1Cache and leverage its | COMMENT |
| LOW | …thon/aibrix_kvcache/aibrix_kvcache/memory/allocator.py | 488 | # Could not find an MR w/ a size >= upper_bound, just use a | COMMENT |
| MEDIUM | deployment/standalone/configs/endpoints-pd.yaml | 5 | # paired together (e.g., single node P/D leverage nvlink based kv transfer). | COMMENT |
| MEDIUM | pkg/plugins/gateway/algorithms/vtc/vtc_basic.go | 115 | // By adapting bucket sizes and normalizing scores, the algorithm remains robust as system load and user activity fluct | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …aibrix/aibrix/batch/job_driver/runtime/lambda_cloud.py | 77 | f"sudo docker rm -f {CONTAINER_NAME} >/dev/null 2>&1 || true; " | CODE |
| HIGH | …aibrix/aibrix/batch/job_driver/runtime/lambda_cloud.py | 84 | return f"sudo docker rm -f {CONTAINER_NAME} >/dev/null 2>&1 || true" | CODE |
| HIGH | python/aibrix/aibrix/batch/manifest/engine_adapter.py | 286 | return ["WORKER_VICTIM=1 python app.py || true"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/aibrix/aibrix/storage/local.py | 0 | get object metadata without downloading the object content. | STRING |
| HIGH | python/aibrix/aibrix/storage/tos.py | 0 | get object metadata without downloading the object content. | STRING |
| HIGH | python/aibrix/aibrix/storage/s3.py | 0 | get object metadata without downloading the object content. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/aibrix/tests/batch/test_batch_storage_adapter.py | 24 | CODE | |
| LOW | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 567 | CODE | |
| LOW | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 1286 | CODE | |
| LOW | python/aibrix/tests/batch/conftest.py | 603 | CODE | |
| LOW | python/aibrix/tests/metadata/test_files_api.py | 55 | CODE | |
| LOW | …_optimizer/optimizer/profiling/gen_benchmark_prompt.py | 60 | CODE | |
| LOW | python/aibrix/aibrix/openapi/model.py | 125 | CODE | |
| LOW | …thon/aibrix/aibrix/batch/job_entity/aibrix_metadata.py | 191 | CODE | |
| LOW | python/aibrix/aibrix/client/redis.py | 31 | CODE | |
| LOW | python/aibrix/aibrix/client/redis.py | 87 | CODE | |
| LOW | python/aibrix/aibrix/metadata/store.py | 124 | CODE | |
| LOW | development/app/simulator.py | 167 | CODE | |
| LOW | samples/multimodality/vllm/send_file_base64.py | 48 | CODE | |
| LOW | …rks/generator/workload_generator/workload_generator.py | 41 | CODE | |
| LOW | apps/chat/api/routers/chat.py | 41 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/aibrix/scripts/format.sh | 4 | # Usage: | COMMENT |
| LOW | deployment/standalone/docker-compose.yml | 10 | # Usage: | COMMENT |
| LOW⚡ | deployment/standalone/start.sh | 5 | # Usage: | COMMENT |
| LOW⚡ | deployment/standalone/scripts/health-check.sh | 5 | # Usage: | COMMENT |
| LOW⚡ | deployment/standalone/scripts/test-api.sh | 5 | # Usage: | COMMENT |
| LOW | deployment/local/run-local.sh | 4 | # Usage: | COMMENT |
| LOW | apps/console/api/resource_manager/types/provision.go | 208 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …n/aibrix/tests/batch/test_e2e_abnormal_job_behavior.py | 965 | if app.state.batch_driver._context.values.get("block_schedule_next_job", False): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | benchmarks/README.md | 47 | export API_KEY="${your_api_key}" | CODE |
| HIGH | apps/chat/README.md | 46 | export API_KEY=<your-api-key> # if auth is required | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | apps/console/web/src/components/ModelDetail.tsx | 60 | print(response.json())` | CODE |
| HIGH | apps/console/web/src/components/ModelDetail.tsx | 80 | print(response.json())`; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/aibrix_kvcache/aibrix_kvcache/cache_manager.py | 1072 | # TODO: implement background prefetching that loads kv cache | COMMENT |
| LOW | pkg/plugins/gateway/algorithms/pd/transfer/mooncake.go | 29 | // TODO: implement based on confirmed vLLM MooncakeConnector contract. | COMMENT |
| LOW | pkg/plugins/gateway/algorithms/pd/transfer/mooncake.go | 35 | // TODO: implement once vLLM MooncakeConnector prefill request contract is confirmed. | COMMENT |
| LOW | pkg/plugins/gateway/algorithms/pd/transfer/mooncake.go | 46 | // TODO: implement once vLLM MooncakeConnector response contract is confirmed. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/aibrix/tests/storage/test_factory.py | 102 | aws_access_key_id="fake-key", | CODE |