The open source research environment for AI researchers to seamlessly train, evaluate, and scale models from local hardware to GPU clusters.
This report summarizes scanner evidence for transformerlab/transformerlab-app, a Python project with 5,191 GitHub stars. SynthScan examined 199,002 lines of code across 815 source files, recording 3886 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 31.8 (High 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? 2036 finding(s).
Are imports declared and package/API names verified? 222 finding(s).
Are wrappers, guards, and repeated structures necessary? 3073 finding(s).
Which changes need focused human review? 3886 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 3886 distinct pattern matches across 22 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 | lab-sdk/tests/test_storage_azure.py | 27 | async def test_root_uri_azure_with_org_and_remote_enabled(monkeypatch): | CODE |
| LOW | lab-sdk/tests/conftest.py | 10 | def _isolate_imports_and_home(monkeypatch, tmp_path): | CODE |
| LOW | lab-sdk/tests/test_probe.py | 9 | async def test_probe_writes_sentinel_file(): | CODE |
| LOW | lab-sdk/tests/test_probe.py | 46 | async def test_probe_falls_back_when_no_storage_uri(tmp_path): | CODE |
| LOW | lab-sdk/tests/test_task.py | 213 | async def test_task_list_by_experiment(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_task.py | 243 | async def test_task_list_by_type_in_experiment(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_task.py | 331 | async def test_task_list_all_empty_dir(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_dirs.py | 16 | async def test_dirs_structure_created(monkeypatch, tmp_path): | CODE |
| LOW | lab-sdk/tests/test_experiment.py | 15 | async def test_experiment_dir_and_jobs_index(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_experiment.py | 70 | async def test_experiment_create_and_get(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_experiment.py | 100 | async def test_experiment_config_validation(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_experiment.py | 125 | async def test_update_cached_job_is_safe_under_concurrent_writes(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_experiment.py | 169 | async def test_create_job_uses_uuid_and_experiment_dir(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_experiment.py | 202 | async def test_create_job_retries_after_file_exists_error(tmp_path, monkeypatch, caplog): | CODE |
| LOW | lab-sdk/tests/test_experiment.py | 237 | async def test_create_job_retries_with_backoff_for_juicefs(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_experiment.py | 278 | async def test_get_jobs_lists_from_directory(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_experiment.py | 307 | async def test_get_jobs_sorted_newest_created_first_when_no_start_time(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_experiment.py | 330 | async def test_get_jobs_sorted_by_start_time_over_created_at(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_experiment.py | 356 | async def test_get_jobs_sorted_by_space_separated_start_time(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_job_and_labresource.py | 8 | async def test_baselabresource_create_get(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_job_and_labresource.py | 35 | async def test_job_default_json_and_updates(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_job_and_labresource.py | 70 | async def test_job_data_field_updates(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_job_and_labresource.py | 98 | async def test_job_create_and_get_with_experiment(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_job_and_labresource.py | 128 | async def test_job_get_missing_raises(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_job_and_labresource.py | 144 | async def test_count_running_jobs_cross_experiment(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_job_and_labresource.py | 183 | async def test_update_progress_writes_current_metrics_to_job_data(tmp_workspace_job): | CODE |
| LOW | lab-sdk/tests/test_job_and_labresource.py | 191 | async def test_update_progress_appends_metrics_jsonl(tmp_workspace_job): | CODE |
| LOW | lab-sdk/tests/test_job_and_labresource.py | 212 | async def test_update_progress_no_metrics_does_not_set_current_metrics(tmp_workspace_job): | CODE |
| LOW | lab-sdk/tests/test_job_and_labresource.py | 221 | async def test_get_next_queued_job_sorted_by_created_at(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_job_and_labresource.py | 246 | async def test_nan_score_not_persisted_as_invalid_json(tmp_workspace_job): | CODE |
| LOW | lab-sdk/tests/test_job_and_labresource.py | 263 | async def test_get_json_data_recovers_existing_nan_file(tmp_workspace_job): | CODE |
| LOW | lab-sdk/tests/test_dataset.py | 30 | async def test_dataset_create_and_get(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_dataset.py | 58 | async def test_dataset_default_json(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_dataset.py | 79 | async def test_dataset_set_metadata(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_dataset.py | 114 | async def test_dataset_get_metadata(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_dataset.py | 163 | async def test_dataset_list_all_empty_dir(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_dataset.py | 181 | async def test_dataset_secure_filename(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_storage_nfs.py | 7 | async def test_storage_debug_info_localfs(monkeypatch, tmp_path): | CODE |
| LOW | lab-sdk/tests/test_storage_nfs.py | 42 | async def test_localfs_scoped_env_uri_works_without_context(monkeypatch, tmp_path): | CODE |
| LOW | lab-sdk/tests/test_storage_nfs.py | 63 | async def test_localfs_unscoped_env_uri_requires_context(monkeypatch, tmp_path): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 45 | def test_lab_init_with_existing_job(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 73 | def test_lab_init_with_nonexistent_job(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 116 | def test_lab_set_config_merges_existing(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 186 | def test_lab_update_progress_with_metrics(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 238 | def test_lab_finish_preserves_explicit_discard_value(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 258 | def test_lab_finish_with_paths(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 306 | def test_lab_save_artifact_file(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 337 | def test_lab_save_artifact_directory(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 365 | def test_lab_save_artifact_with_name(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 388 | def test_lab_save_artifact_invalid_path(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 445 | def test_lab_save_checkpoint_directory(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 471 | def test_lab_capture_trackio_metadata_directory(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 570 | def test_lab_save_dataset_with_metadata(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 617 | def test_lab_save_dataset_image_format(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 659 | def test_lab_save_dataset_duplicate_error(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 734 | def test_lab_properties_uninitialized(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 760 | def test_lab_get_checkpoints_dir(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 779 | def test_lab_get_artifacts_dir(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 798 | def test_lab_get_checkpoint_paths(tmp_path, monkeypatch): | CODE |
| LOW | lab-sdk/tests/test_lab_facade.py | 821 | def test_lab_get_artifact_paths(tmp_path, monkeypatch): | CODE |
| 1369 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lab-sdk/tests/test_experiment.py | 94 | except Exception: | CODE |
| LOW | lab-sdk/scripts/examples/fake_evals.py | 211 | except Exception as e: | CODE |
| LOW | lab-sdk/scripts/examples/download_sample_audio.py | 34 | except Exception as e: # pragma: no cover - network/demo only | CODE |
| LOW | lab-sdk/scripts/examples/download_sample_video.py | 33 | except Exception as e: | CODE |
| LOW | lab-sdk/scripts/examples/fake_train_with_params.py | 145 | except Exception as e: | CODE |
| LOW | lab-sdk/scripts/examples/fake_train_with_params.py | 167 | except Exception: | CODE |
| LOW | lab-sdk/scripts/examples/fake_train_with_params.py | 214 | except Exception: | CODE |
| LOW | lab-sdk/scripts/examples/fake_train_with_params.py | 275 | except Exception as e: | CODE |
| LOW | lab-sdk/scripts/examples/yolo_train_script.py | 81 | except Exception as e: | CODE |
| LOW | lab-sdk/scripts/examples/yolo_train_script.py | 287 | except Exception as e: | STRING |
| LOW | lab-sdk/scripts/examples/yolo_train_script.py | 291 | except Exception as e: | STRING |
| LOW | lab-sdk/scripts/examples/yolo_train_script.py | 334 | except Exception as e: | STRING |
| LOW | lab-sdk/scripts/examples/yolo_train_script.py | 376 | except Exception as e: | STRING |
| LOW | lab-sdk/scripts/examples/yolo_train_script.py | 390 | except Exception as e: | STRING |
| LOW | lab-sdk/scripts/examples/yolo_train_script.py | 413 | except Exception as e: | STRING |
| LOW | lab-sdk/scripts/examples/slow_test_script.py | 107 | except Exception as e: | CODE |
| LOW | lab-sdk/scripts/examples/slow_test_script.py | 128 | except Exception: | CODE |
| LOW | lab-sdk/scripts/examples/slow_test_script.py | 174 | except Exception: | CODE |
| LOW | lab-sdk/scripts/examples/slow_test_script.py | 194 | except Exception as e: | CODE |
| LOW | lab-sdk/scripts/examples/fake_train.py | 107 | except Exception as e: | CODE |
| LOW | lab-sdk/scripts/examples/fake_train.py | 128 | except Exception: | CODE |
| LOW | lab-sdk/scripts/examples/fake_train.py | 173 | except Exception: | CODE |
| LOW | lab-sdk/scripts/examples/fake_train.py | 207 | except Exception as e: | CODE |
| LOW | lab-sdk/scripts/examples/fake_dataset_generate.py | 116 | except Exception as e: | CODE |
| LOW | lab-sdk/scripts/examples/trl_train_script.py | 94 | except Exception as e: | CODE |
| LOW | lab-sdk/scripts/examples/trl_train_script.py | 189 | except Exception as e: | CODE |
| LOW | lab-sdk/scripts/examples/trl_train_script.py | 226 | except Exception as e: | CODE |
| LOW | lab-sdk/scripts/examples/trl_train_script.py | 278 | except Exception as e: | CODE |
| LOW | lab-sdk/scripts/examples/trl_train_script.py | 400 | except Exception: | CODE |
| LOW | lab-sdk/scripts/examples/trl_train_script.py | 403 | except Exception as e: | CODE |
| LOW | lab-sdk/scripts/examples/trl_train_script.py | 465 | except Exception: | CODE |
| LOW | lab-sdk/scripts/examples/trl_train_script.py | 489 | except Exception as e: | CODE |
| LOW | lab-sdk/src/lab/task.py | 84 | except Exception as e: | CODE |
| LOW | lab-sdk/src/lab/task.py | 96 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/task.py | 155 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/labresource.py | 159 | except Exception as e: | CODE |
| LOW | lab-sdk/src/lab/labresource.py | 272 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | lab-sdk/src/lab/generation.py | 82 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | lab-sdk/src/lab/job.py | 26 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/job.py | 38 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/job.py | 97 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/job.py | 166 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/job.py | 255 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/job.py | 289 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/job.py | 329 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/job.py | 348 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/job.py | 388 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/job.py | 395 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/job.py | 410 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/job.py | 416 | except Exception: | CODE |
| LOW⚡ | lab-sdk/src/lab/lab_facade.py | 311 | except Exception: | CODE |
| LOW⚡ | lab-sdk/src/lab/lab_facade.py | 321 | except Exception: | CODE |
| LOW⚡ | lab-sdk/src/lab/lab_facade.py | 681 | except Exception: | CODE |
| LOW⚡ | lab-sdk/src/lab/lab_facade.py | 688 | except Exception: | CODE |
| LOW⚡ | lab-sdk/src/lab/lab_facade.py | 690 | except Exception: | CODE |
| LOW⚡ | lab-sdk/src/lab/lab_facade.py | 1071 | except Exception: | CODE |
| LOW⚡ | lab-sdk/src/lab/lab_facade.py | 1074 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/lab_facade.py | 138 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/lab_facade.py | 177 | except Exception: | CODE |
| LOW | lab-sdk/src/lab/lab_facade.py | 390 | except Exception: | CODE |
| 983 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | lab-sdk/tests/test_experiment.py | 94 | except Exception: | CODE |
| HIGH | lab-sdk/tests/test_experiment.py | 119 | except TypeError: | CODE |
| HIGH | lab-sdk/tests/test_experiment.py | 150 | except TimeoutError: | CODE |
| HIGH | lab-sdk/tests/test_lab_facade.py | 89 | except (FileNotFoundError, RuntimeError): | CODE |
| HIGH | lab-sdk/tests/test_lab_facade.py | 405 | except ValueError: | CODE |
| HIGH | lab-sdk/tests/test_lab_facade.py | 411 | except FileNotFoundError: | CODE |
| HIGH | lab-sdk/tests/test_lab_facade.py | 750 | except RuntimeError: | CODE |
| HIGH | lab-sdk/tests/test_lab_facade.py | 756 | except RuntimeError: | CODE |
| HIGH | lab-sdk/tests/test_lab_facade.py | 984 | except FileNotFoundError: | CODE |
| HIGH | lab-sdk/tests/test_lab_facade.py | 1179 | except FileNotFoundError: | CODE |
| HIGH | lab-sdk/tests/test_lab_facade.py | 893 | except RuntimeError: | CODE |
| HIGH | lab-sdk/scripts/examples/fake_train_with_params.py | 214 | except Exception: | CODE |
| HIGH | lab-sdk/scripts/examples/fake_train_with_params.py | 167 | except Exception: | CODE |
| HIGH | lab-sdk/scripts/examples/slow_test_script.py | 174 | except Exception: | CODE |
| HIGH | lab-sdk/scripts/examples/slow_test_script.py | 128 | except Exception: | CODE |
| HIGH | lab-sdk/scripts/examples/fake_train.py | 173 | except Exception: | CODE |
| HIGH | lab-sdk/scripts/examples/fake_train.py | 128 | except Exception: | CODE |
| HIGH | lab-sdk/scripts/examples/trl_train_script.py | 465 | except Exception: | CODE |
| HIGH | lab-sdk/scripts/examples/trl_train_script.py | 400 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/job.py | 289 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/job.py | 97 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/job.py | 329 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/job.py | 348 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 2330 | except ImportError: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 645 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 1229 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 1580 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 1656 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 1704 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 906 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 979 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 1160 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 1635 | except ImportError: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 1653 | except (ImportError, AttributeError): | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 1701 | except ImportError: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 681 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 688 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 773 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 1074 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 1126 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 2287 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 2233 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 2285 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/lab_facade.py | 1071 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/remote_trap.py | 128 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/remote_trap.py | 153 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/remote_trap.py | 165 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/remote_trap.py | 363 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/remote_trap.py | 369 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/remote_trap.py | 378 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/remote_trap.py | 324 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/remote_trap.py | 288 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/model.py | 173 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/experiment.py | 217 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/profiling.py | 88 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/profiling.py | 314 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/profiling.py | 322 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/profiling.py | 360 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/profiling.py | 192 | except Exception: | CODE |
| HIGH | lab-sdk/src/lab/profiling.py | 358 | except Exception: | CODE |
| 158 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | lab-sdk/src/lab/profiling.py | 364 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lab-sdk/src/lab/profiling.py | 366 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kills/agent-browser/templates/authenticated-session.sh | 32 | # ================================================================ | COMMENT |
| MEDIUM | …kills/agent-browser/templates/authenticated-session.sh | 34 | # ================================================================ | COMMENT |
| MEDIUM | …kills/agent-browser/templates/authenticated-session.sh | 54 | # ================================================================ | COMMENT |
| MEDIUM | …kills/agent-browser/templates/authenticated-session.sh | 56 | # ================================================================ | COMMENT |
| MEDIUM | …kills/agent-browser/templates/authenticated-session.sh | 76 | # ================================================================ | COMMENT |
| MEDIUM | …kills/agent-browser/templates/authenticated-session.sh | 78 | # ================================================================ | COMMENT |
| MEDIUM⚡ | cli/tests/commands/test_job.py | 380 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cli/tests/commands/test_job.py | 382 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cli/tests/commands/test_job.py | 638 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cli/tests/commands/test_job.py | 640 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cli/tests/commands/test_job.py | 673 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cli/tests/commands/test_job.py | 675 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cli/tests/commands/test_job.py | 793 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cli/tests/commands/test_job.py | 795 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cli/tests/commands/test_job.py | 871 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cli/tests/commands/test_job.py | 873 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cli/tests/commands/test_job.py | 278 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cli/tests/commands/test_job.py | 280 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cli/tests/commands/test_job.py | 434 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cli/tests/commands/test_job.py | 436 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cli/tests/commands/test_server.py | 289 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cli/tests/commands/test_server.py | 291 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cli/tests/commands/test_notes.py | 20 | # ── show ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/tests/commands/test_notes.py | 47 | # ── show --share ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | cli/tests/commands/test_notes.py | 115 | # ── append ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | cli/tests/commands/test_notes.py | 146 | # ── edit ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | cli/src/transformerlab_cli/commands/server.py | 608 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cli/src/transformerlab_cli/commands/server.py | 610 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/server.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/server.py | 39 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/server.py | 102 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/server.py | 104 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/server.py | 390 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/server.py | 392 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/server.py | 446 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/server.py | 448 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/server.py | 488 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/server.py | 490 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cli/src/transformerlab_cli/commands/model.py | 24 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | cli/src/transformerlab_cli/commands/model.py | 26 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/model.py | 53 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/model.py | 55 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/model.py | 98 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/model.py | 100 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/model.py | 142 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/model.py | 144 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/model.py | 186 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/model.py | 188 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/model.py | 253 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/model.py | 255 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/model.py | 318 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/model.py | 320 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | cli/src/transformerlab_cli/commands/dataset.py | 23 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | cli/src/transformerlab_cli/commands/dataset.py | 25 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/dataset.py | 52 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/dataset.py | 54 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/dataset.py | 97 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/commands/dataset.py | 99 | # ────────────────────────────────────────────── | COMMENT |
| 208 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/test-task-placement.py | 18 | 5. Upload cwd — `cd probe-upload && lab task add .` (byte-for-byte identical to #4). | STRING |
| HIGH | scripts/test-task-placement.py | 350 | description="Upload current directory (cd dir && lab task add .)", | CODE |
| HIGH | scripts/pr-stats/generate.py | 271 | const color = contributors[name]?.color || commitContributors[name]?.color || locContributors[name]?.color || '#8b949e | CODE |
| HIGH | scripts/pr-stats/generate.py | 393 | return contributors[name]?.color || commitContributors[name]?.color || locContributors[name]?.color || '#8b949e'; | CODE |
| HIGH | scripts/pr-stats/generate.py | 622 | '.[] | select(.author != null) | "\\(.commit.author.name)\t\\(.author.login)"', | CODE |
| HIGH | api/api.py | 232 | "Sentry SDK is not installed. Skipping Sentry integration. Please install it with the following command: sou | CODE |
| HIGH | api/test/test_vastai_provider.py | 159 | assert "(echo setup && python train.py)" in onstart | CODE |
| HIGH⚡ | api/test/test_aws_provider.py | 532 | assert "cp /root/.local/bin/uv /usr/local/bin/uv && chmod +x /usr/local/bin/uv" in user_data | CODE |
| HIGH | api/test/test_remote_workdir_cd.py | 13 | EXPECTED_PREFIX = f'cd "$(cat {WORKDIR_FILE_PATH} 2>/dev/null || echo "$HOME")" && ' | CODE |
| HIGH⚡ | api/test/test_remote_workdir_cd.py | 70 | cmd = "python main.py --epochs 3 && echo done" | CODE |
| HIGH⚡ | api/test/compute_providers/test_nebius_subnet.py | 71 | assert "shutdown -h now || poweroff || true" in user_data | CODE |
| HIGH | api/transformerlab/routers/auth.py | 251 | - If API key has team_id = null, uses X-Team-Id if provided, otherwise uses personal team | STRING |
| HIGH | api/transformerlab/routers/api_keys.py | 32 | None, description="Team ID to scope the key to. If null, key works for all user's teams" | CODE |
| HIGH | api/transformerlab/routers/api_keys.py | 35 | None, description="Number of days until expiration. If null, key never expires" | CODE |
| HIGH | api/transformerlab/shared/interactive_gallery_utils.py | 21 | '/etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && echo "deb https://ngrok-agent.s3.amazonaws.com bookworm main" | ' | CODE |
| HIGH | api/transformerlab/shared/github_utils.py | 97 | pull_command = "git pull origin main || git pull origin master || git pull origin HEAD" | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/lambda_labs.py | 353 | pass' 2>/dev/null || true) | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/lambda_labs.py | 358 | "$_TFL_LAMBDA_API_BASE/instance-operations/terminate" >/dev/null 2>&1 || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/lambda_labs.py | 360 | sync || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/lambda_labs.py | 361 | shutdown -h now || poweroff || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/lambda_labs.py | 369 | python3 /tmp/_tfl_push_logs.py || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/lambda_labs.py | 384 | apt-get update -qq || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/lambda_labs.py | 385 | DEBIAN_FRONTEND=noninteractive apt-get install -y -qq python3 python3-venv python3-pip >/dev/null 2>&1 || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/lambda_labs.py | 386 | python3 -m venv /opt/transformerlab-venv || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/lambda_labs.py | 388 | curl -LsSf https://astral.sh/uv/install.sh | sh || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/lambda_labs.py | 390 | if [ -x /root/.local/bin/uv ]; then cp /root/.local/bin/uv /usr/local/bin/uv && chmod +x /usr/local/bin/uv; fi | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/lambda_labs.py | 391 | if [ -x /root/.local/bin/uvx ]; then cp /root/.local/bin/uvx /usr/local/bin/uvx && chmod +x /usr/local/bin/uvx; fi | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/lambda_labs.py | 393 | pip install -q transformerlab || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/lambda_labs.py | 104 | cmd = f"tail -n {tail_lines} {remote_path} 2>/dev/null || echo 'No log file yet.'" | STRING |
| HIGH | api/transformerlab/compute_providers/slurm.py | 599 | "sinfo -N -h -o '%N|%P|%T|%E|%c|%C|%m|%e|%G|%b' 2>/dev/null || sinfo -N -h -o '%N|%P|%T|%E|%c||%m||%G|'" | CODE |
| HIGH | api/transformerlab/compute_providers/slurm.py | 751 | if not gres_str or gres_str.lower() in ["(null)", "n/a", "none", ""]: | CODE |
| HIGH | api/transformerlab/compute_providers/slurm.py | 741 | "(null)" or "N/A" -> {} | STRING |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 168 | cmd = f"tail -n {tail_lines} {remote_path} 2>/dev/null || echo 'No log file yet.'" | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 468 | echo "[tfl] self-terminate: requesting managed identity token" >> /workspace/run_logs.txt 2>&1 || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 469 | _token_json=$(curl -s -H "Metadata: true" "http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-0 | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 470 | _token=$(printf "%s" "$_token_json" | python3.11 -c 'import json,sys; print(json.load(sys.stdin).get("access_token","" | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 471 | _sub=$(curl -s -H "Metadata: true" "http://169.254.169.254/metadata/instance/compute/subscriptionId?api-version=2021-0 | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 472 | _rg=$(curl -s -H "Metadata: true" "http://169.254.169.254/metadata/instance/compute/resourceGroupName?api-version=2021 | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 473 | _name=$(curl -s -H "Metadata: true" "http://169.254.169.254/metadata/instance/compute/name?api-version=2021-02-01&form | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 478 | echo "[tfl] self-terminate: vm delete requested (http=$_http) body=$_resp" >> /workspace/run_logs.txt 2>&1 || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 480 | echo "[tfl] self-terminate: missing token/metadata; skipping delete" >> /workspace/run_logs.txt 2>&1 || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 505 | command -v python3.11 >/dev/null 2>&1 && break | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 507 | dpkg --configure -a || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 508 | $_tfl_apt install -f || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 509 | $_tfl_apt update || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 510 | $_tfl_apt install software-properties-common curl || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 512 | add-apt-repository -y ppa:deadsnakes/ppa || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 513 | $_tfl_apt update || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 514 | $_tfl_apt install python3.11 python3.11-venv python3.11-distutils || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 522 | python3.11 /tmp/get-pip.py || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 531 | if [ -x /root/.local/bin/uv ]; then cp /root/.local/bin/uv /usr/local/bin/uv && chmod +x /usr/local/bin/uv; fi | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/azure.py | 532 | if [ -x /root/.local/bin/uvx ]; then cp /root/.local/bin/uvx /usr/local/bin/uvx && chmod +x /usr/local/bin/uvx; fi | CODE |
| HIGH | api/transformerlab/compute_providers/azure.py | 448 | " if command -v nvidia-smi >/dev/null 2>&1 && nvidia-smi >/dev/null 2>&1; then\n" | CODE |
| HIGH | api/transformerlab/compute_providers/azure.py | 449 | ' echo "[tfl] NVIDIA driver ready"; nvidia-smi || true; break\n' | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/aws.py | 196 | cmd = f"tail -n {tail_lines} {remote_path} 2>/dev/null || echo 'No log file yet.'" | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/aws.py | 461 | -H "X-aws-ec2-metadata-token-ttl-seconds: 60" 2>/dev/null) || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/aws.py | 463 | "http://169.254.169.254/latest/meta-data/instance-id" 2>/dev/null) || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/aws.py | 465 | aws ec2 terminate-instances --instance-ids "$_iid" --region "{region}" >/dev/null 2>&1 || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/aws.py | 486 | DEBIAN_FRONTEND=noninteractive apt-get install -y -qq unzip >/dev/null 2>&1 || true | CODE |
| HIGH⚡ | api/transformerlab/compute_providers/aws.py | 489 | && /tmp/aws/install --update) >/dev/null 2>&1 || true | CODE |
| 25 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lab-sdk/tests/test_probe.py | 46 | CODE | |
| LOW | lab-sdk/tests/test_lab_facade.py | 501 | CODE | |
| LOW | lab-sdk/tests/test_lab_facade.py | 523 | CODE | |
| LOW | lab-sdk/scripts/examples/fake_train_with_params.py | 8 | CODE | |
| LOW | lab-sdk/scripts/examples/yolo_train_script.py | 15 | CODE | |
| LOW | lab-sdk/scripts/examples/slow_test_script.py | 8 | CODE | |
| LOW | lab-sdk/scripts/examples/fake_train.py | 8 | CODE | |
| LOW | lab-sdk/scripts/examples/trl_train_script.py | 120 | CODE | |
| LOW | lab-sdk/scripts/examples/trl_train_script.py | 68 | CODE | |
| LOW | lab-sdk/src/lab/dirs.py | 37 | CODE | |
| LOW | lab-sdk/src/lab/labresource.py | 119 | CODE | |
| LOW | lab-sdk/src/lab/generation.py | 86 | CODE | |
| LOW | lab-sdk/src/lab/job.py | 81 | CODE | |
| LOW | lab-sdk/src/lab/job.py | 398 | CODE | |
| LOW | lab-sdk/src/lab/lab_facade.py | 88 | CODE | |
| LOW | lab-sdk/src/lab/lab_facade.py | 260 | CODE | |
| LOW | lab-sdk/src/lab/lab_facade.py | 348 | CODE | |
| LOW | lab-sdk/src/lab/lab_facade.py | 599 | CODE | |
| LOW | lab-sdk/src/lab/lab_facade.py | 724 | CODE | |
| LOW | lab-sdk/src/lab/lab_facade.py | 1254 | CODE | |
| LOW | lab-sdk/src/lab/lab_facade.py | 1594 | CODE | |
| LOW | lab-sdk/src/lab/lab_facade.py | 1660 | CODE | |
| LOW | lab-sdk/src/lab/lab_facade.py | 2137 | CODE | |
| LOW | lab-sdk/src/lab/lab_facade.py | 2237 | CODE | |
| LOW | lab-sdk/src/lab/model.py | 97 | CODE | |
| LOW | lab-sdk/src/lab/model.py | 151 | CODE | |
| LOW | lab-sdk/src/lab/model.py | 198 | CODE | |
| LOW | lab-sdk/src/lab/experiment.py | 159 | CODE | |
| LOW | lab-sdk/src/lab/experiment.py | 295 | CODE | |
| LOW | lab-sdk/src/lab/experiment.py | 391 | CODE | |
| LOW | lab-sdk/src/lab/experiment.py | 539 | CODE | |
| LOW | lab-sdk/src/lab/experiment.py | 577 | CODE | |
| LOW | lab-sdk/src/lab/experiment.py | 667 | CODE | |
| LOW | lab-sdk/src/lab/experiment.py | 725 | CODE | |
| LOW | lab-sdk/src/lab/storage.py | 247 | CODE | |
| LOW | lab-sdk/src/lab/storage.py | 434 | CODE | |
| LOW | lab-sdk/src/lab/storage.py | 621 | CODE | |
| LOW | lab-sdk/src/lab/storage.py | 798 | CODE | |
| LOW | lab-sdk/src/lab/task_template.py | 214 | CODE | |
| LOW | cli/tests/integration/test_live_cli_routes.py | 24 | CODE | |
| LOW | cli/tests/integration/test_live_cli_routes.py | 56 | CODE | |
| LOW | cli/src/transformerlab_cli/util/ui.py | 70 | CODE | |
| LOW | cli/src/transformerlab_cli/util/asset_paths.py | 37 | CODE | |
| LOW | cli/src/transformerlab_cli/util/chunked_download.py | 18 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/task.py | 139 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/task.py | 251 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/task.py | 450 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/task.py | 660 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/server.py | 129 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/server.py | 876 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/server.py | 924 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/server.py | 1051 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/version.py | 12 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/provider.py | 296 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/provider.py | 537 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/job.py | 502 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/job.py | 652 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/job.py | 841 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/job.py | 967 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/job.py | 1010 | CODE | |
| 203 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lab-sdk/scripts/examples/yolo_train_script.py | 51 | # Check if we should resume from a checkpoint | COMMENT |
| LOW | lab-sdk/scripts/examples/trl_train_script.py | 162 | # Check if we should resume from a checkpoint | COMMENT |
| LOW | lab-sdk/src/lab/labresource.py | 160 | # Check if this is the Etag mismatch error | COMMENT |
| LOW | lab-sdk/src/lab/job.py | 265 | # Check if this is a remote path (S3, GCS, etc.) | COMMENT |
| LOW⚡ | lab-sdk/src/lab/lab_facade.py | 1065 | # Check if this directory has contents | COMMENT |
| LOW⚡ | lab-sdk/src/lab/lab_facade.py | 1078 | # Check if source is directory: use local filesystem for local paths, storage backend for remote | COMMENT |
| LOW | lab-sdk/src/lab/lab_facade.py | 49 | # Check if this is our custom error or a "no running loop" error | COMMENT |
| LOW | lab-sdk/src/lab/lab_facade.py | 96 | # Check if we should use experiment_id from environment variable | COMMENT |
| LOW | lab-sdk/src/lab/lab_facade.py | 105 | # Check if we should use an existing job from environment variable | COMMENT |
| LOW | lab-sdk/src/lab/lab_facade.py | 586 | # Check if checkpoint path is strictly within checkpoints directory | COMMENT |
| LOW | lab-sdk/src/lab/lab_facade.py | 766 | # Check if source is a DataFrame (pandas or HuggingFace dataset) | COMMENT |
| LOW | lab-sdk/src/lab/lab_facade.py | 868 | # Check if source is directory: use local filesystem for local paths, storage backend for remote | COMMENT |
| LOW | lab-sdk/src/lab/lab_facade.py | 1053 | # Check if there are any files in the directory (not just the directory exists) | COMMENT |
| LOW | lab-sdk/src/lab/lab_facade.py | 1105 | # Check if dest contains a single model file | COMMENT |
| LOW | lab-sdk/src/lab/lab_facade.py | 1195 | # Check if source is directory: use local filesystem for local paths, storage backend for remote | COMMENT |
| LOW | lab-sdk/src/lab/lab_facade.py | 1470 | # Check if source is directory: use local filesystem for local paths, storage backend for remote | COMMENT |
| LOW | lab-sdk/src/lab/lab_facade.py | 1643 | # Check if there's a wandb run that was initialized elsewhere | COMMENT |
| LOW⚡ | lab-sdk/src/lab/model.py | 116 | # Check if this is a flat model (has index.json at root) | COMMENT |
| LOW⚡ | lab-sdk/src/lab/experiment.py | 609 | # Check if this is the Etag mismatch error and retry once more | COMMENT |
| LOW | lab-sdk/src/lab/experiment.py | 321 | # Check if this is the Etag mismatch error | COMMENT |
| LOW | lab-sdk/src/lab/experiment.py | 458 | # Check if this is the Etag mismatch error | COMMENT |
| LOW⚡ | lab-sdk/src/lab/storage.py | 391 | # Close filesystem even if exception raised. | COMMENT |
| LOW⚡ | lab-sdk/src/lab/storage.py | 405 | # Close filesystem even if exception raised. | COMMENT |
| LOW⚡ | lab-sdk/src/lab/storage.py | 417 | # Close filesystem even if exception raised. | COMMENT |
| LOW | lab-sdk/src/lab/storage.py | 348 | # Close filesystem even if exception raised. | COMMENT |
| LOW | lab-sdk/src/lab/storage.py | 373 | # Close filesystem even if exception raised. | COMMENT |
| LOW | lab-sdk/src/lab/storage.py | 430 | # Close filesystem even if exception raised. | COMMENT |
| LOW | lab-sdk/src/lab/storage.py | 480 | # Close filesystem even if exception raised. | COMMENT |
| LOW | lab-sdk/src/lab/storage.py | 489 | # Close filesystem even if exception raised. | COMMENT |
| LOW | lab-sdk/src/lab/storage.py | 514 | # Close filesystem even if exception raised. | COMMENT |
| LOW | lab-sdk/src/lab/storage.py | 524 | # Close filesystem even if exception raised. | COMMENT |
| LOW | lab-sdk/src/lab/storage.py | 540 | # Close filesystem even if exception raised. | COMMENT |
| LOW | lab-sdk/src/lab/storage.py | 575 | # Check if this is a local filesystem | COMMENT |
| LOW | lab-sdk/src/lab/storage.py | 782 | # Close filesystem even if exception raised. | COMMENT |
| LOW | lab-sdk/src/lab/storage.py | 785 | # Close filesystem even if exception raised. | COMMENT |
| LOW | lab-sdk/src/lab/storage.py | 837 | # Close filesystem even if exception raised. | COMMENT |
| LOW | cli/src/transformerlab_cli/commands/job.py | 664 | # Check if file already exists | COMMENT |
| LOW | cli/src/transformerlab_cli/commands/job.py | 683 | # Write the file with progress tracking | COMMENT |
| LOW | cli/src/transformerlab_cli/commands/whoami.py | 18 | # Check if API key exists | COMMENT |
| LOW | …/transformerlab_cli/commands/job_monitor/JobDetails.py | 230 | # Write the file | COMMENT |
| LOW | scripts/orval/generateSDK.sh | 3 | # Check if FastChat is running on port 8338 by looking at the root | COMMENT |
| LOW | api/install.sh | 129 | # Check if a file called ~/.conda/environments.txt exists: | COMMENT |
| LOW⚡ | api/install.sh | 229 | # Check if secrets are present in .env file | COMMENT |
| LOW⚡ | api/install.sh | 234 | # Check if TRANSFORMERLAB_JWT_SECRET exists in the file | COMMENT |
| LOW⚡ | api/install.sh | 238 | # Check if TRANSFORMERLAB_REFRESH_SECRET exists in the file | COMMENT |
| LOW | api/install.sh | 513 | # Check if the uvicorn command works: | COMMENT |
| LOW | api/install.sh | 668 | # Check if there are positional arguments; if not, perform full install | COMMENT |
| LOW | api/run.sh | 105 | # Check if the uvicorn command works: | COMMENT |
| LOW | api/run.sh | 114 | # Check if NVIDIA GPU is available and add necessary paths | COMMENT |
| LOW | api/api.py | 226 | # Set profile_lifecycle to "trace" to automatically | COMMENT |
| LOW | api/docker/gpu/nvidia/deploy.sh | 3 | # Check if curl is installed; install it if it's not. | COMMENT |
| LOW | api/docker/cpu/deploy.sh | 3 | # Check if curl is installed; install it if it's not. | COMMENT |
| LOW | api/test/api/test_server_info.py | 28 | # Set MULTIUSER to enable multiuser mode | COMMENT |
| LOW | api/test/api/test_teams.py | 115 | # Check if member is already in the team | COMMENT |
| LOW | api/transformerlab/routers/auth.py | 105 | # Check if Google OAuth is enabled | COMMENT |
| LOW | api/transformerlab/routers/auth.py | 137 | # Check if request has an API key (starts with "tl-") | COMMENT |
| LOW | api/transformerlab/routers/auth.py | 526 | # Check if user has any team associations | COMMENT |
| LOW⚡ | api/transformerlab/routers/serverinfo.py | 76 | # Check if file has grown | COMMENT |
| LOW | api/transformerlab/routers/serverinfo.py | 139 | # Check if the path is an S3 or other remote filesystem path | COMMENT |
| LOW⚡ | api/transformerlab/routers/serverinfo.py | 220 | # Read file content (works with both local and remote storage) | COMMENT |
| 79 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lab-sdk/tests/test_task.py | 284 | # Create a task | COMMENT |
| MEDIUM | lab-sdk/tests/test_job_and_labresource.py | 9 | # Create a simple subclass inline by importing Job which uses BaseLabResource | COMMENT |
| MEDIUM | lab-sdk/tests/test_lab_facade.py | 57 | # Create an experiment and job first | COMMENT |
| MEDIUM | lab-sdk/tests/test_lab_facade.py | 320 | # Create a test file | COMMENT |
| MEDIUM | lab-sdk/tests/test_lab_facade.py | 351 | # Create a test directory | COMMENT |
| MEDIUM | lab-sdk/tests/test_lab_facade.py | 429 | # Create a test checkpoint file | COMMENT |
| MEDIUM | lab-sdk/tests/test_lab_facade.py | 459 | # Create a test checkpoint directory | COMMENT |
| MEDIUM | lab-sdk/tests/test_lab_facade.py | 486 | # Create a fake Trackio directory representing the local metrics DB | COMMENT |
| MEDIUM | lab-sdk/tests/test_lab_facade.py | 515 | # Create a mock pandas DataFrame-like object | COMMENT |
| MEDIUM | lab-sdk/tests/test_lab_facade.py | 956 | # Create a test dataset | COMMENT |
| MEDIUM | lab-sdk/tests/test_lab_facade.py | 1097 | # Create a test model | COMMENT |
| MEDIUM | lab-sdk/tests/test_lab_facade.py | 1127 | # Create a test model | COMMENT |
| MEDIUM | lab-sdk/tests/test_lab_facade.py | 1152 | # Create a test model | COMMENT |
| MEDIUM | lab-sdk/scripts/examples/trl_train_script.py | 191 | # Create a small fake dataset for testing | COMMENT |
| MEDIUM | lab-sdk/src/lab/labresource.py | 104 | # Create a default json file. Throw an error if one already exists. | COMMENT |
| MEDIUM | lab-sdk/src/lab/lab_facade.py | 1343 | # Create a subdirectory for this dataset using the job-prefixed id | COMMENT |
| MEDIUM | lab-sdk/src/lab/storage.py | 564 | # Create an uncached filesystem instance | COMMENT |
| MEDIUM | cli/src/transformerlab_cli/util/logo.py | 40 | # Create an RGB color string for rich | STRING |
| MEDIUM | cli/src/transformerlab_cli/commands/task.py | 683 | "# Define the commands for your task below.", | CODE |
| MEDIUM | cli/src/transformerlab_cli/commands/job.py | 299 | # Create a table to display job details | COMMENT |
| MEDIUM | scripts/dev-tmux.py | 83 | # Create a new tmux session with the API pane | COMMENT |
| MEDIUM⚡ | api/install.sh | 222 | # Create a file called LATEST_VERSION that contains the latest version of Transformer Lab. | COMMENT |
| MEDIUM | api/install.sh | 380 | # Create the conda environment for Transformer Lab | COMMENT |
| MEDIUM | api/api.py | 84 | # Create a default root config handler | COMMENT |
| MEDIUM | api/api.py | 302 | # Create a session for the middleware check | COMMENT |
| MEDIUM | api/test/api/test_dataset_service.py | 8 | # Create a temporary dataset directory with various files | COMMENT |
| MEDIUM | api/test/api/test_teams.py | 502 | # Create a team to delete | COMMENT |
| MEDIUM | api/test/api/test_teams.py | 668 | # Create a standalone team | COMMENT |
| MEDIUM | api/test/api/test_teams.py | 907 | # Create an invitation first | COMMENT |
| MEDIUM | api/test/api/test_documents.py | 41 | # Create a test experiment first | COMMENT |
| MEDIUM | api/test/api/test_documents.py | 67 | # Create a test experiment first | COMMENT |
| MEDIUM | api/transformerlab/routers/auth.py | 544 | # Create a mapping of team_id to team | COMMENT |
| MEDIUM | api/transformerlab/routers/serverinfo.py | 143 | # Create the file using appropriate method | COMMENT |
| MEDIUM⚡ | api/transformerlab/routers/serverinfo.py | 212 | # Create a temporary zip file | COMMENT |
| MEDIUM | api/transformerlab/routers/experiment/task.py | 1260 | # Create the task | COMMENT |
| MEDIUM | api/transformerlab/routers/experiment/task.py | 1387 | # Create the task with all fields stored directly (flat structure) | COMMENT |
| MEDIUM | api/transformerlab/routers/experiment/task.py | 1863 | # Create the task with all fields stored directly (flat structure) | COMMENT |
| MEDIUM | api/transformerlab/shared/remote_workspace.py | 362 | # Create a session with the specified profile | COMMENT |
| MEDIUM | api/transformerlab/shared/remote_workspace.py | 386 | # Create the bucket | COMMENT |
| MEDIUM | api/transformerlab/shared/batched_requests.py | 7 | # Create a timeout object (values in seconds) | COMMENT |
| MEDIUM | api/transformerlab/db/utils.py | 32 | # Create a dictionary with only the mapped columns, excluding specified fields | COMMENT |
| MEDIUM | api/transformerlab/compute_providers/slurm.py | 254 | # Create a temporary SLURM script | COMMENT |
| MEDIUM | api/transformerlab/compute_providers/slurm.py | 789 | # Create a temporary SLURM script | COMMENT |
| MEDIUM | api/transformerlab/compute_providers/local.py | 466 | # Create the venv inside the per-job workspace HOME directory so that all | COMMENT |
| MEDIUM | api/transformerlab/compute_providers/providers.yaml | 2 | # This file defines the available providers (SkyPilot, SLURM, etc.) | COMMENT |
| MEDIUM | …lab/galleries/examples/lora-trainer-multi-gpu/train.py | 131 | # Create a small fake dataset for testing | COMMENT |
| MEDIUM⚡ | …merlab/galleries/examples/basic-evals-metrics/train.py | 164 | # Create a namespace for the evaluation | COMMENT |
| MEDIUM | …nsformerlab/galleries/examples/objective-eval/train.py | 34 | # Define the metric classes | COMMENT |
| MEDIUM | …nsformerlab/galleries/examples/objective-eval/train.py | 183 | # Define the metric classes dictionary | COMMENT |
| MEDIUM | …nsformerlab/galleries/examples/objective-eval/train.py | 317 | # Create a list of test cases | COMMENT |
| MEDIUM | …ormerlab/galleries/examples/mnist-train/mnist_train.py | 18 | # Define the model | COMMENT |
| MEDIUM | …ormerlab/galleries/examples/unsloth-llm-train/train.py | 203 | # Create a small fake dataset for testing | COMMENT |
| MEDIUM | …rmerlab/galleries/examples/trl-training-evals/train.py | 97 | # Create a small fake dataset for testing | COMMENT |
| MEDIUM | api/transformerlab/services/task_service.py | 443 | # Create a singleton instance | COMMENT |
| MEDIUM⚡ | api/transformerlab/services/job_service.py | 618 | # Create a new session for quota tracking | COMMENT |
| MEDIUM | api/transformerlab/services/tasks_service.py | 117 | # Create a singleton instance | COMMENT |
| MEDIUM | api/transformerlab/services/dataset_service.py | 9 | # Create a new dataset | COMMENT |
| MEDIUM | api/transformerlab/services/experiment_init.py | 205 | # Create the new workspace directory structure | COMMENT |
| MEDIUM | …scripts/xml-rpc-client-example/example-with-retries.py | 12 | # Create a custom transport with timeout | COMMENT |
| MEDIUM | …scripts/xml-rpc-client-example/example-with-retries.py | 44 | # Create the XML-RPC server proxy with a custom transport that has timeout | COMMENT |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | lab-sdk/scripts/examples/slow_test_script.py | 0 | fake training function that runs locally but reports to transformerlab | STRING |
| HIGH | lab-sdk/scripts/examples/fake_train.py | 0 | fake training function that runs locally but reports to transformerlab | STRING |
| HIGH | …transformerlab/galleries/examples/sample-task/train.py | 0 | fake training function that runs locally but reports to transformerlab | STRING |
| HIGH | …ansformerlab/galleries/examples/new-task-test/train.py | 0 | fake training function that runs locally but reports to transformerlab | STRING |
| HIGH | lab-sdk/scripts/examples/trl_train_script.py | 0 | custom callback to update transformerlab progress and save checkpoints | STRING |
| HIGH | lab-sdk/src/lab/lab_facade.py | 0 | custom callback to update transformerlab progress and save checkpoints | STRING |
| HIGH | …lleries/examples/unsloth-text-to-speech-train/train.py | 0 | custom callback to update transformerlab progress and save checkpoints | STRING |
| HIGH | …erlab/galleries/examples/grpo-multi-gpu-train/train.py | 0 | custom callback to update transformerlab progress and save checkpoints | STRING |
| HIGH | …ormerlab/galleries/examples/unsloth-llm-train/train.py | 0 | custom callback to update transformerlab progress and save checkpoints | STRING |
| HIGH | …rmerlab/galleries/examples/unsloth-grpo-train/train.py | 0 | custom callback to update transformerlab progress and save checkpoints | STRING |
| HIGH | …nsformerlab/galleries/examples/interactive-vllm/run.py | 0 | if a subprocess fails, dump it's log. report if the log doesn't exist yet. | STRING |
| HIGH | …galleries/examples/interactive-ollama-openwebui/run.py | 0 | if a subprocess fails, dump it's log. report if the log doesn't exist yet. | STRING |
| HIGH | …ormerlab/galleries/examples/interactive-comfyui/run.py | 0 | if a subprocess fails, dump it's log. report if the log doesn't exist yet. | STRING |
| HIGH | …ormerlab/galleries/examples/interactive-jupyter/run.py | 0 | if a subprocess fails, dump it's log. report if the log doesn't exist yet. | STRING |
| HIGH | …galleries/examples/inference-ollama-gradio-chat/run.py | 0 | if a subprocess fails, dump it's log. report if the log doesn't exist yet. | STRING |
| HIGH | …nsformerlab/galleries/examples/interactive-vllm/run.py | 0 | check if a process has exited and, if so, output logs and return. | STRING |
| HIGH | …galleries/examples/interactive-ollama-openwebui/run.py | 0 | check if a process has exited and, if so, output logs and return. | STRING |
| HIGH | …galleries/examples/inference-ollama-gradio-chat/run.py | 0 | check if a process has exited and, if so, output logs and return. | STRING |
| HIGH | …ormerlab/galleries/examples/interactive-comfyui/run.py | 0 | check if a process has exited and, if so, output logs and return. | STRING |
| HIGH | …ormerlab/galleries/examples/interactive-jupyter/run.py | 0 | check if a process has exited and, if so, output logs and return. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lab-sdk/scripts/examples/fake_dataset_generate.py | 19 | "generation_method": "fake_data", | CODE |
| LOW | test/playwright/helpers.ts | 28 | await page.getByPlaceholder('Email Address').fill('admin@example.com'); | CODE |
| LOW | test/playwright/auth.spec.ts | 27 | const EMAIL = 'admin@example.com'; | CODE |
| LOW | .agents/skills/agent-browser/SKILL.md | 25 | agent-browser fill @e1 "user@example.com" | CODE |
| LOW | .agents/skills/agent-browser/SKILL.md | 41 | agent-browser fill @e1 "user@example.com" && agent-browser fill @e2 "password123" && agent-browser click @e3 | CODE |
| LOW | .agents/skills/agent-browser/SKILL.md | 220 | agent-browser fill @e1 "Jane Doe" | CODE |
| LOW | …ents/skills/agent-browser/references/authentication.md | 132 | agent-browser fill @e1 "user@example.com" | CODE |
| LOW | …ents/skills/agent-browser/references/authentication.md | 151 | agent-browser fill @e1 "user@example.com" | CODE |
| LOW | …ents/skills/agent-browser/references/authentication.md | 208 | agent-browser fill @e1 "user@example.com" | CODE |
| LOW | …gents/skills/agent-browser/references/snapshot-refs.md | 72 | agent-browser fill @e10 "user@example.com" | CODE |
| LOW | …/skills/agent-browser/references/session-management.md | 29 | agent-browser --session auth fill @e1 "user@example.com" | CODE |
| LOW⚡ | …ents/skills/agent-browser/templates/form-automation.sh | 32 | # agent-browser fill @e1 "John Doe" # Text input | COMMENT |
| LOW⚡ | …ents/skills/agent-browser/templates/form-automation.sh | 33 | # agent-browser fill @e2 "user@example.com" # Email input | COMMENT |
| LOW | docs/Auth.md | 85 | The app will pre-create a first user called with login "admin@example.com" and password "admin123". You must change this | CODE |
| LOW | cli/tests/integration/test_live_cli_routes.py | 17 | LOGIN_EMAIL = os.getenv("TLAB_LIVE_TEST_EMAIL", "admin@example.com") | CODE |
| LOW | cli/tests/commands/test_login.py | 73 | "user_email": "user@example.com", | CODE |
| LOW | cli/tests/commands/test_provider.py | 916 | "private_key": "fake-key", | CODE |
| LOW | cli/tests/commands/test_provider.py | 930 | "private_key": "fake-key", | CODE |
| LOW⚡ | cli/tests/commands/test_config.py | 358 | f.write(json.dumps({"team_id": "abc-123", "user_email": "user@example.com"})) | CODE |
| LOW⚡ | cli/tests/commands/test_config.py | 374 | "user_email": "user@example.com", | CODE |
| LOW | cli/tests/commands/test_config.py | 245 | "user_email": "user@example.com", | CODE |
| LOW⚡ | cli/src/transformerlab_cli/commands/server.py | 616 | admin_email = env_vars.get("TLAB_DEFAULT_ADMIN_EMAIL", "admin@example.com") | CODE |
| LOW | cli/src/transformerlab_cli/commands/server.py | 253 | default_email = existing.get("TLAB_DEFAULT_ADMIN_EMAIL", "admin@example.com") | CODE |
| LOW | cli/src/transformerlab_cli/commands/server.py | 256 | admin_email = "admin@example.com" | CODE |
| LOW | cli/src/transformerlab_cli/commands/job.py | 518 | placeholder = block.get("placeholder", "") | CODE |
| LOW | cli/src/transformerlab_cli/commands/interactive.py | 192 | elif param.get("placeholder"): | CODE |
| LOW | cli/src/transformerlab_cli/commands/interactive.py | 193 | env_vars[env_var] = param["placeholder"] | CODE |
| LOW | cli/src/transformerlab_cli/commands/interactive.py | 211 | default = param.get("placeholder", "") | CODE |
| LOW | …erlab_cli/commands/job_monitor/InteractiveTaskModal.py | 110 | default = param.get("placeholder", "") | CODE |
| LOW | api/test/server/test_config.py | 9 | f"{live_server}/auth/jwt/login", data={"username": "admin@example.com", "password": "admin123"} | CODE |
| LOW | api/test/server/test_config.py | 32 | f"{live_server}/auth/jwt/login", data={"username": "admin@example.com", "password": "admin123"} | CODE |
| LOW | api/test/api/conftest.py | 47 | "/auth/jwt/login", data={"username": "admin@example.com", "password": "admin123"} | CODE |
| LOW⚡ | …leries/channels/stable/latest/interactive-gallery.json | 109 | "placeholder": "e.g. meta-llama/Llama-2-7b-chat-hf", | CODE |
| LOW⚡ | …leries/channels/stable/latest/interactive-gallery.json | 117 | "placeholder": "1", | CODE |
| LOW⚡ | …leries/channels/stable/latest/interactive-gallery.json | 125 | "placeholder": "hf_...", | CODE |
| LOW⚡ | …leries/channels/stable/latest/interactive-gallery.json | 134 | "placeholder": "ngrok_...", | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 27 | "placeholder": "Waiting for auth code from provider logs...", | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 40 | "placeholder": "Waiting for VS Code to print a URL in the provider logs..." | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 57 | "placeholder": "ngrok_...", | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 92 | "placeholder": "Waiting for service to start. The URL will appear here once the connection is available..." | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 177 | "placeholder": "Waiting for service to start. The URL will appear here once the connection is available...", | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 185 | "placeholder": "Waiting for the Open WebUI service to start..." | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 202 | "placeholder": "e.g. llama2, mistral, codellama", | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 210 | "placeholder": "ngrok_...", | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 255 | "placeholder": "Waiting for service to start. The URL will appear here once the connection is available...", | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 263 | "placeholder": "Waiting for the Open WebUI service to start..." | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 280 | "placeholder": "e.g. llama2, mistral, codellama", | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 319 | "placeholder": "Waiting for Gradio to start. The URL will appear here once the connection is available..." | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 336 | "placeholder": "ngrok_...", | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 370 | "placeholder": "Waiting for ngrok to start. The URL will appear here once available..." | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 387 | "placeholder": "ngrok_...", | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 434 | "placeholder": "Waiting for tunnel to start. The SSH command will appear here once ngrok creates the tunnel..." | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 456 | "placeholder": "e.g. mlx-community/Llama-3.2-3B-Instruct-4bit", | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 492 | "placeholder": "Waiting for Gradio to start. The URL will appear here once the connection is available..." | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 509 | "placeholder": "e.g. mlx-community/Kokoro-82M-bf16", | CODE |
| LOW | …leries/channels/stable/latest/interactive-gallery.json | 540 | "placeholder": "Waiting for Gradio to start. The URL will appear here once the connection is available..." | CODE |
| LOW⚡ | …nsformerlab/galleries/src/interactive/interactive.json | 109 | "placeholder": "e.g. meta-llama/Llama-2-7b-chat-hf", | CODE |
| LOW⚡ | …nsformerlab/galleries/src/interactive/interactive.json | 117 | "placeholder": "1", | CODE |
| LOW⚡ | …nsformerlab/galleries/src/interactive/interactive.json | 125 | "placeholder": "hf_...", | CODE |
| LOW⚡ | …nsformerlab/galleries/src/interactive/interactive.json | 134 | "placeholder": "ngrok_...", | CODE |
| 22 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lab-sdk/src/lab/task.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | lab-sdk/src/lab/dirs.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | lab-sdk/src/lab/dirs.py | 37 | def set_organization_id(organization_id: str | None) -> None: | CODE |
| LOW | lab-sdk/src/lab/labresource.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | lab-sdk/src/lab/job.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | lab-sdk/src/lab/__init__.py | 15 | __all__ = [ | CODE |
| LOW | lab-sdk/src/lab/lab_facade.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | lab-sdk/src/lab/lab_facade.py | 195 | def set_config(self, config: Dict[str, Any]) -> None: | CODE |
| LOW | lab-sdk/src/lab/lab_facade.py | 2111 | def set_job_data_field(self, key: str, value: Any) -> None: | CODE |
| LOW⚡ | lab-sdk/src/lab/remote_trap.py | 65 | def _set_live_status(status: str) -> None: | CODE |
| LOW | lab-sdk/src/lab/remote_trap.py | 17 | async def _set_live_status_async(job_id: str, status: str) -> None: | CODE |
| LOW | lab-sdk/src/lab/remote_trap.py | 37 | async def _set_status_async(job_id: str, status: str) -> None: | CODE |
| LOW | lab-sdk/src/lab/remote_trap.py | 87 | def _set_status(status: str) -> None: | CODE |
| LOW | lab-sdk/src/lab/model.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | lab-sdk/src/lab/experiment.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | lab-sdk/src/lab/task_template.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | cli/src/transformerlab_cli/__init__.py | 1 | __all__ = [] | CODE |
| LOW | cli/src/transformerlab_cli/util/profile.py | 49 | def set_active(name: str | None) -> None: | CODE |
| LOW | cli/src/transformerlab_cli/util/shared.py | 17 | def set_base_url(url: str | None) -> None: | CODE |
| LOW⚡ | cli/src/transformerlab_cli/util/api.py | 12 | def set_reraise_transport_errors(enabled: bool) -> None: | CODE |
| LOW | …src/transformerlab_cli/commands/job_monitor/JobLogs.py | 29 | def set_job(self, job: dict) -> None: | CODE |
| LOW | cli/src/transformerlab_cli/commands/job_monitor/util.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ansformerlab_cli/commands/job_monitor/JobMonitorApp.py | 108 | def update_current_experiment(self) -> None: | CODE |
| LOW | …ansformerlab_cli/commands/job_monitor/TaskListModal.py | 182 | # def _update_debug_label(self, value: str) -> None: | COMMENT |
| LOW | …/transformerlab_cli/commands/job_monitor/JobDetails.py | 64 | def set_job(self, job: dict) -> None: | CODE |
| LOW | …rlab_cli/commands/job_monitor/ExperimentSelectModal.py | 92 | def _update_experiments(self, options: list[tuple[str, str]]) -> None: | STRING |
| LOW | scripts/test-task-placement.py | 254 | def set_current_experiment(value: str) -> None: | CODE |
| LOW | api/transformerlab/routers/data.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | api/transformerlab/routers/experiment/task.py | 55 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/routers/experiment/documents.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/routers/experiment/notes.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | api/transformerlab/routers/experiment/jobs.py | 46 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/shared/worker_leader.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/shared/ssl_utils.py | 21 | __all__ = [ | CODE |
| LOW | api/transformerlab/compute_providers/lambda_labs.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/compute_providers/skypilot.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/compute_providers/slurm.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/compute_providers/local.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/compute_providers/azure.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/compute_providers/__init__.py | 7 | __all__ = [ | CODE |
| LOW⚡ | api/transformerlab/compute_providers/aws.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/compute_providers/dstack.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/compute_providers/vastai.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/compute_providers/gcp.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/compute_providers/runpod.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/compute_providers/nebius.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | …formerlab/services/migrate_tasks_to_experiment_dirs.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | …formerlab/services/migrate_tasks_to_experiment_dirs.py | 31 | def _set_org_context(org_id: Optional[str]) -> None: | CODE |
| LOW | api/transformerlab/services/experiment_service.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/services/process_registry.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | …i/transformerlab/services/experiment_access_service.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | api/transformerlab/services/notification_service.py | 50 | def _set_org_context(org_id: Optional[str]) -> None: | CODE |
| LOW | api/transformerlab/services/notification_service.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | …sformerlab/services/migrate_jobs_to_experiment_dirs.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | …sformerlab/services/migrate_jobs_to_experiment_dirs.py | 32 | def _set_org_context(org_id: Optional[str]) -> None: | CODE |
| LOW | api/transformerlab/services/model_service.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/services/job_service.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/services/sweep_status_service.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/transformerlab/services/sweep_status_service.py | 32 | def _set_org_context(org_id: Optional[str]) -> None: | CODE |
| LOW⚡ | api/transformerlab/services/cache_service.py | 99 | logger = logging.getLogger(__name__) | CODE |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ents/skills/agent-browser/templates/form-automation.sh | 20 | # Step 1: Navigate to form | COMMENT |
| LOW⚡ | …ents/skills/agent-browser/templates/form-automation.sh | 24 | # Step 2: Snapshot to discover form elements | COMMENT |
| LOW⚡ | …ents/skills/agent-browser/templates/form-automation.sh | 29 | # Step 3: Fill form fields (customize these refs based on snapshot output) | COMMENT |
| LOW⚡ | …ents/skills/agent-browser/templates/form-automation.sh | 46 | # Step 4: Wait for submission | COMMENT |
| LOW⚡ | …ents/skills/agent-browser/templates/form-automation.sh | 50 | # Step 5: Verify result | COMMENT |
| LOW⚡ | cli/src/transformerlab_cli/commands/team.py | 93 | # Step 1: create the provider. | COMMENT |
| LOW⚡ | cli/src/transformerlab_cli/commands/team.py | 102 | # Step 2: set as team default. | COMMENT |
| LOW | cli/src/transformerlab_cli/commands/team.py | 113 | # Step 3: set platform secrets. | COMMENT |
| LOW | cli/src/transformerlab_cli/commands/team.py | 133 | # Step 4: run the health check. | COMMENT |
| LOW | api/install.sh | 166 | ## Step 1: Download Transformer Lab | COMMENT |
| LOW | api/install.sh | 301 | ## Step 2: Install Conda | COMMENT |
| LOW | api/install.sh | 363 | ## Step 3: Create the Conda Environment | COMMENT |
| LOW | api/install.sh | 395 | ## Step 4: Install Dependencies | COMMENT |
| LOW | api/install.sh | 572 | ## Step 5: Install Compute Providers | COMMENT |
| LOW⚡ | api/transformerlab/compute_providers/skypilot.py | 1503 | # Step 2: Process cloud clusters (AWS, GCP, Azure, etc.) | COMMENT |
| LOW⚡ | api/transformerlab/compute_providers/skypilot.py | 1614 | # Step 3: Process SSH node pools | COMMENT |
| LOW⚡ | api/transformerlab/compute_providers/skypilot.py | 1917 | # Step 4: Add available cloud providers (no active clusters) | COMMENT |
| LOW | api/transformerlab/compute_providers/skypilot.py | 1475 | # Step 1: Get all existing clusters and categorize them | COMMENT |
| LOW | api/transformerlab/compute_providers/slurm.py | 942 | # Step 1: Get active jobs from squeue | COMMENT |
| LOW | api/transformerlab/compute_providers/slurm.py | 974 | # Step 2: Find completed jobs by scanning log files | COMMENT |
| LOW⚡ | api/transformerlab/compute_providers/dstack.py | 353 | # Step 1: get run to find latest_job_submission ID | COMMENT |
| LOW⚡ | api/transformerlab/compute_providers/dstack.py | 369 | # Step 2: poll logs | COMMENT |
| LOW⚡ | …lleries/examples/unsloth-text-to-speech-train/train.py | 141 | # Step 1: Find last occurrence of the start-of-audio token and crop after it | COMMENT |
| LOW⚡ | …lleries/examples/unsloth-text-to-speech-train/train.py | 150 | # Step 2: Remove end-of-speech tokens from each row | COMMENT |
| LOW⚡ | …lleries/examples/unsloth-text-to-speech-train/train.py | 156 | # Step 3: Process each row into code lists | COMMENT |
| LOW⚡ | …lleries/examples/unsloth-text-to-speech-train/train.py | 191 | # Step 5: Decode each code list | COMMENT |
| LOW | …lleries/examples/unsloth-text-to-speech-train/train.py | 170 | # Step 4: Redistribute codes across SNAC layers (matching Colab exactly) | COMMENT |
| LOW | api/transformerlab/services/permission_service.py | 56 | # Step 1: resolve membership + owner shortcut | COMMENT |
| LOW | api/transformerlab/services/permission_service.py | 87 | # Step 5: denylist default — no rule means full access | COMMENT |
| LOW⚡ | src/renderer/lib/api-client/urls.ts | 110 | // Step 1: Get major entity from the endpoints object: | COMMENT |
| LOW⚡ | src/renderer/lib/api-client/urls.ts | 116 | // Step 2: Traverse the pathArray to find the path: | COMMENT |
| LOW⚡ | src/renderer/lib/api-client/urls.ts | 125 | // Step 3: Replace placeholders in the path with values from params: | COMMENT |
| LOW⚡ | src/renderer/lib/api-client/urls.ts | 134 | // Step 4: Return the full path: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ents/skills/agent-browser/templates/form-automation.sh | 20 | # Step 1: Navigate to form | COMMENT |
| LOW⚡ | …ents/skills/agent-browser/templates/form-automation.sh | 24 | # Step 2: Snapshot to discover form elements | COMMENT |
| LOW⚡ | …ents/skills/agent-browser/templates/form-automation.sh | 29 | # Step 3: Fill form fields (customize these refs based on snapshot output) | COMMENT |
| LOW⚡ | …ents/skills/agent-browser/templates/form-automation.sh | 46 | # Step 4: Wait for submission | COMMENT |
| LOW⚡ | …ents/skills/agent-browser/templates/form-automation.sh | 50 | # Step 5: Verify result | COMMENT |
| LOW⚡ | cli/src/transformerlab_cli/commands/team.py | 93 | # Step 1: create the provider. | COMMENT |
| LOW⚡ | cli/src/transformerlab_cli/commands/team.py | 102 | # Step 2: set as team default. | COMMENT |
| LOW | cli/src/transformerlab_cli/commands/team.py | 113 | # Step 3: set platform secrets. | COMMENT |
| LOW | cli/src/transformerlab_cli/commands/team.py | 133 | # Step 4: run the health check. | COMMENT |
| LOW | api/install.sh | 166 | ## Step 1: Download Transformer Lab | COMMENT |
| LOW | api/install.sh | 301 | ## Step 2: Install Conda | COMMENT |
| LOW | api/install.sh | 363 | ## Step 3: Create the Conda Environment | COMMENT |
| LOW | api/install.sh | 395 | ## Step 4: Install Dependencies | COMMENT |
| LOW | api/install.sh | 572 | ## Step 5: Install Compute Providers | COMMENT |
| LOW⚡ | api/transformerlab/compute_providers/skypilot.py | 1503 | # Step 2: Process cloud clusters (AWS, GCP, Azure, etc.) | COMMENT |
| LOW⚡ | api/transformerlab/compute_providers/skypilot.py | 1614 | # Step 3: Process SSH node pools | COMMENT |
| LOW⚡ | api/transformerlab/compute_providers/skypilot.py | 1917 | # Step 4: Add available cloud providers (no active clusters) | COMMENT |
| LOW | api/transformerlab/compute_providers/skypilot.py | 1475 | # Step 1: Get all existing clusters and categorize them | COMMENT |
| LOW | api/transformerlab/compute_providers/slurm.py | 942 | # Step 1: Get active jobs from squeue | COMMENT |
| LOW | api/transformerlab/compute_providers/slurm.py | 974 | # Step 2: Find completed jobs by scanning log files | COMMENT |
| LOW⚡ | api/transformerlab/compute_providers/dstack.py | 353 | # Step 1: get run to find latest_job_submission ID | COMMENT |
| LOW⚡ | api/transformerlab/compute_providers/dstack.py | 369 | # Step 2: poll logs | COMMENT |
| LOW⚡ | …lleries/examples/unsloth-text-to-speech-train/train.py | 141 | # Step 1: Find last occurrence of the start-of-audio token and crop after it | COMMENT |
| LOW⚡ | …lleries/examples/unsloth-text-to-speech-train/train.py | 150 | # Step 2: Remove end-of-speech tokens from each row | COMMENT |
| LOW⚡ | …lleries/examples/unsloth-text-to-speech-train/train.py | 156 | # Step 3: Process each row into code lists | COMMENT |
| LOW⚡ | …lleries/examples/unsloth-text-to-speech-train/train.py | 191 | # Step 5: Decode each code list | COMMENT |
| LOW | …lleries/examples/unsloth-text-to-speech-train/train.py | 170 | # Step 4: Redistribute codes across SNAC layers (matching Colab exactly) | COMMENT |
| LOW | api/transformerlab/services/permission_service.py | 56 | # Step 1: resolve membership + owner shortcut | COMMENT |
| LOW | api/transformerlab/services/permission_service.py | 87 | # Step 5: denylist default — no rule means full access | COMMENT |
| LOW⚡ | src/renderer/lib/api-client/urls.ts | 110 | // Step 1: Get major entity from the endpoints object: | COMMENT |
| LOW⚡ | src/renderer/lib/api-client/urls.ts | 116 | // Step 2: Traverse the pathArray to find the path: | COMMENT |
| LOW⚡ | src/renderer/lib/api-client/urls.ts | 125 | // Step 3: Replace placeholders in the path with values from params: | COMMENT |
| LOW⚡ | src/renderer/lib/api-client/urls.ts | 134 | // Step 4: Return the full path: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | lab-sdk/src/lab/lab_facade.py | 2045 | Get a specific local dataset by ID. The lookup is automatically scoped to the current team/organizatio | STRING |
| HIGH | lab-sdk/src/lab/lab_facade.py | 2076 | Get a specific local model by ID. Args: model_id: The identifier of the model to retrieve | STRING |
| HIGH | lab-sdk/src/lab/lab_facade.py | 2091 | Get the filesystem path to a specific local model. Args: model_id: The identifier of the m | STRING |
| HIGH | lab-sdk/src/lab/model.py | 257 | Create a _tlab_provenance.json file containing model provenance data. Args: model_path: Pa | STRING |
| HIGH | api/transformerlab/shared/github_utils.py | 303 | Fetch task.json from a GitHub repository, raising HTTPException on errors. This version is for use in API endp | STRING |
| HIGH | api/transformerlab/shared/github_utils.py | 330 | Fetch task.yaml from a GitHub repository as raw string. Args: repo_url: GitHub repository URL (must st | STRING |
| HIGH | api/transformerlab/compute_providers/slurm.py | 734 | Parse SLURM GRES (Generic Resources) string to extract GPU information. Examples: "gpu:2" | STRING |
| HIGH | api/transformerlab/compute_providers/router.py | 49 | Get a compute provider instance by name. First checks the database, then falls back to YAML config. | STRING |
| HIGH | api/transformerlab/compute_providers/base.py | 77 | Launch/provision a new cluster. Args: cluster_name: Name of the cluster to launch | STRING |
| HIGH | api/transformerlab/services/provider_service.py | 399 | Create a new team compute provider record with referential integrity validation. Args: session: Databa | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lab-sdk/src/lab/generation.py | 1 | CODE | |
| LOW | lab-sdk/src/lab/__init__.py | 1 | CODE | |
| LOW | lab-sdk/src/lab/__init__.py | 1 | CODE | |
| LOW | lab-sdk/src/lab/__init__.py | 3 | CODE | |
| LOW | lab-sdk/src/lab/__init__.py | 3 | CODE | |
| LOW | lab-sdk/src/lab/lab_facade.py | 1 | CODE | |
| LOW | lab-sdk/src/lab/remote_trap.py | 1 | CODE | |
| LOW | lab-sdk/src/lab/profiling.py | 24 | CODE | |
| LOW | cli/tests/commands/test_task_init.py | 1 | CODE | |
| LOW | cli/src/transformerlab_cli/util/browser_login.py | 15 | CODE | |
| LOW | …src/transformerlab_cli/commands/job_monitor/JobLogs.py | 1 | CODE | |
| LOW | …ransformerlab_cli/commands/job_monitor/GalleryModal.py | 1 | CODE | |
| LOW | scripts/test-task-placement.py | 37 | CODE | |
| LOW | api/test/shared/test_worker_leader.py | 3 | CODE | |
| LOW | api/test/shared/test_ssl.py | 1 | CODE | |
| LOW | api/test/api/test_request_logs.py | 19 | CODE | |
| LOW | api/test/api/test_cache_service.py | 7 | CODE | |
| LOW | api/test/compute_providers/test_nebius_subnet.py | 3 | CODE | |
| LOW | api/transformerlab/routers/compute_provider/__init__.py | 3 | CODE | |
| LOW | api/transformerlab/shared/ssl_utils.py | 1 | CODE | |
| LOW | api/transformerlab/schemas/auth.py | 1 | CODE | |
| LOW | api/transformerlab/db/db.py | 8 | CODE | |
| LOW | api/transformerlab/compute_providers/lambda_labs.py | 10 | CODE | |
| LOW | api/transformerlab/compute_providers/config.py | 3 | CODE | |
| LOW | api/transformerlab/compute_providers/config.py | 13 | CODE | |
| LOW | api/transformerlab/compute_providers/azure.py | 3 | CODE | |
| LOW | api/transformerlab/compute_providers/__init__.py | 3 | CODE | |
| LOW | api/transformerlab/compute_providers/__init__.py | 4 | CODE | |
| LOW | api/transformerlab/compute_providers/__init__.py | 4 | CODE | |
| LOW | api/transformerlab/compute_providers/__init__.py | 5 | CODE | |
| LOW | api/transformerlab/compute_providers/__init__.py | 5 | CODE | |
| LOW | api/transformerlab/compute_providers/aws.py | 3 | CODE | |
| LOW | api/transformerlab/compute_providers/sandbox.py | 20 | CODE | |
| LOW | api/transformerlab/compute_providers/gcp.py | 3 | CODE | |
| LOW | api/transformerlab/compute_providers/nebius.py | 10 | CODE | |
| LOW | …i/transformerlab/galleries/combine_subset_galleries.py | 8 | CODE | |
| LOW | …formerlab/galleries/examples/interactive-vscode/run.py | 3 | CODE | |
| LOW | …nsformerlab/galleries/examples/interactive-vllm/run.py | 3 | CODE | |
| LOW | …galleries/examples/interactive-ollama-openwebui/run.py | 3 | CODE | |
| LOW | …ansformerlab/galleries/examples/interactive-ssh/run.py | 3 | CODE | |
| LOW | …galleries/examples/inference-ollama-gradio-chat/run.py | 3 | CODE | |
| LOW | …ab/galleries/examples/inference-mlx-gradio-chat/run.py | 3 | CODE | |
| LOW | …ormerlab/galleries/examples/interactive-comfyui/run.py | 3 | CODE | |
| LOW | …sformerlab/galleries/examples/diffusion-train/train.py | 23 | CODE | |
| LOW | …rlab/galleries/examples/inference-mlx-audio-tts/run.py | 3 | CODE | |
| LOW | …ormerlab/galleries/examples/interactive-jupyter/run.py | 3 | CODE | |
| LOW | …formerlab/services/migrate_tasks_to_experiment_dirs.py | 13 | CODE | |
| LOW | …ansformerlab/services/provider_harness_hook_service.py | 1 | CODE | |
| LOW | …/transformerlab/services/nebius_credentials_service.py | 3 | CODE | |
| LOW | …sformerlab/services/migrate_jobs_to_experiment_dirs.py | 15 | CODE | |
| LOW | api/transformerlab/services/user_service.py | 1 | CODE | |
| LOW | api/transformerlab/services/cache_service.py | 85 | CODE | |
| LOW | api/transformerlab/services/nebius_cli_resolve.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …nts/skills/agent-browser/templates/capture-workflow.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …ents/skills/agent-browser/templates/form-automation.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …ents/skills/agent-browser/templates/form-automation.sh | 21 | agent-browser open "$FORM_URL" | COMMENT |
| LOW | …kills/agent-browser/templates/authenticated-session.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …kills/agent-browser/templates/authenticated-session.sh | 81 | # | COMMENT |
| LOW | …kills/agent-browser/templates/authenticated-session.sh | 101 | # # Save state for future runs | COMMENT |
| LOW | cli/src/transformerlab_cli/util/logo.py | 61 | # one_liner = Text(">> Transformer Lab CLI", style="bold magenta") | COMMENT |
| LOW | …i/src/transformerlab_cli/templates/task_init/task.yaml | 1 | # Transformer Lab task configuration | COMMENT |
| LOW | …i/src/transformerlab_cli/templates/task_init/task.yaml | 21 | run: python main.py | COMMENT |
| LOW | .github/dependabot.yml | 61 | - dependency-name: 'jest-environment-jsdom' | COMMENT |
| LOW | .github/dependabot.yml | 121 | day: 'monday' | COMMENT |
| LOW | .github/dependabot.yml | 181 | - dependency-name: 'datasets' | COMMENT |
| LOW | .github/dependabot.yml | 201 | # transitively via s3fs, which is capped by fsspec, which is capped by the | COMMENT |
| LOW | api/alembic.ini | 1 | # A generic, single database configuration. | COMMENT |
| LOW | api/alembic.ini | 21 | COMMENT | |
| LOW | api/alembic.ini | 41 | COMMENT | |
| LOW | api/alembic.ini | 61 | # behavior of splitting on spaces and/or commas. | COMMENT |
| LOW | api/alembic.ini | 81 | # are written from script.py.mako | COMMENT |
| LOW | api/alembic.ini | 101 | # lint with attempts to fix using "ruff" - use the module runner, against the "ruff" module | COMMENT |
| LOW | api/transformerlab/shared/batched_requests.py | 221 | # examples, | COMMENT |
| LOW | api/transformerlab/shared/batched_requests.py | 241 | # START_FROM_SAMPLE_INDEX = min_idx | COMMENT |
| LOW | api/transformerlab/shared/batched_requests.py | 261 | # ) | COMMENT |
| LOW | api/transformerlab/compute_providers/example.py | 41 | # # Get cluster status | COMMENT |
| LOW | api/transformerlab/compute_providers/example.py | 61 | # # List jobs | COMMENT |
| LOW | …i/transformerlab/galleries/examples/ppo-train/train.py | 1 | # Copyright 2020-2026 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | api/transformerlab/services/cache_service.py | 101 | # --------------------------------------------------------------------------- | COMMENT |
| LOW | api/scripts/remote_setup.sh | 1 | #!/bin/sh | COMMENT |
| LOW | …ns/f7661070ec23_initial_migration_create_all_tables.py | 41 | # Drop all indexes on the table | COMMENT |
| LOW | …ns/f7661070ec23_initial_migration_create_all_tables.py | 61 | op.drop_index(op.f("ix_training_template_name"), table_name="training_template", if_exists=True) | COMMENT |
| LOW | .erb/configs/webpack.config.cloud.dev.ts | 161 | setupMiddlewares(middlewares) { | COMMENT |
| LOW | src/renderer/components/Experiment/ExperimentNotes.tsx | 41 | import ModalClose from '@mui/joy/ModalClose'; | COMMENT |
| LOW | src/renderer/components/Experiment/Tasks/Tasks.tsx | 401 | out[String(job.id)] = launchProgress; | COMMENT |
| LOW | src/renderer/components/Experiment/Tasks/Tasks.tsx | 421 | // // If any quota was recorded, refresh jobs to reflect changes | COMMENT |
| LOW | src/renderer/lib/authContext.ts | 421 | `Login error: ${e instanceof Error ? e.message : String(e)}`, | COMMENT |
| LOW | src/renderer/lib/authContext.ts | 441 | COMMENT | |
| LOW | src/renderer/lib/api-client/urls.ts | 1 | import endpointsJson from './allEndpoints.json'; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | package-lock.json | 17397 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |
| LOW⚡ | lab-sdk/src/lab/lab_facade.py | 319 | # No user_id, just return team secret | COMMENT |
| MEDIUM | lab-sdk/src/lab/storage.py | 834 | # Copy the file using streaming (robust across FSes) | COMMENT |
| MEDIUM⚡ | api/test/api/test_public_share_router.py | 92 | # The harness in api/test/api/conftest.py supports only one admin user / team. | COMMENT |
| LOW | api/transformerlab/routers/experiment/jobs.py | 1238 | # For other file types, just return as text | COMMENT |
| MEDIUM⚡ | api/transformerlab/services/quota_service.py | 412 | """Get comprehensive quota status for a user.""" | STRING |
| LOW | api/transformerlab/services/trackio_service.py | 72 | # If there's already a Trackio process for this job, just return its URL | COMMENT |
| MEDIUM | …formerlab/services/compute_provider/launch_template.py | 688 | # Apply provider-level harness hooks (pre/post) around the task command. | COMMENT |
| LOW | …ns/f7661070ec23_initial_migration_create_all_tables.py | 210 | # Schema is compatible - just add missing columns if needed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lab-sdk/src/lab/task.py | 35 | CODE | |
| LOW | cli/src/transformerlab_cli/util/api.py | 68 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/task.py | 1119 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/task.py | 1217 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/task.py | 1423 | CODE | |
| LOW | cli/src/transformerlab_cli/commands/interactive.py | 527 | CODE | |
| LOW | api/test/api/test_remote_provider_queue.py | 19 | CODE | |
| LOW | api/test/api/test_remote_job_status_service.py | 31 | CODE | |
| LOW | api/test/api/test_notification_service.py | 24 | CODE | |
| LOW | api/transformerlab/shared/batched_requests.py | 16 | CODE | |
| LOW | api/transformerlab/shared/batched_requests.py | 58 | CODE | |
| LOW | api/transformerlab/shared/batched_requests.py | 99 | CODE | |
| LOW | api/transformerlab/compute_providers/slurm.py | 29 | CODE | |
| LOW | api/transformerlab/compute_providers/nebius.py | 194 | CODE | |
| LOW | …sformerlab/galleries/examples/diffusion-train/train.py | 114 | CODE | |
| LOW | api/transformerlab/services/asset_version_service.py | 211 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | api/transformerlab/shared/remote_workspace.py | 469 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cli/src/transformerlab_cli/util/ui.py | 14 | # We add "header" here as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cli/COMMANDS.md | 47 | lab login --server https://my-server:8338 --api-key YOUR_API_KEY | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | api/scripts/remote_setup.sh | 6 | # Usage: | COMMENT |
| LOW⚡ | …scripts/xml-rpc-client-example/example-with-retries.py | 153 | # Example usage | COMMENT |