The AI developer platform. Use Weights & Biases to train and fine-tune models, and manage models from experimentation to production.
This report presents the forensic synthetic code analysis of wandb/wandb, a Python project with 11,180 GitHub stars. SynthScan v2.0 examined 351,263 lines of code across 1564 source files, recording 4745 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 16.0 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 4745 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | 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 | 332 | def local_testcontainer_registry(session: nox.Session) -> None: | CODE |
| LOW | noxfile.py | 380 | def get_release_tag_and_commit_hash(tags: list[str]): | CODE |
| LOW | tools/inspect_tool.py | 15 | def inspect_wandb_transaction_log(wandb_file: str, pause: bool = False) -> None: | 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 | 121 | def _remove_existing_package_dir(self) -> None: | CODE |
| LOW | tools/graphql_codegen/plugin.py | 139 | 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 | 88 | def _strip_dynamic_elf_metadata( | CODE |
| LOW⚡ | tests/conftest.py | 48 | def setup_wandb_env_variables() -> Generator[None]: | CODE |
| LOW | tests/unit_tests/test_sender_config.py | 6 | def test_config_record_update(): | CODE |
| LOW | tests/unit_tests/test_sender_config.py | 30 | def test_config_record_remove(): | CODE |
| LOW | tests/unit_tests/test_step_prepare.py | 40 | def mock_create_artifact_files_result( | CODE |
| LOW | tests/unit_tests/test_step_prepare.py | 117 | def test_raises_assertion_error_if_out_of_events(self): | CODE |
| LOW | tests/unit_tests/test_step_prepare.py | 129 | def test_does_not_tick_clock_backward(self): | CODE |
| LOW | tests/unit_tests/test_step_prepare.py | 161 | def test_returns_empty_if_first_request_is_finish(self): | CODE |
| LOW | tests/unit_tests/test_step_prepare.py | 210 | def test_respects_inter_event_time(self): | CODE |
| LOW | tests/unit_tests/test_step_prepare.py | 237 | def test_ends_early_if_request_finish(self): | CODE |
| LOW | tests/unit_tests/test_step_prepare.py | 327 | def test_finish_waits_for_pending_requests(self): | 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_reraises_exc_failing_predicate(self): | CODE |
| LOW | tests/unit_tests/test_retry.py | 159 | def test_delegates_exc_passing_predicate(self): | CODE |
| LOW | tests/unit_tests/test_retry.py | 175 | def test_respects_max_retries(self): | CODE |
| LOW | tests/unit_tests/test_retry.py | 198 | def test_respects_max_sleep_if_smaller_than_initial_sleep( | CODE |
| LOW | tests/unit_tests/test_handler.py | 8 | def test_handle_sampled_history_empty(test_settings): | 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_dir_watcher.py | 61 | def test_dirwatcher_update_policy_live_calls_file_changed_iff_file_nonempty( | CODE |
| LOW | tests/unit_tests/test_dir_watcher.py | 83 | def test_dirwatcher_update_policy_on_nonexistent_file_calls_file_changed_when_file_created_iff_policy_now_or_live( | CODE |
| LOW⚡ | tests/unit_tests/test_dir_watcher.py | 100 | def test_dirwatcher_finish_uploads_unheardof_files( | CODE |
| LOW⚡ | tests/unit_tests/test_dir_watcher.py | 109 | def test_dirwatcher_finish_skips_now_files( | CODE |
| LOW⚡ | tests/unit_tests/test_dir_watcher.py | 119 | def test_dirwatcher_finish_uploads_end_files( | CODE |
| LOW | tests/unit_tests/test_dir_watcher.py | 130 | def test_dirwatcher_finish_uploads_live_files_iff_changed( | CODE |
| LOW | tests/unit_tests/test_dir_watcher.py | 148 | def test_dirwatcher_finish_skips_ignoreglob_files( | CODE |
| LOW | tests/unit_tests/test_dir_watcher.py | 168 | def test_dirwatcher_prefers_live_policy_when_multiple_rules_match_file( | CODE |
| LOW | tests/unit_tests/test_dir_watcher.py | 184 | def test_dirwatcher_can_overwrite_policy_for_file( | CODE |
| 1943 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_step_prepare.py | 1 | CODE | |
| LOW | tests/unit_tests/test_asyncio_compat.py | 1 | CODE | |
| LOW | tests/unit_tests/test_dir_watcher.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 | …sts/unit_tests/test_wandb_agent_cli_sweep_not_found.py | 3 | CODE | |
| LOW | tests/unit_tests/test_eval_table.py | 3 | 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_step_upload.py | 1 | CODE | |
| LOW | tests/unit_tests/test_wandb_summary.py | 3 | CODE | |
| LOW | tests/unit_tests/test_internal_api.py | 1 | CODE | |
| LOW | tests/unit_tests/test_internal_api.py | 33 | CODE | |
| LOW | tests/unit_tests/test_internal_api.py | 33 | 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_import_wandb.py | 8 | CODE | |
| LOW | tests/unit_tests/test_normalize.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_analytics/sentry_relay.py | 1 | 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_events.py | 3 | CODE | |
| LOW | tests/unit_tests/test_automations/test_filters.py | 1 | 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 | |
| LOW | tests/system_tests/backend_fixtures.py | 1 | CODE | |
| LOW | …/test_registries/test_registry_artifacts_public_api.py | 1 | CODE | |
| LOW | tests/system_tests/test_registries/test_registry.py | 1 | CODE | |
| LOW | tests/system_tests/test_registries/conftest.py | 1 | CODE | |
| LOW | …/system_tests/test_registries/test_registry_members.py | 1 | CODE | |
| LOW | …sts/system_tests/test_registries/test_link_registry.py | 1 | CODE | |
| LOW | …/system_tests/test_sweep/train_with_import_readline.py | 11 | CODE | |
| 1010 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyproject.toml | 501 | pythonVersion = "3.10" | 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/cloud_tool.py | 201 | # # and a gazillion alternatives do not work on circleci. | COMMENT |
| LOW | tools/cloud_tool.py | 221 | # "cd /usr/share/doc/NVIDIA_GLX-1.0/samples/; " | COMMENT |
| LOW | tools/graphql_codegen/plugin.py | 241 | ): | COMMENT |
| LOW | core/hatch.py | 41 | # The `disable_grpc_modules` build tag reduces binary size by ~12MB. | 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/settings/settings.go | 301 | return s.Proto.InsecureDisableSsl.GetValue() | COMMENT |
| LOW | core/internal/settings/settings.go | 321 | } | COMMENT |
| LOW | core/internal/settings/settings.go | 381 | COMMENT | |
| LOW | core/internal/settings/settings.go | 501 | // Determines whether to save internal wandb files and metadata. | 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/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 | // it. | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 81 | // and denominator stay consistent. | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 101 | // | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 161 | // cgroupV2Path is the path read from the unified-hierarchy entry of | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 241 | COMMENT | |
| LOW | core/internal/monitor/cgroup.go | 301 | // cpuQuotaLimit reads cpu.max from a cgroup directory and returns the | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 321 | // cpu.max but pin the workload via cpuset (e.g. Kubernetes static CPU | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 381 | // Two complications make this non-trivial: | COMMENT |
| LOW | core/internal/monitor/cgroup.go | 421 | } | COMMENT |
| LOW | core/internal/monitor/dcgm_exporter.go | 21 | ) | COMMENT |
| LOW | core/internal/monitor/cwmetadata.go | 61 | // Internal debug logger. | 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 | 541 | // producers before consumers. | COMMENT |
| LOW | core/internal/stream/handler_test.go | 801 | // "key2": "2", | 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/configeditorfields.go | 21 | // | 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 |
| 564 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/graphql_codegen/plugin_utils.py | 96 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/graphql_codegen/plugin_utils.py | 101 | # --------------------------------------------------------------------------- | 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 | 42 | # -------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/conftest.py | 44 | # -------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_pydantic_helpers.py | 308 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/unit_tests/test_pydantic_helpers.py | 352 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/unit_tests/test_wandb_settings.py | 433 | # -------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_wandb_settings.py | 435 | # -------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_wandb_settings.py | 446 | # -------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_wandb_settings.py | 448 | # -------------------------- | 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_automations/conftest.py | 53 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/conftest.py | 55 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/conftest.py | 70 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/conftest.py | 72 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/conftest.py | 198 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/conftest.py | 210 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/conftest.py | 366 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/_strategies.py | 64 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/_strategies.py | 102 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/_strategies.py | 104 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/_strategies.py | 199 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/_strategies.py | 223 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/test_run_events.py | 500 | # --------------------------------------------------------------------------- | 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_filters.py | 50 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit_tests/test_automations/test_filters.py | 164 | # ---------------------------------------------------------------------------- | COMMENT |
| 71 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 | 72 | Returns the path to the arrow-rs-wrapper library. Args: cargo_output: The output from `cargo build` with | STRING |
| HIGH | wandb/util.py | 1951 | 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 | 87 | Execute a GraphQL operation through the wandb-core sidecar. The query is sent to wandb-core, which performs the | STRING |
| HIGH | wandb/apis/public/api.py | 344 | 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 | 452 | 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 | 532 | 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 | 721 | 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 | 950 | 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 | 1125 | Returns a `Runs` object, which lazily iterates over `Run` objects. Fields you can filter by include: - | STRING |
| HIGH | wandb/apis/public/api.py | 1253 | 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 | 1473 | Returns a single artifact collection by type. You can use the returned `ArtifactCollection` object to retrieve | STRING |
| HIGH | wandb/apis/public/api.py | 1556 | Return an `Artifacts` collection. Args: type_name: The type of artifacts to fetch. name | STRING |
| HIGH | wandb/apis/public/api.py | 1702 | Returns a single artifact. Args: name: The artifact's name. The name of an artifact resembles a | STRING |
| HIGH | wandb/apis/public/api.py | 1844 | Whether an artifact version exists within the specified project and entity. Args: name: The name of | STRING |
| HIGH | wandb/apis/public/api.py | 1882 | Whether an artifact collection exists within a specified project and entity. Args: name: An artifac | STRING |
| HIGH | wandb/apis/public/api.py | 1923 | Returns a lazy iterator of `Registry` objects. Use the iterator to search and filter registries, collections, | STRING |
| HIGH | wandb/apis/public/api.py | 2022 | 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 | 2078 | 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 | 2176 | Returns an iterator of webhook integrations for an entity. Args: entity: The entity (e.g. team name | STRING |
| HIGH | wandb/apis/public/api.py | 2220 | Returns an iterator of Slack integrations for an entity. Args: entity: The entity (e.g. team name) | STRING |
| HIGH | wandb/apis/public/api.py | 2339 | Returns the only Automation matching the parameters. Args: name: The name of the automation to fetc | STRING |
| HIGH | wandb/apis/public/api.py | 2379 | 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 | 2442 | Create a new Automation. Args: obj: The automation to create. fetch_exi | STRING |
| HIGH | wandb/apis/public/api.py | 2552 | Update an existing automation. Args: obj: The automation to update. Must be an existing automation | STRING |
| HIGH | wandb/apis/public/runs.py | 892 | 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 | 1002 | Update the state of a run. Supported transitions: - to `pending` from `running`, `failed`, `crashed | STRING |
| HIGH | wandb/apis/public/runs.py | 1711 | 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 | 261 | 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 | 511 | 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 | 568 | 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 | 627 | 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 | 304 | 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 | 1042 | 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 | 1744 | 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 | 2160 | 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 | 3147 | 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 | 3577 | 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 | 3609 | Download the files logged in a model artifact 'name'. Args: name: A model artifact name. 'name' mus | STRING |
| HIGH | wandb/sdk/wandb_run.py | 3655 | 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 | 4132 | 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 | 1218 | 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 | 1511 | 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 | 29 | 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 | 1372 | Get the WBValue object located at the artifact relative `name`. Args: name: The artifact relative n | STRING |
| HIGH | wandb/sdk/artifacts/artifact.py | 1386 | Add `item` to the artifact at path `name`. Args: name: The path within the artifact to add the obje | STRING |
| HIGH | wandb/sdk/artifacts/artifact.py | 1407 | Open a new temporary file and add it to the artifact. Args: name: The name of the new file to add t | STRING |
| HIGH | wandb/sdk/artifacts/artifact.py | 1457 | Add a local file to the artifact. Args: local_path: The path to the file being added. n | STRING |
| HIGH | wandb/sdk/artifacts/artifact.py | 1583 | Add a reference denoted by a URI to the artifact. Unlike files or directories that you add to an artifact, refe | STRING |
| HIGH | wandb/sdk/artifacts/artifact.py | 1666 | Add wandb.WBValue `obj` to the artifact. Args: obj: The object to add. Currently support one of Bok | STRING |
| HIGH | wandb/sdk/artifacts/artifact.py | 1831 | Get the entry with the given name. Args: name: The artifact relative name to get Returns: | STRING |
| 30 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 | tests/unit_tests/test_analytics/test_sentry.py | 437 | except Exception as e: | CODE |
| LOW | tests/unit_tests/test_analytics/test_sentry.py | 441 | 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 | …/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 | 223 | except Exception: | CODE |
| LOW | wandb/util.py | 1266 | except Exception as e: | CODE |
| LOW | wandb/wandb_agent.py | 528 | except Exception: | CODE |
| LOW | wandb/jupyter.py | 259 | except Exception: | CODE |
| LOW | wandb/jupyter.py | 310 | except Exception: | CODE |
| LOW | wandb/jupyter.py | 367 | except Exception: | CODE |
| LOW | wandb/jupyter.py | 390 | except Exception: | CODE |
| LOW | wandb/jupyter.py | 503 | 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 | 240 | except Exception: | CODE |
| LOW | wandb/apis/public/registries/registry.py | 312 | except Exception as e: | CODE |
| LOW | wandb/apis/public/registries/registry.py | 337 | except Exception as e: | CODE |
| LOW | wandb/apis/public/registries/registry.py | 357 | except Exception as e: | CODE |
| LOW | wandb/apis/public/registries/registry.py | 414 | except Exception as e: | CODE |
| LOW | wandb/apis/public/registries/_utils.py | 131 | except Exception as e: | 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 | 307 | except Exception: | CODE |
| LOW | wandb/agents/pyagent.py | 344 | except Exception as e: | CODE |
| LOW | wandb/agents/pyagent.py | 355 | except Exception as e: | CODE |
| MEDIUM | wandb/agents/pyagent.py | 317 | def _run_job(self, job): | CODE |
| LOW | wandb/cli/beta_core.py | 98 | except Exception as e: | CODE |
| LOW | wandb/cli/leet.py | 218 | except Exception as e: | CODE |
| LOW | wandb/cli/cli.py | 1895 | except Exception: | CODE |
| LOW | wandb/cli/cli.py | 2019 | except Exception as e: | CODE |
| LOW | wandb/cli/cli.py | 2112 | except Exception as e: | CODE |
| 145 more matches not shown… | ||||
| 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 | 570 | # Create a test file with the specified age | COMMENT |
| MEDIUM | tests/unit_tests/test_automations/test_run_events.py | 352 | # Create the base zscore filter | COMMENT |
| MEDIUM | tests/unit_tests/test_artifacts/test_storage.py | 424 | # # 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 | 114 | # Create a directory at the .netrc file path. | STRING |
| MEDIUM | tests/system_tests/backend_fixtures.py | 227 | # Create the new org. | COMMENT |
| MEDIUM | tests/system_tests/test_registries/test_registry.py | 166 | # Create the first registry | COMMENT |
| MEDIUM | tests/system_tests/test_sweep/test_wandb_agent_full.py | 445 | # Create a normal run (not part of the sweep) with an explicit id. | COMMENT |
| MEDIUM | tests/system_tests/test_sweep/test_sweep_public_api.py | 103 | # Create a sweep run | STRING |
| MEDIUM | tests/system_tests/test_automations/conftest.py | 71 | # Create the project first if it doesn't exist yet | COMMENT |
| MEDIUM | …/system_tests/test_automations/test_automations_api.py | 109 | # Create a webhook integration only to check that it's omitted from slack_integrations() | COMMENT |
| MEDIUM | …/system_tests/test_automations/test_automations_api.py | 955 | # Create the placeholder project for the automation | COMMENT |
| MEDIUM | …/system_tests/test_automations/test_automations_api.py | 959 | # 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 | 479 | # Create the original file to add to the artifact | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 484 | # Create an artifact with such file stored | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 492 | # Create an middle artifact with such file referenced (notice no need to download) | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 553 | # Create the original file to add to the artifact | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 558 | # Create a super important file | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 566 | # Create an middle artifact with such file referenced (notice no need to download) | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 576 | # Create a downstream artifact that is referencing the middle's reference | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 643 | # Create an artifact with such file stored | COMMENT |
| MEDIUM⚡ | …/system_tests/test_artifacts/test_object_references.py | 651 | # Create an middle artifact with such file referenced (notice no need to download) | COMMENT |
| MEDIUM | …/system_tests/test_artifacts/test_object_references.py | 504 | # Create a downstream artifact that is referencing the middle's reference | COMMENT |
| MEDIUM⚡ | …ystem_tests/test_artifacts/test_artifact_public_api.py | 756 | # Create a run and log an artifact | COMMENT |
| MEDIUM | …ystem_tests/test_artifacts/test_artifact_public_api.py | 445 | # 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 | 337 | # Create the second reference artifact and log it | COMMENT |
| MEDIUM⚡ | …ts/system_tests/test_artifacts/test_wandb_artifacts.py | 351 | # Create the second reference artifact and log it | COMMENT |
| MEDIUM⚡ | …ts/system_tests/test_artifacts/test_wandb_artifacts.py | 365 | # Create the second reference artifact and log it | COMMENT |
| MEDIUM⚡ | …ts/system_tests/test_artifacts/test_wandb_artifacts.py | 378 | # Create the second reference artifact and log it | COMMENT |
| MEDIUM | …ts/system_tests/test_artifacts/test_wandb_artifacts.py | 306 | # Create the reference artifact and log it while bypassing the checksum | COMMENT |
| MEDIUM | tests/system_tests/test_core/test_wandb_init.py | 118 | _ = user # Create a fake user on the backend server. | CODE |
| MEDIUM | tests/system_tests/test_core/test_git.py | 147 | # Create a feature branch tracking origin/main | COMMENT |
| MEDIUM⚡ | tests/system_tests/test_core/test_resume.py | 10 | _ = user # Create a fake user for the test. | CODE |
| MEDIUM⚡ | tests/system_tests/test_core/test_resume.py | 19 | _ = user # Create a fake user for the test. | CODE |
| MEDIUM | tests/system_tests/test_core/test_resume.py | 40 | _ = 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 | 174 | # This file is not actually the same as the notebook file. | COMMENT |
| MEDIUM | wandb/apis/public/api.py | 477 | # Define a simple bar chart specification | COMMENT |
| MEDIUM | wandb/apis/public/api.py | 488 | # 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 | 592 | # Initialize telemetry object | COMMENT |
| MEDIUM | wandb/sdk/wandb_run.py | 976 | """This method is deprecated and will be removed in a future release. Use `run.project` instead. | STRING |
| 10 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/cloud_tool.py | 97 | def update_components() -> None: | CODE |
| LOW | tools/cloud_tool.py | 159 | def update_components() -> None: | CODE |
| 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_wandb_summary.py | 25 | def update_callback(self, summary_record: SummaryRecord) -> None: | CODE |
| LOW | tests/system_tests/test_registries/conftest.py | 233 | 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 | 463 | def set_entity(value: str, env: MutableMapping | None = None) -> None: | CODE |
| LOW | wandb/env.py | 469 | def set_project(value: str, env: MutableMapping | None = None) -> None: | CODE |
| LOW | wandb/util.py | 64 | 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 | 25 | 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/internal.py | 109 | def set_setting(self, key: str, value: Any) -> None: | CODE |
| LOW⚡ | wandb/apis/internal.py | 224 | __all__ = ["Api"] | CODE |
| LOW | wandb/apis/__init__.py | 50 | __all__ = ["InternalApi", "PublicApi"] | CODE |
| LOW | wandb/apis/paginator.py | 76 | def update_variables(self) -> None: | CODE |
| LOW | wandb/apis/paginator.py | 91 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/files.py | 163 | def _update_response(self) -> None: | STRING |
| LOW | wandb/apis/public/files.py | 220 | 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 | 78 | logger = logging.getLogger(__name__) | CODE |
| LOW | wandb/apis/public/api.py | 1686 | def _set_artifact_save_handle(self, artifact: Artifact, handle: Any) -> None: | CODE |
| LOW | wandb/apis/public/automations.py | 55 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/reports.py | 136 | def update_variables(self) -> None: | STRING |
| LOW | wandb/apis/public/sweeps.py | 128 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 95 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 145 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 351 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 449 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 519 | def _update_data(self, fragment: ArtifactCollectionFragment) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 720 | def _update_collection(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 749 | def _update_sequence_type(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 911 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 998 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/artifacts.py | 1070 | 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 | 523 | def _update_response(self) -> None: | STRING |
| LOW | wandb/apis/public/runs.py | 530 | def update_variables(self) -> None: | STRING |
| LOW | wandb/apis/public/integrations.py | 55 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/registries/registry.py | 68 | 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 | 137 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/registries/registries_search.py | 241 | def _update_response(self) -> None: | CODE |
| LOW | wandb/apis/public/registries/registries_search.py | 333 | def _update_response(self) -> None: | 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 |
| LOW | wandb/integration/sb3/__init__.py | 3 | __all__ = ["WandbCallback"] | CODE |
| LOW | wandb/integration/xgboost/__init__.py | 11 | __all__ = ["wandb_callback", "WandbCallback"] | CODE |
| 127 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 | 47 | CODE | |
| LOW | tests/unit_tests/test_data_types.py | 29 | 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 | 71 | CODE | |
| LOW | wandb/util.py | 601 | CODE | |
| LOW | wandb/util.py | 873 | CODE | |
| LOW | wandb/util.py | 905 | CODE | |
| LOW | wandb/util.py | 1131 | CODE | |
| LOW | wandb/util.py | 1588 | CODE | |
| LOW | wandb/util.py | 1794 | CODE | |
| LOW | wandb/wandb_controller.py | 129 | CODE | |
| LOW | wandb/wandb_agent.py | 208 | CODE | |
| LOW | wandb/wandb_agent.py | 313 | CODE | |
| LOW | wandb/wandb_agent.py | 509 | CODE | |
| LOW | wandb/wandb_agent.py | 627 | CODE | |
| LOW | wandb/jupyter.py | 419 | CODE | |
| LOW | wandb/apis/normalize.py | 19 | CODE | |
| LOW | wandb/apis/normalize.py | 23 | CODE | |
| LOW | wandb/apis/public/query_generator.py | 59 | CODE | |
| LOW | wandb/apis/public/query_generator.py | 73 | CODE | |
| LOW | wandb/apis/public/api.py | 720 | CODE | |
| LOW | wandb/apis/public/api.py | 795 | CODE | |
| LOW | wandb/apis/public/reports.py | 474 | CODE | |
| LOW | wandb/apis/public/reports.py | 494 | CODE | |
| LOW | wandb/apis/public/reports.py | 514 | CODE | |
| LOW | wandb/apis/public/reports.py | 603 | CODE | |
| LOW | wandb/apis/public/runs.py | 849 | CODE | |
| LOW | wandb/apis/public/runs.py | 1635 | 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 | 299 | 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 | 73 | CODE | |
| LOW | wandb/integration/tensorboard/log.py | 275 | CODE | |
| LOW | wandb/integration/prodigy/prodigy.py | 70 | CODE | |
| LOW | wandb/integration/prodigy/prodigy.py | 134 | CODE | |
| LOW | wandb/integration/prodigy/prodigy.py | 172 | CODE | |
| 116 more matches not shown… | ||||
| 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/files.py | 0 | returns the cursor position for pagination of runs results. <!-- lazydoc-ignore: internal --> | STRING |
| HIGH | wandb/apis/public/reports.py | 0 | returns the cursor position for pagination of runs results. <!-- lazydoc-ignore: internal --> | STRING |
| HIGH | wandb/apis/public/runs.py | 0 | returns the cursor position for pagination of runs results. <!-- lazydoc-ignore: internal --> | 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/sdk/data_types/object_3d.py | 0 | get media subdirectory. <!-- lazydoc-ignore-classmethod: internal --> | STRING |
| HIGH | wandb/sdk/data_types/molecule.py | 0 | get media subdirectory. <!-- lazydoc-ignore-classmethod: internal --> | STRING |
| HIGH | wandb/sdk/data_types/audio.py | 0 | get media subdirectory. <!-- lazydoc-ignore-classmethod: internal --> | STRING |
| HIGH | wandb/sdk/data_types/table.py | 0 | get media subdirectory. <!-- lazydoc-ignore-classmethod: internal --> | STRING |
| HIGH | wandb/sdk/data_types/object_3d.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore: internal --> | STRING |
| HIGH | wandb/sdk/data_types/molecule.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore: internal --> | STRING |
| HIGH | wandb/sdk/data_types/histogram.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore: internal --> | STRING |
| HIGH | wandb/sdk/data_types/html.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore: internal --> | STRING |
| HIGH | wandb/sdk/data_types/eval_table.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore: internal --> | STRING |
| HIGH | wandb/sdk/data_types/audio.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore: internal --> | STRING |
| HIGH | wandb/sdk/data_types/table.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore: internal --> | STRING |
| HIGH | wandb/sdk/data_types/video.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore: internal --> | STRING |
| HIGH | wandb/sdk/data_types/image.py | 0 | returns the json representation expected by the backend. <!-- lazydoc-ignore: internal --> | STRING |
| HIGH | wandb/sdk/data_types/object_3d.py | 0 | convert a sequence of video objects to a json representation. <!-- lazydoc-ignore-classmethod: internal --> | STRING |
| HIGH | wandb/sdk/data_types/audio.py | 0 | convert a sequence of video objects to a json representation. <!-- lazydoc-ignore-classmethod: internal --> | STRING |
| HIGH | wandb/sdk/data_types/molecule.py | 0 | convert a sequence of video objects to a json representation. <!-- lazydoc-ignore-classmethod: internal --> | STRING |
| HIGH | wandb/sdk/data_types/video.py | 0 | convert a sequence of video objects to a json representation. <!-- lazydoc-ignore-classmethod: internal --> | STRING |
| HIGH | wandb/sdk/data_types/eval_table.py | 0 | bind this object to a run. <!-- lazydoc-ignore: internal --> | STRING |
| HIGH | wandb/sdk/data_types/audio.py | 0 | bind this object to a run. <!-- lazydoc-ignore: internal --> | STRING |
| HIGH | wandb/sdk/data_types/table.py | 0 | bind this object to a run. <!-- lazydoc-ignore: internal --> | STRING |
| HIGH | wandb/sdk/data_types/image.py | 0 | bind this object to a run. <!-- lazydoc-ignore: internal --> | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | CHANGELOG.md | 850 | - 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 | 1808 | Artifact_GetPath bool `protobuf:"varint,11,opt,name=artifact__get_path,json=artifactGetPath | CODE |
| CRITICAL | core/pkg/service_go_proto/wandb_telemetry.pb.go | 1809 | Artifactmanifestentry_Name bool `protobuf:"varint,12,opt,name=artifactmanifestentry__name,json=artifa | CODE |
| CRITICAL | core/pkg/service_go_proto/wandb_telemetry.pb.go | 1825 | Artifact_UseAs bool `protobuf:"varint,26,opt,name=artifact__use_as,json=artifactUseAs,proto3" json:"artifact_ | CODE |
| CRITICAL | xpu/src/wandb_internal.rs | 534 | /// wandb.sdk.artifacts.artifact.Artifact.get_path(...) called | COMMENT |
| CRITICAL | xpu/src/wandb_internal.rs | 537 | /// wandb.sdk.artifacts.artifact_manifest_entry.ArtifactManifestEntry.name() called | COMMENT |
| CRITICAL | xpu/src/wandb_internal.rs | 576 | /// 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 |
| CRITICAL | wandb/sdk/internal/internal_api.py | 2299 | from azure.core.exceptions import AzureError # type: ignore | CODE |
| 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/apis/internal.py | 122 | return self.api.push(*args, **kwargs) | CODE |
| HIGH | wandb/apis/public/summary.py | 348 | api.push( | CODE |
| HIGH | wandb/apis/public/runs.py | 1200 | api.push({LogicalPath(upload_path): f}) | STRING |
| HIGH | wandb/cli/cli.py | 3492 | $ wandb online && python train.py | STRING |
| HIGH | wandb/cli/cli.py | 3513 | $ wandb offline && python train.py | STRING |
| HIGH | wandb/cli/cli.py | 3517 | $ wandb offline && python train.py | STRING |
| HIGH | wandb/sdk/launch/runner/kubernetes_runner.py | 1369 | 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 | 231 | deps_install_line = "pip install uv && uv pip install -r requirements.txt" | CODE |
| HIGH | wandb/sdk/launch/builder/build.py | 268 | "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 |
| HIGH⚡ | wandb/sdk/internal/sender.py | 1087 | self._fs.push(filenames.HISTORY_FNAME, json.dumps(history_dict)) | CODE |
| HIGH⚡ | wandb/sdk/internal/sender.py | 1114 | self._fs.push(filenames.SUMMARY_FNAME, json_summary) | CODE |
| HIGH | wandb/sdk/internal/sender.py | 1142 | self._fs.push(filenames.EVENTS_FNAME, json.dumps(row)) | CODE |
| HIGH | wandb/sdk/internal/sender.py | 1286 | self._fs.push(filenames.OUTPUT_FNAME, line) | CODE |
| HIGH | wandb/filesync/upload_job.py | 59 | self.push() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | noxfile.py | 378 | 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 | 286 | CODE | |
| LOW | wandb/apis/public/jobs.py | 204 | CODE | |
| LOW | wandb/apis/public/summary.py | 107 | 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 | 3412 | CODE | |
| LOW | wandb/sdk/wandb_init.py | 1182 | CODE | |
| LOW | wandb/sdk/wandb_login.py | 19 | CODE | |
| LOW | wandb/sdk/wandb_login.py | 134 | CODE | |
| LOW | wandb/sdk/interface/interface_shared.py | 144 | CODE | |
| LOW | wandb/sdk/interface/interface_shared.py | 244 | CODE | |
| LOW | wandb/sdk/artifacts/artifact_saver.py | 59 | CODE | |
| LOW | wandb/sdk/artifacts/artifact_saver.py | 99 | 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/eval_table.py | 133 | CODE | |
| LOW | wandb/sdk/data_types/_dtypes.py | 749 | CODE | |
| LOW | wandb/sdk/data_types/table.py | 228 | CODE | |
| LOW | wandb/sdk/data_types/image.py | 153 | CODE | |
| LOW | wandb/sdk/launch/_launch.py | 175 | CODE | |
| LOW | wandb/sdk/launch/_launch.py | 251 | CODE | |
| LOW | wandb/sdk/launch/_launch_add.py | 36 | CODE | |
| LOW | wandb/sdk/launch/utils.py | 154 | CODE | |
| LOW | wandb/sdk/launch/create_job.py | 32 | CODE | |
| LOW | wandb/sdk/launch/create_job.py | 106 | CODE | |
| LOW | wandb/sdk/internal/internal_api.py | 1705 | CODE | |
| LOW | wandb/sdk/internal/internal_api.py | 2629 | CODE | |
| LOW | wandb/sdk/internal/internal_api.py | 3302 | CODE | |
| LOW | wandb/sdk/internal/datastore.py | 278 | CODE | |
| LOW | wandb/sdk/lib/redirect.py | 124 | CODE | |
| LOW | wandb/sdk/lib/proto_util.py | 43 | CODE | |
| LOW | wandb/sdk/lib/module.py | 7 | CODE | |
| LOW | wandb/sync/sync.py | 43 | CODE | |
| LOW | wandb/sync/sync.py | 335 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/internal/api/credentials_test.go | 99 | token := "fake-token" | CODE |
| LOW | core/internal/api/credentials_test.go | 141 | token := "fake-token" | CODE |
| LOW | core/internal/api/credentials_test.go | 214 | token := "fake-token" | CODE |
| LOW | core/internal/api/credentials_test.go | 278 | assert.Equal(t, "Bearer fake-token", calls[0].Header.Get("Authorization")) | CODE |
| LOW | core/internal/api/credentials_test.go | 279 | assert.Equal(t, "Bearer fake-token", calls[1].Header.Get("Authorization")) | CODE |
| LOW | core/internal/api/credentials_test.go | 317 | token := "fake-token" | 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 | 27 | run_git(path, "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 | 1212 | email = "test@test.com" | CODE |
| LOW⚡ | tests/system_tests/test_core/test_public_api.py | 1230 | email = "test@test.com" | CODE |
| LOW⚡ | tests/system_tests/test_core/test_public_api.py | 1246 | email = "test@test.com" | CODE |
| LOW⚡ | tests/system_tests/test_core/test_public_api.py | 1295 | email = "test@test.com" | CODE |
| LOW⚡ | tests/system_tests/test_core/test_public_api.py | 1299 | fake_key = "A" * 92 | CODE |
| LOW⚡ | tests/system_tests/test_core/test_public_api.py | 1300 | api = Api(api_key=fake_key) | CODE |
| LOW⚡ | tests/system_tests/test_core/test_public_api.py | 1304 | assert user.user_api.api_key == fake_key | CODE |
| LOW | tests/system_tests/test_core/test_public_api.py | 1111 | name="fake-name", | CODE |
| LOW | tests/system_tests/test_core/test_public_api.py | 1160 | email = "test@test.com" | CODE |
| LOW | tests/system_tests/test_core/test_public_api.py | 1174 | email = "test@test.com" | CODE |
| LOW | tests/system_tests/test_core/test_public_api.py | 1276 | email = "test@test.com" | CODE |
| LOW | wandb/apis/public/teams.py | 86 | team.invite("user@example.com") | STRING |
| LOW | wandb/sdk/artifacts/artifact.py | 364 | artifact = cls("placeholder", type="placeholder") | CODE |
| LOW | wandb/sdk/launch/_project_spec.py | 173 | 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 | 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 | 765 | # 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 | 1229 | # Check if we have cached results | COMMENT |
| LOW | wandb/apis/public/api.py | 2607 | # Check if the server even supports updating automations. | COMMENT |
| LOW | wandb/apis/public/utils.py | 29 | # 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 | 3432 | # Check if artifact tags are supported | COMMENT |
| LOW | wandb/sdk/artifacts/_validators.py | 215 | # Check if the artifact name is disallowed, based on the artifact type | COMMENT |
| LOW | wandb/sdk/artifacts/_validators.py | 222 | # Check if the artifact type is disallowed | COMMENT |
| LOW | wandb/sdk/artifacts/artifact_file_cache.py | 60 | # Check if we're using vs skipping the cache | COMMENT |
| LOW | wandb/sdk/artifacts/artifact_file_cache.py | 78 | # Check if we're using vs skipping the cache | COMMENT |
| LOW | wandb/sdk/data_types/table.py | 1373 | # 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 |
| 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 | 1014 | # 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 | 303 | # not an event, just return | COMMENT |
| MEDIUM | wandb/cli/cli.py | 383 | # 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 | 914 | # TODO: make get_status robust to errors for each runner, and handle them | COMMENT |
| LOW | wandb/filesync/step_prepare.py | 66 | low=1e-12, # 0 = "block forever", so just use something tiny | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/internal/stream/handler.go | 319 | // TODO: implement this | COMMENT |
| LOW | core/internal/stream/sender.go | 387 | // TODO: implement this | COMMENT |
| LOW | core/internal/stream/sender.go | 945 | // TODO: implement me | COMMENT |
| LOW | xpu/src/wandb_internal.rs | 2121 | /// TODO: implement cancel for paused ops | COMMENT |
| LOW | xpu/src/main.rs | 286 | // 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 | 3122 | # TODO: implement offline mode + sync | COMMENT |
| LOW | wandb/sdk/launch/runner/vertex_runner.py | 38 | # TODO: implement | COMMENT |
| LOW | wandb/sdk/internal/datastore.py | 83 | # 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 | 79 | def helper( | CODE |
| LOW | tests/system_tests/test_core/test_public_api.py | 134 | def helper(history: list | None = None, events: list | None = None): | CODE |
| LOW | tests/system_tests/test_core/test_public_api.py | 1134 | def helper( | CODE |
| LOW | tests/system_tests/test_functional/conftest.py | 12 | def helper(train_script_path: pathlib.Path, *args: Any) -> None: | CODE |
| LOW | wandb/sdk/internal/handler.py | 133 | def handle_request(self, record: Record) -> None: | CODE |