Repository Analysis

gpustack/gpustack

A GPU cluster manager for high-performance AI model serving (vLLM, SGLang) and on-demand SSH-accessible GPU instances.

21.3 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of gpustack/gpustack, a Python project with 5,319 GitHub stars. SynthScan v2.0 examined 189,769 lines of code across 641 source files, recording 3215 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 21.3 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

21.3
Adjusted Score
21.3
Raw Score
100%
Time Factor
2026-07-14
Last Push
5.3K
Stars
Python
Language
189.8K
Lines of Code
641
Files
3.2K
Pattern Hits
2026-07-14
Scan Date
0.14
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 0HIGH 88MEDIUM 225LOW 2902

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

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

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

Hyper-Verbose Identifiers1631 hits · 1563 pts
SeverityFileLineSnippetContext
LOWtests/routers/test_clusters.py17def test_get_server_url_strips_trailing_slash_from_cluster_override():CODE
LOWtests/routers/test_clusters.py29def test_get_server_url_strips_trailing_slash_from_external_url():CODE
LOWtests/routers/test_clusters.py41def test_get_server_url_falls_back_to_request_origin():CODE
LOWtests/routers/test_clusters.py50def test_cluster_update_normalizes_server_url():CODE
LOWtests/routers/test_clusters.py59def test_config_normalizes_server_external_url(monkeypatch, tmp_path):CODE
LOWtests/routers/test_benchmarks.py4def test_order_benchmark_export_fields_puts_identifying_fields_first():CODE
LOWtests/routers/test_model_provider.py150def test_determine_model_category(provider_type, model, expected):CODE
LOWtests/routers/test_usage.py269def test_self_scope_personal_includes_null_consumer_rows():CODE
LOWtests/routers/test_usage.py279def test_self_scope_org_context_excludes_null_consumer_rows():CODE
LOWtests/routers/test_usage.py288def test_breakdown_request_allows_page_minus_one_sentinel():CODE
LOWtests/routers/test_usage.py55async def test_get_usage_meta_returns_identity_filters_for_admin():CODE
LOWtests/routers/test_usage.py188async def test_get_usage_meta_hides_admin_only_options_for_regular_user():CODE
LOWtests/routers/test_usage.py225async def test_get_usage_meta_hides_org_and_group_for_admin_pinned_to_org():CODE
LOWtests/routers/test_usage.py299def test_breakdown_request_allows_legacy_large_per_page():CODE
LOWtests/routers/test_usage.py311def test_breakdown_request_rejects_per_page_over_cap():CODE
LOWtests/routers/test_usage.py322def test_breakdown_request_rejects_page_zero():CODE
LOWtests/routers/test_usage.py332def test_breakdown_request_rejects_other_negative_page():CODE
LOWtests/routers/test_usage.py346async def test_get_usage_breakdown_no_pagination_returns_all_date_buckets():CODE
LOWtests/routers/test_usage.py395async def test_get_usage_breakdown_no_pagination_rejects_oversized(monkeypatch):CODE
LOWtests/routers/test_usage.py435async def test_get_usage_breakdown_returns_paginated_route_items():CODE
LOWtests/routers/test_usage.py520async def test_get_usage_breakdown_returns_multidimensional_export_rows_with_no_api_key():CODE
LOWtests/routers/test_usage.py621async def test_get_usage_breakdown_flags_deleted_user_by_live_existence():CODE
LOWtests/routers/test_usage.py694async def test_get_usage_breakdown_flags_deleted_route_and_api_key_by_live_existence():CODE
LOWtests/routers/test_usage.py779async def test_get_usage_breakdown_ignores_incomplete_api_key_identity_groups():CODE
LOWtests/routers/test_usage.py818async def test_get_usage_breakdown_formats_month_date_label_as_year_month():CODE
LOWtests/routers/test_usage.py870async def test_get_usage_breakdown_filters_deleted_api_key_by_value_and_current():CODE
LOWtests/routers/test_usage.py916async def test_get_usage_breakdown_defaults_regular_user_to_self_scope():CODE
LOWtests/routers/test_usage.py942async def test_get_usage_breakdown_org_owner_scopes_by_consumer_principal():CODE
LOWtests/routers/test_usage.py973async def test_get_usage_breakdown_rejects_regular_user_user_group():CODE
LOWtests/routers/test_usage.py989async def test_get_usage_breakdown_groups_by_organization_for_admin():CODE
LOWtests/routers/test_usage.py1070async def test_get_usage_breakdown_rejects_organization_group_by_for_non_admin():CODE
LOWtests/routers/test_usage.py1085async def test_get_usage_breakdown_rejects_organization_filter_for_non_admin():CODE
LOWtests/routers/test_usage.py1107async def test_get_usage_breakdown_rejects_user_group_filter_in_self_scope():CODE
LOWtests/routers/test_usage.py1131async def test_get_usage_breakdown_expands_user_group_filter_to_members():CODE
LOWtests/routers/test_usage.py1200async def test_get_usage_breakdown_organization_uses_snapshot_name_and_kind():CODE
LOWtests/routers/test_models.py58async def test_create_model_rejects_default_org_cluster_for_custom_org(monkeypatch):CODE
LOWtests/routers/test_models.py75async def test_create_model_hides_non_visible_cluster_as_missing(monkeypatch):CODE
LOWtests/routers/test_models.py92async def test_create_model_rejects_missing_cluster(monkeypatch):CODE
LOWtests/routers/test_models.py107async def test_create_model_rejects_deleted_cluster(monkeypatch):CODE
LOWtests/routers/test_models.py123async def test_create_model_allows_own_org_cluster(monkeypatch):CODE
LOWtests/routers/test_models.py144async def test_create_model_admin_all_mode_derives_owner_from_cluster(monkeypatch):CODE
LOWtests/routers/test_models.py171async def test_create_model_admin_all_mode_rejects_missing_cluster(monkeypatch):CODE
LOWtests/routers/test_models.py217async def test_update_model_rejects_cross_org_cluster(monkeypatch):CODE
LOWtests/routers/test_models.py228async def test_update_model_hides_non_visible_cluster_as_missing(monkeypatch):CODE
LOWtests/routers/test_models.py235async def test_update_model_rejects_missing_cluster(monkeypatch):CODE
LOWtests/routers/test_models.py252def test_model_watch_filter_applies_state(CODE
LOWtests/routers/test_models.py265def test_model_watch_filter_passes_id_only_delete_events(monkeypatch):CODE
LOWtests/routers/test_gpu_devices.py45def test_vram_allocated_for_index(vram, index, expected):CODE
LOWtests/routers/test_gpu_devices.py49def test_to_gpu_device_public_injects_allocated():CODE
LOWtests/routers/test_gpu_devices.py56def test_to_gpu_device_public_no_assignment_defaults_zero():CODE
LOWtests/routers/test_gpu_devices.py61def test_to_gpu_device_public_index_none_defaults_zero():CODE
LOWtests/routers/test_gpu_devices.py66def test_to_gpu_device_public_memory_none():CODE
LOWtests/routers/test_gpu_devices.py71def test_convert_to_public_class():CODE
LOWtests/routers/test_gpu_devices.py80 async def fake_get_worker_allocated(worker_id):CODE
LOWtests/routers/test_gpu_devices.py90async def test_inject_allocated_into_event():CODE
LOWtests/routers/test_gpu_devices.py99async def test_inject_allocated_into_event_skips_deleted():CODE
LOWtests/routers/test_gpu_devices.py107async def test_inject_allocated_into_event_skips_non_public_data():CODE
LOWtests/routers/test_gpu_devices.py115async def test_inject_allocated_into_event_skips_memory_none():CODE
LOWtests/routers/test_worker_utils.py17def test_filter_workers_by_fields_exact():CODE
LOWtests/routers/test_worker_utils.py28def test_filter_workers_by_fields_fuzzy():CODE
1571 more matches not shown…
Decorative Section Separators162 hits · 614 pts
SeverityFileLineSnippetContext
MEDIUMtests/cmd/test_reload_config_auth.py21# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/cmd/test_reload_config_auth.py23# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/cmd/test_reload_config_auth.py46# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/cmd/test_reload_config_auth.py48# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/cmd/test_reload_config_auth.py101# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/cmd/test_reload_config_auth.py103# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py56# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py58# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py112# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py115# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py185# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py188# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py292# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py294# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py574# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py576# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py619# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py625# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py453# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py455# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py508# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/k8s/test_template_render.py511# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_usage_details_archiver.py24# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_usage_details_archiver.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_usage_details_archiver.py57# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_usage_details_archiver.py60# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_usage_details_archiver.py127# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_usage_details_archiver.py129# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_usage_details_archiver.py152# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_usage_details_archiver.py154# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_metrics_collector.py239# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_metrics_collector.py241# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_metrics_collector.py305# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_metrics_collector.py307# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_metrics_collector.py330# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_metrics_collector.py332# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_metrics_collector.py388# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_metrics_collector.py392# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_resource_usage_collector.py72# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_resource_usage_collector.py74# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_resource_usage_collector.py158# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_resource_usage_collector.py160# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_resource_usage_collector.py235# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_resource_usage_collector.py237# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_resource_usage_collector.py302# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_resource_usage_collector.py304# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_resource_usage_collector.py513# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_resource_usage_collector.py515# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_resource_event_logger.py178# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_resource_event_logger.py181# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_cache.py21# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_cache.py23# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_cache.py109# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_cache.py111# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_cache.py319# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_cache.py321# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_cache.py351# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/test_cache.py353# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/utils/test_ssl_context.py111# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/utils/test_ssl_context.py115# ---------------------------------------------------------------------------COMMENT
102 more matches not shown…
Excessive Try-Catch Wrapping504 hits · 515 pts
SeverityFileLineSnippetContext
LOWtests/websocket_proxy/test_connection.py134 except Exception as e:CODE
LOWtests/websocket_proxy/test_proxy_server.py326 except Exception:CODE
LOWtests/websocket_proxy/test_proxy_server.py485 except Exception as e:CODE
LOWtests/websocket_proxy/test_proxy_server.py674 except Exception as e:CODE
MEDIUMtests/websocket_proxy/test_websocket_bench.py86def handle_request(reader, writer):CODE
MEDIUMtests/websocket_proxy/test_websocket_bench.py181def handle_request(reader, writer):CODE
MEDIUMtests/websocket_proxy/test_websocket_bench.py277def handle_request(reader, writer):CODE
MEDIUMtests/websocket_proxy/test_websocket_bench.py369def handle_request(reader, writer):CODE
MEDIUMtests/websocket_proxy/test_websocket_bench.py458def handle_request(reader, writer):CODE
MEDIUMtests/websocket_proxy/test_websocket_bench.py552def handle_request(reader, writer):CODE
MEDIUMtests/websocket_proxy/test_websocket_bench.py648def handle_request(reader, writer):CODE
MEDIUMtests/websocket_proxy/test_websocket_bench.py784def handle_request(reader, writer):CODE
MEDIUMtests/websocket_proxy/test_websocket_bench.py914def handle_request(reader, writer):CODE
LOWtests/websocket_proxy/test_websocket_bench.py97 except Exception:CODE
LOWtests/websocket_proxy/test_websocket_bench.py192 except Exception as e:CODE
LOWtests/websocket_proxy/test_websocket_bench.py288 except Exception:CODE
LOWtests/websocket_proxy/test_websocket_bench.py377 except Exception:CODE
LOWtests/websocket_proxy/test_websocket_bench.py470 except Exception:CODE
LOWtests/websocket_proxy/test_websocket_bench.py558 except Exception:CODE
LOWtests/websocket_proxy/test_websocket_bench.py673 except Exception as e:CODE
LOWtests/websocket_proxy/test_websocket_bench.py797 except Exception:CODE
LOWtests/websocket_proxy/test_websocket_bench.py921 except Exception:CODE
LOWtests/websocket_proxy/test_server_federation.py506 except Exception as e:CODE
LOWtests/api/test_exceptions.py61 except Exception as e:CODE
LOWtests/api/test_exceptions.py156 except Exception as e:CODE
MEDIUMtests/api/test_exceptions.py55def test_error_response_model_validate(name, given, expected):CODE
MEDIUMtests/api/test_exceptions.py152def test_raise_if_response_error(name, given, expected):CODE
LOWhack/perf/run_model_benchmark.py386 except Exception as exc:CODE
LOWhack/perf/run_model_benchmark.py461 except Exception as exc:CODE
LOWhack/perf/run_model_benchmark.py663 except Exception as exc:CODE
LOWhack/perf/run_model_benchmark.py702 except Exception as exc:CODE
LOWhack/perf/run_model_benchmark.py785 except Exception as exc:CODE
LOWhack/perf/run_model_benchmark.py963 except Exception as e:CODE
LOWhack/perf/run_model_benchmark.py976 except Exception as exc:CODE
LOWhack/perf/run_model_benchmark.py1195 except Exception as e:CODE
LOWhack/perf/fill_benchmark_raw_metrics.py191 except Exception as exc:CODE
LOWgpustack/security.py21 except Exception:CODE
LOWgpustack/extension.py47 except Exception:CODE
LOWgpustack/extension.py72 except Exception:CODE
LOWgpustack/cmd/db_migration.py81 except Exception as e:CODE
LOWgpustack/cmd/db_migration.py120 except Exception as e:CODE
LOWgpustack/cmd/db_migration.py142 except Exception as e:CODE
LOWgpustack/cmd/db_migration.py169 except Exception as e:CODE
MEDIUMgpustack/cmd/db_migration.py70def _run(args):CODE
LOWgpustack/cmd/download_tools.py80 except Exception as e:CODE
LOWgpustack/cmd/reload_config.py122 except Exception as e:CODE
LOWgpustack/cmd/reload_config.py264 except Exception as e:CODE
LOWgpustack/cmd/reload_config.py294 except Exception:CODE
MEDIUMgpustack/cmd/reload_config.py103def run(args):CODE
LOWgpustack/cmd/start.py685 except Exception as e:CODE
LOWgpustack/cmd/start.py704 except Exception as e:CODE
LOWgpustack/cmd/start.py726 except Exception as e:CODE
LOWgpustack/cmd/start.py741 except Exception:CODE
LOWgpustack/cmd/start.py771 except Exception as e:CODE
LOWgpustack/cmd/reset_admin_password.py94 except Exception as e:CODE
LOWgpustack/cmd/reset_admin_password.py121 except Exception:CODE
MEDIUMgpustack/cmd/reset_admin_password.py47def run(args):CODE
LOWgpustack/cmd/images.py60 except Exception as e:CODE
LOWgpustack/cmd/prerun.py77 except Exception as e:CODE
LOWgpustack/cloud_providers/digital_ocean.py48 except Exception as e:CODE
444 more matches not shown…
Cross-File Repetition36 hits · 180 pts
SeverityFileLineSnippetContext
HIGHgpustack/schemas/gpu_instance_persistent_volumes.py0represents the public view of a gpu instance ssh public key, containing only fields that are safe to expose to clients.STRING
HIGH…ustack/schemas/gpu_instance_persistent_volume_types.py0represents the public view of a gpu instance ssh public key, containing only fields that are safe to expose to clients.STRING
HIGHgpustack/schemas/gpu_instance_templates.py0represents the public view of a gpu instance ssh public key, containing only fields that are safe to expose to clients.STRING
HIGHgpustack/schemas/gpu_instance_ssh_public_keys.py0represents the public view of a gpu instance ssh public key, containing only fields that are safe to expose to clients.STRING
HIGHgpustack/client/generated_benchmark_client.py0list resources. args: params: query parameters for filtering use_cache: whether to use cache. defaults to true (use cachSTRING
HIGHgpustack/client/generated_user_client.py0list resources. args: params: query parameters for filtering use_cache: whether to use cache. defaults to true (use cachSTRING
HIGHgpustack/client/generated_model_client.py0list resources. args: params: query parameters for filtering use_cache: whether to use cache. defaults to true (use cachSTRING
HIGHgpustack/client/generated_model_instance_client.py0list resources. args: params: query parameters for filtering use_cache: whether to use cache. defaults to true (use cachSTRING
HIGHgpustack/client/generated_model_file_client.py0list resources. args: params: query parameters for filtering use_cache: whether to use cache. defaults to true (use cachSTRING
HIGHgpustack/client/generated_model_route_target_client.py0list resources. args: params: query parameters for filtering use_cache: whether to use cache. defaults to true (use cachSTRING
HIGHgpustack/client/generated_worker_client.py0list resources. args: params: query parameters for filtering use_cache: whether to use cache. defaults to true (use cachSTRING
HIGHgpustack/client/generated_inference_backend_client.py0list resources. args: params: query parameters for filtering use_cache: whether to use cache. defaults to true (use cachSTRING
HIGHgpustack/client/generated_benchmark_client.py0snapshot the cache atomically with the _watch_started check. returns none if the watch cache is not currently authoritatSTRING
HIGHgpustack/client/generated_user_client.py0snapshot the cache atomically with the _watch_started check. returns none if the watch cache is not currently authoritatSTRING
HIGHgpustack/client/generated_model_client.py0snapshot the cache atomically with the _watch_started check. returns none if the watch cache is not currently authoritatSTRING
HIGHgpustack/client/generated_model_instance_client.py0snapshot the cache atomically with the _watch_started check. returns none if the watch cache is not currently authoritatSTRING
HIGHgpustack/client/generated_model_file_client.py0snapshot the cache atomically with the _watch_started check. returns none if the watch cache is not currently authoritatSTRING
HIGHgpustack/client/generated_model_route_target_client.py0snapshot the cache atomically with the _watch_started check. returns none if the watch cache is not currently authoritatSTRING
HIGHgpustack/client/generated_worker_client.py0snapshot the cache atomically with the _watch_started check. returns none if the watch cache is not currently authoritatSTRING
HIGHgpustack/client/generated_inference_backend_client.py0snapshot the cache atomically with the _watch_started check. returns none if the watch cache is not currently authoritatSTRING
HIGHgpustack/client/generated_benchmark_client.py0update cache based on received event. runs on the awatch event loop. network i/o uses the async httpx client and happensSTRING
HIGHgpustack/client/generated_user_client.py0update cache based on received event. runs on the awatch event loop. network i/o uses the async httpx client and happensSTRING
HIGHgpustack/client/generated_model_client.py0update cache based on received event. runs on the awatch event loop. network i/o uses the async httpx client and happensSTRING
HIGHgpustack/client/generated_model_instance_client.py0update cache based on received event. runs on the awatch event loop. network i/o uses the async httpx client and happensSTRING
HIGHgpustack/client/generated_model_file_client.py0update cache based on received event. runs on the awatch event loop. network i/o uses the async httpx client and happensSTRING
HIGHgpustack/client/generated_model_route_target_client.py0update cache based on received event. runs on the awatch event loop. network i/o uses the async httpx client and happensSTRING
HIGHgpustack/client/generated_worker_client.py0update cache based on received event. runs on the awatch event loop. network i/o uses the async httpx client and happensSTRING
HIGHgpustack/client/generated_inference_backend_client.py0update cache based on received event. runs on the awatch event loop. network i/o uses the async httpx client and happensSTRING
HIGHgpustack/client/generated_benchmark_client.py0get a resource by id. args: id: resource id use_cache: whether to use cache. defaults to true (use cache if available). STRING
HIGHgpustack/client/generated_user_client.py0get a resource by id. args: id: resource id use_cache: whether to use cache. defaults to true (use cache if available). STRING
HIGHgpustack/client/generated_model_client.py0get a resource by id. args: id: resource id use_cache: whether to use cache. defaults to true (use cache if available). STRING
HIGHgpustack/client/generated_model_instance_client.py0get a resource by id. args: id: resource id use_cache: whether to use cache. defaults to true (use cache if available). STRING
HIGHgpustack/client/generated_model_file_client.py0get a resource by id. args: id: resource id use_cache: whether to use cache. defaults to true (use cache if available). STRING
HIGHgpustack/client/generated_model_route_target_client.py0get a resource by id. args: id: resource id use_cache: whether to use cache. defaults to true (use cache if available). STRING
HIGHgpustack/client/generated_worker_client.py0get a resource by id. args: id: resource id use_cache: whether to use cache. defaults to true (use cache if available). STRING
HIGHgpustack/client/generated_inference_backend_client.py0get a resource by id. args: id: resource id use_cache: whether to use cache. defaults to true (use cache if available). STRING
Modern Structural Boilerplate167 hits · 168 pts
SeverityFileLineSnippetContext
LOWhack/perf/run_model_benchmark.py401 def _update_existing_model(self, config: Model, payload: Dict[str, Any]) -> None:CODE
LOWgpustack/extension.py25logger = logging.getLogger(__name__)CODE
LOWgpustack/ssl_context.py31logger = logging.getLogger(__name__)CODE
LOWgpustack/cmd/version.py6logger = logging.getLogger(__name__)CODE
LOWgpustack/cmd/db_migration.py22logger = logging.getLogger(__name__)CODE
LOWgpustack/cmd/download_tools.py9logger = logging.getLogger(__name__)CODE
LOWgpustack/cmd/__init__.py4__all__ = ["setup_start_cmd", "setup_reload_config_cmd"]CODE
LOWgpustack/cmd/reload_config.py27logger = logging.getLogger(__name__)CODE
LOWgpustack/cmd/start.py23logger = logging.getLogger(__name__)CODE
LOWgpustack/cmd/reset_admin_password.py19logger = logging.getLogger(__name__)CODE
LOWgpustack/cmd/prerun.py28logger = logging.getLogger(__name__)CODE
LOWgpustack/cloud_providers/digital_ocean.py17logger = logging.getLogger(__name__)CODE
LOWgpustack/mixins/active_record.py34logger = logging.getLogger(__name__)CODE
LOWgpustack/config/config.py59logger = logging.getLogger(__name__)CODE
LOWgpustack/config/__init__.py4__all__ = ["Config"]CODE
LOWgpustack/scheduler/queue.py4logger = logging.getLogger(__name__)CODE
LOWgpustack/scheduler/calculator.py41logger = logging.getLogger(__name__)CODE
LOWgpustack/scheduler/scheduler.py81logger = logging.getLogger(__name__)CODE
LOWgpustack/scheduler/evaluator.py53logger = logging.getLogger(__name__)CODE
LOWgpustack/server/catalog.py21logger = logging.getLogger(__name__)CODE
LOWgpustack/server/worker_request.py21logger = logging.getLogger(__name__)CODE
LOWgpustack/server/worker_instance_cleaner.py15logger = logging.getLogger(__name__)CODE
LOWgpustack/server/services.py46logger = logging.getLogger(__name__)CODE
LOWgpustack/server/server.py131logger = logging.getLogger(__name__)CODE
LOWgpustack/server/update_check.py11logger = logging.getLogger(__name__)CODE
LOWgpustack/server/lora_model_routes.py28logger = logging.getLogger(__name__)CODE
LOWgpustack/server/controllers.py139logger = logging.getLogger(__name__)CODE
LOWgpustack/server/resource_event_logger.py53logger = logging.getLogger(__name__)CODE
LOWgpustack/server/storage_usage_collector.py52logger = logging.getLogger(__name__)CODE
LOWgpustack/server/storage_usage_collector.py299 async def _settle_locked(self, vol: _OpenVolume, end_ts: datetime) -> None:CODE
LOWgpustack/server/cache.py15logger = logging.getLogger(__name__)CODE
LOWgpustack/server/cache.py29def set_coordinator(coordinator: Optional["Coordinator"]) -> None:CODE
LOWgpustack/server/system_load.py9logger = logging.getLogger(__name__)CODE
LOWgpustack/server/metrics_collector.py28logger = logging.getLogger(__name__)CODE
LOWgpustack/server/bus.py13logger = logging.getLogger(__name__)CODE
LOWgpustack/server/bus.py35__all__ = [CODE
LOWgpustack/server/usage_details_archiver.py28logger = logging.getLogger(__name__)CODE
LOWgpustack/server/worker_allocated_cache.py38logger = logging.getLogger(__name__)CODE
LOWgpustack/server/resource_usage_collector.py61logger = logging.getLogger(__name__)CODE
LOWgpustack/server/resource_usage_collector.py501 async def _settle_locked(self, window: _OpenWindow, end_ts: datetime) -> None:CODE
LOWgpustack/server/app.py23logger = logging.getLogger(__name__)CODE
LOWgpustack/server/worker_syncer.py12logger = logging.getLogger(__name__)CODE
LOWgpustack/server/worker_status_buffer.py12logger = logging.getLogger(__name__)CODE
LOWgpustack/server/usage_archiver.py28logger = logging.getLogger(__name__)CODE
LOWgpustack/server/lora_adapters_discovery.py19logger = logging.getLogger(__name__)CODE
LOWgpustack/server/worker_selector.py8logger = logging.getLogger(__name__)CODE
LOWgpustack/server/init_db.py44logger = logging.getLogger(__name__)CODE
LOWgpustack/server/coordinator/models.py12logger = logging.getLogger(__name__)CODE
LOWgpustack/server/coordinator/local.py14logger = logging.getLogger(__name__)CODE
LOWgpustack/server/coordinator/cache.py12logger = logging.getLogger(__name__)CODE
LOWgpustack/server/coordinator/__init__.py23__all__ = [CODE
LOWgpustack/server/coordinator/base.py15logger = logging.getLogger(__name__)CODE
LOWgpustack/utils/task.py10logger = logging.getLogger(__name__)CODE
LOWgpustack/utils/compat_importlib.py8__all__ = ['pkg_resources']CODE
LOWgpustack/utils/ephemeral_ports.py27logger = logging.getLogger(__name__)CODE
LOWgpustack/utils/lora_model_source.py13logger = logging.getLogger(__name__)CODE
LOWgpustack/utils/config.py23logger = logging.getLogger(__name__)CODE
LOWgpustack/utils/system_check.py9logger = logging.getLogger(__name__)CODE
LOWgpustack/utils/convert.py6logger = logging.getLogger(__name__)CODE
LOWgpustack/utils/rollup_tz.py23logger = logging.getLogger(__name__)CODE
107 more matches not shown…
Unused Imports235 hits · 166 pts
SeverityFileLineSnippetContext
LOWhack/perf/perf_doc_common.py1CODE
LOWhack/perf/plot_latency_comparison.py18CODE
LOWhack/perf/extract_json_key_table.py32CODE
LOWhack/perf/generate_latency_optimization_doc.py19CODE
LOWhack/perf/fill_benchmark_raw_metrics.py18CODE
LOWhack/perf/generate_throughput_optimization_doc.py19CODE
LOWgpustack/extension.py23CODE
LOWgpustack/ssl_context.py22CODE
LOWgpustack/cmd/__init__.py1CODE
LOWgpustack/cmd/__init__.py2CODE
LOWgpustack/config/__init__.py1CODE
LOWgpustack/server/cache.py13CODE
LOWgpustack/server/coordinator/__init__.py20CODE
LOWgpustack/server/coordinator/__init__.py20CODE
LOWgpustack/server/coordinator/__init__.py20CODE
LOWgpustack/server/coordinator/__init__.py21CODE
LOWgpustack/utils/compat_importlib.py4CODE
LOWgpustack/utils/compat_importlib.py6CODE
LOWgpustack/utils/ephemeral_ports.py18CODE
LOWgpustack/utils/resource_usage.py7CODE
LOWgpustack/utils/attrs.py1CODE
LOWgpustack/policies/candidate_selectors/__init__.py1CODE
LOWgpustack/policies/candidate_selectors/__init__.py2CODE
LOWgpustack/policies/candidate_selectors/__init__.py3CODE
LOWgpustack/policies/candidate_selectors/__init__.py4CODE
LOWgpustack/schemas/models.py24CODE
LOWgpustack/schemas/models.py32CODE
LOWgpustack/schemas/models.py33CODE
LOWgpustack/schemas/clusters.py41CODE
LOWgpustack/schemas/clusters.py41CODE
LOWgpustack/schemas/clusters.py42CODE
LOWgpustack/schemas/clusters.py43CODE
LOWgpustack/schemas/principals.py54CODE
LOWgpustack/schemas/__init__.py1CODE
LOWgpustack/schemas/__init__.py1CODE
LOWgpustack/schemas/__init__.py1CODE
LOWgpustack/schemas/__init__.py1CODE
LOWgpustack/schemas/__init__.py1CODE
LOWgpustack/schemas/__init__.py1CODE
LOWgpustack/schemas/__init__.py1CODE
LOWgpustack/schemas/__init__.py1CODE
LOWgpustack/schemas/__init__.py1CODE
LOWgpustack/schemas/__init__.py1CODE
LOWgpustack/schemas/__init__.py1CODE
LOWgpustack/schemas/__init__.py1CODE
LOWgpustack/schemas/__init__.py1CODE
LOWgpustack/schemas/__init__.py1CODE
LOWgpustack/schemas/__init__.py17CODE
LOWgpustack/schemas/__init__.py17CODE
LOWgpustack/schemas/__init__.py17CODE
LOWgpustack/schemas/__init__.py17CODE
LOWgpustack/schemas/__init__.py23CODE
LOWgpustack/schemas/__init__.py23CODE
LOWgpustack/schemas/__init__.py23CODE
LOWgpustack/schemas/__init__.py23CODE
LOWgpustack/schemas/__init__.py23CODE
LOWgpustack/schemas/__init__.py23CODE
LOWgpustack/schemas/__init__.py23CODE
LOWgpustack/schemas/__init__.py23CODE
LOWgpustack/schemas/__init__.py23CODE
175 more matches not shown…
Deep Nesting194 hits · 165 pts
SeverityFileLineSnippetContext
LOWtests/scheduler/test_scheduler_subscribe.py99CODE
LOW…date_selectors/gguf/test_gguf_resource_fit_selector.py1424CODE
LOW…end_mindie/test_ascend_mindie_resource_fit_selector.py392CODE
LOW…end_mindie/test_ascend_mindie_resource_fit_selector.py1680CODE
LOW…end_mindie/test_ascend_mindie_resource_fit_selector.py1876CODE
LOW…end_mindie/test_ascend_mindie_resource_fit_selector.py393CODE
LOW…end_mindie/test_ascend_mindie_resource_fit_selector.py1683CODE
LOW…end_mindie/test_ascend_mindie_resource_fit_selector.py1879CODE
LOWtests/websocket_proxy/test_proxy_server.py418CODE
LOWtests/websocket_proxy/test_proxy_server.py529CODE
LOWtests/websocket_proxy/test_proxy_server.py443CODE
LOWtests/websocket_proxy/test_proxy_server.py554CODE
LOWhack/perf/perf_doc_common.py363CODE
LOWhack/perf/extract_json_key_table.py128CODE
LOWhack/perf/run_model_benchmark.py275CODE
LOWhack/perf/run_model_benchmark.py411CODE
LOWhack/perf/run_model_benchmark.py917CODE
LOWgpustack/cmd/db_migration.py270CODE
LOWgpustack/cmd/reload_config.py103CODE
LOWgpustack/cmd/reload_config.py299CODE
LOWgpustack/cmd/reset_admin_password.py47CODE
LOWgpustack/mixins/active_record.py47CODE
LOWgpustack/mixins/active_record.py473CODE
LOWgpustack/mixins/active_record.py693CODE
LOWgpustack/mixins/active_record.py789CODE
LOWgpustack/config/config.py275CODE
LOWgpustack/config/config.py560CODE
LOWgpustack/scheduler/calculator.py1081CODE
LOWgpustack/scheduler/calculator.py1296CODE
LOWgpustack/scheduler/calculator.py1332CODE
LOWgpustack/scheduler/calculator.py266CODE
LOWgpustack/scheduler/calculator.py525CODE
LOWgpustack/scheduler/scheduler.py408CODE
LOWgpustack/scheduler/scheduler.py175CODE
LOWgpustack/scheduler/evaluator.py342CODE
LOWgpustack/scheduler/meta_registry.py122CODE
LOWgpustack/server/services.py318CODE
LOWgpustack/server/services.py743CODE
LOWgpustack/server/server.py569CODE
LOWgpustack/server/server.py1241CODE
LOWgpustack/server/controllers.py326CODE
LOWgpustack/server/controllers.py563CODE
LOWgpustack/server/controllers.py1523CODE
LOWgpustack/server/controllers.py1566CODE
LOWgpustack/server/controllers.py1663CODE
LOWgpustack/server/controllers.py2441CODE
LOWgpustack/server/controllers.py2488CODE
LOWgpustack/server/storage_usage_collector.py160CODE
LOWgpustack/server/worker_allocated_cache.py90CODE
LOWgpustack/server/resource_usage_collector.py324CODE
LOWgpustack/server/worker_syncer.py97CODE
LOWgpustack/server/lora_adapters_discovery.py192CODE
LOWgpustack/server/worker_selector.py17CODE
LOWgpustack/server/coordinator/cache.py51CODE
LOWgpustack/utils/lora_model_source.py68CODE
LOWgpustack/utils/command.py236CODE
LOWgpustack/utils/version.py4CODE
LOWgpustack/utils/locks.py106CODE
LOWgpustack/utils/forwarded.py13CODE
LOWgpustack/utils/hub.py210CODE
134 more matches not shown…
Magic Placeholder Names25 hits · 150 pts
SeverityFileLineSnippetContext
HIGHREADME.md179# Replace `your_api_key` and `your_gpustack_server_url`COMMENT
HIGHREADME.md181export GPUSTACK_API_KEY=your_api_keyCODE
HIGHREADME_CN.md170# 将 `your_api_key` 和 `your_gpustack_server_url`COMMENT
HIGHREADME_CN.md172export GPUSTACK_API_KEY=your_api_keyCODE
HIGHREADME_JP.md172# `your_api_key` と `your_gpustack_server_url` をCOMMENT
HIGHREADME_JP.md174export GPUSTACK_API_KEY=your_api_keyCODE
HIGHdocs/troubleshooting.md37 -H "Authorization: Bearer <YOUR_API_KEY>" \CODE
HIGHdocs/troubleshooting.md37 -H "Authorization: Bearer <YOUR_API_KEY>" \CODE
HIGHdocs/quickstart.md114# Replace `your_api_key` and `your_gpustack_server_url`COMMENT
HIGHdocs/quickstart.md116export GPUSTACK_API_KEY=your_api_keyCODE
HIGHdocs/migration.md115 --database-url ${your-database-url}CODE
HIGHdocs/user-guide/api-key-management.md57export GPUSTACK_API_KEY=your_api_keyCODE
HIGHdocs/using-models/using-reranker-models.md43export GPUSTACK_API_KEY=<your-api-key>CODE
HIGHdocs/using-models/using-reranker-models.md59Replace `<your-server-url>` with the URL of your GPUStack server and `<your-api-key>` with the API key you generated in CODE
HIGHdocs/using-models/using-embedding-models.md43export GPUSTACK_API_KEY=<your-api-key>CODE
HIGHdocs/using-models/using-embedding-models.md54Replace `<your-server-url>` with the URL of your GPUStack server and `<your-api-key>` with the API key you generated in CODE
HIGHdocs/integrations/inference-apis.md28export GPUSTACK_API_KEY=your_api_keyCODE
HIGHdocs/integrations/inference-apis.md55export GPUSTACK_API_KEY=your_api_keyCODE
HIGHdocs/integrations/inference-apis.md82export GPUSTACK_API_KEY=your_api_keyCODE
HIGHdocs/integrations/inference-apis.md143export GPUSTACK_API_KEY=your_api_keyCODE
HIGHdocs/tutorials/serving-with-lora-adapters.md78 -H "Authorization: Bearer <your-api-key>" \CODE
HIGHdocs/tutorials/serving-with-lora-adapters.md90 -H "Authorization: Bearer <your-api-key>" \CODE
HIGHdocs/tutorials/serving-with-lora-adapters.md98Replace `<your-gpustack-server>` with your server address and `<your-api-key>` with an API key created on the `API Keys`CODE
HIGHdocs/tutorials/inference-with-tool-calling.md66With the model deployed and an API key, you can call the model via the GPUStack API. Here is an example script using `cuCODE
HIGHdocs/tutorials/inference-with-tool-calling.md70export GPUSTACK_API_KEY=<your-api-key>CODE
Structural Annotation Overuse56 hits · 96 pts
SeverityFileLineSnippetContext
LOWtests/websocket_proxy/test_server_federation.py378 # Step 1: Server1 connects to Server2 as peerCOMMENT
LOWtests/websocket_proxy/test_server_federation.py382 # Step 2: Connect a client to Server2 (not Server1)COMMENT
LOWtests/websocket_proxy/test_server_federation.py395 # Step 3: Server2 syncs its client to Server1 via peer connectionCOMMENT
LOWtests/websocket_proxy/test_server_federation.py400 # Step 4: Server1 disconnects from Server2COMMENT
LOWtests/websocket_proxy/test_server_federation.py404 # Step 5: Server1 should clean up clients synced from Server2COMMENT
LOWdocs/using-models/using-vision-language-models.md26## Step 1: Install GPUStackCOMMENT
LOWdocs/using-models/using-vision-language-models.md30## Step 2: Log in to GPUStack UICOMMENT
LOWdocs/using-models/using-vision-language-models.md40## Step 3: Deploy Vision Language Models with vLLMCOMMENT
LOWdocs/using-models/using-vision-language-models.md88## Step 4: Interact with Vision Language ModelsCOMMENT
LOWdocs/using-models/using-image-generation-models.md13## Step 1: Deploy the Z-Image-Turbo ModelCOMMENT
LOWdocs/using-models/using-image-generation-models.md28## Step 2: Use the Model for Image GenerationCOMMENT
LOWdocs/using-models/using-reranker-models.md14## Step 1: Deploy the ModelCOMMENT
LOWdocs/using-models/using-reranker-models.md28## Step 2: Generate an API KeyCOMMENT
LOWdocs/using-models/using-reranker-models.md37## Step 3: RerankingCOMMENT
LOWdocs/using-models/using-large-language-models.md15## Step 1: Deploy Large Language ModelsCOMMENT
LOWdocs/using-models/using-large-language-models.md41## Step 2: Use the LLMs for Text GenerationCOMMENT
LOWdocs/using-models/using-audio-models.md16### Step 1: Deploy Speech-to-Text ModelCOMMENT
LOWdocs/using-models/using-audio-models.md30### Step 2: Interact with Speech-to-Text ModelCOMMENT
LOWdocs/using-models/using-audio-models.md39### Step 3: Streaming Output via APICOMMENT
LOWdocs/using-models/using-audio-models.md62### Step 1: Deploy Text-to-Speech ModelCOMMENT
LOWdocs/using-models/using-audio-models.md76### Step 2: Interact with Text-to-Speech ModelCOMMENT
LOWdocs/using-models/using-audio-models.md87### Step 3: Streaming Output via APICOMMENT
LOWdocs/using-models/using-audio-models.md117### Step 1: Deploy Voice Cloning ModelCOMMENT
LOWdocs/using-models/using-audio-models.md123### Step 2: Use Voice Cloning in PlaygroundCOMMENT
LOWdocs/using-models/using-embedding-models.md14## Step 1: Deploy the ModelCOMMENT
LOWdocs/using-models/using-embedding-models.md28## Step 2: Generate an API KeyCOMMENT
LOWdocs/using-models/using-embedding-models.md37## Step 3: Generate Text EmbeddingsCOMMENT
LOWdocs/tutorials/serving-with-lora-adapters.md37## Step 1: Deploy the Base Model with LoRA AdaptersCOMMENT
LOWdocs/tutorials/serving-with-lora-adapters.md64## Step 2: Invoke a LoRA AdapterCOMMENT
LOWdocs/tutorials/serving-with-lora-adapters.md100## Step 3: Manage LoRA AdaptersCOMMENT
LOW…ing-deepseek-r1-671b-with-distributed-ascend-mindie.md31## Step 1: Install GPUStack ServerCOMMENT
LOW…ing-deepseek-r1-671b-with-distributed-ascend-mindie.md56## Step 2: Access GPUStack UICOMMENT
LOW…ing-deepseek-r1-671b-with-distributed-ascend-mindie.md64## Step 3: Install GPUStack WorkersCOMMENT
LOW…ing-deepseek-r1-671b-with-distributed-ascend-mindie.md98## Step 4: Deploy the DeepSeek R1 ModelCOMMENT
LOW…ing-deepseek-r1-671b-with-distributed-ascend-mindie.md117## Step 5: Monitor DeploymentCOMMENT
LOW…ing-deepseek-r1-671b-with-distributed-ascend-mindie.md127## Step 6: Run Inference via PlaygroundCOMMENT
LOW…ials/running-deepseek-r1-671b-with-distributed-vllm.md30## Step 1: Install GPUStack ServerCOMMENT
LOW…ials/running-deepseek-r1-671b-with-distributed-vllm.md56## Step 2: Access GPUStack UICOMMENT
LOW…ials/running-deepseek-r1-671b-with-distributed-vllm.md64## Step 3: Install GPUStack WorkersCOMMENT
LOW…ials/running-deepseek-r1-671b-with-distributed-vllm.md96## Step 4: Deploy the DeepSeek R1 ModelCOMMENT
LOW…ials/running-deepseek-r1-671b-with-distributed-vllm.md108## Step 5: Monitor DeploymentCOMMENT
LOW…ials/running-deepseek-r1-671b-with-distributed-vllm.md118## Step 6: Run Inference via PlaygroundCOMMENT
LOW…rials/running-distributed-vllm-with-multiprocessing.md27## Step 1: Add GPUStack WorkersCOMMENT
LOW…rials/running-distributed-vllm-with-multiprocessing.md35## Step 2: Deploy the Model with the MP BackendCOMMENT
LOW…rials/running-distributed-vllm-with-multiprocessing.md72## Step 3: Monitor DeploymentCOMMENT
LOW…rials/running-distributed-vllm-with-multiprocessing.md83## Step 4: Verify via the PlaygroundCOMMENT
LOWdocs/tutorials/inference-with-tool-calling.md20## Step 1: Deploy the ModelCOMMENT
LOWdocs/tutorials/inference-with-tool-calling.md55## Step 2: Generate an API KeyCOMMENT
LOWdocs/tutorials/inference-with-tool-calling.md64## Step 3: Do InferenceCOMMENT
LOWgpustack/scheduler/calculator.py914 # Step 1: Apply filters to reduce broadcast scopeCOMMENT
LOWgpustack/scheduler/calculator.py941 # Step 2: Broadcast to filtered workersCOMMENT
LOWgpustack/scheduler/calculator.py1022 # Step 1: Apply worker filters before broadcastingCOMMENT
LOWgpustack/scheduler/calculator.py1057 # Step 2: Broadcasting to filtered workersCOMMENT
LOW…es/candidate_selectors/sglang_resource_fit_selector.py1008 # Step 1: Use the minimum GPU memory of all workers to calculate _chunked_prefill_size and _cuda_graph_max_bs.COMMENT
LOW…es/candidate_selectors/sglang_resource_fit_selector.py1094 # Step 2: Calculate reserved memory by other configsCOMMENT
LOW…es/candidate_selectors/sglang_resource_fit_selector.py1146 # Step 3: adjust mem_fraction_static for VL modelsCOMMENT
Redundant / Tautological Comments52 hits · 82 pts
SeverityFileLineSnippetContext
LOWtests/websocket_proxy/test_proxy_server.py453 # Check if we have complete request (headers + body)COMMENT
LOWtests/websocket_proxy/test_proxy_server.py465 # Check if we have complete bodyCOMMENT
LOWgpustack/scheduler/evaluator.py349 # Check if local path exists on serverCOMMENT
LOWgpustack/server/bus.py314 # Check if this is a cross-instance event (only has ID)COMMENT
LOWgpustack/policies/utils.py205 # Check if this GPU can be added to the current groupCOMMENT
LOWgpustack/policies/utils.py211 # Check if min_allocatable_memory >= current_gpu_allocatable_memory * 0.9COMMENT
LOWgpustack/policies/utils.py543 # Check if this is a main worker instanceCOMMENT
LOWgpustack/policies/utils.py546 # Check if this worker is used as a subordinate workerCOMMENT
LOWgpustack/policies/utils.py800 # Check if this GPU can be added to the current groupCOMMENT
LOWgpustack/policies/utils.py806 # Check if min_allocatable_vram >= current_allocatable_vram * 0.9COMMENT
LOW…date_selectors/custom_backend_resource_fit_selector.py220 # Check if GPU has enough VRAMCOMMENT
LOW…date_selectors/custom_backend_resource_fit_selector.py282 # Check if total VRAM is sufficientCOMMENT
LOW…date_selectors/custom_backend_resource_fit_selector.py329 # Check if worker has enough RAM for CPU inferenceCOMMENT
LOW…olicies/candidate_selectors/base_candidate_selector.py830 # Check if the GPU is satisfied the requirementCOMMENT
LOW…olicies/candidate_selectors/base_candidate_selector.py935 # Assign GPUs to the subordinate workerCOMMENT
LOW…cies/candidate_selectors/gguf_resource_fit_selector.py1969 # Check if the rpc gpus can offload even one layer.COMMENT
LOW…ck/policies/worker_filters/backend_framework_filter.py110 # Check if gpu_type is supported by custom_frameworkCOMMENT
LOW…ck/policies/worker_filters/backend_framework_filter.py116 # Check if gpu_type is supported by built_in_frameworksCOMMENT
LOW…ck/policies/worker_filters/backend_framework_filter.py173 # Check if model has specified backend_versionCOMMENT
LOW…ck/policies/worker_filters/backend_framework_filter.py180 # Check if any GPU condition is compatibleCOMMENT
LOWgpustack/schemas/common.py58 # Verify if the field is in the allowed sortable fieldsCOMMENT
LOWgpustack/websocket_proxy/message_server.py179 # Check if this is a local client (registered on this server)COMMENT
LOWgpustack/websocket_proxy/message_server.py316 # Check if this is a Starlette WebSocket or websockets WebSocketCOMMENT
LOWgpustack/websocket_proxy/message_server.py645 # Check if this is a server federation connectionCOMMENT
LOWgpustack/websocket_proxy/message.py279 # Check if msg_type is a valid BinaryType valueCOMMENT
LOWgpustack/websocket_proxy/connection_manager.py302 # Check if proxy accepted the connectionCOMMENT
LOWgpustack/api/middlewares.py420 # Check if the token is about to expire (less than 15 minutes left)COMMENT
LOWgpustack/worker/model_file_manager.py768 # Check if we should log based on time (2 seconds) or progress change (1%)COMMENT
LOWgpustack/worker/backends/sglang.py555 # Check if this is a multi-node deploymentCOMMENT
LOWgpustack/worker/backends/sglang.py729 # Check if tensor parallelism is already specifiedCOMMENT
LOWgpustack/client/generated_benchmark_client.py241 # Check if we have accumulated enough items (heuristic)COMMENT
LOWgpustack/client/generated_user_client.py239 # Check if we have accumulated enough items (heuristic)COMMENT
LOWgpustack/client/generated_model_client.py239 # Check if we have accumulated enough items (heuristic)COMMENT
LOWgpustack/client/generated_model_instance_client.py241 # Check if we have accumulated enough items (heuristic)COMMENT
LOWgpustack/client/generated_model_file_client.py241 # Check if we have accumulated enough items (heuristic)COMMENT
LOWgpustack/client/generated_model_route_target_client.py243 # Check if we have accumulated enough items (heuristic)COMMENT
LOWgpustack/client/generated_worker_client.py241 # Check if we have accumulated enough items (heuristic)COMMENT
LOWgpustack/client/generated_inference_backend_client.py243 # Check if we have accumulated enough items (heuristic)COMMENT
LOWgpustack/routes/metrics.py40 # Check if we have a cached versionCOMMENT
LOWgpustack/routes/metrics.py86 # Write file in thread pool to avoid blocking event loopCOMMENT
LOWgpustack/routes/inference_backend.py1249 # Check if the backend is being used by any modelsCOMMENT
LOWgpustack/routes/inference_backend.py382 # Check if this version has any built-in frameworksCOMMENT
LOWgpustack/routes/inference_backend.py1165 # Check if updating to a name that already exists (excluding current backend)COMMENT
LOWgpustack/routes/inference_backend.py1417 # Check if updating to a name that already exists (excluding current backend)COMMENT
LOWgpustack/routes/inference_backend.py1447 # Check if any versions are being removed and validate they're not in useCOMMENT
LOWgpustack/routes/inference_backend.py1533 # Check if removed versions are in useCOMMENT
LOWgpustack/routes/worker/filesystem.py121 # Check if path existsCOMMENT
LOWgpustack/routes/worker/filesystem.py125 # Check if path is a fileCOMMENT
LOWgpustack/routes/worker/filesystem.py129 # Check if file is a config file for securityCOMMENT
LOWgpustack/routes/worker/filesystem.py173 # Check if path existsCOMMENT
LOWgpustack/routes/worker/filesystem.py270 # Check if file existsCOMMENT
LOWgpustack/routes/worker/filesystem.py276 # Check if path is a fileCOMMENT
Docstring Block Structure15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHgpustack/mixins/active_record.py368 Parse dot-separated nested field expressions and generate appropriate database expressions for sorting.STRING
HIGHgpustack/scheduler/calculator.py693 Unified async entry point for getting pretrained config. Handles all model sources with appropriate fallback sSTRING
HIGHgpustack/scheduler/calculator.py865 Read a file from LOCAL_PATH model by querying workers. Steps: 1. Apply filters (GPU selector, label selectSTRING
HIGHgpustack/scheduler/calculator.py983 Get pretrained config from remote workers for LOCAL_PATH models. Args: model: Model with source LOCAL_STRING
HIGHgpustack/scheduler/calculator.py1007 Calculate model resource claim by running gguf-parser on a worker. Args: model: Model to calculate theSTRING
HIGHgpustack/scheduler/calculator.py1263 Read and parse model_index.json from local directory. Args: path: Directory path containing model_indeSTRING
HIGHgpustack/scheduler/calculator.py1297 Calculate total size of LLM model weights in root directory. Args: path: Directory path to scan RSTRING
HIGHgpustack/scheduler/calculator.py1333 Calculate total size of diffusion model weights. Logic: 1. Read model_index.json to get pipeline componentSTRING
HIGHgpustack/scheduler/calculator.py1399 Calculate model weight size based on model type. Unified entry point for calculating model weight sizes. STRING
HIGHgpustack/server/worker_selector.py23 Find a worker that has access to the specified path. Args: workers: List of workers to seaSTRING
HIGHgpustack/utils/file.py44Generic async retry wrapper for checking operations. Args: checker: A callable (sync or async) that performSTRING
HIGHgpustack/schemas/inference_backend.py157 Get configuration for a specific version. Args: version: Version string, uses default_versSTRING
HIGHgpustack/worker/backends/base.py532 Get the resource requests for the model instance. Args: mount_all_devices: STRING
HIGHgpustack/client/worker_filesystem_client.py131 Parse a GGUF file on a worker using gguf-parser. Args: worker: The worker to query STRING
HIGHgpustack/routes/worker/filesystem.py49 Validate path security to prevent directory traversal attacks. This function: 1. Resolves the absolute patSTRING
Self-Referential Comments21 hits · 67 pts
SeverityFileLineSnippetContext
MEDIUMtests/routers/test_workers.py148 # Create a new worker (no existing worker)COMMENT
MEDIUMtests/routers/test_workers.py161 # Create an existing worker with some labelsCOMMENT
MEDIUMtests/routers/test_workers.py32 # Create an existing worker with maintenance mode enabledCOMMENT
MEDIUMtests/routers/test_workers.py48 # Create a worker registration request without maintenance fieldCOMMENT
MEDIUMtests/routers/test_workers.py79 # Create an existing worker with maintenance mode enabledCOMMENT
MEDIUMtests/routers/test_workers.py95 # Create a worker update request with maintenance explicitly disabledCOMMENT
MEDIUMtests/routers/test_workers.py126 # Create a new worker registration requestCOMMENT
MEDIUMtests/routers/test_workers.py177 # Create a worker update with new labelsCOMMENT
MEDIUM…licies/worker_filters/test_backend_framework_filter.py96 # Create a mock session that returns the backendCOMMENT
MEDIUM…licies/worker_filters/test_backend_framework_filter.py249 # Create a worker with mixed GPU types (simulate by modifying the worker)COMMENT
MEDIUM…licies/worker_filters/test_backend_framework_filter.py384 # Create a worker with empty GPU listCOMMENT
MEDIUM…licies/worker_filters/test_backend_framework_filter.py497 # Create a model that will result in backend_name being NoneCOMMENT
MEDIUM…licies/worker_filters/test_backend_framework_filter.py1007 # Create a worker with ROCm GPU (incompatible with vLLM in this test scenario)COMMENT
MEDIUMtests/worker/test_logs.py18 # Create a log file with 2KB in two linesCOMMENT
MEDIUMgpustack/server/bus.py276 # Create a closure that captures the topicCOMMENT
MEDIUMgpustack/policies/utils.py958 # Create a copy of the worker with sorted GPUsCOMMENT
MEDIUMgpustack/websocket_proxy/message_server.py196 # Create a future that will be resolved when the peer connectsCOMMENT
MEDIUMgpustack/websocket_proxy/connection_manager.py315 # Create a tunnel connection for this forwardCOMMENT
MEDIUMgpustack/worker/schemas/benchmark_runner.py41 # Define a breakdown for request countsSTRING
MEDIUMgpustack/routes/inference_backend.py1367 # Create the backendCOMMENT
MEDIUMgpustack/routes/inference_backend.py904 # Create the response with the same structure as the originalCOMMENT
Cross-Language Confusion12 hits · 58 pts
SeverityFileLineSnippetContext
HIGHgpustack/cloud_providers/user_data.py51ExecStart=/bin/bash -c "/opt/gpustack-run-worker.sh && systemctl disable post-reboot.service"CODE
HIGHgpustack/utils/ephemeral_ports.py187 "sudo tee -a /etc/sysctl.conf && sudo sysctl -p",CODE
HIGHgpustack/schemas/organizations.py156 label. The UI is expected to render ``display_name || name``;STRING
HIGHgpustack/schemas/metered_usage.py120 # Natural key = resource identity. All three columns are non-null, soCOMMENT
HIGHgpustack/worker/model_meta.py76 "docker_label": null,STRING
HIGHgpustack/worker/model_meta.py80 "max_stop_sequences": null,STRING
HIGHgpustack/worker/model_meta.py81 "max_waiting_tokens": null,STRING
HIGHgpustack/worker/model_meta.py82 "sha": null,STRING
HIGHgpustack/worker/model_meta.py83 "validation_workers": null,STRING
HIGHgpustack/worker/model_meta.py85 "waiting_served_ratio": null,STRING
HIGHgpustack/worker/model_meta.py92 "model_sha": null,STRING
HIGHgpustack/routes/users.py281 # ``{"source": null}`` explicitly would otherwise write NULLCOMMENT
Over-Commented Block57 hits · 54 pts
SeverityFileLineSnippetContext
LOWalembic.ini1# A generic, single database configuration.COMMENT
LOWalembic.ini21# Any required deps can installed by adding `alembic[tz]` to the pip requirementsCOMMENT
LOWalembic.ini41# The path separator used here should be the separator specified by "version_path_separator" below.COMMENT
LOWalembic.ini61# output_encoding = utf-8COMMENT
LOWpack/rootfs/etc/s6-overlay/scripts/base.sh101 # For optional services, allow s6 to restart instead of halting the containerCOMMENT
LOW…/rootfs/etc/s6-overlay/scripts/postgres-log-cleanup.sh1#!/command/with-contenv /bin/bashCOMMENT
LOWpack/rootfs/var/lib/istio/cron.txt10 * * * * /usr/sbin/logrotate /etc/logrotate.d/higress-logrotateCOMMENT
LOWcharts/gpustack-chart/values.yaml1# Default values for gpustack.COMMENT
LOWcharts/gpustack-chart/values.yaml21# imagePullSecrets:COMMENT
LOWcharts/gpustack-chart/values.yaml61 # example: gpustack.example.comCOMMENT
LOWcharts/gpustack-chart/values.yaml81 size: 100GiCOMMENT
LOWcharts/gpustack-chart/values.yaml161 # GPU vendors for the worker nodes. Accepts a list to allow a singleCOMMENT
LOWcharts/gpustack-chart/values.yaml181 # - [] (empty): only the CPU DaemonSet `<release>-worker` is renderedCOMMENT
LOWcharts/gpustack-chart/values.yaml201 # on conflict).COMMENT
LOWcharts/gpustack-chart/values.yaml241 memory: 512MiCOMMENT
LOWhack/lib/log.sh1#!/usr/bin/env bashCOMMENT
LOWhack/lib/version.sh1#!/usr/bin/env bashCOMMENT
LOW.github/workflows/pack.yaml281 uses: azure/setup-helm@v4COMMENT
LOWgpustack/config/config.py181 # Group sync. ``external_auth_groups`` is the OIDC claim name orCOMMENT
LOWgpustack/config/config.py221 # servers in the wild work without extra tuning.COMMENT
LOWgpustack/k8s/manifest_template.py81 # Base nodeSelector merged with the runtime's PCI-presence label.COMMENT
LOWgpustack/server/services.py81 self.session.expunge(result)COMMENT
LOWgpustack/server/metrics_collector.py41# it ends in (anchored on completed_at). ``date`` is computed in theCOMMENT
LOWgpustack/server/metrics_collector.py521 snapshot.setdefault("api_key_is_custom", None)COMMENT
LOWgpustack/server/metrics_collector.py541 passCOMMENT
LOWgpustack/utils/hub.py21# and replaces transformers' `get_class_from_dynamic_module` with a wrapperCOMMENT
LOW…idate_selectors/ascend_mindie_resource_fit_selector.py301 )COMMENT
LOWgpustack/schemas/stmt.py221 # MySQL only accepts ``INTEGER`` as a CAST target from 8.0.17; olderCOMMENT
LOWgpustack/schemas/stmt.py241 return (COMMENT
LOWgpustack/schemas/principals.py81# resolution time, without a backing ``principal_memberships`` row.COMMENT
LOWgpustack/schemas/principals.py201 sa_column=Column(SQLEnum(PrincipalType), nullable=False),COMMENT
LOWgpustack/schemas/principals.py221 # (``init_platform_principal_id`` → ORG,COMMENT
LOWgpustack/schemas/principals.py281 # only on USER rows. ORG-membership ``OrgRole.OWNER`` is theCOMMENT
LOWgpustack/schemas/cluster_access.py61class ClusterAccessPublic(SQLModel):COMMENT
LOWgpustack/schemas/model_usage.py41 api_key_id: Optional[int] = Field(default=None, sa_column=Column(Integer))COMMENT
LOWgpustack/schemas/organizations.py21COMMENT
LOWgpustack/schemas/model_routes.py81 # ``/principals``.COMMENT
LOWgpustack/api/tenant.py61 # The authenticated principal for this request. Can be any kindCOMMENT
LOWgpustack/api/tenant.py81 # USER-principal (personal scope) rather than an ORG-principal.COMMENT
LOWgpustack/worker/backends/vllm.py921 # Parse the Ray port range from configuration,COMMENT
LOWgpustack/worker/backends/base.py121#COMMENT
LOWgpustack/envs/__init__.py61 os.getenv("GPUSTACK_WORKER_ORPHAN_BENCHMARK_WORKLOAD_CLEANUP_GRACE_PERIOD", 300)COMMENT
LOWgpustack/envs/__init__.py181# the operating system's local timezone (resolved from ``TZ`` env var /COMMENT
LOWgpustack/envs/__init__.py201# short on environments with replication lag concerns; larger batches reduceCOMMENT
LOWgpustack/routes/auth.py141# full-page IdP redirect: a JSON exception raised inside them wouldCOMMENT
LOWgpustack/routes/auth.py481 if _saml_unsigned_escape_hatch(config):COMMENT
LOWgpustack/routes/resource_usage.py121 # Optional "filter by user" — restricts to these creator (principal) ids.COMMENT
LOWgpustack/routes/resource_usage.py681 group_member_ids=group_member_ids,COMMENT
LOWgpustack/routes/resource_usage.py741 group_cols.extend(gc)COMMENT
LOWgpustack/routes/models.py681 model_in_dict = model_in.model_dump(exclude={"enable_model_route"})COMMENT
LOWgpustack/routes/users.py261COMMENT
LOWgpustack/routes/inference_backend.py301COMMENT
LOWgpustack/routes/me_orgs.py81 group_pm.deleted_at.is_(None),COMMENT
LOWgpustack/routes/dashboard.py161COMMENT
LOWgpustack/routes/model_routes.py921 # the stale column.COMMENT
LOWgpustack/routes/model_routes.py941 if type_switched and field == "overridden_model_name":COMMENT
LOWgpustack/gateway/__init__.py341 # which share the ``ai-route-route-`` prefix. Other routes -- the gpustackCOMMENT
Verbosity Indicators12 hits · 22 pts
SeverityFileLineSnippetContext
LOWtests/websocket_proxy/test_server_federation.py378 # Step 1: Server1 connects to Server2 as peerCOMMENT
LOWtests/websocket_proxy/test_server_federation.py382 # Step 2: Connect a client to Server2 (not Server1)COMMENT
LOWtests/websocket_proxy/test_server_federation.py395 # Step 3: Server2 syncs its client to Server1 via peer connectionCOMMENT
LOWtests/websocket_proxy/test_server_federation.py400 # Step 4: Server1 disconnects from Server2COMMENT
LOWtests/websocket_proxy/test_server_federation.py404 # Step 5: Server1 should clean up clients synced from Server2COMMENT
LOWgpustack/scheduler/calculator.py914 # Step 1: Apply filters to reduce broadcast scopeCOMMENT
LOWgpustack/scheduler/calculator.py941 # Step 2: Broadcast to filtered workersCOMMENT
LOWgpustack/scheduler/calculator.py1022 # Step 1: Apply worker filters before broadcastingCOMMENT
LOWgpustack/scheduler/calculator.py1057 # Step 2: Broadcasting to filtered workersCOMMENT
LOW…es/candidate_selectors/sglang_resource_fit_selector.py1008 # Step 1: Use the minimum GPU memory of all workers to calculate _chunked_prefill_size and _cuda_graph_max_bs.COMMENT
LOW…es/candidate_selectors/sglang_resource_fit_selector.py1094 # Step 2: Calculate reserved memory by other configsCOMMENT
LOW…es/candidate_selectors/sglang_resource_fit_selector.py1146 # Step 3: adjust mem_fraction_static for VL modelsCOMMENT
Modern AI Meta-Vocabulary5 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMtests/routes/test_openai_routing.py56 # GPUStack would auto-orchestrate and the user's params would break it.COMMENT
MEDIUMgpustack/worker/serve_manager.py607 # Use the event-driven local cache instead of an API call.COMMENT
MEDIUMgpustack/assets/model-catalog-modelscope.yaml1852 # SGLang INT4 alternative (better for long agentic sessions via RadixAttention)COMMENT
MEDIUMgpustack/assets/model-catalog.yaml1720 # SGLang INT4 alternative (better for long agentic sessions via RadixAttention)COMMENT
MEDIUMgpustack/routes/models.py400 # GPUStack's auto-orchestration (it would register a gateway upstream theCOMMENT
AI Slop Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
LOWtests/worker/backends/test_backend.py883 # Script + command is None: just pass the args through under the script.COMMENT
LOWgpustack/server/cache.py155 # but for now we just use the class name and suffix for simplicity.COMMENT
MEDIUMgpustack/utils/hub.py538 # Return an empty dict here to facilitate special handling by upstream methods.COMMENT
MEDIUMgpustack/schemas/metered_usage.py121 # the collector's upsert is robust even when owner_principal_id / skuCOMMENT
MEDIUMgpustack/routes/worker/filesystem.py267 # 2. Path validation - use validate_path_security for robust securityCOMMENT
Overly Generic Function Names14 hits · 12 pts
SeverityFileLineSnippetContext
LOWtests/websocket_proxy/test_connection.py89 async def handle_request(reader, writer):CODE
LOWtests/websocket_proxy/test_proxy_server.py72 async def handle_request(reader, writer):CODE
LOWtests/websocket_proxy/test_proxy_server.py166 async def handle_request(reader, writer):CODE
LOWtests/websocket_proxy/test_proxy_server.py343 async def handle_request(reader, writer):CODE
LOWtests/websocket_proxy/test_proxy_server.py443 async def handle_request(reader, writer):CODE
LOWtests/websocket_proxy/test_websocket_bench.py86 async def handle_request(reader, writer):CODE
LOWtests/websocket_proxy/test_websocket_bench.py181 async def handle_request(reader, writer):CODE
LOWtests/websocket_proxy/test_websocket_bench.py277 async def handle_request(reader, writer):CODE
LOWtests/websocket_proxy/test_websocket_bench.py369 async def handle_request(reader, writer):CODE
LOWtests/websocket_proxy/test_websocket_bench.py458 async def handle_request(reader, writer):CODE
LOWtests/websocket_proxy/test_websocket_bench.py552 async def handle_request(reader, writer):CODE
LOWtests/websocket_proxy/test_websocket_bench.py648 async def handle_request(reader, writer):CODE
LOWtests/websocket_proxy/test_websocket_bench.py784 async def handle_request(reader, writer):CODE
LOWtests/websocket_proxy/test_websocket_bench.py914 async def handle_request(reader, writer):CODE
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtests/routes/test_model_routes.py226CODE
MEDIUMtests/routes/test_model_routes.py658CODE
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/utils/model.py33CODE
LOWgpustack/server/worker_request.py214CODE
LOWgpustack/routes/resource_usage.py1080CODE
LOWgpustack/routes/model_routes.py279CODE
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/cloud_providers/test_digital_ocean.py64 return DigitalOceanClient(token='dummy-token')CODE
LOWtests/api/test_auth.py435 AsyncMock(return_value={"email": "user@example.com", "name": "Test User"}),CODE
LOWdocs/image-selector/index.html148 <pre id="image-list" class="image-commands"><code class="placeholder"CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWhack/perf/plot_tps_comparison.py114# Example usageCOMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWgpustack/server/controllers.py3190 # sync targets will update model route record so make sure to do it before other operationsCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWgpustack/gateway/__init__.py464 # TODO: add validation in the futureCOMMENT