AI Slop Code RIsk Monitor

vladmandic/sdnext

SD.Next: All-in-one WebUI for AI generative image and video creation, captioning and processing

9.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for vladmandic/sdnext, a Python project with 7,350 GitHub stars. SynthScan examined 1,029,010 lines of code across 1526 source files, recording 6091 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 9.7 (Moderate pattern signal); it is not an authorship estimate.

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

9.7
Adjusted Signal
9.7
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
7.3K
Stars
Python
Language
1.0M
Lines of Code
1.5K
Files
6.1K
Pattern Hits
2026-10-12
Scan Date
0.42
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 13.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.1/100 · LOW

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

Agent Over-Engineering Ratio 31.8/100 · MEDIUM

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

PR Review Velocity Impact 41.0/100 · MEDIUM

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 3HIGH 643MEDIUM 767LOW 4678

Directory Score Breakdown

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

Pattern Findings

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

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

Decorative Section Separators647 hits · 2156 pts
SeverityFileLineSnippetContext
MEDIUMwebui.sh2# -------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMwebui.sh4# -------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/test-grading.py72# ============================================================COMMENT
MEDIUM⚡test/test-grading.py74# ============================================================COMMENT
MEDIUMtest/test-grading.py168# ============================================================COMMENT
MEDIUMtest/test-grading.py170# ============================================================COMMENT
MEDIUMtest/test-grading.py313# ============================================================COMMENT
MEDIUMtest/test-grading.py315# ============================================================COMMENT
MEDIUMtest/test-grading.py394# ============================================================COMMENT
MEDIUMtest/test-grading.py396# ============================================================COMMENT
MEDIUMtest/test-grading.py561# ============================================================COMMENT
MEDIUMtest/test-grading.py563# ============================================================COMMENT
MEDIUM⚡test/test-video-registry.py131# ============================================================COMMENT
MEDIUM⚡test/test-video-registry.py133# ============================================================COMMENT
MEDIUM⚡test/test-video-registry.py182# ============================================================COMMENT
MEDIUM⚡test/test-video-registry.py184# ============================================================COMMENT
MEDIUM⚡test/test-script-args.py109# ============================================================COMMENT
MEDIUM⚡test/test-script-args.py111# ============================================================COMMENT
MEDIUM⚡test/test-script-args.py159# ============================================================COMMENT
MEDIUM⚡test/test-script-args.py161# ============================================================COMMENT
MEDIUM⚡test/test-script-args.py201# ============================================================COMMENT
MEDIUM⚡test/test-script-args.py203# ============================================================COMMENT
MEDIUMtest/test-xyz-attention.py114# ============================================================COMMENT
MEDIUMtest/test-xyz-attention.py116# ============================================================COMMENT
MEDIUM⚡test/test-flux2-native-adapters.py106# ============================================================COMMENT
MEDIUM⚡test/test-flux2-native-adapters.py108# ============================================================COMMENT
MEDIUM⚡test/test-flux2-native-adapters.py653# ============================================================COMMENT
MEDIUM⚡test/test-flux2-native-adapters.py655# ============================================================COMMENT
MEDIUM⚡test/test-flux2-native-adapters.py1515# ============================================================COMMENT
MEDIUM⚡test/test-flux2-native-adapters.py1517# ============================================================COMMENT
MEDIUMtest/test-flux2-native-adapters.py64# ============================================================COMMENT
MEDIUMtest/test-flux2-native-adapters.py66# ============================================================COMMENT
MEDIUMtest/test-flux2-native-adapters.py228# ============================================================COMMENT
MEDIUMtest/test-flux2-native-adapters.py230# ============================================================COMMENT
MEDIUMtest/test-flux2-native-adapters.py591# ============================================================COMMENT
MEDIUMtest/test-flux2-native-adapters.py593# ============================================================COMMENT
MEDIUMtest/test-flux2-native-adapters.py834# ============================================================COMMENT
MEDIUMtest/test-flux2-native-adapters.py836# ============================================================COMMENT
MEDIUMtest/test-flux2-native-adapters.py1374# ============================================================COMMENT
MEDIUMtest/test-flux2-native-adapters.py1376# ============================================================COMMENT
MEDIUMtest/test-flux2-native-adapters.py1576# ============================================================COMMENT
MEDIUMtest/test-flux2-native-adapters.py1578# ============================================================COMMENT
MEDIUM⚡test/test-attention-sparse.py103# ============================================================COMMENT
MEDIUM⚡test/test-attention-sparse.py105# ============================================================COMMENT
MEDIUM⚡test/test-attention-sparse.py191# ============================================================COMMENT
MEDIUM⚡test/test-attention-sparse.py193# ============================================================COMMENT
MEDIUM⚡test/test-attention-sparse.py321# ============================================================COMMENT
MEDIUM⚡test/test-attention-sparse.py323# ============================================================COMMENT
MEDIUMtest/test-attention-sparse.py402# ============================================================COMMENT
MEDIUMtest/test-attention-sparse.py404# ============================================================COMMENT
MEDIUM⚡test/test-chroma-native-adapters.py127# ============================================================COMMENT
MEDIUM⚡test/test-chroma-native-adapters.py129# ============================================================COMMENT
MEDIUM⚡test/test-chroma-native-adapters.py295# ============================================================COMMENT
MEDIUM⚡test/test-chroma-native-adapters.py297# ============================================================COMMENT
MEDIUM⚡test/test-chroma-native-adapters.py523# ============================================================COMMENT
MEDIUM⚡test/test-chroma-native-adapters.py525# ============================================================COMMENT
MEDIUM⚡test/test-chroma-native-adapters.py567# ============================================================COMMENT
MEDIUM⚡test/test-chroma-native-adapters.py569# ============================================================COMMENT
MEDIUM⚡test/test-chroma-native-adapters.py998# ============================================================COMMENT
MEDIUM⚡test/test-chroma-native-adapters.py1000# ============================================================COMMENT
587 more matches not shown…
Cross-File Repetition365 hits · 1825 pts
SeverityFileLineSnippetContext
HIGHtest/test-chroma-native-adapters.py0empty container module - we attach children dynamically.STRING
HIGHtest/test-zimage-native-adapters.py0empty container module - we attach children dynamically.STRING
HIGHtest/test-ernie-native-adapters.py0empty container module - we attach children dynamically.STRING
HIGHtest/test-chroma-native-adapters.py0context manager: writes a state dict to a temp safetensors file.STRING
HIGHtest/test-minimax-native-adapters.py0context manager: writes a state dict to a temp safetensors file.STRING
HIGHtest/test-krea2-native-adapters.py0context manager: writes a state dict to a temp safetensors file.STRING
HIGHtest/test-ernie-native-adapters.py0context manager: writes a state dict to a temp safetensors file.STRING
HIGHtest/test-chroma-native-adapters.py0each family's markers reject other families' files.STRING
HIGHtest/test-zimage-native-adapters.py0each family's markers reject other families' files.STRING
HIGHtest/test-ernie-native-adapters.py0each family's markers reject other families' files.STRING
HIGHpipelines/krea2/pipeline_krea2_inpaint.py0set custom sigma schedule, return first sigma after scheduler shift.STRING
HIGHpipelines/anima/anima_image.py0set custom sigma schedule, return first sigma after scheduler shift.STRING
HIGHpipelines/ernie/ernie_image.py0set custom sigma schedule, return first sigma after scheduler shift.STRING
HIGHpipelines/bria/transformer_block.py0the transformer model introduced in flux with yarn support. reference: https://blackforestlabs.ai/announcing-black-foresSTRING
HIGHpipelines/step1x/transformer_step1x_edit.py0the transformer model introduced in flux with yarn support. reference: https://blackforestlabs.ai/announcing-black-foresSTRING
HIGHpipelines/ultraflux/transformer_flux.py0the transformer model introduced in flux with yarn support. reference: https://blackforestlabs.ai/announcing-black-foresSTRING
HIGHpipelines/bria/transformer_block.py0returns: `dict` of attention processors: a dictionary containing all attention processors used in the model with indexedSTRING
HIGHpipelines/meissonic/transformer.py0returns: `dict` of attention processors: a dictionary containing all attention processors used in the model with indexedSTRING
HIGHpipelines/ultraflux/autoencoder_kl.py0returns: `dict` of attention processors: a dictionary containing all attention processors used in the model with indexedSTRING
HIGHscripts/consistory/consistory_unet_sdxl.py0returns: `dict` of attention processors: a dictionary containing all attention processors used in the model with indexedSTRING
HIGHscripts/instantir/aggregator.py0returns: `dict` of attention processors: a dictionary containing all attention processors used in the model with indexedSTRING
HIGHscripts/pixelsmith/autoencoder_kl.py0returns: `dict` of attention processors: a dictionary containing all attention processors used in the model with indexedSTRING
HIGHmodules/control/units/xs_model.py0returns: `dict` of attention processors: a dictionary containing all attention processors used in the model with indexedSTRING
HIGHpipelines/bria/transformer_block.py0sets the attention processor to use to compute attention. parameters: processor (`dict` of `attentionprocessor` or only STRING
HIGHpipelines/meissonic/transformer.py0sets the attention processor to use to compute attention. parameters: processor (`dict` of `attentionprocessor` or only STRING
HIGHpipelines/ultraflux/autoencoder_kl.py0sets the attention processor to use to compute attention. parameters: processor (`dict` of `attentionprocessor` or only STRING
HIGHscripts/consistory/consistory_unet_sdxl.py0sets the attention processor to use to compute attention. parameters: processor (`dict` of `attentionprocessor` or only STRING
HIGHscripts/instantir/aggregator.py0sets the attention processor to use to compute attention. parameters: processor (`dict` of `attentionprocessor` or only STRING
HIGHscripts/pixelsmith/autoencoder_kl.py0sets the attention processor to use to compute attention. parameters: processor (`dict` of `attentionprocessor` or only STRING
HIGHmodules/control/units/xs_model.py0sets the attention processor to use to compute attention. parameters: processor (`dict` of `attentionprocessor` or only STRING
HIGHpipelines/bria/transformer_block.py0enables fused qkv projections. for self-attention modules, all projection matrices (i.e., query, key, value) are fused. STRING
HIGHpipelines/meissonic/transformer.py0enables fused qkv projections. for self-attention modules, all projection matrices (i.e., query, key, value) are fused. STRING
HIGHpipelines/ultraflux/autoencoder_kl.py0enables fused qkv projections. for self-attention modules, all projection matrices (i.e., query, key, value) are fused. STRING
HIGHscripts/pixelsmith/autoencoder_kl.py0enables fused qkv projections. for self-attention modules, all projection matrices (i.e., query, key, value) are fused. STRING
HIGHpipelines/bria/transformer_block.py0disables the fused qkv projection if enabled. <tip warning={true}> this api is 🧪 experimental. </tip>STRING
HIGHpipelines/meissonic/transformer.py0disables the fused qkv projection if enabled. <tip warning={true}> this api is 🧪 experimental. </tip>STRING
HIGHpipelines/ultraflux/autoencoder_kl.py0disables the fused qkv projection if enabled. <tip warning={true}> this api is 🧪 experimental. </tip>STRING
HIGHscripts/pixelsmith/autoencoder_kl.py0disables the fused qkv projection if enabled. <tip warning={true}> this api is 🧪 experimental. </tip>STRING
HIGHpipelines/bria/transformer_block.py0the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, hSTRING
HIGHpipelines/xomni/modeling_siglip_flux.py0the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, hSTRING
HIGHpipelines/ultraflux/transformer_flux.py0the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, hSTRING
HIGHpipelines/bria/transformer_bria.py0the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, hSTRING
HIGHpipelines/meissonic/transformer.py0the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, hSTRING
HIGHmodules/teacache/teacache_flux.py0the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, hSTRING
HIGHpipelines/step1x/transformer_step1x_edit.py0the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, hSTRING
HIGHmodules/teacache/teacache_chroma.py0the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, hSTRING
HIGHmodules/ras/ras_forward.py0the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, hSTRING
HIGHpipelines/bria/bria_pipeline.py0function invoked when calling the pipeline for generation. args: prompt (`str` or `list[str]`, *optional*): the prompt oSTRING
HIGHpipelines/xomni/modeling_siglip_flux.py0function invoked when calling the pipeline for generation. args: prompt (`str` or `list[str]`, *optional*): the prompt oSTRING
HIGHmodules/cfgzero/flux_pipeline.py0function invoked when calling the pipeline for generation. args: prompt (`str` or `list[str]`, *optional*): the prompt oSTRING
HIGHpipelines/hidream/hidream_e1.py0function invoked when calling the pipeline for generation. args: prompt (`str` or `list[str]`, *optional*): the prompt oSTRING
HIGHpipelines/ultraflux/pipeline_flux.py0function invoked when calling the pipeline for generation. args: prompt (`str` or `list[str]`, *optional*): the prompt oSTRING
HIGHpipelines/mageflow/pipeline_output.py0output class for flitepipeline pipeline. args: images (`list[pil.image.image]` or `np.ndarray`) list of denoised pil imaSTRING
HIGHpipelines/step1x/pipeline_output.py0output class for flitepipeline pipeline. args: images (`list[pil.image.image]` or `np.ndarray`) list of denoised pil imaSTRING
HIGHpipelines/f_lite/pipeline.py0output class for flitepipeline pipeline. args: images (`list[pil.image.image]` or `np.ndarray`) list of denoised pil imaSTRING
HIGHpipelines/mageflow/pipeline_mage_flow.py0calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom tSTRING
HIGHpipelines/omnigen2/pipeline_omnigen2.py0calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom tSTRING
HIGHpipelines/step1x/pipeline_step1x_edit.py0calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom tSTRING
HIGHpipelines/hidream/hidream_e1.py0calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom tSTRING
HIGHpipelines/ultraflux/pipeline_flux.py0calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom tSTRING
305 more matches not shown…
Excessive Try-Catch Wrapping1273 hits · 1317 pts
SeverityFileLineSnippetContext
LOWwebui.py114 except Exception as e:CODE
LOWwebui.py175 except Exception:CODE
LOWwebui.py275 except Exception:CODE
LOWwebui.py285 except Exception:CODE
LOWwebui.py307 except Exception:CODE
MEDIUMinstaller.py151def package_version(package):CODE
MEDIUMinstaller.py158def package_spec(package):CODE
MEDIUMinstaller.py171def package_commit(spec):CODE
MEDIUMinstaller.py494def get_platform():CODE
MEDIUMinstaller.py1632def try_relpath(p):CODE
MEDIUMinstaller.py1825def update_state():CODE
LOW⚡installer.py154 except Exception:CODE
LOW⚡installer.py161 except Exception:CODE
LOW⚡installer.py164 except Exception:CODE
LOW⚡installer.py167 except Exception:CODE
LOW⚡installer.py175 except Exception:CODE
LOW⚡installer.py1079 except Exception as e:CODE
LOW⚡installer.py1088 except Exception as e:CODE
LOW⚡installer.py1095 except Exception as e:CODE
LOWinstaller.py101except Exception:CODE
LOWinstaller.py216 except Exception as e:CODE
LOWinstaller.py300 except Exception:CODE
LOWinstaller.py412 except Exception:CODE
LOWinstaller.py447 except Exception:CODE
LOWinstaller.py514 except Exception as e:CODE
LOWinstaller.py706 except Exception as e:CODE
LOWinstaller.py753 except Exception as e:CODE
LOWinstaller.py758 except Exception as e:CODE
LOWinstaller.py863 except Exception as e:CODE
LOWinstaller.py1001 except Exception:CODE
LOWinstaller.py1007 except Exception:CODE
LOWinstaller.py1028 except Exception as e:CODE
LOWinstaller.py1056 except Exception as e:CODE
LOWinstaller.py1128 except Exception:CODE
LOWinstaller.py1157 except Exception as e:CODE
LOWinstaller.py1222 except Exception:CODE
LOWinstaller.py1237 except Exception as e:CODE
LOWinstaller.py1277 except Exception:CODE
LOWinstaller.py1507 except Exception:CODE
LOWinstaller.py1514 except Exception as e:CODE
LOWinstaller.py1533 except Exception as e:CODE
LOWinstaller.py1543 except Exception as e:CODE
LOWinstaller.py1556 except Exception as e:CODE
LOWinstaller.py1567 except Exception as e:CODE
LOWinstaller.py1598 except Exception as e:CODE
LOWinstaller.py1626 except Exception as e:CODE
LOWinstaller.py1658 except Exception as e:CODE
LOWinstaller.py1708 except Exception as e:CODE
LOWinstaller.py1739 except Exception:CODE
LOWinstaller.py1750 except Exception as e:CODE
LOWinstaller.py1761 except Exception:CODE
LOWinstaller.py1783 except Exception:CODE
LOWinstaller.py1800 except Exception:CODE
LOWinstaller.py1807 except Exception:CODE
LOWinstaller.py1821 except Exception:CODE
LOWinstaller.py1833 except Exception as e:CODE
LOWinstaller.py1896 except Exception:CODE
LOWinstaller.py1933 except Exception as e:CODE
LOWinstaller.py1942 except Exception as e:CODE
LOWlaunch.py34except Exception:CODE
1213 more matches not shown…
Hyper-Verbose Identifiers1301 hits · 1056 pts
SeverityFileLineSnippetContext
LOWui/extraNetworks.ts202async function filterExtraNetworksForTab(searchTerm) {CODE
LOWui/extraNetworks.ts310function tryToRemoveExtraNetworkFromPrompt(textarea, text) {CODE
LOWui/extraNetworks.ts416function extraNetworksSearchButton(event) {CODE
LOWui/extraNetworks.ts429function extraNetworksFilterVersion(event) {CODE
LOWui/editAttention.ts15 function selectCurrentParenthesisBlock(OPEN: string, CLOSE: string): boolean {CODE
LOWui/contextMenus.ts76 async function addContextMenuEventListener(): Promise<void> {CODE
LOWui/gallery.ts108function updateGallerySelectionClasses(files = gallerySelection.files, index = gallerySelection.index) {CODE
LOWui/gallery.ts147function setGallerySelectionByElement(element, options) {CODE
LOWui/script.ts131function scheduleAfterUiUpdateCallbacks() {CODE
LOWui/ui.ts674function consumeDesiredCheckpointName(v) {CODE
LOWui/ui.ts720function currentImageResolutioncontrol(_a, _b, scaleBy) {CODE
LOWui/js/iframeResizer.js89 function setupRequestAnimationFrame() {CODE
LOWtest/test-krea2-transformer.py116def load_materialize_zero_init():CODE
LOWtest/test-krea2-transformer.py155def run_dense_prompt_compaction_test():CODE
LOWtest/test-krea2-transformer.py185def run_attention_mask_none_forward_test(port):CODE
LOWtest/test-krea2-transformer.py255def run_comfy_quant_real_file():CODE
LOW⚡test/test-grading.py76def test_grading_params_defaults():CODE
LOWtest/test-grading.py114def test_grading_float_coercion():CODE
LOWtest/test-grading.py230def test_apply_shadows_midtones_highlights():CODE
LOWtest/test-grading.py248def test_grade_image_pipeline():CODE
LOWtest/test-grading.py287def test_grade_image_edge_cases():CODE
LOWtest/test-grading.py433def test_correction_early_clamp():CODE
LOWtest/test-grading.py446def test_correction_mid_color():CODE
LOWtest/test-grading.py462def test_correction_late_brightness():CODE
LOWtest/test-grading.py500def test_correction_multichannel():CODE
LOWtest/test-grading.py520def test_correction_shape_preservation():CODE
LOWtest/test-grading.py537def test_correction_step_ranges():CODE
LOW⚡test/test-video-registry.py135def test_registry_is_populated():CODE
LOW⚡test/test-video-registry.py140def test_sentinels_name_no_model():CODE
LOW⚡test/test-video-registry.py146def test_accessors_exclude_sentinels():CODE
LOW⚡test/test-video-registry.py155def test_find_rejects_sentinels():CODE
LOW⚡test/test-video-registry.py160def test_find_is_case_insensitive():CODE
LOW⚡test/test-video-registry.py167def test_find_rejects_unknown_names():CODE
LOW⚡test/test-video-registry.py174def test_rows_are_unique_within_an_engine():CODE
LOW⚡test/test-video-registry.py186def test_every_row_classifies():CODE
LOW⚡test/test-video-registry.py192def test_mode_matches_the_ladder_it_replaced():CODE
LOW⚡test/test-video-registry.py240def test_mode_resolves_from_a_class_object():CODE
LOW⚡test/test-video-registry.py248def test_mode_resolves_a_custom_pipeline():CODE
LOW⚡test/test-video-registry.py253def test_missing_row_is_unknown():CODE
LOW⚡test/test-video-registry.py258def test_class_table_has_no_stale_entries():CODE
LOWtest/test-video-registry.py203def test_the_ladder_blind_spot_is_the_condition_rows():CODE
LOWtest/test-video-registry.py210def test_named_modes_win_over_the_pipeline_class():CODE
LOWtest/test-video-registry.py226def test_workflow_rows_report_workflow():CODE
LOW⚡test/test-ltx-core.py127def test_core_takes_only_model_positionally():CODE
LOW⚡test/test-ltx-core.py134def test_core_parameter_names():CODE
LOW⚡test/test-ltx-core.py141def test_core_returns_video_result():CODE
LOW⚡test/test-ltx-core.py147def test_adapter_signature_is_frozen():CODE
LOW⚡test/test-ltx-core.py154def test_adapter_still_absorbs_extra_arguments():CODE
LOW⚡test/test-ltx-core.py162def test_adapter_is_a_generator():CODE
LOW⚡test/test-ltx-core.py184def test_empty_model_rejected_before_load():CODE
LOW⚡test/test-ltx-core.py191def test_separator_rejected_before_load():CODE
LOW⚡test/test-ltx-core.py198def test_missing_av_rejected_before_load():CODE
LOW⚡test/test-ltx-core.py268def test_adapter_yields_the_video_path_on_success():CODE
LOW⚡test/test-ltx-core.py287def test_adapter_renames_into_the_core():CODE
LOW⚡test/test-ltx-core.py309def test_adapter_reports_a_typed_failure_as_text():CODE
LOW⚡test/test-ltx-core.py325def test_open_condition_does_not_read_paths():CODE
LOW⚡test/test-ltx-core.py338def test_open_condition_passes_images_through():CODE
LOW⚡test/test-ltx-core.py346def test_pixel_size_over_both_frame_shapes():CODE
LOW⚡test/test-ltx-core.py355def test_pixel_size_falls_back_when_nothing_decoded():CODE
LOW⚡test/test-ltx-core.py362def test_phase_ends_its_job_when_the_body_raises():CODE
1241 more matches not shown…
Empty Error Handlers208 hits · 1040 pts
SeverityFileLineSnippetContext
HIGHwebui.py307except Exception:CODE
HIGHwebui.py175except Exception:CODE
HIGHinstaller.py300except Exception:CODE
HIGHinstaller.py447except Exception:CODE
HIGHinstaller.py1128except Exception:CODE
HIGHinstaller.py1783except Exception:CODE
HIGHinstaller.py1807except Exception:CODE
HIGHinstaller.py1001except Exception:CODE
HIGHinstaller.py1007except Exception:CODE
HIGHinstaller.py1507except Exception:CODE
HIGHlaunch.py245except Exception:CODE
HIGHlaunch.py182except Exception:CODE
HIGHtest/test-ltx-core.py224except RuntimeError:CODE
HIGHtest/test-ltx-core.py368except RuntimeError:CODE
HIGHtest/test-samplers-api.py279except (ValueError, TypeError):CODE
HIGHtest/test-samplers-api.py292except ValueError:CODE
HIGHtest/test-pdd.py501except AttributeError:CODE
HIGHtest/test-attention-router.py523except RuntimeError:CODE
HIGHtest/test-native-transformer.py1060except nt.OverrideArchMismatch:CODE
HIGHtest/test-video-api.py74except Exception:CODE
HIGHtest/test-video-api.py90except Exception:CODE
HIGHpipelines/generic_text_encoder.py217except Exception:CODE
HIGHpipelines/generic_transformer.py206except Exception:CODE
HIGHpipelines/segmoe/segmoe_model.py854except Exception:CODE
HIGHpipelines/flux/flux2_lora.py394except Exception:CODE
HIGHpipelines/z_image/zimage_lora.py76except Exception:CODE
HIGHpipelines/hidream/hidream_o1.py36except ImportError:CODE
HIGHpipelines/lumina_dimmo/lumina_dimoo.py682except ModuleNotFoundError:CODE
HIGHpipelines/ultraflux/pipeline_flux.py737except (ValueError, TypeError):CODE
HIGHpipelines/boogu/pipeline_boogu.py419except TypeError:CODE
HIGHpipelines/boogu/pipeline_boogu_turbo.py367except TypeError:CODE
HIGHcli/api-video.py44except Exception:CODE
HIGHcli/image-exif.py105except Exception:CODE
HIGHcli/image-exif.py40except Exception:CODE
HIGHcli/image-exif.py79except Exception:CODE
HIGHcli/util.py68except Exception:CODE
HIGHcli/api-control.py57except Exception:CODE
HIGHcli/model-keys.py22except Exception:CODE
HIGHcli/model-keys.py36except Exception:CODE
HIGHcli/model-metadata.py26except Exception:CODE
HIGHcli/sdnq-attention-benchmark.py480except Exception:CODE
HIGHcli/sdnq-attention-benchmark.py491except Exception:CODE
HIGHcli/sdnq-attention-benchmark.py439except OSError:CODE
HIGHcli/sdnq-attention-benchmark.py1163except Exception:CODE
HIGHcli/sdnq-attention-benchmark.py1862except Exception:CODE
HIGHcli/sdnq-attention-benchmark.py1664except Exception:CODE
HIGHcli/sdnq-attention-benchmark.py1642except Exception:CODE
HIGHcli/image-watermark.py29except Exception:CODE
HIGHcli/image-watermark.py35except Exception:CODE
HIGHcli/image-search.py185except Exception as _e:CODE
HIGHcli/image-search.py163except Exception:CODE
HIGHcli/sdapi.py167except Exception:CODE
HIGHcli/api-watermark.py54except Exception:CODE
HIGHcli/lora-quant-fidelity.py234except Exception:CODE
HIGHscripts/ultimate-upscale.py465except Exception:CODE
HIGHscripts/daam/heatmap.py140except ValueError:CODE
HIGHscripts/daam/heatmap.py151except ValueError:CODE
HIGHscripts/daam/experiment.py202except FileNotFoundError:CODE
HIGHscripts/daam/experiment.py254except Exception:CODE
HIGHscripts/daam/experiment.py331except Exception:CODE
148 more matches not shown…
Deep Nesting894 hits · 834 pts
SeverityFileLineSnippetContext
LOWwebui.py386CODE
LOWinstaller.py180CODE
LOWinstaller.py236CODE
LOWinstaller.py284CODE
LOWinstaller.py368CODE
LOWinstaller.py519CODE
LOWinstaller.py697CODE
LOWinstaller.py882CODE
LOWinstaller.py930CODE
LOWinstaller.py1174CODE
LOWinstaller.py1377CODE
LOWinstaller.py1473CODE
LOWinstaller.py1502CODE
LOWinstaller.py1575CODE
LOWinstaller.py1603CODE
LOWinstaller.py1631CODE
LOWinstaller.py1664CODE
LOWinstaller.py1767CODE
LOWinstaller.py1924CODE
LOWlaunch.py166CODE
LOWtest/test-refiner-prompt-restore.py33CODE
LOWtest/test-schedulers.py33CODE
LOWtest/test-schedulers.py152CODE
LOWtest/test-sdnq-lora-factors.py1223CODE
LOWtest/test-sdnq-lora-factors.py1476CODE
LOWtest/test-sdnq-lora-factors.py2216CODE
LOWtest/test-sdnq-lora-factors.py2259CODE
LOWtest/test-sdnq-lora-factors.py2750CODE
LOWtest/test-tagger.py489CODE
LOWtest/test-attention-router.py179CODE
LOWtest/test-compile.py45CODE
LOWtest/test-compile.py68CODE
LOWtest/test-compile.py115CODE
LOWtest/test-compile.py149CODE
LOWtest/benchmark_attention.py58CODE
LOWtest/test-caption-api.py214CODE
LOWtest/test-caption-api.py277CODE
LOWtest/test-caption-api.py289CODE
LOWtest/test-caption-api.py326CODE
LOWtest/test-caption-api.py339CODE
LOWtest/test-caption-api.py553CODE
LOWtest/test-caption-api.py785CODE
LOWtest/test-caption-api.py849CODE
LOWtest/test-caption-api.py1122CODE
LOWtest/test-caption-api.py1360CODE
LOWtest/test-caption-api.py1744CODE
LOWtest/test-caption-api.py1825CODE
LOWtest/test-caption-api.py1894CODE
LOWtest/test-caption-api.py2504CODE
LOWtest/test-caption-api.py2630CODE
LOWtest/test-offload-roles.py617CODE
LOWtest/test-video-references.py165CODE
LOWtest/test-reference.py79CODE
LOWpipelines/model_hidream.py94CODE
LOWpipelines/generic_text_encoder.py14CODE
LOWpipelines/generic_text_encoder.py87CODE
LOWpipelines/model_google.py74CODE
LOWpipelines/generic_test.py8CODE
LOWpipelines/native_transformer.py709CODE
LOWpipelines/native_transformer.py807CODE
834 more matches not shown…
Unused Imports523 hits · 492 pts
SeverityFileLineSnippetContext
LOWinstaller.py1990CODE
LOWtest/test-chroma-native-adapters.py77CODE
LOWtest/test-chroma-native-adapters.py78CODE
LOWtest/test-chroma-native-adapters.py81CODE
LOWtest/test-anima-native-adapters.py80CODE
LOWtest/test-anima-native-adapters.py84CODE
LOWtest/test-pdd.py46CODE
LOWtest/test-qwen21-native-adapters.py64CODE
LOWtest/test-attention-sdnq-sparse.py104CODE
LOWtest/test-video-references.py58CODE
LOWtest/test-video-references.py193CODE
LOWtest/test-krea2-native-adapters.py65CODE
LOWtest/test-zimage-native-adapters.py64CODE
LOWtest/test-zimage-native-adapters.py68CODE
LOWtest/test-ernie-native-adapters.py66CODE
LOWtest/test-ernie-native-adapters.py70CODE
LOWpipelines/model_nextstep.py2CODE
LOWpipelines/model_nextstep.py2CODE
LOWpipelines/model_nextstep.py2CODE
LOWpipelines/model_nextstep.py4CODE
LOWpipelines/generic.py1CODE
LOWpipelines/generic.py2CODE
LOWpipelines/generic.py3CODE
LOWpipelines/generic.py4CODE
LOWpipelines/generic.py4CODE
LOWpipelines/generic.py5CODE
LOWpipelines/generic_test.py4CODE
LOWpipelines/segmoe/segmoe_model.py3CODE
LOWpipelines/segmoe/segmoe_model.py3CODE
LOWpipelines/qwen/__init__.py16CODE
LOWpipelines/qwen/__init__.py17CODE
LOWpipelines/sefi/__init__.py3CODE
LOWpipelines/zetachroma/__init__.py1CODE
LOWpipelines/zetachroma/__init__.py1CODE
LOWpipelines/zetachroma/__init__.py1CODE
LOWpipelines/zetachroma/__init__.py1CODE
LOWpipelines/zetachroma/__init__.py1CODE
LOWpipelines/zetachroma/__init__.py8CODE
LOWpipelines/zetachroma/__init__.py8CODE
LOWpipelines/lens/reasoner.py17CODE
LOWpipelines/lens/__init__.py6CODE
LOWpipelines/lens/__init__.py8CODE
LOWpipelines/lens/__init__.py9CODE
LOWpipelines/lens/__init__.py9CODE
LOWpipelines/lens/text_encoder.py15CODE
LOWpipelines/lens/pipeline_image.py8CODE
LOWpipelines/lens/transformer.py7CODE
LOWpipelines/lens/pipeline.py9CODE
LOWpipelines/lens/resolution.py8CODE
LOWpipelines/omnigen2/__init__.py1CODE
LOWpipelines/omnigen2/__init__.py2CODE
LOWpipelines/omnigen2/__init__.py3CODE
LOWpipelines/omnigen2/pipeline_omnigen2.py43CODE
LOWpipelines/omnigen2/models/attention_processor.py19CODE
LOWpipelines/omnigen2/models/attention_processor.py21CODE
LOWpipelines/omnigen2/models/attention_processor.py21CODE
LOWpipelines/omnigen2/models/attention_processor.py21CODE
LOWpipelines/omnigen2/models/attention_processor.py25CODE
LOWpipelines/omnigen2/models/embeddings.py14CODE
LOWpipelines/omnigen2/models/embeddings.py14CODE
463 more matches not shown…
AI Structural Patterns440 hits · 428 pts
SeverityFileLineSnippetContext
LOWpipelines/generic_text_encoder.py87CODE
LOWpipelines/model_hyimage.py87CODE
LOWpipelines/native_transformer.py229CODE
LOWpipelines/model_stablecascade.py184CODE
LOWpipelines/generic_transformer.py12CODE
LOWpipelines/model_xomni.py53CODE
LOWpipelines/krea2/pipeline_krea2.py155CODE
LOWpipelines/krea2/pipeline_krea2_inpaint.py56CODE
LOWpipelines/krea2/transformer_krea2.py254CODE
LOWpipelines/bria/transformer_block.py234CODE
LOWpipelines/bria/transformer_block.py391CODE
LOWpipelines/bria/transformer_bria.py76CODE
LOWpipelines/bria/transformer_bria.py142CODE
LOWpipelines/bria/bria_pipeline.py112CODE
LOWpipelines/bria/bria_pipeline.py238CODE
LOWpipelines/anima/anima_image.py40CODE
LOWpipelines/anima/anima_image.py85CODE
LOWpipelines/anima/modeling_llm_adapter.py146CODE
LOWpipelines/anima/pipeline.py132CODE
LOWpipelines/anima/pipeline.py217CODE
LOWpipelines/ideogram/ideogram4.py510CODE
LOWpipelines/ideogram/patch_qwen.py9CODE
LOWpipelines/sefi/pipeline_sefi.py109CODE
LOWpipelines/sefi/pipeline_sefi.py447CODE
LOWpipelines/sefi/transformer_sefi.py117CODE
LOWpipelines/zetachroma/model.py688CODE
LOWpipelines/zetachroma/model.py304CODE
LOWpipelines/zetachroma/pipeline.py59CODE
LOWpipelines/zetachroma/pipeline.py222CODE
LOWpipelines/lens/pipeline_image.py110CODE
LOWpipelines/lens/pipeline_image.py184CODE
LOWpipelines/lens/transformer.py386CODE
LOWpipelines/lens/pipeline.py210CODE
LOWpipelines/lens/pipeline.py435CODE
LOWpipelines/mageflow/pipeline_mage_flow.py392CODE
LOWpipelines/mageflow/autoencoder_mage_vae.py424CODE
LOWpipelines/mageflow/autoencoder_mage_vae.py510CODE
LOWpipelines/mageflow/autoencoder_mage_vae.py635CODE
LOWpipelines/mageflow/transformer_mage_flow.py307CODE
LOWpipelines/mageflow/transformer_mage_flow.py517CODE
LOWpipelines/omnigen2/image_processor.py48CODE
LOWpipelines/omnigen2/pipeline_omnigen2.py337CODE
LOWpipelines/omnigen2/pipeline_omnigen2.py452CODE
LOW…s/omnigen2/models/transformers/transformer_omnigen2.py206CODE
LOWpipelines/step1x/transformer_step1x_edit.py159CODE
LOWpipelines/step1x/transformer_step1x_edit.py408CODE
LOWpipelines/step1x/transformer_step1x_edit.py944CODE
LOWpipelines/step1x/transformer_step1x_edit.py1010CODE
LOWpipelines/step1x/pipeline_step1x_edit.py567CODE
LOWpipelines/step1x/pipeline_step1x_edit.py704CODE
LOWpipelines/xomni/modeling_vit.py193CODE
LOWpipelines/xomni/modeling_vit.py251CODE
LOWpipelines/xomni/modeling_xomni.py246CODE
LOWpipelines/xomni/modeling_siglip_flux.py237CODE
LOWpipelines/xomni/modeling_siglip_flux.py29CODE
LOWpipelines/xomni/modeling_siglip_flux.py66CODE
LOWpipelines/xomni/modeling_siglip_flux.py502CODE
LOWpipelines/wan/wan_image.py11CODE
LOWpipelines/meissonic/pipeline_inpaint.py88CODE
LOWpipelines/meissonic/pipeline_img2img.py83CODE
380 more matches not shown…
Docstring Block Structure47 hits · 235 pts
SeverityFileLineSnippetContext
HIGHpipelines/bria/bria_pipeline.py261 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHpipelines/ideogram/ideogram4.py531 Run text-to-image generation. Args: prompt (`str` or `list[str]`): Prompt(STRING
HIGHpipelines/sefi/pipeline_sefi.py467 Generates images from text prompts with SeFi-Image. Args: prompt (`str` or `list[str]`, *oSTRING
HIGHpipelines/mageflow/pipeline_mage_flow.py415 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `list[stSTRING
HIGHpipelines/omnigen2/pipeline_omnigen2.py265 Get prompt embeddings from the Qwen2 text encoder. Args: prompt: The prompt or list of proSTRING
HIGHpipelines/step1x/pipeline_step1x_edit.py734 Function invoked when calling the pipeline for generation. Args: image (`torch.Tensor`, `PSTRING
HIGHpipelines/xomni/modeling_siglip_flux.py534 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHpipelines/meissonic/pipeline_inpaint.py112 The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optSTRING
HIGHpipelines/meissonic/pipeline_img2img.py106 The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optSTRING
HIGHpipelines/meissonic/pipeline.py112 The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optSTRING
HIGHpipelines/hidream/hidream_e1.py795 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHpipelines/ultraflux/pipeline_flux.py518 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHpipelines/vibe/vibe_sana_editing.py464Execute the forward pass of the VIBE Sana Editing Model. Args: hidden_states (torch.Tensor): Noisy STRING
HIGHpipelines/flex2/__init__.py88 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHpipelines/boogu/pipeline_boogu.py570 Get interleaved instruction embeddings from VLM (self.mllm), aligned with training: - Build VLM inputs STRING
HIGHpipelines/boogu/pipeline_boogu_turbo.py519 Get interleaved instruction embeddings from VLM (self.mllm), aligned with training: - Build VLM inputs STRING
HIGHpipelines/objectclear/pipeline_objectclear.py1280 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHscripts/differential_diffusion.py680 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHscripts/differential_diffusion.py1664 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHscripts/demofusion.py540 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHscripts/softfill.py971 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHscripts/infiniteyou/pipeline_flux_infusenet.py152 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHscripts/consistory/consistory_pipeline.py96 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHscripts/freescale/freescale_pipeline_img2img.py712 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHscripts/freescale/freescale_pipeline.py684 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHscripts/instantir/sdxl_instantir.py1114 The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optSTRING
HIGHscripts/mod/__init__.py811 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHscripts/pixelsmith/pixelsmith_pipeline.py1134 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHmodules/errorlimiter.py51Limiter for aborting execution after being triggered a specified number of times (default 5). >>> with limit_errorsSTRING
HIGHmodules/cfgzero/cogview4_pipeline.py449 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHmodules/cfgzero/hunyuan_t2v_pipeline.py517 The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optSTRING
HIGHmodules/cfgzero/flux_pipeline.py671 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHmodules/cfgzero/wan_t2v_pipeline.py401 The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optSTRING
HIGHmodules/cfgzero/sd3_pipeline.py825 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHmodules/face/instantid_model.py584 The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optSTRING
HIGHmodules/apg/pipeline_stable_cascade_prior_apg.py391 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHmodules/apg/pipeline_stable_diffision_xl_apg.py832 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHmodules/apg/pipeline_stable_diffusion_apg.py778 The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optSTRING
HIGHmodules/control/proc/openpose/util.py202 Detect hands in the input body pose keypoints and calculate the bounding box for each hand. Args: bodySTRING
HIGHmodules/control/proc/openpose/util.py300 Detect the face in the input body pose keypoints and calculate the bounding box for the face. Args: boSTRING
HIGHmodules/control/units/xs_pipe.py710 The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optSTRING
HIGHmodules/control/units/xs_pipe.py1646 The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optSTRING
HIGHmodules/pag/pipe_sdxl.py1122 Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[stSTRING
HIGHmodules/pag/pipe_sd.py1088 The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optiSTRING
HIGHmodules/schedulers/scheduler_vdm.py33 Calculates the logarithm of the signal-to-noise ratio (SNR) for given time steps `t` under a specified beta schSTRING
HIGHmodules/schedulers/scheduler_vdm.py157 Computes the logarithm of the signal-to-noise ratio for given timesteps using the configured beta schedule. STRING
HIGHmodules/schedulers/scheduler_vdm.py177 Generates timesteps in the range [0, 1] for the continuous formulation. Args: num_steps (iSTRING
Over-Commented Block202 hits · 200 pts
SeverityFileLineSnippetContext
LOWui/startup.ts141// onOptionsChanged(() => log('evt onOptionsChanged'));COMMENT
LOWui/css/amethyst-nightfall.css81.progressDiv { border-radius: var(--radius-sm) !important; position: fixed; top: 44px; right: 26px; max-width: 262px; heCOMMENT
LOWui/css/timeless-beige.css101/* gradio elements overrides */COMMENT
LOWui/css/emerald-paradise.css101/* gradio elements overrides */COMMENT
LOWui/css/light-teal.css101/* gradio elements overrides */COMMENT
LOWui/css/invoked.css101/* gradio elements overrides */COMMENT
LOWui/css/black-orange.css101.performance { color: #888; }COMMENT
LOWui/css/black-teal.css141.image-buttons > button { max-width: 160px; }COMMENT
LOWui/css/midnight-barbie.css101#save-animation { border-radius: var(--radius-sm) !important; margin-bottom: 16px; background-color: #111111; }COMMENT
LOWui/css/orchid-dreams.css101/* gradio elements overrides */COMMENT
LOWui/css/black-gray.css101#system_row > button, #settings_row > button, #config_row > button { max-width: 10em; }COMMENT
LOWui/js/sha256.ts1// @ts-nocheckCOMMENT
LOWtest/test-anima-native-adapters.py1241#COMMENT
LOWpipelines/bria/transformer_block.py1# Copyright 2025 Black Forest Labs, The HuggingFace Team and The InstantX Team. All rights reserved.COMMENT
LOWpipelines/ideogram/ideogram4.py1# Copyright 2026 Ideogram AI and The HuggingFace Team. All rights reserved.COMMENT
LOWpipelines/sefi/pipeline_sefi.py1# Copyright 2026 SeFi-Image Authors and The HuggingFace Team. All rights reserved.COMMENT
LOWpipelines/sefi/transformer_sefi.py1# Copyright 2026 SeFi-Image Authors and The HuggingFace Team. All rights reserved.COMMENT
LOWpipelines/sefi/convert_sefi_to_diffusers.py1#!/usr/bin/env pythonCOMMENT
LOWpipelines/mageflow/pipeline_mage_flow.py1# Copyright 2025 Microsoft and The HuggingFace Team. All rights reserved.COMMENT
LOWpipelines/mageflow/autoencoder_mage_vae.py1# Copyright 2025 The HuggingFace Team. All rights reserved.COMMENT
LOWpipelines/mageflow/transformer_mage_flow.py1# Copyright 2025 The Mage Team and The HuggingFace Team. All rights reserved.COMMENT
LOWpipelines/omnigen2/image_processor.py1# Copyright 2024 The HuggingFace Team. All rights reserved.COMMENT
LOWpipelines/omnigen2/models/embeddings.py1# Copyright 2024 The HuggingFace Team. All rights reserved.COMMENT
LOWpipelines/omnigen2/models/transformers/block_lumina2.py1COMMENT
LOWpipelines/step1x/pipeline_step1x_edit.py1# Copyright 2025 Step1X-Edit Team and The HuggingFace Team. All rights reserved.COMMENT
LOWpipelines/meissonic/pipeline_inpaint.py1# Copyright 2024 The HuggingFace Team and The MeissonFlow Team. All rights reserved.COMMENT
LOWpipelines/meissonic/pipeline_img2img.py1# Copyright 2024 The HuggingFace Team and The MeissonFlow Team. All rights reserved.COMMENT
LOWpipelines/meissonic/transformer.py1# Copyright 2024 Black Forest Labs, The HuggingFace Team, The InstantX Team and The MeissonFlow Team. All rights reserveCOMMENT
LOWpipelines/meissonic/pipeline.py1# Copyright 2024 The HuggingFace Team and The MeissonFlow Team. All rights reserved.COMMENT
LOWpipelines/meissonic/scheduler.py1# Copyright 2024 The HuggingFace Team and The MeissonFlow Team. All rights reserved.COMMENT
LOWpipelines/hidream/scheduler_flashfloweuler.py1# Copyright 2024 Stability AI, Katherine Crowson and The HuggingFace Team. All rights reserved.COMMENT
LOWpipelines/lumina_dimmo/lumina_dimoo.py1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWpipelines/ultraflux/transformer_flux.py1# Copyright 2025 Black Forest Labs, The HuggingFace Team and The InstantX Team. All rights reserved.COMMENT
LOWpipelines/llada/pipeline_llada_image.py1# Copyright 2026 The HuggingFace Team. All rights reserved.COMMENT
LOWpipelines/llada/modeling_llada2uni_moe.py1# coding=utf-8COMMENT
LOWpipelines/llada/pipeline_output.py1# Copyright 2026 The HuggingFace Team. All rights reserved.COMMENT
LOWpipelines/llada/fused_moe_ops.py1# Copyright 2025 Bytedance Ltd. and/or its affiliatesCOMMENT
LOWpipelines/llada/transformer_llada_image.py1# Copyright 2026 The HuggingFace Team. All rights reserved.COMMENT
LOWpipelines/llada/configuration_llada2uni_moe.py1# Copyright 2025 Antgroup and The HuggingFace Inc. team. All rights reserved.COMMENT
LOWpipelines/boogu/image_processor.py1# Copyright (C) 2026 Boogu Team.COMMENT
LOW…/scheduling_flow_match_euler_discrete_time_shifting.py1# Copyright (C) 2026 Boogu Team.COMMENT
LOWpipelines/objectclear/pipeline_objectclear.py1# Copyright 2024 The HuggingFace Team. All rights reserved.COMMENT
LOWcli/sdnq-attention-benchmark.py401COMMENT
LOWcli/sdnq-attention-benchmark.py2061# The linear layers bind their scaled-mm function at importCOMMENT
LOWcli/search-docs.py141 # log.info('Top result:')COMMENT
LOWscripts/i2i_folder.py81 # with gr.Row():COMMENT
LOWscripts/i2i_folder.py101 # value=_upscaler_choices[0],COMMENT
LOWscripts/i2i_folder.py221 img = img.convert('RGB')COMMENT
LOWscripts/example.py41# is pipeline ok to run in pure latent mode without implicit conversionsCOMMENT
LOWscripts/infiniteyou/pipeline_flux_infusenet.py1# Copyright (c) 2025 Bytedance Ltd. and/or its affiliates.COMMENT
LOWscripts/consistory/attention_processor.py1# Copyright 2023 The HuggingFace Team. All rights reserved.COMMENT
LOWscripts/consistory/consistory_unet_sdxl.py1# Copyright 2023 The HuggingFace Team. All rights reserved.COMMENT
LOWscripts/consistory/consistory_unet_sdxl.py881 # upsample size should be forwarded when sample is not a multiple of `default_overall_up_factor`COMMENT
LOWscripts/consistory/consistory_pipeline.py1# Copyright 2023 The HuggingFace Team. All rights reserved.COMMENT
LOWscripts/consistory/utils/ptp_utils.py1# Copyright 2022 Google LLCCOMMENT
LOWscripts/consistory/utils/ptp_utils.py21# in the Software without restriction, including without limitation the rightsCOMMENT
LOWscripts/consistory/utils/ptp_utils.py41# You may obtain a copy of the License atCOMMENT
LOWscripts/consistory/utils/ptp_utils.py141COMMENT
LOWscripts/pulid/eva_clip/transform.py41COMMENT
LOWscripts/freescale/freescale_pipeline_img2img.py1061 # "up_blocks.0.resnets.0.conv1",COMMENT
142 more matches not shown…
Cross-Language Confusion22 hits · 128 pts
SeverityFileLineSnippetContext
HIGHinstaller.py192 return True # check for not equal always return trueCODE
HIGHpipelines/vibe/vibe_sana_editing.py433 - `hid_null` (torch.Tensor): Editing embeddings for the unconditional (null) branch.STRING
HIGHcli/lora-quant-fidelity.py413 if float(nD) == 0.0: # an all-zero delta (some full-rank extractions carry empty .diff): retention is undefined, notCODE
HIGHmodules/civitai/models_civitai.py55 # counts CivitAI does not report arrive as null, not zeroCOMMENT
HIGHmodules/civitai/models_civitai.py97 # /model-versions/{id} serializes availability as null, which failedCOMMENT
HIGHmodules/civitai/models_civitai.py141 # Deleted/anonymous creators serialize username as null, which failedCOMMENT
HIGHmodules/lora/lora_sdnq.py64NULL_TAIL_EPS = 1e-6 # spectrum tail below this fraction of the capture is numerically null; dropping it keeps stored raCODE
HIGHmodules/video_models/video_save.py368 stream.output_queue.push(('progress', (None, 'Saving video...')))CODE
HIGH⚡modules/video_models/video_save.py405 stream.output_queue.push(('progress', (None, f'Video {os.path.basename(output_video)} | Codec {mp4_codecCODE
HIGH⚡modules/video_models/video_save.py406 stream.output_queue.push(('file', output_video))CODE
HIGH⚡modules/video_models/video_save.py409 stream.output_queue.push(('progress', (None, '')))CODE
HIGHmodules/framepack/framepack_worker.py56 stream.output_queue.push(('end', None))CODE
HIGHmodules/framepack/framepack_worker.py96 stream.output_queue.push(('progress', (None, 'Text encoding...')))CODE
HIGHmodules/framepack/framepack_worker.py118 stream.output_queue.push(('progress', (None, 'VAE encoding...')))CODE
HIGHmodules/framepack/framepack_worker.py144 stream.output_queue.push(('progress', (None, 'Vision encoding...')))CODE
HIGHmodules/framepack/framepack_worker.py167 stream.output_queue.push(('progress', (None, 'Interrupted...')))CODE
HIGHmodules/framepack/framepack_worker.py168 stream.output_queue.push(('end', None))CODE
HIGH⚡modules/framepack/framepack_worker.py188 stream.output_queue.push(('progress', (preview, desc)))CODE
HIGH⚡modules/framepack/framepack_worker.py201 stream.output_queue.push(('progress', (None, desc)))CODE
HIGHmodules/framepack/framepack_worker.py214 stream.output_queue.push(('progress', (None, 'Start sampling...')))CODE
HIGHmodules/framepack/framepack_worker.py238 stream.output_queue.push(('end', None))CODE
HIGHmodules/framepack/framepack_worker.py385 stream.output_queue.push(('end', None))CODE
Modern Structural Boilerplate68 hits · 66 pts
SeverityFileLineSnippetContext
LOWpipelines/generic.py8__all__ = [CODE
LOWpipelines/zetachroma/__init__.py11__all__ = [CODE
LOWpipelines/zetachroma/pipeline.py18logger = logging.getLogger(__name__)CODE
LOWpipelines/lens/__init__.py44__all__ = [CODE
LOWpipelines/lens/text_encoder.py30 def set_selected_layers(self, layer_indices: Sequence[int]) -> None:CODE
LOWpipelines/omnigen2/models/transformers/__init__.py3__all__ = ["OmniGen2Transformer2DModel"]CODE
LOWpipelines/step1x/__init__.py10__all__ = [CODE
LOWpipelines/xomni/modeling_vit.py417 def set_grad_checkpointing(self, enable: bool = True) -> None:CODE
LOWpipelines/hidream/hidream_o1_utils.py351__all__ = [CODE
LOWpipelines/f_lite/__init__.py9__all__ = ["APGConfig", "DiT", "FLITE_SPEC", "FLitePipeline", "FLitePipelineOutput"]CODE
LOWpipelines/f_lite/pipeline.py18logger = logging.getLogger(__name__)CODE
LOWpipelines/vibe/__init__.py11__all__ = ["VIBE_SPEC", "VIBESanaEditingModel", "VIBESanaEditingPipeline", "VIBESanaImagePipeline"]CODE
LOWpipelines/llada/modeling_llada2uni_moe.py1288__all__ = ["LLaDA2MoeModelLM", "LLaDA2MoeModel", "LLaDA2MoePreTrainedModel"]CODE
LOWpipelines/llada/__init__.py8__all__ = ['LLaDAImagePipeline', 'LLaDAImagePipelineOutput', 'LLaDAImageQueryFormerModel', 'LLaDAImageSigVQModel', 'LLaDCODE
LOWpipelines/llada/fused_moe_ops.py375__all__ = ["fused_moe_forward"]CODE
LOWpipelines/llada/configuration_llada2uni_moe.py133__all__ = ["LLaDA2MoeConfig"]STRING
LOWscripts/daam/heatmap.py17__all__ = ['GlobalHeatMap', 'RawHeatMapCollection', 'WordHeatMap', 'ParsedHeatMap', 'SyntacticHeatMapPair']CODE
LOWscripts/daam/trace.py21__all__ = ['trace', 'DiffusionHeatMapHooker', 'GlobalHeatMap']CODE
LOWscripts/daam/hook.py10__all__ = ['ObjectHooker', 'ModuleLocator', 'AggregateHooker', 'UNetCrossAttentionLocator']CODE
LOWscripts/daam/experiment.py15__all__ = ['GenerationExperiment', 'COCO80_LABELS', 'COCOSTUFF27_LABELS', 'COCO80_INDICES', 'build_word_list_coco80']CODE
LOWscripts/daam/utils.py15__all__ = ['set_seed', 'compute_token_merge_indices', 'plot_mask_heat_map', 'cached_nlp', 'cache_dir', 'auto_device', 'aCODE
LOWscripts/daam/evaluate.py10__all__ = ['compute_iou', 'MeanEvaluator', 'load_mask', 'compute_ioa']CODE
LOWscripts/lbm/__init__.py6__all__ = ["evaluate", "get_model", "extract_object", "resize_and_center_crop"]CODE
LOWscripts/lbm/inference.py10logger = logging.getLogger(__name__)CODE
LOWscripts/lbm/unets/__init__.py12__all__ = [CODE
LOWscripts/lbm/lbm/__init__.py5__all__ = ["LBMModel", "LBMConfig"]CODE
LOWscripts/lbm/embedders/__init__.py5__all__ = ["LatentsConcatEmbedder", "LatentsConcatEmbedderConfig", "ConditionerWrapper"]CODE
LOWscripts/lbm/embedders/latents_concat/__init__.py5__all__ = ["LatentsConcatEmbedder", "LatentsConcatEmbedderConfig"]CODE
LOWscripts/lbm/embedders/base/__init__.py5__all__ = ["BaseConditioner", "BaseConditionerConfig"]CODE
LOWscripts/lbm/base/__init__.py5__all__ = ["BaseModel", "ModelConfig"]CODE
LOWscripts/lbm/vae/__init__.py5__all__ = ["AutoencoderKLDiffusers", "AutoencoderKLDiffusersConfig"]CODE
LOWscripts/pulid/eva_clip/openai.py15__all__ = ["list_openai_models", "load_openai_model"]CODE
LOW⚡scripts/rocm/rocm_mgr.py195def _set_miopen_logging(config: Dict[str, str], enabled: bool) -> None:CODE
LOWscripts/rocm/rocm_mgr.py306def set_miopen_logging(enabled: bool) -> None:CODE
LOWscripts/instantir/aggregator.py657 def set_attention_slice(self, slice_size: Union[str, int, List[int]]) -> None:STRING
LOWscripts/instantir/aggregator.py754 def _set_gradient_checkpointing(self, module, value: bool = False) -> None:STRING
LOWmodules/images.py8__all__ = [CODE
LOWmodules/attention/__init__.py7__all__ = [CODE
LOWmodules/attention/context.py73def set_step(step: int) -> None:CODE
LOWmodules/attention/context.py85def set_layout(layout) -> None:CODE
LOWmodules/attention/context.py100def set_role(name: str | None) -> None:CODE
LOWmodules/attention/sparse/__init__.py5__all__ = [CODE
LOWmodules/sharpfin/transforms.py35__all__ = ["ResizeKernel", "SharpenKernel", "QuantHandling"]CODE
LOWmodules/res4lyf/pec_scheduler.py97 def set_begin_index(self, begin_index: int = 0) -> None:CODE
LOWmodules/res4lyf/abnorsett_scheduler.py97 def set_begin_index(self, begin_index: int = 0) -> None:CODE
LOWmodules/res4lyf/res_multistep_scheduler.py112 def set_begin_index(self, begin_index: int = 0) -> None:CODE
LOWmodules/res4lyf/res_singlestep_sde_scheduler.py90 def set_begin_index(self, begin_index: int = 0) -> None:CODE
LOWmodules/res4lyf/riemannian_flow_scheduler.py95 def set_begin_index(self, begin_index: int = 0) -> None:CODE
LOWmodules/res4lyf/res_singlestep_scheduler.py88 def set_begin_index(self, begin_index: int = 0) -> None:CODE
LOWmodules/res4lyf/etdrk_scheduler.py97 def set_begin_index(self, begin_index: int = 0) -> None:CODE
LOWmodules/res4lyf/bong_tangent_scheduler.py96 def set_begin_index(self, begin_index: int = 0) -> None:CODE
LOWmodules/res4lyf/__init__.py91__all__ = [CODE
LOWmodules/res4lyf/lawson_scheduler.py95 def set_begin_index(self, begin_index: int = 0) -> None:CODE
LOWmodules/res4lyf/langevin_dynamics_scheduler.py96 def set_begin_index(self, begin_index: int = 0) -> None:CODE
LOWmodules/res4lyf/res_multistep_sde_scheduler.py102 def set_begin_index(self, begin_index: int = 0) -> None:CODE
LOWmodules/res4lyf/common_sigma_scheduler.py99 def set_begin_index(self, begin_index: int = 0) -> None:CODE
LOWmodules/res4lyf/simple_exponential_scheduler.py95 def set_begin_index(self, begin_index: int = 0) -> None:CODE
LOWmodules/res4lyf/res_unified_scheduler.py84 def set_begin_index(self, begin_index: int = 0) -> None:CODE
LOWmodules/video_models/video_vae.py10def set_vae_params(p, slicing:bool=True, tiling:bool=True, framewise:bool=True) -> None:CODE
LOWmodules/merging/merge_methods.py6__all__ = [CODE
8 more matches not shown…
Redundant / Tautological Comments45 hits · 55 pts
SeverityFileLineSnippetContext
LOWtest/test-schedulers.py127 diffs = np.diff(sigmas) # Check if potentially monotonic decreasing (standard) OR increasing (some flow/CODE
LOW⚡test/test-tagger.py687 # Check if the exact tag was removed by parsing the filtered listCOMMENT
LOWtest/test-tagger.py595 # Check if underscores are converted to spacesCOMMENT
LOW⚡test/test-caption-api.py856 # Check if we have OpenCLIP modelsCOMMENT
LOW⚡test/test-caption-api.py940 # Check if we have OpenCLIP modelsCOMMENT
LOW⚡test/test-caption-api.py1986 # Check if we have OpenCLIP models (needed for caption endpoint)COMMENT
LOW⚡test/test-caption-api.py2379 # Check if the tag was removedCOMMENT
LOW⚡test/test-caption-api.py2751 # Check if we have OpenCLIP modelsCOMMENT
LOWtest/test-caption-api.py244 # Check if answer is just an error keyword or starts with oneCOMMENT
LOWtest/test-caption-api.py258 # Check if it's just punctuationCOMMENT
LOWtest/test-caption-api.py564 # Check if we have OpenCLIP modelsCOMMENT
LOWtest/test-caption-api.py619 # Check if we have OpenCLIP modelsCOMMENT
LOWtest/test-caption-api.py725 # Check if we have OpenCLIP modelsCOMMENT
LOWtest/test-caption-api.py796 # Check if we have OpenCLIP modelsCOMMENT
LOWtest/test-caption-api.py1232 # Check if answer contains detection results (bounding boxes)COMMENT
LOWtest/test-caption-api.py2009 # Check if it's a model not found error vs other errorCOMMENT
LOWtest/test-caption-api.py2269 # Check if underscores are converted to spacesCOMMENT
LOWtest/test-caption-api.py3338 # Check if any tests failed (excluding skipped)COMMENT
LOWpipelines/f_lite/pipeline.py221 # Check if guidance is neededCOMMENT
LOWscripts/prompt_enhance_ext.py333 prompt = prompt or (self.prompt.value if self.prompt else "") # Check if self.prompt is NoneCODE
LOWscripts/prompt_enhance_ext.py375 # Check if vision was requested but no image is availableCOMMENT
LOWscripts/nudenet_ext.py84 if len(nudes.censored) > 0: # Check if there are any censored areasCODE
LOW…edders/latents_concat/latents_concat_embedder_model.py34 # Check if image are of the same sizeCOMMENT
LOWscripts/instantir/ip_adapter/ip_adapter.py131 # Verify if the weights have changedCOMMENT
LOWscripts/instantir/ip_adapter/ip_adapter.py169 # Check if 'latents' exists in both the saved state_dict and the current model's state_dictCOMMENT
LOWscripts/instantir/ip_adapter/ip_adapter.py172 # Check if the shapes are mismatchedCOMMENT
LOWscripts/instantir/ip_adapter/ip_adapter.py191 # Verify if the weights loaded to unetCOMMENT
LOWscripts/instantir/ip_adapter/ip_adapter.py201 # Verify if the weights have changedCOMMENT
LOWmodules/prompt_parser_xhinker.py1330 # Check if padding is neededCOMMENT
LOWmodules/generation_parameters_copypaste.py181 # Check if param should be skippedCOMMENT
LOWmodules/civitai/download_civitai.py108 # Check if in queue (not yet started)COMMENT
LOWmodules/civitai/download_civitai.py117 # Check if activeCOMMENT
LOWmodules/civitai/download_civitai.py172 # Check if already existsCOMMENT
LOWmodules/intel/openvino/__init__.py441 # Check if the model was fully supported and already cachedCOMMENT
LOWmodules/intel/openvino/__init__.py506 # Check if the model is fully supported.COMMENT
LOWmodules/caption/vqa.py117 # Check if it's a Florence-specific friendly name (base or PromptGen)COMMENT
LOWmodules/caption/vqa.py120 # Check if it's an internal Florence-2 task token (for backwards compatibility)COMMENT
LOWmodules/caption/vqa.py1504 # Check if this is a mode that requires user input (Point/Detect)COMMENT
LOWmodules/postprocess/aurasr_arch.py758 # Check if model_id is a local fileCOMMENT
LOWmodules/seedvr/src/optimization/performance.py61 # Check if all 4D videos have the same shape for maximum optimizationCOMMENT
LOWmodules/control/proc/leres/leres/depthmap.py233 # Check if patching is beneficial by comparing the gradient density of the patch toCOMMENT
LOWmodules/control/proc/leres/leres/depthmap.py249 # Check if we are still within the imageCOMMENT
LOWmodules/control/proc/leres/leres/depthmap.py426 # Check if Local boosting is beneficial.COMMENT
LOWmodules/control/proc/segment_anything/utils/amg.py240 # Check if boxes has a channel dimensionCOMMENT
LOWmodules/control/proc/segment_anything/utils/amg.py249 # Check if points has a channel dimensionCOMMENT
Self-Referential Comments19 hits · 50 pts
SeverityFileLineSnippetContext
MEDIUM…/scheduling_flow_match_euler_discrete_time_shifting.py3# This file is adapted by Boogu Team from prior open-source scheduler work.COMMENT
MEDIUMscripts/prompt_enhance_ext.py381 # Create a copy to avoid modifying the original image used by img2imgCOMMENT
MEDIUMscripts/lbm/embedders/base/base_conditioner.py29 # Create the conditioner configSTRING
MEDIUMscripts/lbm/embedders/base/base_conditioner.py35 # Create the conditionerSTRING
MEDIUMscripts/infiniteyou/pipeline_infu_flux.py132 # Create a new image with white backgroundCOMMENT
MEDIUMmodules/intel/openvino/__init__.py435 # Create a hash to be used for cachingCOMMENT
MEDIUMmodules/caption/joytag.py437 # The below method is a nice trick to generate a batch of random permutations.COMMENT
MEDIUMmodules/caption/vqa_detection.py308 # Create a copy to avoid modifying originalCOMMENT
MEDIUMmodules/sharpfin/functional.py162 # Create a grid of relative distances between each point on this axis.COMMENT
MEDIUMmodules/ras/ras_scheduler.py1# This file is a modified version of the original file from the HuggingFace/diffusers library.COMMENT
MEDIUMmodules/rembg/ben2_model.py1129# Define the image transformationCOMMENT
MEDIUMmodules/postprocess/aurasr_arch.py729 # Create an empty tensor to hold the merged imageCOMMENT
MEDIUMmodules/merging/merge_methods.py22EPSILON = 1e-10 # Define a small constant EPSILON to prevent division by zeroCODE
MEDIUMmodules/seedvr/src/models/dit/attention.py28 # Create an empty tensor to store the output.COMMENT
MEDIUMmodules/seedvr/src/models/dit_v2/attention.py28 # Create an empty tensor to store the output.COMMENT
MEDIUM…proc/zoe/zoedepth/models/zoedepth_nk/zoedepth_nk_v1.py126 # Create a map (ModuleDict) of 'name' -> seed_bin_regressorCOMMENT
MEDIUM…proc/zoe/zoedepth/models/zoedepth_nk/zoedepth_nk_v1.py139 # Create a map (ModuleDict) of 'name' -> attractors (ModuleList)COMMENT
MEDIUMmodules/control/proc/leres/pix2pix/models/base_model.py13 """This class is an abstract base class (ABC) for models.STRING
MEDIUMmodules/schedulers/scheduler_dpm_flowmatch.py519 # Create a noise sampler if it hasn't been created yetCOMMENT
AI Slop Vocabulary16 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMpipelines/hidream/hidream_o1_utils.py181 z = (z - center) / torch.clamp(half_range * headroom, min=0.35) # Balanced robust remap: moderate compressioCODE
LOWpipelines/ultraflux/vae.py772 inds[inds >= self.used.shape[0]] = 0 # simply set to zeroCODE
MEDIUMcli/sdnq-attention-benchmark.py857 # standard error of a median: 1.2533 * sigma / sqrt(n), robust sigma from IQR / 1.349COMMENT
LOWscripts/ultimate-upscale.py44 # Its just return, don't need elifCOMMENT
MEDIUMscripts/pulid/eva_clip/tokenizer.py197 # adding lower (for case-sensitive tokenizers) will make it more robust but less sensitive to nuanceCOMMENT
LOWscripts/pixelsmith/vae.py709 inds[inds >= self.used.shape[0]] = 0 # simply set to zeroCODE
LOWmodules/processing_helpers.py547 return args[0] # just return image to skip re-processing itCODE
LOWmodules/caption/waifudiffusion.py351 # For now, just return the static listCOMMENT
LOWmodules/caption/vqa.py1322 # When keep_thinking is False, just use the answer (reasoning is discarded)COMMENT
LOWmodules/attention/context.py32# publication from one would clear the layout the denoiser just setCOMMENT
MEDIUMmodules/res4lyf/rungekutta_44s_scheduler.py162 # Use argmin for robust float matchingCOMMENT
MEDIUMmodules/res4lyf/scheduler_utils.py114 # Normalize inputs to numpy arrays for a robust, device-agnostic argminCOMMENT
MEDIUM⚡modules/lora/lora_convert.py255 # not utilize it yet.COMMENT
LOWmodules/lora/extra_networks_lora.py18 if len(steps[0]) == 1: # If we just got a single number, just return itCODE
MEDIUMmodules/control/proc/leres/leres/depthmap.py540 # We use a simple Gaussian mask to blend the merged patch region with the base estimate to ensure seamlessCOMMENT
MEDIUMmodules/schedulers/perflow/scheduler_perflow.py39 # robust to numerical error; e.g, (0.6+1/10000) belongs to [0.6, 0.3)COMMENT
Hallucination Indicators3 hits · 25 pts
SeverityFileLineSnippetContext
CRITICALtest/test-pdd.py464 original = pipe.transformer.block.norm_q.weight.detach().clone()CODE
CRITICALpipelines/sefi/pipeline_sefi.py315 self.text_encoder.model.language_model.rotary_emb.to(device=device, dtype=text_encoder_dtype)STRING
CRITICALmodules/control/proc/segment_anything/utils/onnx.py72 ) * self.model.prompt_encoder.no_mask_embed.weight.reshape(1, -1, 1, 1)CODE
Fake / Example Data9 hits · 8 pts
SeverityFileLineSnippetContext
LOWmodules/ui_definitions.py379 "ls_indices": OptionInfo('', "Layer Skip indices", gr.Textbox, {"placeholder": "e.g. 0,1,2-5"}),CODE
LOWmodules/ui_definitions.py380 "ls_fqn": OptionInfo("auto", "Layer Skip FQN", gr.Textbox, {"placeholder": "e.g. model.diffusion_model.input_bloCODE
LOWmodules/ui_definitions.py398 "ts_skip_predict_identifiers": OptionInfo("", "TaylorSeer skip predict identifiers", gr.Textbox, {"placeholder":CODE
LOWmodules/ui_definitions.py399 "ts_cache_identifiers": OptionInfo("", "TaylorSeer cache identifiers", gr.Textbox, {"placeholder": "e.g. model.dCODE
LOWmodules/api/models.py39 dummy_value = NoneCODE
LOWmodules/control/proc/leres/pix2pix/models/networks.py292def cal_gradient_penalty(netD, real_data, fake_data, device, type='mixed', constant=1.0, lambda_gp=10.0):CODE
LOWmodules/control/proc/leres/pix2pix/models/networks.py298 fake_data (tensor array) -- generated images from the generatorSTRING
LOWmodules/control/proc/leres/pix2pix/models/networks.py310 interpolatesv = fake_dataCODE
LOWmodules/control/proc/leres/pix2pix/models/networks.py314 interpolatesv = alpha * real_data + ((1 - alpha) * fake_data)CODE
Verbosity Indicators4 hits · 8 pts
SeverityFileLineSnippetContext
LOWpipelines/boogu/transformer_boogu.py1071 # Step 1: modulation for both streams.COMMENT
LOWpipelines/boogu/transformer_boogu.py1084 # Step 2: joint attention on [instruct + img]. The module dispatches to its double-stream processor.COMMENT
LOW⚡pipelines/boogu/transformer_boogu.py1101 # Step 3: image self-attention.COMMENT
LOW⚡pipelines/boogu/transformer_boogu.py1109 # Step 4: residual updates.COMMENT
Structural Annotation Overuse4 hits · 8 pts
SeverityFileLineSnippetContext
LOWpipelines/boogu/transformer_boogu.py1071 # Step 1: modulation for both streams.COMMENT
LOWpipelines/boogu/transformer_boogu.py1084 # Step 2: joint attention on [instruct + img]. The module dispatches to its double-stream processor.COMMENT
LOW⚡pipelines/boogu/transformer_boogu.py1101 # Step 3: image self-attention.COMMENT
LOW⚡pipelines/boogu/transformer_boogu.py1109 # Step 4: residual updates.COMMENT
AI Response Leakage1 hit · 2 pts
SeverityFileLineSnippetContext
HIGHmodules/errorlimiter.py57 >>> elimit() # In this example, raises ErrorLimiterAbort on the 5th callSTRING