The AI developer platform. Use Weights & Biases to train and fine-tune models, and manage models from experimentation to production.
This report summarizes scanner evidence for wandb/wandb, a Python project with 11,274 GitHub stars. SynthScan examined 387,516 lines of code across 1663 source files, recording 5027 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 15.5 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 3269 finding(s).
Are imports declared and package/API names verified? 1196 finding(s).
Are wrappers, guards, and repeated structures necessary? 2795 finding(s).
Which changes need focused human review? 5027 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 5027 distinct pattern matches across 21 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 | hatch_build.py | 91 | def _get_and_require_cargo_binary(self) -> pathlib.Path: | CODE |
| LOW | hatch_build.py | 185 | def _get_and_require_go_binary(self) -> pathlib.Path: | CODE |
| LOW | noxfile.py | 319 | def local_testcontainer_registry(session: nox.Session) -> None: | CODE |
| LOW | noxfile.py | 369 | def get_release_tag_and_commit_hash(tags: list[str]): | CODE |
| LOW | tools/generate_stubs.py | 78 | def extract_functions_from_template(template_content: str) -> dict[str, str]: | STRING |
| LOW | tools/perf/scripts/process_sar_helper.py | 10 | def pre_process_network_sar_log(log_dir: str) -> str: | CODE |
| LOW | tools/graphql_codegen/plugin.py | 122 | def _remove_existing_package_dir(self) -> None: | CODE |
| LOW | tools/graphql_codegen/plugin.py | 140 | def _remove_excluded_module_files(self) -> None: | CODE |
| LOW | tools/graphql_codegen/plugin.py | 379 | def generate_result_types_module(self, module: ast.Module, *_, **__) -> ast.Module: | CODE |
| LOW | tools/graphql_codegen/plugin.py | 382 | def generate_fragments_module( | CODE |
| LOW | tools/graphql_codegen/plugin.py | 414 | def _rewrite_generated_module(self, module: ast.Module) -> ast.Module: | CODE |
| LOW | tools/graphql_codegen/plugin.py | 420 | def _replace_redundant_classes(self, module: ast.Module) -> ast.Module: | CODE |
| LOW | core/hatch.py | 84 | def _strip_dynamic_elf_metadata( | CODE |
| LOW⚡ | tests/conftest.py | 48 | def setup_wandb_env_variables() -> Generator[None]: | CODE |
| LOW | tests/unit_tests/test_asyncio_compat.py | 101 | def test_compat_run_in_asyncio_context(): | CODE |
| LOW | tests/unit_tests/test_asyncio_compat.py | 118 | async def test_cancel_on_exit_normal(): | CODE |
| LOW | tests/unit_tests/test_asyncio_compat.py | 128 | async def test_cancel_on_exit_error_in_body(): | CODE |
| LOW | tests/unit_tests/test_asyncio_compat.py | 140 | async def test_cancel_on_exit_error_in_task(): | CODE |
| LOW | tests/unit_tests/test_asyncio_compat.py | 152 | async def test_cancel_on_exit_errors_everywhere(): | CODE |
| LOW | tests/unit_tests/test_asyncio_compat.py | 184 | async def test_task_group_cancels_on_body_error(): | CODE |
| LOW | tests/unit_tests/test_asyncio_compat.py | 202 | async def test_task_group_cancels_on_subtask_error(): | CODE |
| LOW | tests/unit_tests/test_asyncio_compat.py | 225 | async def test_task_group_exit_timeout(): | CODE |
| LOW | tests/unit_tests/test_asyncio_compat.py | 238 | async def test_race_cancels_unfinished_tasks(): | CODE |
| LOW | tests/unit_tests/test_asyncio_compat.py | 246 | async def set_event_then_wait_forever(): | CODE |
| LOW | tests/unit_tests/test_asyncio_compat.py | 264 | async def test_race_raises_first_error(): | CODE |
| LOW | tests/unit_tests/test_asyncio_compat.py | 287 | async def test_race_raises_error_during_cancellation(): | CODE |
| LOW | tests/unit_tests/test_asyncio_compat.py | 302 | async def test_race_cancels_subtasks_if_cancelled(): | CODE |
| LOW | tests/unit_tests/test_retry.py | 39 | def test_retry_respects_num_retries(): | CODE |
| LOW | tests/unit_tests/test_retry.py | 55 | def test_retry_call_num_retries_overrides_default_num_retries(): | CODE |
| LOW | tests/unit_tests/test_retry.py | 70 | def test_retry_respects_num_retries_across_multiple_calls(): | CODE |
| LOW | tests/unit_tests/test_retry.py | 88 | def test_retry_respects_retryable_exceptions(): | CODE |
| LOW | tests/unit_tests/test_retry.py | 114 | def test_retry_respects_secondary_timeout(mock_time: MockTime): | CODE |
| LOW | tests/unit_tests/test_retry.py | 147 | def test_respects_max_retries(self): | CODE |
| LOW | tests/unit_tests/test_retry.py | 170 | def test_respects_max_sleep_if_smaller_than_initial_sleep( | CODE |
| LOW | tests/unit_tests/test_wandb_clean.py | 56 | def test_force_skips_confirmation(wandb_dir: pathlib.Path, runner: CliRunner): | CODE |
| LOW | tests/unit_tests/test_wandb_clean.py | 86 | def test_skips_runs_created_within_the_hour( | CODE |
| LOW | tests/unit_tests/test_wandb_clean.py | 146 | def test_include_unsynced_mixed(wandb_dir: pathlib.Path, runner: CliRunner): | CODE |
| LOW | tests/unit_tests/test_wandb_clean.py | 166 | def test_reports_rmtree_errors( | CODE |
| LOW | tests/unit_tests/test_plot.py | 29 | def test_roc_curve_with_title(): | CODE |
| LOW | tests/unit_tests/test_plot.py | 141 | def test_confusion_matrix_with_predictions(): | CODE |
| LOW | tests/unit_tests/test_plot.py | 167 | def test_confusion_matrix_without_class_names(): | CODE |
| LOW | tests/unit_tests/test_plot.py | 249 | def test_line_series_invalid_inputs(arguments, exception): | CODE |
| LOW | tests/unit_tests/test_weave_integration.py | 15 | def test_active_run_path__returns_path(mock_singleton): | CODE |
| LOW | tests/unit_tests/test_weave_integration.py | 31 | def test_active_run_path__no_run(mock_singleton): | CODE |
| LOW | tests/unit_tests/test_weave_integration.py | 51 | def test_active_run_path__empty_attr(mock_singleton, entity, project, run_id): | CODE |
| LOW | tests/unit_tests/test_error_util.py | 14 | def test_protobuf_error_handler(error, expected): | CODE |
| LOW | tests/unit_tests/test_error_util.py | 19 | def test_protobuf_error_handler_exception(): | CODE |
| LOW | tests/unit_tests/test_wb_logging.py | 24 | def test_filters_log_messages(tmp_path: pathlib.Path): | CODE |
| LOW | tests/unit_tests/test_history_value.py | 55 | def test_typed_value_logged_float_stays_a_float(): | CODE |
| LOW | tests/unit_tests/test_history_value.py | 66 | def test_typed_value_infinities(value): | CODE |
| LOW | tests/unit_tests/test_history_value.py | 107 | def test_typed_value_numpy_scalars(): | CODE |
| LOW | tests/unit_tests/test_history_value.py | 120 | def test_typed_value_numpy_array_is_json(): | CODE |
| LOW | tests/unit_tests/test_history_value.py | 133 | def test_json_form_is_unchanged_by_the_typed_form(value): | CODE |
| LOW⚡ | tests/unit_tests/test_history_value.py | 144 | def test_json_form_is_shared_with_the_json_case(): | CODE |
| LOW⚡ | tests/unit_tests/test_history_value.py | 152 | def test_neither_form_leaves_the_item_empty(): | CODE |
| LOW⚡ | tests/unit_tests/test_history_value.py | 160 | def test_json_form_only_does_not_set_the_typed_value(): | CODE |
| LOW⚡ | tests/unit_tests/test_history_value.py | 168 | def test_typed_form_only_does_not_set_the_json_value(): | CODE |
| LOW | tests/unit_tests/test_history_value.py | 192 | def test_publish_partial_history_honors_the_setting( | CODE |
| LOW | tests/unit_tests/test_history_value.py | 211 | def test_publish_partial_history_defaults_to_json_only(mock_run, record_q): | CODE |
| LOW | tests/unit_tests/test_cli_beta_core.py | 38 | def test_core_start_prints_service_value(monkeypatch) -> None: | CODE |
| 2137 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | noxfile.py | 1 | CODE | |
| LOW | tools/local_wandb_server.py | 3 | CODE | |
| LOW | tools/generate_stubs.py | 38 | CODE | |
| LOW | tools/bench/_timing.py | 3 | CODE | |
| LOW | tools/perf/scripts/run_load_tests.py | 1 | CODE | |
| LOW | tools/perf/scripts/bench_run_log.py | 1 | CODE | |
| LOW | tools/graphql_codegen/plugin_utils.py | 3 | CODE | |
| LOW | tools/graphql_codegen/plugin.py | 10 | CODE | |
| LOW | core/hatch.py | 3 | CODE | |
| LOW | tests/conftest.py | 1 | CODE | |
| LOW | tests/unit_tests/test_asyncio_compat.py | 1 | CODE | |
| LOW | tests/unit_tests/test_history_value.py | 3 | CODE | |
| LOW | tests/unit_tests/test_cli_beta_core.py | 1 | CODE | |
| LOW | tests/unit_tests/test_pydantic_helpers.py | 3 | CODE | |
| LOW | tests/unit_tests/test_eval_table_media_ces.py | 1 | CODE | |
| LOW | tests/unit_tests/test_eval_table.py | 3 | CODE | |
| LOW | tests/unit_tests/test_optuna_scheduler.py | 1 | CODE | |
| LOW | tests/unit_tests/test_term.py | 1 | CODE | |
| LOW | tests/unit_tests/test_weave_media_adapters.py | 3 | CODE | |
| LOW | tests/unit_tests/test_eval_table_ces.py | 3 | CODE | |
| LOW | tests/unit_tests/test_sweep_scheduler.py | 9 | CODE | |
| LOW | tests/unit_tests/test_wandb_summary.py | 3 | CODE | |
| LOW | tests/unit_tests/test_eval_table_weave.py | 3 | CODE | |
| LOW | tests/unit_tests/test_weave.py | 1 | CODE | |
| LOW | tests/unit_tests/test_cli_leet.py | 1 | CODE | |
| LOW | tests/unit_tests/test_normalize.py | 1 | CODE | |
| LOW | tests/unit_tests/test_ax_scheduler.py | 1 | CODE | |
| LOW | tests/unit_tests/test_registries/test_utils.py | 1 | CODE | |
| LOW | tests/unit_tests/test_registries/test_addonly_list.py | 1 | CODE | |
| LOW | tests/unit_tests/test_launch/test_git_reference.py | 3 | CODE | |
| LOW | tests/unit_tests/test_filters/test_validation.py | 1 | CODE | |
| LOW | tests/unit_tests/test_filters/_strategies.py | 3 | CODE | |
| LOW | tests/unit_tests/test_filters/test_filters.py | 1 | CODE | |
| LOW | …ts/test_public_api/test_registries_ordered_versions.py | 1 | CODE | |
| LOW | tests/unit_tests/test_wandb_agent/conftest.py | 3 | CODE | |
| LOW | tests/unit_tests/test_wandb_agent/test_cli_agent.py | 1 | CODE | |
| LOW | tests/unit_tests/test_wandb_agent/test_pyagent.py | 3 | CODE | |
| LOW | …test_wandb_agent/scripts/train_with_import_readline.py | 13 | CODE | |
| LOW | tests/unit_tests/test_automations/conftest.py | 1 | CODE | |
| LOW | tests/unit_tests/test_automations/_strategies.py | 3 | CODE | |
| LOW | tests/unit_tests/test_automations/test_run_events.py | 1 | CODE | |
| LOW | tests/unit_tests/test_automations/test_scopes.py | 1 | CODE | |
| LOW | tests/unit_tests/test_automations/test_events.py | 3 | CODE | |
| LOW | tests/unit_tests/test_automations/test_automations.py | 1 | CODE | |
| LOW | tests/unit_tests/test_artifacts/test_references_s3.py | 1 | CODE | |
| LOW | tests/unit_tests/test_artifacts/test_references_gcs.py | 1 | CODE | |
| LOW | …sts/unit_tests/test_artifacts/test_references_azure.py | 1 | CODE | |
| LOW | tests/unit_tests/test_artifacts/test_wandb_artifacts.py | 1 | CODE | |
| LOW | …t_tests/test_artifacts/test_artifact_manifest_entry.py | 1 | CODE | |
| LOW | tests/unit_tests/test_sandbox/test_cli_beta_sandbox.py | 1 | CODE | |
| LOW | tests/unit_tests/test_sandbox/__init__.py | 1 | CODE | |
| LOW | tests/unit_tests/test_sandbox/test_sandbox_auth.py | 1 | CODE | |
| LOW | tests/unit_tests/test_lib/test_json_util.py | 8 | CODE | |
| LOW | tests/unit_tests/test_lib/test_service_client.py | 1 | CODE | |
| LOW | tests/unit_tests/test_lib/test_git.py | 5 | CODE | |
| LOW | tests/unit_tests/test_lib/test_hashutil.py | 1 | CODE | |
| LOW | tests/unit_tests/test_lib/test_printer_asyncio.py | 1 | CODE | |
| LOW | tests/unit_tests/test_lib/test_urls.py | 1 | CODE | |
| LOW | tests/system_tests/test_plot.py | 1 | CODE | |
| LOW | tests/system_tests/conftest.py | 1 | CODE | |
| 1064 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyproject.toml | 381 | reportImplicitStringConcatenation = "hint" | COMMENT |
| LOW | hatch_build.py | 61 | platform_tag = re.sub("[-. ]", "_", sysconfig.get_platform()) | COMMENT |
| LOW | noxfile.py | 21 | # Protobuf Python bindings. | COMMENT |
| LOW | experimental/client-csharp/src/Wandb/Wandb.cs | 41 | /// Initializes a new run within the session. | COMMENT |
| LOW | experimental/client-csharp/src/Wandb/Run.cs | 21 | Min = 1 << 0, // 1 | COMMENT |
| LOW | experimental/client-csharp/src/Wandb/Run.cs | 41 | { | COMMENT |
| LOW | experimental/client-csharp/src/Wandb/Settings.cs | 1 | using System.Text; | COMMENT |
| LOW | experimental/client-csharp/src/Wandb/Settings.cs | 21 | Allow, | COMMENT |
| LOW | experimental/client-csharp/src/Wandb/Settings.cs | 41 | /// Gets the base URL of the wandb server. | COMMENT |
| LOW | experimental/client-csharp/src/Wandb/Settings.cs | 61 | /// Gets or sets the project name under which the run is logged. | COMMENT |
| LOW | experimental/client-csharp/src/Wandb/Settings.cs | 81 | /// Tags associated with the run. | COMMENT |
| LOW | experimental/client-csharp/src/Wandb/Settings.cs | 121 | else | COMMENT |
| LOW | experimental/client-csharp/src/Wandb/Settings.cs | 181 | public string FilesDir => Path.Combine(SyncDir, "files"); | COMMENT |
| LOW | experimental/client-csharp/src/Wandb/Settings.cs | 201 | public static string LogSymlinkUser => Path.Combine(WandbDir, "debug.log"); | COMMENT |
| LOW | experimental/client-csharp/src/Wandb/Settings.cs | 221 | public string RunURL => $"{BaseUrl.Replace("api.wandb.ai", "wandb.ai")}/{Entity}/{Project}/runs/{RunId}"; | COMMENT |
| LOW | …al/client-csharp/src/Wandb/Internal/SocketInterface.cs | 21 | public SocketInterface(IServiceConnectionProtocol connectionProtocol, string streamId) | COMMENT |
| LOW | …al/client-csharp/src/Wandb/Internal/SocketInterface.cs | 61 | return response.AuthenticateResponse.DefaultEntity; | COMMENT |
| LOW | …al/client-csharp/src/Wandb/Internal/SocketInterface.cs | 181 | } | COMMENT |
| LOW | …perimental/client-csharp/src/Wandb/Internal/Manager.cs | 21 | } | COMMENT |
| LOW | …rimental/client-csharp/src/Wandb/Internal/TcpClient.cs | 41 | /// <returns> | COMMENT |
| LOW | experimental/rust-sdk/src/printer.rs | 201 | // let template = format!( | COMMENT |
| LOW | experimental/go-sdk/bindings/cpp/lib/libwandb_cpp.h | 101 | // }; | COMMENT |
| LOW | tools/graphql_codegen/plugin.py | 241 | constraints := self._parse_constraints(gql_field) | COMMENT |
| LOW | core/cmd/wandb-core/main.go | 1 | // Command wandb-core provides the W&B SDK core service and the "leet" terminal UI | COMMENT |
| LOW | core/internal/clients/retry_policy.go | 41 | COMMENT | |
| LOW | core/internal/settings/settings.go | 361 | // For example, if the script is /home/user/project/example.py, and the root | COMMENT |
| LOW | core/internal/wboperation/wboperation.go | 1 | // Package wboperation is used to track the progress and status of async tasks | COMMENT |
| LOW | core/internal/wboperation/wboperation.go | 281 | COMMENT | |
| LOW | core/internal/data_types/data_types_test.go | 121 | }, | COMMENT |
| LOW | core/internal/data_types/data_types_test.go | 141 | // Params: &data_types.MapType{ | COMMENT |
| LOW | core/internal/data_types/data_types_test.go | 161 | // { | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 21 | // live during sampling. Cgroup v1 is intentionally not supported — the | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 61 | // The zero value reads the real /proc/self. Tests redirect procRoot at a | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 81 | // be read live because it is what we are measuring; MemoryStats reads it | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 101 | // whose cpu.max sets a quota. Empty when no quota applied at startup; | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 181 | // detectCgroupResourceLimits gives up in that case because we cannot | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 361 | return float64(quota) / float64(period) | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 401 | // minPositive returns the smaller of two CPU-limit values, treating zero | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 421 | return min(a, b) | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 441 | // bind-mount tricks), the cgroup path is appended to the mountpoint | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 521 | if value, err := strconv.ParseUint(fields[1], 10, 64); err == nil { | COMMENT |
| LOW | core/internal/monitor/dcgm_exporter.go | 21 | // from a Prometheus API endpoint. | COMMENT |
| LOW | core/internal/monitor/trainium.go | 241 | COMMENT | |
| LOW | core/internal/watcher/watcher_test.go | 61 | // flaky and slow tests. The tests in this function are carefully designed | COMMENT |
| LOW | core/internal/watcher/watcher.go | 1 | // Package watcher notifies on changes to files or directories. | COMMENT |
| LOW | core/internal/pathtree/pathtree.go | 121 | func (pt *PathTree[T]) CloneTree() map[string]any { | COMMENT |
| LOW | core/internal/wbvalue/wbvalue.go | 1 | // Package wbvalue allows saving complex run objects. | COMMENT |
| LOW | core/internal/runconsolelogs/outputfilewriter.go | 21 | // outputFileDebounceTime is how long to wait before flushing to disk. | COMMENT |
| LOW | core/internal/runconsolelogs/filestreamwriter.go | 21 | // | COMMENT |
| LOW | core/internal/stream/sender.go | 601 | defer s.logger.Reraise("stream") | COMMENT |
| LOW | core/internal/stream/handler_test.go | 861 | "_runtime": "0.000000", | COMMENT |
| LOW | core/internal/stream/handler_test.go | 881 | // items: map[string]string{ | COMMENT |
| LOW | core/internal/terminalemulator/terminalemulator.go | 1 | // Package terminalemulator implements a virtual terminal that supports common | COMMENT |
| LOW | core/internal/paths/paths.go | 1 | // Package paths enables a "parse-don't-validate" approach to file paths. | COMMENT |
| LOW | core/internal/paths/paths.go | 21 | ) | COMMENT |
| LOW | core/internal/leet/units.go | 201 | // FormatXAxisTick returns human-friendly representation of an X axis tick value. | COMMENT |
| LOW | core/internal/leet/configeditorfields.go | 21 | // | COMMENT |
| LOW | core/internal/leet/run.go | 61 | // isLoading controls whether the loading screen is displayed. | COMMENT |
| LOW | core/internal/leet/runconsolelogs.go | 21 | // consoleTimestampFormat is the display format for timestamps. | COMMENT |
| LOW | core/internal/leet/runconsolelogs.go | 41 | // movements, overwrites, and newline assembly. | COMMENT |
| 611 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/graphql_codegen/plugin_utils.py | 95 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/graphql_codegen/plugin_utils.py | 100 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/conftest.py | 42 | # -------------------------------- | COMMENT |
| MEDIUM⚡ | tests/conftest.py | 44 | # -------------------------------- | COMMENT |
| MEDIUM | tests/conftest.py | 65 | # -------------------------------- | COMMENT |
| MEDIUM | tests/conftest.py | 67 | # -------------------------------- | COMMENT |
| MEDIUM | tests/conftest.py | 93 | # -------------------------------- | COMMENT |
| MEDIUM | tests/conftest.py | 95 | # -------------------------------- | COMMENT |
| MEDIUM | tests/conftest.py | 267 | # -------------------------------- | COMMENT |
| MEDIUM | tests/conftest.py | 269 | # -------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/conftest.py | 29 | # -------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/conftest.py | 31 | # -------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_pydantic_helpers.py | 309 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/unit_tests/test_pydantic_helpers.py | 353 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/unit_tests/test_wandb_settings.py | 434 | # -------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_wandb_settings.py | 436 | # -------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_wandb_save.py | 8 | # ---------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_wandb_save.py | 10 | # ---------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_kfp.py | 116 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_kfp.py | 118 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_kfp.py | 219 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_kfp.py | 221 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_kfp.py | 329 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_kfp.py | 331 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_kfp.py | 536 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_kfp.py | 538 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_kfp.py | 623 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_kfp.py | 625 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_kfp.py | 698 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_kfp.py | 700 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_kfp.py | 723 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_kfp.py | 725 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_kfp.py | 19 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_kfp.py | 21 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_kfp.py | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_kfp.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_kfp.py | 53 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_kfp.py | 55 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_wandb_log.py | 4 | # ---------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_wandb_log.py | 6 | # ---------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_filters/_strategies.py | 23 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_filters/test_filters.py | 55 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_filters/test_filters.py | 183 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_filters/test_filters.py | 308 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_filters/test_filters.py | 271 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/conftest.py | 57 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/conftest.py | 59 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/conftest.py | 74 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/conftest.py | 76 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/conftest.py | 283 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/conftest.py | 296 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/conftest.py | 452 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/_strategies.py | 62 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/_strategies.py | 86 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/test_run_events.py | 501 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_automations/test_events.py | 80 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_automations/test_events.py | 90 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/test_events.py | 122 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_automations/test_automations.py | 53 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_automations/test_automations.py | 61 | # ------------------------------------------------------------------------------ | COMMENT |
| 76 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/system_tests/test_functional/dspy/test_dspy.py | 12 | Factory fixture to run a dspy example module and collect W&B snapshot. Args: wandb_backend_spy: Spy fixture | STRING |
| HIGH | parquet-rust-wrapper/hatch.py | 74 | Returns the path to the arrow-rs-wrapper library. Args: cargo_output: The output from `cargo build` with | STRING |
| HIGH | wandb/util.py | 1631 | Parse a time period string and return seconds. Args: time_str: Time period string like "10s", "5m", "8h", " | STRING |
| HIGH | wandb/apis/public/service_api.py | 147 | Execute a GraphQL operation through the wandb-core sidecar. The query is sent to wandb-core, which performs the | STRING |
| HIGH | wandb/apis/public/service_api.py | 202 | Verify credentials with the W&B server and identify their account. The credentials come from the settings this | STRING |
| HIGH | wandb/apis/public/service_api.py | 235 | Fetch the access token for the session credentials, if any. A token exists only when using federated identity, | STRING |
| HIGH | wandb/apis/public/api.py | 323 | Create a new run queue in W&B Launch. Args: name: Name of the queue to create type: Typ | STRING |
| HIGH | wandb/apis/public/api.py | 446 | Create a custom chart preset and return its id. Args: entity: The entity (user or team) that owns t | STRING |
| HIGH | wandb/apis/public/api.py | 528 | Upsert a run queue in W&B Launch. Args: name: Name of the queue to create entity: Optio | STRING |
| HIGH | wandb/apis/public/api.py | 731 | Return a run, sweep, project or report from a path. Args: path: The path to the project, run, sweep | STRING |
| HIGH | wandb/apis/public/api.py | 960 | Get reports for a given project path. Note: `wandb.Api.reports()` API is in beta and will likely change in | STRING |
| HIGH | wandb/apis/public/api.py | 1139 | Returns a `Runs` object, which lazily iterates over `Run` objects. Fields you can filter by include: - | STRING |
| HIGH | wandb/apis/public/api.py | 1267 | Return a single run by parsing path in the form `entity/project/run_id`. Args: path: Path to run in | STRING |
| HIGH | wandb/apis/public/api.py | 1487 | Returns a single artifact collection by type. You can use the returned `ArtifactCollection` object to retrieve | STRING |
| HIGH | wandb/apis/public/api.py | 1570 | Return an `Artifacts` collection. Args: type_name: The type of artifacts to fetch. name | STRING |
| HIGH | wandb/apis/public/api.py | 1716 | Returns a single artifact. Args: name: The artifact's name. The name of an artifact resembles a | STRING |
| HIGH | wandb/apis/public/api.py | 1858 | Whether an artifact version exists within the specified project and entity. Args: name: The name of | STRING |
| HIGH | wandb/apis/public/api.py | 1896 | Whether an artifact collection exists within a specified project and entity. Args: name: An artifac | STRING |
| HIGH | wandb/apis/public/api.py | 1937 | Returns a lazy iterator of `Registry` objects. Use the iterator to search and filter registries, collections, | STRING |
| HIGH | wandb/apis/public/api.py | 2041 | Return a registry given a registry name. Args: name: The name of the registry. This is without the | STRING |
| HIGH | wandb/apis/public/api.py | 2093 | Create a new registry. Args: name: The name of the registry. Name must be unique within the organiz | STRING |
| HIGH | wandb/apis/public/api.py | 2191 | Returns an iterator of webhook integrations for an entity. Args: entity: The entity (e.g. team name | STRING |
| HIGH | wandb/apis/public/api.py | 2235 | Returns an iterator of Slack integrations for an entity. Args: entity: The entity (e.g. team name) | STRING |
| HIGH | wandb/apis/public/api.py | 2282 | Returns the only Automation matching the parameters. Args: name: The name of the automation to fetc | STRING |
| HIGH | wandb/apis/public/api.py | 2322 | Returns an iterator over all Automations that match the given parameters. If no parameters are provided, the re | STRING |
| HIGH | wandb/apis/public/api.py | 2386 | Create a new Automation. Args: obj: The automation to create. fetch_exi | STRING |
| HIGH | wandb/apis/public/api.py | 2499 | Update an existing automation. Args: obj: The automation to update. Must be an existing automation | STRING |
| HIGH | wandb/apis/public/sweeps.py | 512 | Enqueue a run for the sweep. Args: config: The config for the run. display_name: The op | STRING |
| HIGH | wandb/apis/public/runs.py | 889 | Load run data using appropriate fragment based on lazy mode. Args: force: If True, re-fetch the run | STRING |
| HIGH | wandb/apis/public/runs.py | 999 | Update the state of a run. Supported transitions: - to `pending` from `running`, `failed`, `crashed | STRING |
| HIGH | wandb/apis/public/runs.py | 1180 | Return the run's captured console output. While a run is running, W&B captures what its process writes to | STRING |
| HIGH | wandb/apis/public/runs.py | 1798 | Download any parquet history files for the run to the provided directory. Args: download_dir: The d | STRING |
| HIGH | wandb/apis/public/registries/registry.py | 288 | Create a new registry. The registry name must be unique within the organization. This function should b | STRING |
| HIGH | wandb/apis/public/registries/registry.py | 546 | Adds users or teams to this registry. Args: members: The users or teams to add to the registry. Acc | STRING |
| HIGH | wandb/apis/public/registries/registry.py | 603 | Removes users or teams from this registry. Args: members: The users or teams to remove from the reg | STRING |
| HIGH | wandb/apis/public/registries/registry.py | 662 | Updates the role of a member (user or team) within this registry. Args: member: The user or team to | STRING |
| HIGH | wandb/plot/pr_curve.py | 28 | Constructs a Precision-Recall (PR) curve. The Precision-Recall curve is particularly useful for evaluating classifi | STRING |
| HIGH | wandb/plot/roc_curve.py | 24 | Constructs Receiver Operating Characteristic (ROC) curve chart. Args: y_true: The true class labels (ground | STRING |
| HIGH | wandb/plot/line_series.py | 21 | Constructs a line series chart. Args: xs: Sequence of x values. If a singular array is provided | STRING |
| HIGH | wandb/plot/custom_chart.py | 83 | Creates a custom charts using a Vega-Lite specification and a `wandb.Table`. This function creates a custom chart b | STRING |
| HIGH | wandb/plot/confusion_matrix.py | 24 | Constructs a confusion matrix from a sequence of probabilities or predictions. Args: probs: A sequence of p | STRING |
| HIGH | wandb/integration/weave/media_adapters.py | 294 | Convert a wandb media cell value to an appropriate type for Weave logging. Args: val: Cell value to convert | STRING |
| HIGH | wandb/integration/lightning/fabric/logger.py | 46 | Log using `Weights and Biases <https://docs.wandb.ai/models/integrations/lightning>`_. **Installation and set-up** | STRING |
| HIGH | wandb/integration/kfp/_kfp_v2_patch.py | 23 | Preserve the `@wandb_log` decorator in serialized component source. KFP strips decorators when capturing a componen | STRING |
| HIGH | wandb/integration/kfp/kfp_patch.py | 139 | Get the source code of a function, preserving `@wandb_log`. Modified from KFP v1. Original source: https://gith | STRING |
| HIGH | wandb/sdk/wandb_run.py | 1011 | Save the current state of your code to a W&B Artifact. By default, it walks the current directory and logs all | STRING |
| HIGH | wandb/sdk/wandb_run.py | 1673 | Upload run data. Use `log` to log data from runs, such as scalars, images, video, histograms, plots, an | STRING |
| HIGH | wandb/sdk/wandb_run.py | 2089 | Materialize matched files into the run's files/ dir for syncing. Strategy: 1) If settings.symlink is Tr | STRING |
| HIGH | wandb/sdk/wandb_run.py | 2985 | Link the artifact to a collection. The term “link” refers to pointers that connect where W&B stores the | STRING |
| HIGH | wandb/sdk/wandb_run.py | 3062 | Declare an artifact as an input to a run. Call `download` or `file` on the returned object to get the contents | STRING |
| HIGH | wandb/sdk/wandb_run.py | 3490 | Logs a model artifact containing the contents inside the 'path' to a run and marks it as an output to this run. | STRING |
| HIGH | wandb/sdk/wandb_run.py | 3522 | Download the files logged in a model artifact 'name'. Args: name: A model artifact name. 'name' mus | STRING |
| HIGH | wandb/sdk/wandb_run.py | 3568 | Log a model artifact version and link it to a registered model in the model registry. Linked model versions are | STRING |
| HIGH | wandb/sdk/wandb_run.py | 4047 | Download the specified file from cloud storage. File is placed into the current directory or run directory. By | STRING |
| HIGH | wandb/sdk/wandb_init.py | 1217 | Start a new run to track and log to W&B. In an ML training pipeline, you could add `wandb.init()` to the beginning | STRING |
| HIGH | wandb/sdk/wandb_settings.py | 1558 | Validate run tags. Validates that each tag: - Is between 1 and 64 characters in length (inclusive) | STRING |
| HIGH | wandb/sdk/wandb_watch.py | 35 | Hooks into the given PyTorch model(s) to monitor gradients and the model's computational graph. This function can t | STRING |
| HIGH | wandb/sdk/wandb_login.py | 31 | Log into W&B. You generally don't have to use this because most W&B methods that need authentication can log in | STRING |
| HIGH | wandb/sdk/artifacts/artifact.py | 1444 | Get the WBValue object located at the artifact relative `name`. Args: name: The artifact relative n | STRING |
| HIGH | wandb/sdk/artifacts/artifact.py | 1458 | Add `item` to the artifact at path `name`. Args: name: The path within the artifact to add the obje | STRING |
| 32 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/local_wandb_server.py | 339 | except requests.ConnectionError: | CODE |
| HIGH | core/hatch.py | 115 | except subprocess.CalledProcessError: | CODE |
| HIGH | tests/unit_tests/test_wandb_init.py | 106 | except FileNotFoundError: | CODE |
| HIGH | tests/system_tests/test_launch/test_wandb_controller.py | 47 | except AssertionError: | CODE |
| HIGH | …m_tests/test_notebooks/test_jupyter_server/conftest.py | 132 | except Exception: | CODE |
| HIGH | …m_tests/test_notebooks/test_jupyter_server/conftest.py | 147 | except Exception: | CODE |
| HIGH | …m_tests/test_notebooks/test_jupyter_server/conftest.py | 93 | except requests.ConnectionError: | CODE |
| HIGH | …/system_tests/test_automations/test_automations_api.py | 575 | except CommError: | CODE |
| HIGH | tests/system_tests/test_artifacts/test_artifact_cli.py | 48 | except OSError: | CODE |
| HIGH | tests/system_tests/test_artifacts/test_artifact_cli.py | 80 | except OSError: | CODE |
| HIGH | tests/system_tests/test_functional/dspy/test_dspy.py | 44 | except Exception: | CODE |
| HIGH | wandb/util.py | 577 | except AttributeError: | CODE |
| HIGH | wandb/util.py | 582 | except RuntimeError: | CODE |
| HIGH | wandb/wandb_agent.py | 702 | except OSError: | CODE |
| HIGH | wandb/wandb_agent.py | 685 | except OSError: # if process is already dead | CODE |
| HIGH | wandb/wandb_agent.py | 691 | except OSError: # if process is already dead | CODE |
| HIGH | wandb/wandb_agent.py | 499 | except OSError: | CODE |
| HIGH | wandb/wandb_agent.py | 507 | except OSError: | CODE |
| HIGH | wandb/apis/public/teams.py | 130 | except WandbApiFailedError: | CODE |
| HIGH | wandb/apis/public/summary.py | 258 | except KeyError: | CODE |
| HIGH | wandb/apis/public/runs.py | 662 | except OSError: | CODE |
| HIGH | wandb/apis/public/runs.py | 874 | except (TypeError, AttributeError): | CODE |
| HIGH | wandb/apis/public/runs.py | 1743 | except: # noqa: E722 | CODE |
| HIGH | wandb/integration/keras/callbacks/model_checkpoint.py | 158 | except ValueError: | CODE |
| HIGH | wandb/integration/ultralytics/classification_utils.py | 81 | except Exception: | CODE |
| HIGH | wandb/integration/ultralytics/bbox_utils.py | 213 | except TypeError: | CODE |
| HIGH | wandb/integration/ultralytics/mask_utils.py | 198 | except TypeError: | CODE |
| HIGH | wandb/cli/beta.py | 228 | except ImportError: | CODE |
| HIGH | wandb/sdk/wandb_run.py | 4101 | except AttributeError: | CODE |
| HIGH | wandb/sdk/wandb_init.py | 597 | except OSError: | CODE |
| HIGH | wandb/sdk/wandb_init.py | 983 | except TimeoutError: | CODE |
| HIGH | wandb/sdk/wandb_init.py | 591 | except OSError: | CODE |
| HIGH | wandb/sdk/wandb_setup.py | 141 | except ValueError: | CODE |
| HIGH | wandb/sdk/artifacts/artifact_file_cache.py | 178 | except OSError: | CODE |
| HIGH | wandb/sdk/artifacts/artifact_file_cache.py | 154 | except OSError: | CODE |
| HIGH | wandb/sdk/artifacts/storage_policies/_multipart.py | 125 | except Full: | CODE |
| HIGH | wandb/sdk/launch/_launch.py | 180 | except asyncio.CancelledError: | CODE |
| HIGH | wandb/sdk/launch/create_job.py | 486 | except FileNotFoundError: | CODE |
| HIGH | wandb/sdk/sweeps/scheduler/ax.py | 473 | except Exception: | CODE |
| HIGH | wandb/sdk/lib/redirect.py | 394 | except Exception: | CODE |
| HIGH | wandb/sdk/lib/redirect.py | 565 | except Exception: | CODE |
| HIGH | wandb/sdk/lib/redirect.py | 811 | except Exception: | CODE |
| HIGH | wandb/sdk/lib/redirect.py | 870 | except Exception: | CODE |
| HIGH | wandb/sdk/lib/redirect.py | 817 | except Exception: | CODE |
| HIGH | wandb/sdk/lib/filesystem.py | 77 | except (ValueError, NotADirectoryError): | CODE |
| HIGH | wandb/sdk/lib/filesystem.py | 519 | except (OSError, NotImplementedError): | CODE |
| HIGH | wandb/sdk/lib/filesystem.py | 527 | except OSError: | CODE |
| HIGH | wandb/sdk/lib/import_hooks.py | 159 | except AttributeError: | CODE |
| HIGH | wandb/sdk/lib/gitlib.py | 346 | except GitCommandError: | CODE |
| HIGH | wandb/sdk/lib/hashutil.py | 140 | except ValueError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/perf/scripts/setup_helper.py | 18 | # Create a formatter and set it for both handlers | COMMENT |
| MEDIUM | tools/perf/scripts/bench_run_log.py | 288 | # Create a random RGB image (100x100 pixels) | COMMENT |
| MEDIUM | tools/graphql_codegen/generate-graphql.sh | 28 | # Create a temporary directory to clone into, but ensure it's cleaned up on exit | COMMENT |
| MEDIUM | tests/unit_tests/test_cli.py | 643 | # Create a test file with the specified age | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/test_run_events.py | 353 | # Create the base zscore filter | COMMENT |
| MEDIUM | tests/unit_tests/test_artifacts/test_storage.py | 504 | # # Create a few files to fill up the cache (exactly). | COMMENT |
| MEDIUM | …/unit_tests/test_artifacts/saved_model_constructors.py | 1 | # This file is separated from the main test file in | COMMENT |
| MEDIUM | …/unit_tests/test_artifacts/saved_model_constructors.py | 38 | # Create a simple model. | COMMENT |
| MEDIUM | tests/unit_tests/test_lib/test_auth_netrc.py | 221 | # Create a directory at the .netrc file path. | STRING |
| MEDIUM | tests/system_tests/backend_fixtures.py | 230 | # Create the new org. | COMMENT |
| MEDIUM | tests/system_tests/test_registries/test_registry.py | 175 | # Create the first registry | COMMENT |
| MEDIUM | tests/system_tests/test_sweep/test_sweep_public_api.py | 102 | # Create a sweep run | STRING |
| MEDIUM | tests/system_tests/test_automations/conftest.py | 142 | # Create the project first if it doesn't exist yet | COMMENT |
| MEDIUM | …/system_tests/test_automations/test_automations_api.py | 113 | # Create a webhook integration only to check that it's omitted from slack_integrations() | COMMENT |
| MEDIUM | …/system_tests/test_automations/test_automations_api.py | 948 | # Create the placeholder project for the automation | COMMENT |
| MEDIUM | …/system_tests/test_automations/test_automations_api.py | 952 | # Create the actual automation | COMMENT |
| MEDIUM | tests/system_tests/test_artifacts/test_misc.py | 48 | # Create a second version for a1 | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 480 | # Create the original file to add to the artifact | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 485 | # Create an artifact with such file stored | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 493 | # Create an middle artifact with such file referenced (notice no need to download) | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 554 | # Create the original file to add to the artifact | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 559 | # Create a super important file | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 567 | # Create an middle artifact with such file referenced (notice no need to download) | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 577 | # Create a downstream artifact that is referencing the middle's reference | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 644 | # Create an artifact with such file stored | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 652 | # Create an middle artifact with such file referenced (notice no need to download) | COMMENT |
| MEDIUM | …/system_tests/test_artifacts/test_object_references.py | 505 | # Create a downstream artifact that is referencing the middle's reference | COMMENT |
| MEDIUM⚡ | …ystem_tests/test_artifacts/test_artifact_public_api.py | 773 | # Create a run and log an artifact | COMMENT |
| MEDIUM | …ystem_tests/test_artifacts/test_artifact_public_api.py | 455 | # Create a file that should be removed as part of checkout | COMMENT |
| MEDIUM | …ystem_tests/test_artifacts/test_wandb_artifacts_api.py | 349 | # Create an artifact sequence + portfolio (auto-created if it doesn't exist) | COMMENT |
| MEDIUM | …ystem_tests/test_artifacts/test_wandb_artifacts_api.py | 576 | # Create the Api after teardown to ensure it picks up the new settings. | COMMENT |
| MEDIUM⚡ | …ts/system_tests/test_artifacts/test_wandb_artifacts.py | 397 | # Create the second reference artifact and log it | COMMENT |
| MEDIUM⚡ | …ts/system_tests/test_artifacts/test_wandb_artifacts.py | 411 | # Create the second reference artifact and log it | COMMENT |
| MEDIUM⚡ | …ts/system_tests/test_artifacts/test_wandb_artifacts.py | 425 | # Create the second reference artifact and log it | COMMENT |
| MEDIUM⚡ | …ts/system_tests/test_artifacts/test_wandb_artifacts.py | 438 | # Create the second reference artifact and log it | COMMENT |
| MEDIUM | …ts/system_tests/test_artifacts/test_wandb_artifacts.py | 366 | # Create the reference artifact and log it while bypassing the checksum | COMMENT |
| MEDIUM | tests/system_tests/test_core/test_wandb_init.py | 146 | _ = user # Create a fake user on the backend server. | CODE |
| MEDIUM | tests/system_tests/test_core/test_git.py | 154 | # Create a feature branch tracking origin/main | COMMENT |
| MEDIUM⚡ | tests/system_tests/test_core/test_resume.py | 13 | _ = user # Create a fake user for the test. | CODE |
| MEDIUM⚡ | tests/system_tests/test_core/test_resume.py | 22 | _ = user # Create a fake user for the test. | CODE |
| MEDIUM⚡ | tests/system_tests/test_core/test_resume.py | 48 | _ = user # Create a fake user for the test. | CODE |
| MEDIUM | tests/system_tests/test_functional/conftest.py | 11 | # Define a helper function that will take in the script path and command-line arguments | COMMENT |
| MEDIUM | …stem_tests/test_functional/terminput/test_terminput.py | 51 | # Create a pseudoterminal. | COMMENT |
| MEDIUM | .github/scripts/ban-graphql-introspection-test.sh | 11 | # Create an empty git repo in a temporary directory. | COMMENT |
| MEDIUM | wandb/jupyter.py | 178 | # This file is not actually the same as the notebook file. | COMMENT |
| MEDIUM | wandb/apis/public/api.py | 471 | # Define a simple bar chart specification | COMMENT |
| MEDIUM | wandb/apis/public/api.py | 482 | # Create the custom chart | COMMENT |
| MEDIUM | wandb/plot/histogram.py | 42 | # Create a W&B Table | STRING |
| MEDIUM | wandb/plot/histogram.py | 48 | # Create a histogram plot | STRING |
| MEDIUM | wandb/plot/line.py | 54 | # Define the columns for the table | STRING |
| MEDIUM | wandb/plot/custom_chart.py | 112 | # Create a custom chart using a Vega-Lite spec and the data table. | STRING |
| MEDIUM | wandb/plot/custom_chart.py | 122 | # Create a custom title with `string_fields`. | STRING |
| MEDIUM | wandb/plot/bar.py | 48 | # Create a table with the data | STRING |
| MEDIUM | wandb/plot/bar.py | 53 | # Create a bar plot from the table | STRING |
| MEDIUM | wandb/plot/confusion_matrix.py | 160 | # Create a mapping from class name to index | COMMENT |
| MEDIUM | wandb/integration/sklearn/calculate/residuals.py | 13 | # Create the train and test splits | COMMENT |
| MEDIUM | wandb/mpmain/__main__.py | 1 | # This module is initialized after multiprocessing spawn | COMMENT |
| MEDIUM | wandb/sdk/wandb_run.py | 587 | # Initialize telemetry object | COMMENT |
| MEDIUM | wandb/sdk/wandb_run.py | 3021 | # Create an artifact object | STRING |
| MEDIUM | wandb/sdk/wandb_init.py | 1455 | # Create a temporary telemetry recorder while do not know run specific settings, | STRING |
| 8 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hatch_build.py | 157 | except Exception: | CODE |
| LOW | tools/local_wandb_server.py | 227 | except Exception as e: | CODE |
| LOW | tools/local_wandb_server.py | 263 | except Exception as e: | CODE |
| MEDIUM | tools/generate_stubs.py | 112 | print(f"Error: Could not find docstring for '{func_name}' in {source_file}") | CODE |
| MEDIUM | tools/generate_stubs.py | 195 | print(f"Error: Could not find function '{func_name}' in {source_file}") | CODE |
| MEDIUM | tools/generate_stubs.py | 206 | print(f"Error: Could not find function '{func_name}' in {generated_stub}") | CODE |
| LOW | tools/perf/scripts/process_sar_helper.py | 136 | except Exception: | CODE |
| LOW | tools/perf/scripts/process_sar_helper.py | 246 | except Exception as e: | CODE |
| LOW | …test_wandb_agent/scripts/train_with_import_readline.py | 24 | except Exception as e: | CODE |
| LOW | tests/system_tests/conftest.py | 195 | except Exception as e: | CODE |
| LOW | …m_tests/test_notebooks/test_jupyter_server/conftest.py | 132 | except Exception: | CODE |
| LOW | …m_tests/test_notebooks/test_jupyter_server/conftest.py | 147 | except Exception: | CODE |
| LOW | …ts/system_tests/test_sweep/test_sweep_scheduler_e2e.py | 137 | except Exception as e: | CODE |
| MEDIUM | …ts/system_tests/test_sweep/test_sweep_scheduler_e2e.py | 134 | def drive() -> None: | CODE |
| LOW | …/system_tests/test_sweep/train_with_import_readline.py | 22 | except Exception as e: | CODE |
| LOW | tests/system_tests/test_functional/dspy/test_dspy.py | 44 | except Exception: | CODE |
| LOW | wandb/util.py | 177 | except Exception: | CODE |
| LOW | wandb/util.py | 1073 | except Exception as e: | CODE |
| LOW | wandb/wandb_agent.py | 577 | except Exception: | CODE |
| MEDIUM | wandb/wandb_agent.py | 352 | def _run_loop(self, agent_id): | CODE |
| LOW | wandb/jupyter.py | 265 | except Exception: | CODE |
| LOW | wandb/jupyter.py | 316 | except Exception: | CODE |
| LOW | wandb/jupyter.py | 373 | except Exception: | CODE |
| LOW | wandb/jupyter.py | 396 | except Exception: | CODE |
| LOW | wandb/jupyter.py | 509 | except Exception: | CODE |
| LOW | wandb/apis/normalize.py | 58 | except Exception as err: | CODE |
| LOW | wandb/apis/public/jobs.py | 403 | except Exception as e: | STRING |
| LOW | wandb/apis/public/sweeps.py | 248 | except Exception: | CODE |
| LOW | wandb/apis/public/sweeps.py | 831 | except Exception as e: | CODE |
| LOW | wandb/apis/public/sweeps.py | 1016 | except Exception: | STRING |
| LOW | wandb/apis/public/registries/registry.py | 337 | except Exception as e: | CODE |
| LOW | wandb/apis/public/registries/registry.py | 367 | except Exception as e: | CODE |
| LOW | wandb/apis/public/registries/registry.py | 388 | except Exception as e: | CODE |
| LOW | wandb/apis/public/registries/registry.py | 446 | except Exception as e: | CODE |
| LOW | wandb/apis/public/registries/_utils.py | 297 | except Exception: | CODE |
| LOW | wandb/plot/utils.py | 106 | except Exception: | CODE |
| LOW | wandb/integration/dspy/dspy.py | 195 | except Exception as e: | CODE |
| LOW | wandb/integration/dspy/dspy.py | 408 | except Exception as exc: | CODE |
| LOW | wandb/integration/weave/weave.py | 99 | except Exception as e: | CODE |
| LOW | wandb/integration/keras/callbacks/metrics_logger.py | 96 | except Exception as e: | CODE |
| LOW | wandb/integration/diffusers/resolvers/multimodal.py | 674 | except Exception as e: | CODE |
| LOW | wandb/integration/kfp/wandb_log_v2.py | 153 | except Exception as e: | CODE |
| LOW | wandb/integration/kfp/wandb_log_v2.py | 186 | except Exception as e: | CODE |
| LOW | wandb/integration/sklearn/utils.py | 120 | except Exception: | CODE |
| MEDIUM | wandb/integration/sklearn/utils.py | 88 | def test_fitted(model): | CODE |
| LOW | wandb/integration/fastai/__init__.py | 154 | except Exception as e: | CODE |
| LOW | wandb/integration/fastai/__init__.py | 190 | except Exception: | CODE |
| LOW | wandb/integration/huggingface/resolver.py | 91 | except Exception as e: | CODE |
| LOW | wandb/integration/ultralytics/callback.py | 71 | except Exception as e: | CODE |
| LOW | wandb/integration/ultralytics/classification_utils.py | 81 | except Exception: | CODE |
| LOW | wandb/integration/openai/fine_tuning.py | 239 | except Exception: | CODE |
| LOW | wandb/integration/openai/fine_tuning.py | 300 | except Exception: | CODE |
| LOW | wandb/integration/openai/fine_tuning.py | 310 | except Exception: | CODE |
| LOW | wandb/integration/openai/fine_tuning.py | 342 | except Exception: | CODE |
| LOW | wandb/integration/openai/fine_tuning.py | 458 | except Exception as e: | CODE |
| LOW | wandb/agents/pyagent.py | 350 | except Exception: | CODE |
| LOW | wandb/agents/pyagent.py | 387 | except Exception as e: | CODE |
| LOW | wandb/agents/pyagent.py | 398 | except Exception as e: | CODE |
| MEDIUM | wandb/agents/pyagent.py | 360 | def _run_job(self, job): | CODE |
| LOW | wandb/cli/beta_core.py | 96 | except Exception as e: | CODE |
| 130 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/perf/scripts/run_load_tests.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/perf/scripts/process_sar_helper.py | 7 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/perf/scripts/push_perf_results_helper.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/perf/scripts/test_case_helper.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/perf/scripts/bench_run_log.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/unit_tests/test_sweep_scheduler.py | 747 | def update_generator_state(self, experiment: Any, data: Any) -> None: | CODE |
| LOW | tests/unit_tests/test_wandb_summary.py | 25 | def update_callback(self, summary_record: SummaryRecord) -> None: | CODE |
| LOW | tests/system_tests/test_registries/conftest.py | 210 | def set_team_as_default_entity(request: FixtureRequest, mocker: MockerFixture) -> None: | CODE |
| LOW | …/test_functional/asyncio_manager_run/interrupt_join.py | 14 | async def _set_task_started_then_sleep() -> None: | CODE |
| LOW | wandb/env.py | 461 | def set_entity(value: str, env: MutableMapping | None = None) -> None: | CODE |
| LOW | wandb/env.py | 467 | def set_project(value: str, env: MutableMapping | None = None) -> None: | CODE |
| LOW | wandb/util.py | 57 | logger = logging.getLogger(__name__) | CODE |
| LOW | wandb/wandb_run.py | 8 | __all__ = ["Run"] | CODE |
| LOW | wandb/data_types.py | 40 | __all__ = [ | CODE |
| LOW | wandb/wandb_agent.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | wandb/jupyter.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | wandb/docker/__init__.py | 274 | __all__ = [ | CODE |
| LOW | wandb/apis/__init__.py | 45 | __all__ = ["Api"] | CODE |
| LOW | wandb/apis/paginator.py | 78 | def update_variables(self) -> None: | CODE |
| LOW | wandb/apis/paginator.py | 94 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/files.py | 164 | def _update_response(self) -> None: | STRING |
| LOW | wandb/apis/public/files.py | 221 | def update_variables(self) -> None: | CODE |
| LOW | wandb/apis/public/jobs.py | 200 | def set_entrypoint(self, entrypoint: list[str]) -> None: | CODE |
| LOW | wandb/apis/public/api.py | 74 | logger = logging.getLogger(__name__) | CODE |
| LOW | wandb/apis/public/api.py | 1700 | def _set_artifact_save_handle(self, artifact: Artifact, handle: Any) -> None: | CODE |
| LOW | wandb/apis/public/automations.py | 65 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/automations.py | 193 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/reports.py | 136 | def update_variables(self) -> None: | STRING |
| LOW | wandb/apis/public/console_logs.py | 132 | def update_variables(self) -> None: | CODE |
| LOW | wandb/apis/public/console_logs.py | 142 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/sweeps.py | 56 | logger = logging.getLogger(__name__) | CODE |
| LOW | wandb/apis/public/sweeps.py | 136 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 118 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 181 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 404 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 512 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 581 | def _update_data(self, fragment: ArtifactCollectionFragment) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 797 | def _update_collection(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 826 | def _update_sequence_type(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 1005 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 1107 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 1190 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/projects.py | 109 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/runs.py | 247 | def _update_response(self) -> None: | STRING |
| LOW | wandb/apis/public/runs.py | 520 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/runs.py | 527 | def update_variables(self) -> None: | CODE |
| LOW | wandb/apis/public/integrations.py | 52 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/registries/registry.py | 66 | def _update_attributes(self, fragment: RegistryFragment) -> None: | CODE |
| LOW | wandb/apis/public/registries/__init__.py | 1 | __all__ = [ | CODE |
| LOW | wandb/apis/public/registries/registries_search.py | 361 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/registries/registries_search.py | 505 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/registries/registries_search.py | 613 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/registries/_utils.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | wandb/apis/_generated/__init__.py | 3 | __all__ = [ | CODE |
| LOW | wandb/apis/_generated/operations.py | 4 | __all__ = [ | CODE |
| LOW | wandb/plot/__init__.py | 8 | __all__ = [ | CODE |
| LOW | wandb/plot/viz.py | 32 | def set_key(self, key: str) -> None: | CODE |
| LOW | wandb/integration/dspy/__init__.py | 5 | __all__ = ["WandbDSPyCallback"] | CODE |
| LOW | wandb/integration/dspy/dspy.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | wandb/integration/sb3/sb3.py | 63 | logger = logging.getLogger(__name__) | CODE |
| 107 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/local_wandb_server.py | 255 | CODE | |
| LOW | tools/generate-tool.py | 40 | CODE | |
| LOW | tools/generate_stubs.py | 46 | CODE | |
| LOW | tools/generate_stubs.py | 142 | CODE | |
| LOW | tools/perf/scripts/push_perf_results_helper.py | 12 | CODE | |
| LOW | tools/perf/scripts/bench_run_log.py | 113 | CODE | |
| LOW | tools/perf/scripts/bench_run_log.py | 431 | CODE | |
| LOW | tests/unit_tests/test_util.py | 43 | CODE | |
| LOW | tests/unit_tests/test_data_types.py | 34 | CODE | |
| LOW | tests/unit_tests/test_registries/test_addonly_list.py | 201 | CODE | |
| LOW | …m_tests/test_notebooks/test_jupyter_server/conftest.py | 207 | CODE | |
| LOW | tests/system_tests/test_functional/sync/test_sync.py | 15 | CODE | |
| LOW | …ystem_tests/test_system_metrics/test_system_monitor.py | 6 | CODE | |
| LOW | …ystem_tests/test_system_metrics/test_system_monitor.py | 29 | CODE | |
| LOW | parquet-rust-wrapper/hatch.py | 73 | CODE | |
| LOW | wandb/util.py | 210 | CODE | |
| LOW | wandb/util.py | 557 | CODE | |
| LOW | wandb/util.py | 800 | CODE | |
| LOW | wandb/util.py | 820 | CODE | |
| LOW | wandb/util.py | 927 | CODE | |
| LOW | wandb/util.py | 1387 | CODE | |
| LOW | wandb/wandb_controller.py | 130 | CODE | |
| LOW | wandb/wandb_agent.py | 216 | CODE | |
| LOW | wandb/wandb_agent.py | 352 | CODE | |
| LOW | wandb/wandb_agent.py | 457 | CODE | |
| LOW | wandb/wandb_agent.py | 558 | CODE | |
| LOW | wandb/wandb_agent.py | 675 | CODE | |
| LOW | wandb/jupyter.py | 425 | CODE | |
| LOW | wandb/apis/normalize.py | 19 | CODE | |
| LOW | wandb/apis/normalize.py | 23 | CODE | |
| LOW | wandb/apis/public/query_generator.py | 56 | CODE | |
| LOW | wandb/apis/public/query_generator.py | 70 | CODE | |
| LOW | wandb/apis/public/api.py | 730 | CODE | |
| LOW | wandb/apis/public/api.py | 805 | CODE | |
| LOW | wandb/apis/public/reports.py | 471 | CODE | |
| LOW | wandb/apis/public/reports.py | 491 | CODE | |
| LOW | wandb/apis/public/reports.py | 511 | CODE | |
| LOW | wandb/apis/public/reports.py | 597 | CODE | |
| LOW | wandb/apis/public/sweeps.py | 641 | CODE | |
| LOW | wandb/apis/public/runs.py | 846 | CODE | |
| LOW | wandb/apis/public/runs.py | 1722 | CODE | |
| LOW | wandb/plot/utils.py | 7 | CODE | |
| LOW | wandb/plot/utils.py | 126 | CODE | |
| LOW | wandb/integration/dspy/dspy.py | 234 | CODE | |
| LOW | wandb/integration/weave/media_adapters.py | 289 | CODE | |
| LOW | wandb/integration/lightning/fabric/logger.py | 367 | CODE | |
| LOW | wandb/integration/diffusers/resolvers/multimodal.py | 704 | CODE | |
| LOW | wandb/integration/sacred/__init__.py | 69 | CODE | |
| LOW | wandb/integration/kfp/wandb_log_v1.py | 1 | CODE | |
| LOW | wandb/integration/kfp/wandb_log_v1.py | 111 | CODE | |
| LOW | wandb/integration/kfp/wandb_log_v2.py | 122 | CODE | |
| LOW | wandb/integration/torch/wandb_torch.py | 365 | CODE | |
| LOW | wandb/integration/torch/wandb_torch.py | 429 | CODE | |
| LOW | wandb/integration/sklearn/utils.py | 39 | CODE | |
| LOW | wandb/integration/sklearn/utils.py | 126 | CODE | |
| LOW | …b/integration/sklearn/calculate/feature_importances.py | 11 | CODE | |
| LOW | wandb/integration/fastai/__init__.py | 180 | CODE | |
| LOW | wandb/integration/tensorboard/log.py | 70 | CODE | |
| LOW | wandb/integration/tensorboard/log.py | 272 | CODE | |
| LOW | wandb/integration/prodigy/prodigy.py | 70 | CODE | |
| 102 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | CHANGELOG.md | 1066 | - Update the signature and docstring of `wandb.api.public.runs.Run.log_artifact()` to support artifact tags like `Run` i | CODE |
| CRITICAL⚡ | core/pkg/service_go_proto/wandb_telemetry.pb.go | 1835 | Artifact_GetPath bool `protobuf:"varint,11,opt,name=artifact__get_path,json=artifactGetPath | CODE |
| CRITICAL⚡ | core/pkg/service_go_proto/wandb_telemetry.pb.go | 1836 | Artifactmanifestentry_Name bool `protobuf:"varint,12,opt,name=artifactmanifestentry__name,json=artifa | CODE |
| CRITICAL⚡ | core/pkg/service_go_proto/wandb_telemetry.pb.go | 1845 | Artifact_UseAs bool `protobuf:"varint,26,opt,name=artifact__use_as,json=artifactUseAs,proto3" json:"artifact__use | CODE |
| CRITICAL | xpu/src/wandb_internal.rs | 545 | /// wandb.sdk.artifacts.artifact.Artifact.get_path(...) called | COMMENT |
| CRITICAL | xpu/src/wandb_internal.rs | 548 | /// wandb.sdk.artifacts.artifact_manifest_entry.ArtifactManifestEntry.name() called | COMMENT |
| CRITICAL | xpu/src/wandb_internal.rs | 569 | /// wandb.sdk.artifacts.artifact.Artifact.use_as() called | COMMENT |
| CRITICAL | tests/unit_tests/test_lib/test_run_messages.py | 39 | result.response.internal_messages_response.messages.warning.extend(warnings) | CODE |
| CRITICAL | wandb/sdk/launch/registry/azure_container_registry.py | 17 | from azure.core.exceptions import ResourceNotFoundError # type: ignore | CODE |
| CRITICAL | wandb/sdk/launch/environment/azure_environment.py | 3 | from azure.core.exceptions import HttpResponseError # type: ignore | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/unit_tests/test_automations/test_actions.py | 0 | check that the public `eventtype` enum is a subset of the schema-generated enum. this is a safeguard in case we've had t | STRING |
| HIGH | tests/unit_tests/test_automations/test_scopes.py | 0 | check that the public `eventtype` enum is a subset of the schema-generated enum. this is a safeguard in case we've had t | STRING |
| HIGH | tests/unit_tests/test_automations/test_events.py | 0 | check that the public `eventtype` enum is a subset of the schema-generated enum. this is a safeguard in case we've had t | STRING |
| HIGH | wandb/apis/public/sweeps.py | 0 | fetch and validate the response data for the current page. | STRING |
| HIGH | wandb/apis/public/artifacts.py | 0 | fetch and validate the response data for the current page. | STRING |
| HIGH | wandb/apis/public/projects.py | 0 | fetch and validate the response data for the current page. | STRING |
| HIGH | wandb/apis/public/artifacts.py | 0 | the graphql `internalid` for this registry's backing project, if fetched. this is a base64-encoded global id. when decod | STRING |
| HIGH | wandb/sdk/artifacts/_models/artifact_collection.py | 0 | the graphql `internalid` for this registry's backing project, if fetched. this is a base64-encoded global id. when decod | STRING |
| HIGH | wandb/apis/public/registries/registry.py | 0 | the graphql `internalid` for this registry's backing project, if fetched. this is a base64-encoded global id. when decod | STRING |
| HIGH | wandb/sdk/artifacts/_models/registry.py | 0 | the graphql `internalid` for this registry's backing project, if fetched. this is a base64-encoded global id. when decod | STRING |
| HIGH | wandb/sdk/data_types/object_3d.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore --> | STRING |
| HIGH | wandb/sdk/data_types/molecule.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore --> | STRING |
| HIGH | wandb/sdk/data_types/histogram.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore --> | STRING |
| HIGH | wandb/sdk/data_types/html.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore --> | STRING |
| HIGH | wandb/sdk/data_types/audio.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore --> | STRING |
| HIGH | wandb/sdk/data_types/table.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore --> | STRING |
| HIGH | wandb/sdk/data_types/video.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore --> | STRING |
| HIGH | wandb/sdk/data_types/image.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore --> | STRING |
| HIGH | wandb/sdk/data_types/eval_table/eval_table.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore --> | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/unit_tests/test_launch/test_builder/test_build.py | 209 | pip_install="pip install uv && uv pip install -r requirements.txt", | CODE |
| HIGH | tests/unit_tests/test_launch/test_builder/test_build.py | 277 | pip_install="pip install uv && uv pip install -r requirements.txt", | CODE |
| HIGH⚡ | tests/unit_tests/test_lib/test_json_util.py | 232 | '{"nested": {"x": null}}', | CODE |
| HIGH⚡ | tests/unit_tests/test_lib/test_git.py | 252 | assert git_repo.push("name") == "" | CODE |
| HIGH | tests/unit_tests/test_lib/test_git.py | 303 | assert git_repo.push("name") is None | CODE |
| HIGH | tests/system_tests/test_sweep/test_wandb_agent.py | 55 | assert _return["args_json"] == ['{"a": true, "b": false, "c": 1, "d": null}'] | CODE |
| HIGH | …ystem_tests/test_artifacts/test_wandb_artifacts_api.py | 469 | """Check that NaN values are encoded as None (JSON null) values.""" | STRING |
| HIGH | wandb/cli/cli.py | 3314 | $ wandb online && python train.py | STRING |
| HIGH | wandb/cli/cli.py | 3335 | $ wandb offline && python train.py | STRING |
| HIGH | wandb/cli/cli.py | 3339 | $ wandb offline && python train.py | STRING |
| HIGH | wandb/sdk/launch/runner/kubernetes_runner.py | 1371 | chmod_suffix = f" && chmod -R a+w {CODE_MOUNT_DIR}/* || true && chmod -R a+w {CODE_MOUNT_DIR}/.* || true" | CODE |
| HIGH | wandb/sdk/launch/builder/build.py | 235 | deps_install_line = "pip install uv && uv pip install -r requirements.txt" | CODE |
| HIGH | wandb/sdk/launch/builder/build.py | 272 | "pip install uv && uv pip install -r requirements.txt" | CODE |
| HIGH | wandb/sdk/launch/builder/templates/dockerfile.py | 24 | RUN mkdir -p {workdir}/.cache && chown -R {uid} {workdir}/.cache | CODE |
| HIGH | wandb/sdk/launch/builder/templates/dockerfile.py | 47 | RUN apt-get update -qq && apt-get install --no-install-recommends -y \ | CODE |
| HIGH | wandb/sdk/launch/builder/templates/dockerfile.py | 49 | && apt-get -qq purge && apt-get -qq clean \ | CODE |
| HIGH | wandb/sdk/launch/builder/templates/dockerfile.py | 75 | mkdir /env && cd /env && tar xf /tmp/env.tar && \ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/internal/api/credentials_test.go | 109 | token := "fake-token" | CODE |
| LOW | core/internal/api/credentials_test.go | 161 | server := authServer("fake-token", time.Hour) | CODE |
| LOW | core/internal/api/credentials_test.go | 189 | token := "fake-token" | CODE |
| LOW | core/internal/api/credentials_test.go | 262 | token := "fake-token" | CODE |
| LOW | core/internal/api/credentials_test.go | 326 | assert.Equal(t, "Bearer fake-token", calls[0].Header.Get("Authorization")) | CODE |
| LOW | core/internal/api/credentials_test.go | 327 | assert.Equal(t, "Bearer fake-token", calls[1].Header.Get("Authorization")) | CODE |
| LOW | core/internal/api/credentials_test.go | 365 | token := "fake-token" | CODE |
| LOW | core/internal/api/credentials_test.go | 414 | token := "fake-token" | CODE |
| LOW | core/internal/api/credentials_test.go | 449 | server := authServer("fake-token", time.Minute) | CODE |
| LOW | core/internal/api/credentials_test.go | 666 | authHandler("fake-token", time.Hour)(w, req) | CODE |
| LOW | core/internal/api/credentials_test.go | 721 | assert.Equal(t, "fake-token", token) | CODE |
| LOW | core/internal/api/credentials_test.go | 734 | server := authServer("fake-token", time.Hour) | CODE |
| LOW | core/internal/api/credentials_test.go | 792 | server := tlsAuthServer(t, "fake-token") | CODE |
| LOW | core/internal/api/credentials_test.go | 820 | "Bearer fake-token", reqs[0].Header.Get("Authorization")) | CODE |
| LOW | tests/conftest.py | 225 | subprocess.run(["git", "config", "user.email", "test@test.com"], check=True) | CODE |
| LOW | tests/unit_tests/test_launch/test_git_reference.py | 58 | run_git(path, "config", "user.email", "test@test.com") | CODE |
| LOW | tests/unit_tests/test_launch/test_git_reference.py | 226 | run_git(submodule_src, "config", "user.email", "test@test.com") | CODE |
| LOW | …ts/unit_tests/test_launch/test_inputs/test_internal.py | 424 | "placeholder": "Enter your username", | CODE |
| LOW | …ts/unit_tests/test_launch/test_inputs/test_internal.py | 441 | "placeholder": "sk-...", | CODE |
| LOW | …ts/unit_tests/test_launch/test_inputs/test_internal.py | 461 | "placeholder": "localhost", | CODE |
| LOW | …ts/unit_tests/test_launch/test_inputs/test_internal.py | 467 | "placeholder": "5432", | CODE |
| LOW | …ts/unit_tests/test_launch/test_inputs/test_internal.py | 536 | "placeholder": "1.0.0", | CODE |
| LOW | …ts/unit_tests/test_launch/test_inputs/test_internal.py | 577 | "placeholder": "Enable this feature", | CODE |
| LOW | …ts/unit_tests/test_launch/test_inputs/test_internal.py | 594 | "placeholder": "Select options...", | CODE |
| LOW | …ts/unit_tests/test_launch/test_inputs/test_internal.py | 608 | "placeholder": 123, # Should be string | CODE |
| LOW | …ts/unit_tests/test_launch/test_inputs/test_internal.py | 698 | "placeholder": "Select environment tags...", | CODE |
| LOW | …ts/unit_tests/test_launch/test_inputs/test_internal.py | 710 | "placeholder": "Choose numbers (optional)", | CODE |
| LOW | tests/unit_tests/test_lib/test_git.py | 23 | run_git(path, "config", "user.email", "test@test.com") | CODE |
| LOW | tests/system_tests/test_core/test_wandb_settings.py | 126 | ["git", "config", "user.email", "test@test.com"], | CODE |
| LOW | tests/system_tests/test_core/test_git.py | 14 | run_git(path, "config", "user.email", "test@test.com") | CODE |
| LOW⚡ | tests/system_tests/test_core/test_public_api.py | 1218 | email = "test@test.com" | CODE |
| LOW⚡ | tests/system_tests/test_core/test_public_api.py | 1236 | email = "test@test.com" | CODE |
| LOW⚡ | tests/system_tests/test_core/test_public_api.py | 1252 | email = "test@test.com" | CODE |
| LOW⚡ | tests/system_tests/test_core/test_public_api.py | 1301 | email = "test@test.com" | CODE |
| LOW⚡ | tests/system_tests/test_core/test_public_api.py | 1305 | fake_key = "A" * 92 | CODE |
| LOW⚡ | tests/system_tests/test_core/test_public_api.py | 1306 | api = Api(api_key=fake_key) | CODE |
| LOW⚡ | tests/system_tests/test_core/test_public_api.py | 1310 | assert user.user_api.api_key == fake_key | CODE |
| LOW | tests/system_tests/test_core/test_public_api.py | 1117 | name="fake-name", | CODE |
| LOW | tests/system_tests/test_core/test_public_api.py | 1166 | email = "test@test.com" | CODE |
| LOW | tests/system_tests/test_core/test_public_api.py | 1180 | email = "test@test.com" | CODE |
| LOW | tests/system_tests/test_core/test_public_api.py | 1282 | email = "test@test.com" | CODE |
| LOW | wandb/apis/public/teams.py | 86 | team.invite("user@example.com") | STRING |
| LOW | wandb/sdk/artifacts/artifact.py | 402 | artifact = cls("placeholder", type="placeholder") | CODE |
| LOW | wandb/sdk/launch/_project_spec.py | 167 | elif self.uri and self.uri.startswith("placeholder"): | CODE |
| LOW | wandb/sdk/launch/inputs/schema.py | 11 | "placeholder": {"type": "string"}, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | noxfile.py | 367 | CODE | |
| LOW | tools/perf/scripts/bench_run_log.py | 371 | CODE | |
| LOW | tests/unit_tests/test_metaflow.py | 191 | CODE | |
| LOW | tests/unit_tests/test_metaflow.py | 277 | CODE | |
| LOW | …/system_tests/test_functional/metaflow/flow_pytorch.py | 106 | CODE | |
| LOW | wandb/wandb_controller.py | 291 | CODE | |
| LOW | wandb/wandb_agent.py | 708 | CODE | |
| LOW | wandb/apis/public/jobs.py | 204 | CODE | |
| LOW | wandb/apis/public/summary.py | 106 | CODE | |
| LOW | wandb/apis/public/sweeps.py | 682 | CODE | |
| LOW | wandb/integration/lightning/fabric/logger.py | 289 | CODE | |
| LOW | wandb/integration/sklearn/plot/shared.py | 48 | CODE | |
| LOW | wandb/integration/fastai/__init__.py | 81 | CODE | |
| LOW | wandb/integration/openai/fine_tuning.py | 61 | CODE | |
| LOW | wandb/sdk/wandb_run.py | 3325 | CODE | |
| LOW | wandb/sdk/wandb_init.py | 1181 | CODE | |
| LOW | wandb/sdk/wandb_login.py | 20 | CODE | |
| LOW | wandb/sdk/wandb_login.py | 147 | CODE | |
| LOW | wandb/sdk/interface/interface_shared.py | 144 | CODE | |
| LOW | wandb/sdk/interface/interface_shared.py | 244 | CODE | |
| LOW | wandb/sdk/data_types/trace_tree.py | 208 | CODE | |
| LOW | wandb/sdk/data_types/trace_tree.py | 236 | CODE | |
| LOW | wandb/sdk/data_types/graph.py | 73 | CODE | |
| LOW | wandb/sdk/data_types/_dtypes.py | 749 | CODE | |
| LOW | wandb/sdk/data_types/table.py | 228 | CODE | |
| LOW | wandb/sdk/data_types/eval_table/eval_table.py | 53 | CODE | |
| LOW | wandb/sdk/launch/_launch.py | 184 | CODE | |
| LOW | wandb/sdk/launch/_launch.py | 260 | CODE | |
| LOW | wandb/sdk/launch/_launch_add.py | 38 | CODE | |
| LOW | wandb/sdk/launch/utils.py | 152 | CODE | |
| LOW | wandb/sdk/launch/create_job.py | 37 | CODE | |
| LOW | wandb/sdk/launch/create_job.py | 113 | CODE | |
| LOW | wandb/sdk/lib/redirect.py | 121 | CODE | |
| LOW | wandb/sdk/lib/proto_util.py | 43 | CODE | |
| LOW | wandb/sdk/lib/module.py | 7 | CODE | |
| LOW | wandb/sdk/lib/wbauth/authenticate.py | 68 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit_tests/test_autolog_patch_integration.py | 79 | # Check if AutologAPI is enabled | COMMENT |
| LOW⚡ | …ystem_tests/test_artifacts/test_artifact_public_api.py | 782 | # Set WANDB_PROJECT to a DIFFERENT project (this should be ignored) | COMMENT |
| LOW | parquet-rust-wrapper/build.sh | 13 | # Check if Rust is installed | COMMENT |
| LOW | parquet-rust-wrapper/build.sh | 52 | # Check if the library was built | COMMENT |
| LOW | wandb/apis/public/api.py | 1243 | # Check if we have cached results | COMMENT |
| LOW | wandb/apis/public/utils.py | 33 | # Check if it's an S3 URL | COMMENT |
| LOW | wandb/integration/keras/callbacks/model_checkpoint.py | 131 | # Check if model checkpoint is created at the end of epoch. | COMMENT |
| LOW | wandb/integration/fastai/__init__.py | 93 | # Check if wandb.init has been called | COMMENT |
| LOW | wandb/integration/prodigy/prodigy.py | 77 | # Check if key already exists in template | COMMENT |
| LOW | wandb/integration/prodigy/prodigy.py | 262 | # Check if wandb.init has been called | COMMENT |
| LOW | wandb/sdk/wandb_run.py | 3345 | # Check if artifact tags are supported | COMMENT |
| LOW | wandb/sdk/artifacts/_validators.py | 213 | # Check if the artifact name is disallowed, based on the artifact type | COMMENT |
| LOW | wandb/sdk/artifacts/_validators.py | 220 | # Check if the artifact type is disallowed | COMMENT |
| LOW | wandb/sdk/artifacts/artifact_file_cache.py | 69 | # Check if we're using vs skipping the cache | COMMENT |
| LOW | wandb/sdk/artifacts/artifact_file_cache.py | 88 | # Check if we're using vs skipping the cache | COMMENT |
| LOW | wandb/sdk/data_types/table.py | 1380 | # Check if this is an ArtifactManifestEntry | COMMENT |
| LOW | wandb/sdk/lib/import_hooks.py | 67 | # Check if the module is already imported. If not, register the hook | COMMENT |
| LOW | wandb/_pydantic/pagination.py | 75 | # Check if the field name (without the sign) is allowed and get the canonical name | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit_tests/test_registries/test_addonly_list.py | 163 | # # No frozen items, should just add to draft | COMMENT |
| LOW | …ts/system_tests/test_artifacts/test_wandb_artifacts.py | 1236 | # if no etag is provided, shouldn't we hash the response body, not simply use the URL? | COMMENT |
| MEDIUM | wandb/trigger.py | 1 | """Module to facilitate adding hooks to wandb actions. | STRING |
| LOW | wandb/integration/weave/weave.py | 178 | # just pass through. | COMMENT |
| LOW | wandb/integration/torch/wandb_torch.py | 223 | # If all values are equal, just return a single bin. | COMMENT |
| LOW | wandb/integration/tensorboard/log.py | 300 | # not an event, just return | COMMENT |
| MEDIUM | wandb/cli/cli.py | 377 | # A change in click or the test harness means key can be none... | COMMENT |
| LOW | wandb/sdk/data_types/saved_model.py | 153 | # If the path is a file, then we can just add it to the artifact, | COMMENT |
| MEDIUM | wandb/sdk/data_types/video.py | 41 | # Essentially, the issue is that moviepy's write_gif function fails to close | COMMENT |
| MEDIUM | wandb/sdk/launch/agent/agent.py | 931 | # TODO: make get_status robust to errors for each runner, and handle them | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/internal/stream/handler.go | 324 | // TODO: implement this | COMMENT |
| LOW | core/internal/stream/sender.go | 453 | // TODO: implement this | COMMENT |
| LOW | core/internal/stream/sender.go | 1136 | // TODO: implement me | COMMENT |
| LOW | xpu/src/wandb_internal.rs | 2182 | /// TODO: implement cancel for paused ops | COMMENT |
| LOW | xpu/src/main.rs | 285 | // TODO: implement | COMMENT |
| LOW | tests/system_tests/test_core/test_telemetry_full.py | 6 | # TODO: implement the telemetry context resolver | COMMENT |
| LOW | wandb/sdk/wandb_run.py | 3037 | # TODO: implement offline mode + sync | COMMENT |
| LOW | wandb/sdk/launch/runner/vertex_runner.py | 40 | # TODO: implement | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CONTRIBUTING.md | 254 | We are using [prek hooks](https://prek.j178.dev/) to manage our linters and other auto-generated code. | CODE |
| HIGH | wandb/integration/sacred/__init__.py | 33 | monitor_gym — A boolean indicating whether or not to log videos generated by OpenAI Gym; see Ray Tune (default: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/system_tests/test_core/test_public_api.py | 81 | def helper( | CODE |
| LOW | tests/system_tests/test_core/test_public_api.py | 136 | def helper(history: list | None = None, events: list | None = None): | CODE |
| LOW | tests/system_tests/test_core/test_public_api.py | 1140 | def helper( | CODE |
| LOW | tests/system_tests/test_functional/conftest.py | 12 | def helper(train_script_path: pathlib.Path, *args: Any) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | wandb/apis/public/registries/_utils.py | 33 | # Don't forget to allow the canonical name itself | COMMENT |