Stable Diffusion web UI
This report presents the forensic synthetic code analysis of AUTOMATIC1111/stable-diffusion-webui, a Python project with 164,240 GitHub stars. SynthScan v2.0 examined 54,662 lines of code across 296 source files, recording 696 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 14.1 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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 696 distinct pattern matches across 13 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 | extensions-builtin/SwinIR/scripts/swinir_model.py | 43 | except Exception as e: | CODE |
| LOW | extensions-builtin/SwinIR/scripts/swinir_model.py | 79 | except Exception: | CODE |
| LOW | …sing-for-training/scripts/postprocessing_focal_crop.py | 37 | except Exception: | CODE |
| LOW | extensions-builtin/ScuNET/scripts/scunet_model.py | 31 | except Exception: | CODE |
| LOW | extensions-builtin/ScuNET/scripts/scunet_model.py | 42 | except Exception as e: | CODE |
| LOW | extensions-builtin/Lora/networks.py | 325 | except Exception as e: | CODE |
| LOW | extensions-builtin/Lora/network.py | 39 | except Exception as e: | CODE |
| LOW | extensions-builtin/LDSR/sd_hijack_ddpm_v1.py | 453 | except Exception: | CODE |
| LOW | extensions-builtin/LDSR/ldsr_model_arch.py | 244 | except Exception: | CODE |
| LOW | extensions-builtin/LDSR/scripts/ldsr_model.py | 54 | except Exception: | CODE |
| MEDIUM | extensions-builtin/LDSR/scripts/ldsr_model.py | 51 | def do_upscale(self, img, path): | CODE |
| LOW | scripts/xyz_grid.py | 729 | except Exception as e: | CODE |
| LOW | scripts/prompts_from_file.py | 142 | except Exception: | CODE |
| LOW | modules/extras.py | 270 | except Exception as e: | STRING |
| LOW | modules/ui_extra_networks.py | 135 | except Exception as err: | CODE |
| LOW | modules/ui_extra_networks.py | 163 | except Exception as e: | CODE |
| LOW | modules/sd_hijack_optimizations.py | 162 | except Exception: | CODE |
| LOW⚡ | modules/sd_hijack_optimizations.py | 474 | except Exception as e: | CODE |
| LOW | modules/sd_models.py | 84 | except Exception as e: | CODE |
| LOW | modules/sd_models.py | 136 | except Exception: | CODE |
| LOW | modules/sd_models.py | 304 | except Exception: | CODE |
| LOW | modules/sd_models.py | 306 | except Exception: | CODE |
| LOW | modules/sd_models.py | 695 | except Exception as e: | CODE |
| LOW | modules/sd_models.py | 822 | except Exception as e: | CODE |
| LOW | modules/sd_models.py | 982 | except Exception: | CODE |
| LOW | modules/options.py | 166 | except Exception as e: | CODE |
| LOW | modules/options.py | 203 | except Exception: | CODE |
| MEDIUM | modules/options.py | 197 | def load(self, filename): | CODE |
| LOW | modules/gfpgan_model.py | 68 | except Exception: | CODE |
| LOW | modules/ui_loadsave.py | 32 | except Exception as e: | CODE |
| LOW⚡ | modules/script_callbacks.py | 258 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 266 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 274 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 284 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 294 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 302 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 310 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 318 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 326 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 334 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 342 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 350 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 358 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 366 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 374 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 382 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 390 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 398 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 408 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 420 | except Exception: | CODE |
| LOW⚡ | modules/script_callbacks.py | 430 | except Exception: | CODE |
| LOW | modules/xpu_specific.py | 9 | except Exception: | CODE |
| LOW | modules/logging_config.py | 21 | except Exception: | CODE |
| MEDIUM | modules/logging_config.py | 13 | def emit(self, record): | CODE |
| LOW | modules/safe.py | 147 | except Exception: | CODE |
| MEDIUM | modules/safe.py | 79 | def check_pt(filename, extra_handler): | CODE |
| LOW | modules/sd_hijack.py | 187 | except Exception as e: | CODE |
| MEDIUM | modules/sd_hijack.py | 184 | def apply_optimizations(self, option=None): | CODE |
| LOW | modules/ngrok.py | 25 | except Exception as e: | CODE |
| LOW | modules/util.py | 128 | except Exception: | CODE |
| 160 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | script.js | 111 | function scheduleAfterUiUpdateCallbacks() { | CODE |
| LOW | test/test_img2img.py | 54 | def test_inpainting_masked_performed(url_img2img, simple_img2img_request, mask_basic_image_base64): | CODE |
| LOW | test/test_img2img.py | 59 | def test_inpainting_with_inverted_masked_performed(url_img2img, simple_img2img_request, mask_basic_image_base64): | CODE |
| LOW | test/test_extras.py | 4 | def test_simple_upscaling_performed(base_url, img2img_basic_image_base64): | CODE |
| LOW | test/test_extras.py | 30 | def test_interrogate_performed(base_url, img2img_basic_image_base64): | CODE |
| LOW | extensions-builtin/Lora/ui_edit_user_metadata.py | 117 | def put_values_into_components(self, name): | CODE |
| LOW | extensions-builtin/Lora/ui_edit_user_metadata.py | 145 | def generate_random_prompt_from_tags(self, tags): | CODE |
| LOW | extensions-builtin/Lora/ui_edit_user_metadata.py | 160 | def create_extra_default_items_in_left_column(self): | CODE |
| LOW | extensions-builtin/Lora/ui_extra_networks_lora.py | 86 | def allowed_directories_for_previews(self): | CODE |
| LOW | extensions-builtin/Lora/ui_extra_networks_lora.py | 89 | def create_user_metadata_editor(self, ui, tabname): | CODE |
| LOW | extensions-builtin/Lora/networks.py | 56 | def convert_diffusers_name_to_compvis(key, is_sd2): | CODE |
| LOW | extensions-builtin/Lora/networks.py | 122 | def assign_network_names_to_compvis_modules(sd_model): | CODE |
| LOW | extensions-builtin/Lora/networks.py | 273 | def purge_networks_from_memory(): | CODE |
| LOW | extensions-builtin/Lora/networks.py | 369 | def allowed_layer_without_weight(layer): | CODE |
| LOW | extensions-builtin/Lora/networks.py | 391 | def network_restore_weights_from_backup(self: Union[torch.nn.Conv2d, torch.nn.Linear, torch.nn.GroupNorm, torch.nn.Layer | CODE |
| LOW | extensions-builtin/Lora/networks.py | 572 | def network_reset_cached_weight(self: Union[torch.nn.Conv2d, torch.nn.Linear]): | CODE |
| LOW | extensions-builtin/Lora/networks.py | 675 | def update_available_networks_by_names(names: list[str]): | CODE |
| LOW | …ons-builtin/soft-inpainting/scripts/soft_inpainting.py | 36 | def processing_uses_inpainting(p): | CODE |
| LOW | …ons-builtin/soft-inpainting/scripts/soft_inpainting.py | 247 | def weighted_histogram_filter(img, kernel, kernel_center, percentile_min=0.0, percentile_max=1.0, min_width=1.0): | CODE |
| LOW | …ons-builtin/soft-inpainting/scripts/soft_inpainting.py | 281 | def weighted_histogram_filter_single(idx): | CODE |
| LOW | extensions-builtin/LDSR/sd_hijack_ddpm_v1.py | 529 | def _get_denoise_row_from_list(self, samples, desc='', force_no_decoder_quantization=False): | CODE |
| LOW | extensions-builtin/LDSR/sd_hijack_ddpm_v1.py | 765 | def differentiable_decode_first_stage(self, z, predict_cids=False, force_not_quantize=False): | CODE |
| LOW | extensions-builtin/LDSR/ldsr_model_arch.py | 194 | def make_convolutional_sample(batch, model, custom_steps=None, eta=1.0, quantize_x0=False, custom_shape=None, temperatur | CODE |
| LOW | extensions-builtin/hypertile/hypertile.py | 222 | def largest_tile_size_available(width: int, height: int) -> int: | CODE |
| LOW | extensions-builtin/hypertile/hypertile.py | 234 | def iterative_closest_divisors(hw:int, aspect_ratio:float) -> tuple[int, int]: | CODE |
| LOW | scripts/postprocessing_upscale.py | 15 | def limit_size_by_one_dimention(w, h, limit): | CODE |
| LOW | scripts/postprocessing_upscale.py | 59 | def on_selected_upscale_method(upscale_method): | CODE |
| LOW | scripts/loopback.py | 50 | def calculate_denoising_strength(loop): | CODE |
| LOW | scripts/img2imgalt.py | 66 | def find_noise_for_image_sigma_adjustment(p, cond, uncond, cfg_scale, steps): | CODE |
| LOW | scripts/xyz_grid.py | 89 | def confirm_checkpoints_or_none(p, xs): | CODE |
| LOW | scripts/xyz_grid.py | 518 | def get_dropdown_update_from_params(axis, params): | CODE |
| LOW⚡ | javascript/ui.js | 130 | function setSubmitButtonsVisibility(tabname, showInterrupt, showSkip, showInterrupting) { | CODE |
| LOW⚡ | javascript/ui.js | 140 | function showSubmitInterruptingPlaceholder(tabname) { | CODE |
| LOW⚡ | javascript/ui.js | 144 | function showRestoreProgressButton(tabname, show) { | CODE |
| LOW | javascript/edit-attention.js | 14 | function selectCurrentParenthesisBlock(OPEN, CLOSE) { | CODE |
| LOW | javascript/ui_settings_hints.js | 42 | function settingsHintsShowQuicksettings() { | CODE |
| LOW | javascript/extraNetworks.js | 131 | function extraNetworksMovePromptToTab(tabname, id, showPrompt, showNegativePrompt) { | CODE |
| LOW | javascript/extraNetworks.js | 157 | function extraNetworksShowControlsForPage(tabname, tabname_full) { | CODE |
| LOW | javascript/extraNetworks.js | 165 | function extraNetworksUnrelatedTabSelected(tabname) { // called from python when user selects an unrelated tab (generate | CODE |
| LOW | javascript/extraNetworks.js | 209 | function tryToRemoveExtraNetworkFromPrompt(textarea, text, isNeg) { | CODE |
| LOW | javascript/extraNetworks.js | 279 | function extraNetworksSearchButton(tabname, extra_networks_tabname, event) { | CODE |
| LOW | javascript/extraNetworks.js | 288 | function extraNetworksTreeProcessFileClick(event, btn, tabname, extra_networks_tabname) { | CODE |
| LOW | javascript/extraNetworks.js | 301 | function extraNetworksTreeProcessDirectoryClick(event, btn, tabname, extra_networks_tabname) { | CODE |
| LOW | javascript/extraNetworks.js | 398 | function extraNetworksControlSortOnClick(event, tabname, extra_networks_tabname) { | CODE |
| LOW | javascript/extraNetworks.js | 413 | function extraNetworksControlSortDirOnClick(event, tabname, extra_networks_tabname) { | CODE |
| LOW | javascript/extraNetworks.js | 434 | function extraNetworksControlTreeViewOnClick(event, tabname, extra_networks_tabname) { | CODE |
| LOW | javascript/extraNetworks.js | 452 | function extraNetworksControlRefreshOnClick(event, tabname, extra_networks_tabname) { | CODE |
| LOW | javascript/extraNetworks.js | 510 | function extraNetworksFlattenMetadata(obj) { | CODE |
| LOW | javascript/extraNetworks.js | 561 | function extraNetworksShowMetadata(text) { | CODE |
| LOW | javascript/extraNetworks.js | 608 | function extraNetworksCopyCardPath(event) { | CODE |
| LOW | javascript/extraNetworks.js | 613 | function extraNetworksRequestMetadata(event, extraPage) { | CODE |
| LOW | javascript/extraNetworks.js | 633 | function extraNetworksEditUserMetadata(event, tabname, extraPage) { | CODE |
| LOW | javascript/extraNetworks.js | 656 | function extraNetworksRefreshSingleCard(page, tabname, name) { | CODE |
| LOW | javascript/extraNetworks.js | 691 | function scheduleAfterScriptsCallbacks() { | CODE |
| LOW | javascript/contextMenus.js | 76 | function addContextMenuEventListener() { | CODE |
| LOW | javascript/token-counters.js | 67 | function toggleTokenCountingVisibility(id, id_counter, id_button) { | CODE |
| LOW | modules/sd_models_xl.py | 55 | def encode_embedding_init_text(self: sgm.modules.GeneralConditioner, init_text, nvpt): | CODE |
| LOW | modules/sd_models_xl.py | 78 | def get_target_prompt_token_count(self, token_count): | CODE |
| LOW | modules/ui_extra_networks.py | 25 | def allowed_preview_extensions_with_extra(extra_extensions=None): | CODE |
| LOW | modules/ui_extra_networks.py | 29 | def allowed_preview_extensions(): | CODE |
| 150 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webui.py | 48 | CODE | |
| LOW | …extra-options-section/scripts/extra_options_section.py | 21 | CODE | |
| LOW | extensions-builtin/Lora/ui_edit_user_metadata.py | 21 | CODE | |
| LOW | extensions-builtin/Lora/ui_extra_networks_lora.py | 18 | CODE | |
| LOW | extensions-builtin/Lora/networks.py | 56 | CODE | |
| LOW | extensions-builtin/Lora/networks.py | 158 | CODE | |
| LOW | extensions-builtin/Lora/networks.py | 281 | CODE | |
| LOW | extensions-builtin/Lora/networks.py | 411 | CODE | |
| LOW | extensions-builtin/Lora/network.py | 112 | CODE | |
| LOW | extensions-builtin/Lora/network_lora.py | 34 | CODE | |
| LOW | extensions-builtin/LDSR/sd_hijack_ddpm_v1.py | 508 | CODE | |
| LOW | extensions-builtin/LDSR/sd_hijack_ddpm_v1.py | 653 | CODE | |
| LOW | extensions-builtin/LDSR/sd_hijack_ddpm_v1.py | 1244 | CODE | |
| LOW | extensions-builtin/LDSR/sd_hijack_ddpm_v1.py | 1395 | CODE | |
| LOW | extensions-builtin/hypertile/hypertile.py | 318 | CODE | |
| LOW | scripts/postprocessing_upscale.py | 30 | CODE | |
| LOW | scripts/loopback.py | 25 | CODE | |
| LOW | scripts/xyz_grid.py | 287 | CODE | |
| LOW | scripts/xyz_grid.py | 538 | CODE | |
| LOW | scripts/xyz_grid.py | 547 | CODE | |
| LOW | modules/extras.py | 88 | CODE | |
| LOW | modules/ui_extra_networks.py | 511 | CODE | |
| LOW | modules/sd_models.py | 284 | CODE | |
| LOW | modules/sd_models.py | 410 | CODE | |
| LOW | modules/sd_hijack_clip_old.py | 5 | CODE | |
| LOW | modules/ui_loadsave.py | 36 | CODE | |
| LOW | modules/ui_loadsave.py | 41 | CODE | |
| LOW | modules/script_callbacks.py | 150 | CODE | |
| LOW | modules/sd_hijack.py | 275 | CODE | |
| LOW | modules/sd_samplers_common.py | 37 | CODE | |
| LOW | modules/util.py | 31 | CODE | |
| LOW | modules/ui.py | 113 | CODE | |
| LOW | modules/ui.py | 253 | CODE | |
| LOW | modules/interrogate.py | 185 | CODE | |
| LOW | modules/modelloader.py | 44 | CODE | |
| LOW | modules/sd_samplers_kdiffusion.py | 79 | CODE | |
| LOW | modules/ui_checkpoint_merger.py | 30 | CODE | |
| LOW | modules/infotext_utils.py | 476 | CODE | |
| LOW | modules/infotext_utils.py | 477 | CODE | |
| LOW | modules/ui_common.py | 64 | CODE | |
| LOW | modules/ui_common.py | 164 | CODE | |
| LOW | modules/config_states.py | 18 | CODE | |
| LOW | modules/config_states.py | 146 | CODE | |
| LOW | modules/sd_hijack_clip.py | 81 | CODE | |
| LOW | modules/scripts_postprocessing.py | 172 | CODE | |
| LOW | modules/img2img.py | 20 | CODE | |
| LOW | modules/img2img.py | 152 | CODE | |
| LOW | modules/sd_samplers_extra.py | 7 | CODE | |
| LOW | modules/localization.py | 26 | CODE | |
| LOW | modules/extensions.py | 228 | CODE | |
| LOW | modules/face_restoration_utils.py | 58 | CODE | |
| LOW | modules/upscaler_utils.py | 51 | CODE | |
| LOW | modules/upscaler_utils.py | 91 | CODE | |
| LOW | modules/ui_postprocessing.py | 7 | CODE | |
| LOW | modules/images.py | 36 | CODE | |
| LOW | modules/images.py | 252 | CODE | |
| LOW | modules/images.py | 565 | CODE | |
| LOW | modules/images.py | 624 | CODE | |
| LOW | modules/images.py | 505 | CODE | |
| LOW | modules/styles.py | 132 | CODE | |
| 45 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webui.py | 1 | CODE | |
| LOW | test/conftest.py | 36 | CODE | |
| LOW | extensions-builtin/Lora/networks.py | 1 | CODE | |
| LOW | extensions-builtin/Lora/network.py | 1 | CODE | |
| LOW | extensions-builtin/Lora/scripts/lora_script.py | 8 | CODE | |
| LOW | extensions-builtin/LDSR/scripts/ldsr_model.py | 7 | CODE | |
| LOW | extensions-builtin/LDSR/scripts/ldsr_model.py | 8 | CODE | |
| LOW | extensions-builtin/hypertile/hypertile.py | 7 | CODE | |
| LOW | modules/sd_models_xl.py | 1 | CODE | |
| LOW | modules/sd_hijack_optimizations.py | 1 | CODE | |
| LOW | modules/sd_models.py | 133 | CODE | |
| LOW | modules/sd_emphasis.py | 1 | CODE | |
| LOW | modules/gfpgan_model.py | 1 | CODE | |
| LOW | modules/script_callbacks.py | 1 | CODE | |
| LOW | modules/xpu_specific.py | 7 | CODE | |
| LOW | modules/shared_cmd_options.py | 5 | CODE | |
| LOW | modules/shared_cmd_options.py | 5 | CODE | |
| LOW | modules/shared_cmd_options.py | 5 | CODE | |
| LOW | modules/shared_cmd_options.py | 5 | CODE | |
| LOW | modules/shared_cmd_options.py | 5 | CODE | |
| LOW | modules/shared_cmd_options.py | 5 | CODE | |
| LOW | modules/shared_cmd_options.py | 5 | CODE | |
| LOW | modules/paths.py | 3 | CODE | |
| LOW | modules/paths.py | 3 | CODE | |
| LOW | modules/paths.py | 3 | CODE | |
| LOW | modules/paths.py | 3 | CODE | |
| LOW | modules/paths.py | 3 | CODE | |
| LOW | modules/paths.py | 60 | CODE | |
| LOW | modules/shared_options.py | 5 | CODE | |
| LOW | modules/shared_options.py | 5 | CODE | |
| LOW | modules/shared_options.py | 5 | CODE | |
| LOW | modules/shared_options.py | 5 | CODE | |
| LOW | modules/shared_options.py | 5 | CODE | |
| LOW | modules/shared_options.py | 5 | CODE | |
| LOW | modules/shared_options.py | 5 | CODE | |
| LOW | modules/shared_options.py | 5 | CODE | |
| LOW | modules/sd_samplers.py | 1 | CODE | |
| LOW | modules/initialize.py | 15 | CODE | |
| LOW | modules/initialize.py | 17 | CODE | |
| LOW | modules/initialize.py | 23 | CODE | |
| LOW | modules/initialize.py | 26 | CODE | |
| LOW | modules/initialize.py | 26 | CODE | |
| LOW | modules/initialize.py | 26 | CODE | |
| LOW | modules/initialize.py | 29 | CODE | |
| LOW | modules/initialize.py | 32 | CODE | |
| LOW | modules/initialize.py | 39 | CODE | |
| LOW | modules/initialize.py | 39 | CODE | |
| LOW | modules/initialize.py | 39 | CODE | |
| LOW | modules/ui.py | 12 | CODE | |
| LOW | modules/ui.py | 13 | CODE | |
| LOW | modules/ui.py | 15 | CODE | |
| LOW | modules/modelloader.py | 1 | CODE | |
| LOW | modules/infotext_utils.py | 1 | CODE | |
| LOW | modules/codeformer_model.py | 1 | CODE | |
| LOW | modules/sd_models_types.py | 6 | CODE | |
| LOW | modules/shared.py | 7 | CODE | |
| LOW | modules/shared.py | 7 | CODE | |
| LOW | modules/shared.py | 7 | CODE | |
| LOW | modules/shared.py | 7 | CODE | |
| LOW | modules/shared.py | 7 | CODE | |
| 24 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | extensions-builtin/LDSR/sd_hijack_ddpm_v1.py | 45 | CODE | |
| LOW | extensions-builtin/LDSR/sd_hijack_ddpm_v1.py | 425 | CODE | |
| LOW | extensions-builtin/LDSR/sd_hijack_ddpm_v1.py | 1068 | CODE | |
| LOW | extensions-builtin/LDSR/sd_hijack_ddpm_v1.py | 1099 | CODE | |
| LOW | extensions-builtin/LDSR/sd_hijack_ddpm_v1.py | 1157 | CODE | |
| LOW | extensions-builtin/LDSR/sd_hijack_ddpm_v1.py | 1210 | CODE | |
| LOW | extensions-builtin/LDSR/sd_hijack_ddpm_v1.py | 1244 | CODE | |
| LOW | extensions-builtin/LDSR/ldsr_model_arch.py | 176 | CODE | |
| LOW | extensions-builtin/LDSR/ldsr_model_arch.py | 194 | CODE | |
| LOW | extensions-builtin/LDSR/sd_hijack_autoencoder.py | 21 | CODE | |
| LOW | scripts/postprocessing_upscale.py | 121 | CODE | |
| LOW | scripts/postprocessing_upscale.py | 131 | CODE | |
| LOW | scripts/custom_code.py | 15 | CODE | |
| LOW | scripts/loopback.py | 140 | CODE | |
| LOW | scripts/poor_mans_outpainting.py | 145 | CODE | |
| LOW | scripts/img2imgalt.py | 218 | CODE | |
| LOW | scripts/sd_upscale.py | 101 | CODE | |
| LOW | modules/options.py | 14 | CODE | |
| LOW | modules/safe.py | 20 | CODE | |
| LOW | modules/xlmr.py | 12 | CODE | |
| LOW | modules/xlmr.py | 82 | CODE | |
| LOW | modules/rng.py | 96 | CODE | |
| LOW | modules/sd_vae.py | 185 | CODE | |
| LOW | modules/extensions.py | 190 | CODE | |
| LOW | modules/upscaler_utils.py | 162 | CODE | |
| LOW | modules/images.py | 624 | CODE | |
| LOW | modules/sysinfo.py | 127 | CODE | |
| LOW | modules/xlmr_m18.py | 11 | CODE | |
| LOW | modules/xlmr_m18.py | 87 | CODE | |
| LOW | modules/processing.py | 517 | CODE | |
| LOW | modules/sd_samplers_timesteps_impl.py | 167 | CODE | |
| LOW | modules/hypernetworks/hypernetwork.py | 148 | CODE | |
| LOW | modules/models/diffusion/ddpm_edit.py | 54 | CODE | |
| LOW | modules/models/diffusion/ddpm_edit.py | 460 | CODE | |
| LOW | modules/models/diffusion/ddpm_edit.py | 1089 | CODE | |
| LOW | modules/models/diffusion/ddpm_edit.py | 1120 | CODE | |
| LOW | modules/models/diffusion/ddpm_edit.py | 1178 | CODE | |
| LOW | modules/models/diffusion/ddpm_edit.py | 1231 | CODE | |
| LOW | modules/models/diffusion/ddpm_edit.py | 1265 | CODE | |
| LOW | modules/models/diffusion/uni_pc/uni_pc.py | 373 | CODE | |
| LOW | modules/models/diffusion/uni_pc/uni_pc.py | 746 | CODE | |
| LOW | modules/models/diffusion/uni_pc/sampler.py | 30 | CODE | |
| LOW | modules/models/sd3/mmdit.py | 14 | CODE | |
| LOW | modules/models/sd3/mmdit.py | 191 | CODE | |
| LOW | modules/models/sd3/mmdit.py | 336 | CODE | |
| LOW | modules/models/sd3/mmdit.py | 472 | CODE | |
| LOW | modules/models/sd3/other_impls.py | 246 | CODE | |
| LOW | modules/models/sd3/sd3_impls.py | 306 | CODE | |
| LOW | modules/textual_inversion/dataset.py | 21 | CODE | |
| LOW | modules/textual_inversion/dataset.py | 33 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | modules/sd_models_types.py | 10 | """This class is not actually instantinated, but its fields are created and fieeld by webui""" | STRING |
| MEDIUM | modules/styles.py | 157 | # Create a list of all distinct paths, including the default path | COMMENT |
| MEDIUM | modules/processing.py | 367 | # Create the concatenated conditioning tensor to be fed to `c_concat` | COMMENT |
| MEDIUM | modules/models/sd3/mmdit.py | 1 | ### This file contains impls for MM-DiT, the core model component of SD3 | COMMENT |
| MEDIUM | modules/models/sd3/other_impls.py | 1 | ### This file contains impls for underlying related models (CLIP, T5, etc) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | modules/sd_models.py | 616 | sd_config.model.params.noise_aug_config.params.clip_stats_path = sd_config.model.params.noise_aug_config.params. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | modules/ui_settings.py | 325 | _js="function(v){ var res = desiredCheckpointName; desiredCheckpointName = ''; return [res || v, null]; }", | CODE |
| HIGH | modules/ui_settings.py | 325 | _js="function(v){ var res = desiredCheckpointName; desiredCheckpointName = ''; return [res || v, null]; }", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | extensions-builtin/SwinIR/scripts/swinir_model.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | extensions-builtin/hypertile/hypertile.py | 217 | def set_hypertile_seed(seed: int) -> None: | CODE |
| LOW | modules/gfpgan_model.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | modules/modelloader.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | modules/codeformer_model.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | modules/face_restoration_utils.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | modules/upscaler_utils.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | modules/textual_inversion/image_embedding.py | 12 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webui-user.sh | 1 | #!/bin/bash | COMMENT |
| LOW | webui-user.sh | 21 | # python3 venv without trailing slash (defaults to ${install_dir}/${clone_dir}/venv) | COMMENT |
| LOW | webui-user.sh | 41 | COMMENT | |
| LOW | extensions-builtin/LDSR/vqvae_quantize.py | 1 | # Vendored from https://raw.githubusercontent.com/CompVis/taming-transformers/24268930bf1dce879235a7fddd0b2355b84d7ea6/t | COMMENT |
| LOW | modules/sub_quadratic_attention.py | 1 | # original source: | COMMENT |
| LOW | modules/launch_utils.py | 321 | if args.use_ipex: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | extensions-builtin/LDSR/vqvae_quantize.py | 85 | inds[inds >= self.used.shape[0]] = 0 # simply set to zero | CODE |
| LOW | modules/ui_common.py | 28 | # if the json parse or anything else fails, just return the old html_info | COMMENT |
| LOW | modules/models/sd3/mmdit.py | 532 | # just use a buffer already | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/sd_hijack.py | 124 | #Check if we have weights available | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/ISSUE_TEMPLATE/bug_report.yml | 35 | > Please fill this form with as much information as possible. Don't forget to "Upload Sysinfo" and "What browser | CODE |