H2O LLM Studio - a framework and no-code GUI for fine-tuning LLMs. Documentation: https://docs.h2o.ai/h2o-llmstudio/
This report summarizes scanner evidence for h2oai/h2o-llmstudio, a Python project with 5,183 GitHub stars. SynthScan examined 32,559 lines of code across 192 source files, recording 415 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 17.4 (Elevated 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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 309 finding(s).
Are imports declared and package/API names verified? 7 finding(s).
Are wrappers, guards, and repeated structures necessary? 342 finding(s).
Which changes need focused human review? 415 finding(s).
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.
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.
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.
The scanner identified 415 distinct pattern matches across 15 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ui/test.py | 40 | def upload_dataset_using_filesystem(llm_studio: LLMStudioPage, filepath: str): | CODE |
| LOW | tests/ui/test.py | 111 | def assert_experiment_deletion(llm_studio: LLMStudioPage, experiment_name: str): | CODE |
| LOW | tests/ui/llm_studio_page.py | 65 | def import_dataset_from_filesystem(self, filepath: str): | CODE |
| LOW | tests/ui/llm_studio_page.py | 95 | def import_dataset_from_azure( | CODE |
| LOW | tests/ui/llm_studio_page.py | 104 | def import_dataset_from_kaggle( | CODE |
| LOW | tests/ui/llm_studio_page.py | 258 | def assert_experiment_deletion(self, experiment_name: str): | CODE |
| LOW | tests/integration/test_integration.py | 69 | def test_oasst_classification_training_gpu(tmp_path, settings): | CODE |
| LOW | tests/integration/test_integration.py | 85 | def test_oasst_regression_training_gpu(tmp_path, settings): | CODE |
| LOW | tests/integration/test_integration.py | 101 | def test_oasst_regression_training_cpu(tmp_path, settings): | CODE |
| LOW | tests/integration/test_integration.py | 118 | def test_oasst_classification_training_cpu(tmp_path, settings): | CODE |
| LOW | tests/python_configs/test_cfg_checks.py | 28 | def test_check_config_for_errors(mock_config): | CODE |
| LOW⚡ | tests/python_configs/test_cfg_checks.py | 46 | def test_check_for_common_errors_no_gpu(mock_config): | CODE |
| LOW⚡ | tests/python_configs/test_cfg_checks.py | 54 | def test_check_for_common_errors_too_many_gpus(mock_config): | CODE |
| LOW⚡ | tests/python_configs/test_cfg_checks.py | 63 | def test_check_for_common_errors_disk_space(mock_statvfs, mock_config): | CODE |
| LOW⚡ | tests/python_configs/test_cfg_checks.py | 73 | def test_check_for_common_errors_quantization_without_pretrained(mock_config): | CODE |
| LOW | tests/python_configs/test_base.py | 37 | def test_classification_config_is_in_non_generating_problem_types(): | CODE |
| LOW | tests/python_configs/test_base.py | 42 | def test_regression_config_is_in_non_generating_problem_types(): | CODE |
| LOW | tests/app_utils/test_setting_utils.py | 49 | def test_secrets_get_has_keyring(): | CODE |
| LOW | tests/app_utils/test_setting_utils.py | 53 | def test_load_default_user_settings(mocker): | CODE |
| LOW | tests/app_utils/sections/test_histogram_card.py | 8 | def test_quantiles_are_computed_correctly() -> None: | CODE |
| LOW | tests/app_utils/sections/test_experiment_rename.py | 53 | def test_rename_persists_rewritten_chart_paths(tmp_path) -> None: | CODE |
| LOW | tests/app_utils/sections/test_experiment_rename.py | 83 | def test_rename_without_charts_does_not_raise(tmp_path) -> None: | CODE |
| LOW | tests/app_utils/sections/test_experiment_rename.py | 104 | def test_rename_to_same_name_is_a_noop(tmp_path) -> None: | CODE |
| LOW | tests/app_utils/sections/test_experiment_rename.py | 115 | def test_rename_charts_resolve_for_various_names(tmp_path, new_name) -> None: | CODE |
| LOW | tests/src/test_nesting.py | 70 | def test_nesting_add_duplicate_keys(self): | CODE |
| LOW | tests/src/test_nesting.py | 77 | def test_nesting_multiple_adds(self): | CODE |
| LOW | tests/src/test_torch_compatibility.py | 23 | def test_deepspeed_native_ops_use_the_torch_cpp_standard(): | CODE |
| LOW | tests/src/test_torch_compatibility.py | 30 | def test_deepspeed_nfs_check_uses_portable_df_output(monkeypatch, tmp_path): | CODE |
| LOW | tests/src/test_torch_compatibility.py | 51 | def test_distributed_initialization_uses_local_rank_device(): | CODE |
| LOW | tests/src/test_torch_compatibility.py | 76 | def test_torch_compile_forward_and_backward(): | CODE |
| LOW | tests/src/test_torch_compatibility.py | 97 | def test_pytorch_flash_sdpa_forward_and_backward(): | CODE |
| LOW | tests/src/test_torch_compatibility.py | 142 | def test_distributed_gloo_group_sync(tmp_path): | CODE |
| LOW | tests/src/test_torch_compatibility.py | 153 | def test_config_only_offers_available_attention_backends(): | CODE |
| LOW⚡ | tests/src/test_tooltips.py | 15 | def test_read_tooltip_file_mock_file(self): | CODE |
| LOW⚡ | tests/src/test_tooltips.py | 21 | def test_read_tooltip_file_real_file(self): | CODE |
| LOW⚡ | tests/src/test_tooltips.py | 28 | def test_read_tooltip_file_nonexistent_file(self): | CODE |
| LOW⚡ | tests/src/test_tooltips.py | 37 | def test_clean_docusaurus_tags_note(self): | CODE |
| LOW⚡ | tests/src/test_tooltips.py | 45 | def test_clean_docusaurus_tags_tip(self): | CODE |
| LOW | tests/src/test_tooltips.py | 80 | def test_tooltips_no_underscore(self, mock_read): | CODE |
| LOW | tests/src/test_tooltips.py | 89 | def test_tooltips_initialization(self): | CODE |
| LOW | tests/src/test_tooltips.py | 127 | def test_duplicate_tooltip_name(self, mock_read): | CODE |
| LOW | tests/src/test_possible_values.py | 71 | def test_strip_common_prefix_empty_paths(): | CODE |
| LOW | tests/src/test_possible_values.py | 91 | def test_number_impossible_values(): | CODE |
| LOW | tests/src/test_possible_values.py | 111 | def test_string_tuple_of_strings(): | CODE |
| LOW | tests/src/test_possible_values.py | 120 | def test_string_tuple_of_tuples(): | CODE |
| LOW | tests/src/test_possible_values.py | 135 | def test_string_impossible_values(): | CODE |
| LOW | tests/src/test_possible_values.py | 166 | def test_compute_current_values_basic( | CODE |
| LOW | tests/src/test_possible_values.py | 174 | def test_compute_current_values_with_prefer_function(self): | CODE |
| LOW | tests/src/test_possible_values.py | 186 | def test_compute_current_values_with_prefer_function_single_match(self): | CODE |
| LOW | tests/src/test_possible_values.py | 198 | def test_compute_current_values_prefer_function_no_match(self): | CODE |
| LOW | tests/src/test_possible_values.py | 212 | def test_compute_current_values_all_filtered_out(self): | CODE |
| LOW | tests/src/test_possible_values.py | 230 | def test_compute_current_values_duplicates(self, current_values, possible_values): | CODE |
| LOW | tests/src/test_possible_values.py | 234 | def test_compute_current_values_type_check(self): | CODE |
| LOW | tests/src/test_loggers.py | 22 | def test_main_logger_initialization(mock_cfg, temp_dir): | CODE |
| LOW | tests/src/test_order.py | 6 | def test_order_initialization(): | CODE |
| LOW | …/metrics/test_text_causal_language_modeling_metrics.py | 15 | def test_sacrebleu_score_perfect_match(mock_val_df): | CODE |
| LOW | …/metrics/test_text_causal_language_modeling_metrics.py | 27 | def test_sacrebleu_score_partial_match(mock_val_df): | CODE |
| LOW | …/metrics/test_text_causal_language_modeling_metrics.py | 39 | def test_sacrebleu_score_no_match(mock_val_df): | CODE |
| LOW | …/metrics/test_text_causal_language_modeling_metrics.py | 51 | def test_sacrebleu_score_all_empty_target(mock_val_df): | CODE |
| LOW | …/metrics/test_text_causal_language_modeling_metrics.py | 63 | def test_sacrebleu_score_one_empty_target(mock_val_df): | CODE |
| 179 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …src/metrics/text_causal_regression_modeling_metrics.py | 0 | metrics factory. returns: - metric value - should it be maximized or minimized - reduce function maximized or minimized | STRING |
| HIGH | …metrics/text_causal_classification_modeling_metrics.py | 0 | metrics factory. returns: - metric value - should it be maximized or minimized - reduce function maximized or minimized | STRING |
| HIGH | …o/src/metrics/text_causal_language_modeling_metrics.py | 0 | metrics factory. returns: - metric value - should it be maximized or minimized - reduce function maximized or minimized | STRING |
| HIGH | …src/metrics/text_causal_regression_modeling_metrics.py | 0 | access to metrics. args: name: metrics name returns: a class to build the metrics | STRING |
| HIGH | …metrics/text_causal_classification_modeling_metrics.py | 0 | access to metrics. args: name: metrics name returns: a class to build the metrics | STRING |
| HIGH | …o/src/metrics/text_causal_language_modeling_metrics.py | 0 | access to metrics. args: name: metrics name returns: a class to build the metrics | STRING |
| HIGH | …dio/src/losses/text_causal_language_modeling_losses.py | 0 | access to losses. args: name: losses name returns: a class to build the losses | STRING |
| HIGH | llm_studio/src/losses/text_dpo_modeling_losses.py | 0 | access to losses. args: name: losses name returns: a class to build the losses | STRING |
| HIGH | …o/src/losses/text_causal_regression_modeling_losses.py | 0 | access to losses. args: name: losses name returns: a class to build the losses | STRING |
| HIGH | …c/losses/text_causal_classification_modeling_losses.py | 0 | access to losses. args: name: losses name returns: a class to build the losses | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/integration/test_integration.py | 33 | except Exception: | CODE |
| LOW | llm_studio/train_wave.py | 103 | except Exception as exception: | CODE |
| LOW | llm_studio/publish_to_hugging_face.py | 86 | except Exception: | CODE |
| LOW | llm_studio/train.py | 779 | except Exception: | CODE |
| LOW⚡ | llm_studio/prompt.py | 151 | except Exception as e: | CODE |
| MEDIUM⚡ | llm_studio/prompt.py | 152 | print(f"Error: {e}") | CODE |
| MEDIUM⚡ | llm_studio/prompt.py | 153 | print("Something went wrong, please try again.") | CODE |
| LOW | llm_studio/app_utils/config.py | 30 | except Exception: | CODE |
| MEDIUM | llm_studio/app_utils/config.py | 17 | def get_size(x): | CODE |
| LOW | llm_studio/app_utils/setting_utils.py | 100 | except Exception as e: | CODE |
| LOW | llm_studio/app_utils/setting_utils.py | 199 | except Exception as e: | CODE |
| LOW | llm_studio/app_utils/setting_utils.py | 239 | except Exception: | CODE |
| LOW | llm_studio/app_utils/setting_utils.py | 278 | except Exception: | CODE |
| LOW | llm_studio/app_utils/setting_utils.py | 335 | except Exception as e: | CODE |
| LOW | llm_studio/app_utils/handlers.py | 420 | except Exception as unknown_exception: | CODE |
| LOW | llm_studio/app_utils/initializers.py | 54 | except Exception as e: | CODE |
| LOW | llm_studio/app_utils/utils.py | 268 | except Exception as e: | CODE |
| LOW | llm_studio/app_utils/utils.py | 448 | except Exception as e: | CODE |
| LOW | llm_studio/app_utils/utils.py | 598 | except Exception: | CODE |
| LOW | llm_studio/app_utils/utils.py | 698 | except Exception as e: | CODE |
| LOW | llm_studio/app_utils/utils.py | 1534 | except Exception: | CODE |
| LOW | llm_studio/app_utils/utils.py | 1631 | except Exception: | CODE |
| LOW | llm_studio/app_utils/utils.py | 1730 | except Exception: | CODE |
| LOW | llm_studio/app_utils/utils.py | 1792 | except Exception as e: | CODE |
| LOW | llm_studio/app_utils/utils.py | 2126 | except Exception: | CODE |
| LOW | llm_studio/app_utils/sections/dataset.py | 509 | except Exception: | CODE |
| LOW | llm_studio/app_utils/sections/dataset.py | 635 | except Exception as exception: | CODE |
| LOW | llm_studio/app_utils/sections/dataset.py | 745 | except Exception as exception: | CODE |
| LOW | llm_studio/app_utils/sections/dataset.py | 843 | except Exception as exception: | CODE |
| LOW | llm_studio/app_utils/sections/dataset.py | 1288 | except Exception as error: | CODE |
| MEDIUM | llm_studio/app_utils/sections/experiment.py | 1009 | def load_charts(experiment_path): | CODE |
| LOW | llm_studio/app_utils/sections/experiment.py | 1004 | except Exception as e: | CODE |
| LOW | llm_studio/app_utils/sections/experiment.py | 1013 | except Exception: | CODE |
| LOW | llm_studio/app_utils/sections/experiment.py | 1948 | except Exception: | CODE |
| LOW | llm_studio/src/loggers.py | 138 | except Exception as e: | CODE |
| LOW | …o/src/metrics/text_causal_language_modeling_metrics.py | 126 | except Exception as e: | CODE |
| LOW | llm_studio/src/utils/disk_kv.py | 199 | except Exception as exc: | CODE |
| LOW | llm_studio/src/utils/data_utils.py | 181 | except Exception as e: | CODE |
| LOW | llm_studio/src/utils/utils.py | 125 | except Exception: | CODE |
| LOW | llm_studio/src/utils/modeling_utils.py | 228 | except Exception as e: | CODE |
| LOW | llm_studio/src/utils/modeling_utils.py | 636 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | llm_studio/train_wave.py | 36 | except psutil.NoSuchProcess: | CODE |
| HIGH | llm_studio/python_configs/base.py | 181 | except AttributeError: | CODE |
| HIGH | llm_studio/app_utils/setting_utils.py | 98 | except (KeyringLocked, PasswordDeleteError): | CODE |
| HIGH | llm_studio/app_utils/utils.py | 598 | except Exception: | CODE |
| HIGH | llm_studio/app_utils/utils.py | 194 | except OSError: | CODE |
| HIGH | llm_studio/app_utils/utils.py | 1564 | except psutil.NoSuchProcess: | CODE |
| HIGH | llm_studio/app_utils/sections/dataset.py | 1163 | except OSError: | CODE |
| HIGH | llm_studio/src/utils/plot_utils.py | 62 | except UnicodeDecodeError: | CODE |
| HIGH | llm_studio/src/utils/logging_utils.py | 99 | except NameError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | llm_studio/train.py | 77 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/app.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …python_configs/text_causal_language_modeling_config.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/python_configs/base.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/python_configs/cfg_checks.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | llm_studio/app_utils/setting_utils.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/app_utils/handlers.py | 55 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/app_utils/initializers.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/app_utils/utils.py | 53 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/app_utils/sections/chat_update.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/app_utils/sections/dataset.py | 62 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/app_utils/sections/experiment.py | 83 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/app_utils/sections/chat.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/app_utils/sections/common.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/app_utils/sections/project.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/src/loggers.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | …src/metrics/text_causal_regression_modeling_metrics.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | …o/src/metrics/text_causal_language_modeling_metrics.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | …dio/src/losses/text_causal_language_modeling_losses.py | 7 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/src/losses/text_dpo_modeling_losses.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …o/src/losses/text_causal_regression_modeling_losses.py | 7 | logger = logging.getLogger(__name__) | CODE |
| LOW | …c/losses/text_causal_classification_modeling_losses.py | 7 | logger = logging.getLogger(__name__) | CODE |
| LOW | …m_studio/src/datasets/text_causal_classification_ds.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/src/datasets/text_causal_regression_ds.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/src/datasets/text_utils.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/src/datasets/conversation_chain_handler.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | …tudio/src/datasets/text_causal_language_modeling_ds.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/src/datasets/text_dpo_modeling_ds.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/src/utils/disk_kv.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/src/utils/data_utils.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/src/utils/utils.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/src/utils/utils.py | 15 | def set_seed(seed: int = 1234) -> None: | CODE |
| LOW | llm_studio/src/utils/modeling_utils.py | 42 | logger = logging.getLogger(__name__) | CODE |
| LOW | …rc/models/text_causal_classification_modeling_model.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …src/models/text_sequence_to_sequence_modeling_model.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/src/models/text_dpo_modeling_model.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | …udio/src/models/text_causal_language_modeling_model.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …io/src/models/text_causal_regression_modeling_model.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm_studio/src/augmentations/nlp_aug.py | 8 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/python_configs/test_base.py | 19 | CODE | |
| LOW | llm_studio/train.py | 163 | CODE | |
| LOW | …_configs/text_causal_classification_modeling_config.py | 207 | CODE | |
| LOW | llm_studio/python_configs/base.py | 58 | CODE | |
| LOW | llm_studio/app_utils/cards.py | 29 | CODE | |
| LOW | llm_studio/app_utils/handlers.py | 58 | CODE | |
| LOW | llm_studio/app_utils/utils.py | 865 | CODE | |
| LOW | llm_studio/app_utils/utils.py | 1059 | CODE | |
| LOW | llm_studio/app_utils/utils.py | 1153 | CODE | |
| LOW | llm_studio/app_utils/utils.py | 1238 | CODE | |
| LOW | llm_studio/app_utils/utils.py | 1438 | CODE | |
| LOW | llm_studio/app_utils/utils.py | 1495 | CODE | |
| LOW | llm_studio/app_utils/utils.py | 1539 | CODE | |
| LOW | llm_studio/app_utils/utils.py | 1605 | CODE | |
| LOW | llm_studio/app_utils/utils.py | 1934 | CODE | |
| LOW | llm_studio/app_utils/utils.py | 1972 | CODE | |
| LOW | llm_studio/app_utils/sections/chat_update.py | 105 | CODE | |
| LOW | llm_studio/app_utils/sections/chat_update.py | 283 | CODE | |
| LOW | llm_studio/app_utils/sections/dataset.py | 79 | CODE | |
| LOW | llm_studio/app_utils/sections/dataset.py | 851 | CODE | |
| LOW | llm_studio/app_utils/sections/dataset.py | 1185 | CODE | |
| LOW | llm_studio/app_utils/sections/experiment.py | 541 | CODE | |
| LOW | llm_studio/app_utils/sections/experiment.py | 916 | CODE | |
| LOW | llm_studio/app_utils/sections/experiment.py | 1020 | CODE | |
| LOW | llm_studio/app_utils/sections/experiment.py | 1201 | CODE | |
| LOW | llm_studio/app_utils/sections/experiment.py | 1449 | CODE | |
| LOW | llm_studio/app_utils/sections/experiment.py | 1491 | CODE | |
| LOW | llm_studio/app_utils/sections/experiment.py | 1508 | CODE | |
| LOW | llm_studio/src/nesting.py | 23 | CODE | |
| LOW | …tudio/src/datasets/text_causal_language_modeling_ds.py | 139 | CODE | |
| LOW | llm_studio/src/utils/data_utils.py | 25 | CODE | |
| LOW | llm_studio/src/utils/data_utils.py | 298 | CODE | |
| LOW | llm_studio/src/utils/data_utils.py | 638 | CODE | |
| LOW | llm_studio/src/utils/modeling_utils.py | 63 | CODE | |
| LOW | llm_studio/src/utils/modeling_utils.py | 597 | CODE | |
| LOW | llm_studio/src/utils/modeling_utils.py | 809 | CODE | |
| LOW | llm_studio/src/utils/modeling_utils.py | 1087 | CODE | |
| LOW | llm_studio/src/utils/config_utils.py | 12 | CODE | |
| LOW | llm_studio/src/models/text_dpo_modeling_model.py | 111 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | llm_studio/src/tooltips.py | 9 | Reads all lines of a text file and returns its content as a single string. Args: path (str): The path | STRING |
| HIGH | llm_studio/src/possible_values.py | 170 | Compute current values based on possible values and preferences. This method does not handle duplicate | STRING |
| HIGH | …metrics/text_causal_classification_modeling_metrics.py | 17 | Calculate accuracy score. Only considers the predicted value (results["predictions"]) and target value (results | STRING |
| HIGH | …metrics/text_causal_classification_modeling_metrics.py | 58 | Calculate Area Under the ROC Curve (AUC) score. This function computes the AUC score using the predicted logits and | STRING |
| HIGH | …metrics/text_causal_classification_modeling_metrics.py | 101 | Calculate the Log Loss (Cross-Entropy Loss) score. This function computes the log loss using the predicted probabil | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | documentation/docs/tutorials/tutorial-1a/tutorial-1a.md | 23 | ## Step 1: Import dataset | COMMENT |
| LOW | documentation/docs/tutorials/tutorial-1a/tutorial-1a.md | 35 | ## Step 2: Configure dataset | COMMENT |
| LOW | documentation/docs/tutorials/tutorial-1a/tutorial-1a.md | 52 | ## Step 3: Create a new experiment | COMMENT |
| LOW | documentation/docs/tutorials/tutorial-1a/tutorial-1a.md | 69 | ## Step 4: Evaluate experiment | COMMENT |
| LOW | documentation/docs/tutorials/tutorial-2a/tutorial-2a.md | 23 | ## Step 1: Import dataset | COMMENT |
| LOW | documentation/docs/tutorials/tutorial-2a/tutorial-2a.md | 35 | ## Step 2: Configure dataset | COMMENT |
| LOW | documentation/docs/tutorials/tutorial-2a/tutorial-2a.md | 49 | ## Step 3: Create a new experiment | COMMENT |
| LOW | documentation/docs/tutorials/tutorial-2a/tutorial-2a.md | 65 | ## Step 4: Evaluate experiment | COMMENT |
| LOW⚡ | documentation/docs/get-started/llm-studio-flow.md | 14 | ## Step 1: Import a dataset | COMMENT |
| LOW⚡ | documentation/docs/get-started/llm-studio-flow.md | 22 | ## Step 2: Create an experiment | COMMENT |
| LOW⚡ | documentation/docs/get-started/llm-studio-flow.md | 29 | ## Step 3: Monitor an experiment | COMMENT |
| LOW⚡ | documentation/docs/get-started/llm-studio-flow.md | 35 | ## Step 4: Compare experiments | COMMENT |
| LOW⚡ | documentation/docs/get-started/llm-studio-flow.md | 41 | ## Step 5: Export a model to Hugging Face Hub | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/src/datasets/test_text_causal_language_modeling_ds.py | 152 | assert dataset.df.equals(df) | CODE |
| HIGH | …/src/datasets/test_text_causal_language_modeling_ds.py | 448 | assert df_processed.equals(df) | CODE |
| HIGH | llm_studio/app_utils/sections/common.py | 96 | "for(var n=function(e){return function(){heap.push([e]." | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | llm_studio/app_utils/utils.py | 216 | s3.meta.client.meta.events.register("choose-signer.s3.*", disable_signing) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ui/llm_studio_page.py | 237 | # Check if the current name matches the target name | COMMENT |
| LOW | tests/src/utils/test_utils.py | 100 | # Check if symlinks were created in the parent directory | COMMENT |
| LOW | llm_studio/train_wave.py | 92 | # Check if DDP | COMMENT |
| LOW | llm_studio/app_utils/hugging_face_utils.py | 200 | # Check if the 'device' value is valid, raise an exception if not | COMMENT |
| LOW | llm_studio/app_utils/hugging_face_utils.py | 219 | # Check if the user is already logged in, and if not, prompt for API key | COMMENT |
| LOW | llm_studio/app_utils/sections/experiment.py | 101 | # Check if the function is asynchronous | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/src/models/test_dpo_modeling_model.py | 228 | CODE | |
| LOW | llm_studio/app_utils/wave_utils.py | 52 | CODE | |
| LOW | llm_studio/src/utils/data_utils.py | 25 | CODE | |
| LOW | llm_studio/src/utils/modeling_utils.py | 716 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/src/utils/test_modeling_utils.py | 20 | # Create a dummy model | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | llm_studio/app.py | 9 | CODE | |
| LOW | llm_studio/app.py | 9 | CODE | |
| LOW | llm_studio/src/utils/disk_kv.py | 30 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/src/datasets/test_text_dpo_modeling_ds.py | 81 | # { | COMMENT |
| LOW | llm_studio/app_utils/utils.py | 121 | COMMENT |