Repository Analysis

wandb/wandb

The AI developer platform. Use Weights & Biases to train and fine-tune models, and manage models from experimentation to production.

16.0 Moderate AI signal View on GitHub

Analysis Overview

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).

16.0
Adjusted Score
16.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
11.2K
Stars
Python
Language
351.3K
Lines of Code
1.6K
Files
4.7K
Pattern Hits
2026-07-14
Scan Date
0.10
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 11HIGH 147MEDIUM 220LOW 4367

Directory Score Breakdown

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.

Pattern Findings

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.

Hyper-Verbose Identifiers2003 hits · 1981 pts
SeverityFileLineSnippetContext
LOWhatch_build.py91 def _get_and_require_cargo_binary(self) -> pathlib.Path:CODE
LOWhatch_build.py185 def _get_and_require_go_binary(self) -> pathlib.Path:CODE
LOWnoxfile.py332def local_testcontainer_registry(session: nox.Session) -> None:CODE
LOWnoxfile.py380 def get_release_tag_and_commit_hash(tags: list[str]):CODE
LOWtools/inspect_tool.py15def inspect_wandb_transaction_log(wandb_file: str, pause: bool = False) -> None:CODE
LOWtools/generate_stubs.py78def extract_functions_from_template(template_content: str) -> dict[str, str]:STRING
LOWtools/perf/scripts/process_sar_helper.py10def pre_process_network_sar_log(log_dir: str) -> str:CODE
LOWtools/graphql_codegen/plugin.py121 def _remove_existing_package_dir(self) -> None:CODE
LOWtools/graphql_codegen/plugin.py139 def _remove_excluded_module_files(self) -> None:CODE
LOWtools/graphql_codegen/plugin.py379 def generate_result_types_module(self, module: ast.Module, *_, **__) -> ast.Module:CODE
LOWtools/graphql_codegen/plugin.py382 def generate_fragments_module(CODE
LOWtools/graphql_codegen/plugin.py414 def _rewrite_generated_module(self, module: ast.Module) -> ast.Module:CODE
LOWtools/graphql_codegen/plugin.py420 def _replace_redundant_classes(self, module: ast.Module) -> ast.Module:CODE
LOWcore/hatch.py88def _strip_dynamic_elf_metadata(CODE
LOWtests/conftest.py48def setup_wandb_env_variables() -> Generator[None]:CODE
LOWtests/unit_tests/test_sender_config.py6def test_config_record_update():CODE
LOWtests/unit_tests/test_sender_config.py30def test_config_record_remove():CODE
LOWtests/unit_tests/test_step_prepare.py40def mock_create_artifact_files_result(CODE
LOWtests/unit_tests/test_step_prepare.py117 def test_raises_assertion_error_if_out_of_events(self):CODE
LOWtests/unit_tests/test_step_prepare.py129 def test_does_not_tick_clock_backward(self):CODE
LOWtests/unit_tests/test_step_prepare.py161 def test_returns_empty_if_first_request_is_finish(self):CODE
LOWtests/unit_tests/test_step_prepare.py210 def test_respects_inter_event_time(self):CODE
LOWtests/unit_tests/test_step_prepare.py237 def test_ends_early_if_request_finish(self):CODE
LOWtests/unit_tests/test_step_prepare.py327 def test_finish_waits_for_pending_requests(self):CODE
LOWtests/unit_tests/test_asyncio_compat.py101def test_compat_run_in_asyncio_context():CODE
LOWtests/unit_tests/test_asyncio_compat.py118async def test_cancel_on_exit_normal():CODE
LOWtests/unit_tests/test_asyncio_compat.py128async def test_cancel_on_exit_error_in_body():CODE
LOWtests/unit_tests/test_asyncio_compat.py140async def test_cancel_on_exit_error_in_task():CODE
LOWtests/unit_tests/test_asyncio_compat.py152async def test_cancel_on_exit_errors_everywhere():CODE
LOWtests/unit_tests/test_asyncio_compat.py184async def test_task_group_cancels_on_body_error():CODE
LOWtests/unit_tests/test_asyncio_compat.py202async def test_task_group_cancels_on_subtask_error():CODE
LOWtests/unit_tests/test_asyncio_compat.py225async def test_task_group_exit_timeout():CODE
LOWtests/unit_tests/test_asyncio_compat.py238async def test_race_cancels_unfinished_tasks():CODE
LOWtests/unit_tests/test_asyncio_compat.py246 async def set_event_then_wait_forever():CODE
LOWtests/unit_tests/test_asyncio_compat.py264async def test_race_raises_first_error():CODE
LOWtests/unit_tests/test_asyncio_compat.py287async def test_race_raises_error_during_cancellation():CODE
LOWtests/unit_tests/test_asyncio_compat.py302async def test_race_cancels_subtasks_if_cancelled():CODE
LOWtests/unit_tests/test_retry.py39def test_retry_respects_num_retries():CODE
LOWtests/unit_tests/test_retry.py55def test_retry_call_num_retries_overrides_default_num_retries():CODE
LOWtests/unit_tests/test_retry.py70def test_retry_respects_num_retries_across_multiple_calls():CODE
LOWtests/unit_tests/test_retry.py88def test_retry_respects_retryable_exceptions():CODE
LOWtests/unit_tests/test_retry.py114def test_retry_respects_secondary_timeout(mock_time: MockTime):CODE
LOWtests/unit_tests/test_retry.py147 def test_reraises_exc_failing_predicate(self):CODE
LOWtests/unit_tests/test_retry.py159 def test_delegates_exc_passing_predicate(self):CODE
LOWtests/unit_tests/test_retry.py175 def test_respects_max_retries(self):CODE
LOWtests/unit_tests/test_retry.py198 def test_respects_max_sleep_if_smaller_than_initial_sleep(CODE
LOWtests/unit_tests/test_handler.py8def test_handle_sampled_history_empty(test_settings):CODE
LOWtests/unit_tests/test_plot.py29def test_roc_curve_with_title():CODE
LOWtests/unit_tests/test_plot.py141def test_confusion_matrix_with_predictions():CODE
LOWtests/unit_tests/test_plot.py167def test_confusion_matrix_without_class_names():CODE
LOWtests/unit_tests/test_plot.py249def test_line_series_invalid_inputs(arguments, exception):CODE
LOWtests/unit_tests/test_dir_watcher.py61def test_dirwatcher_update_policy_live_calls_file_changed_iff_file_nonempty(CODE
LOWtests/unit_tests/test_dir_watcher.py83def test_dirwatcher_update_policy_on_nonexistent_file_calls_file_changed_when_file_created_iff_policy_now_or_live(CODE
LOWtests/unit_tests/test_dir_watcher.py100def test_dirwatcher_finish_uploads_unheardof_files(CODE
LOWtests/unit_tests/test_dir_watcher.py109def test_dirwatcher_finish_skips_now_files(CODE
LOWtests/unit_tests/test_dir_watcher.py119def test_dirwatcher_finish_uploads_end_files(CODE
LOWtests/unit_tests/test_dir_watcher.py130def test_dirwatcher_finish_uploads_live_files_iff_changed(CODE
LOWtests/unit_tests/test_dir_watcher.py148def test_dirwatcher_finish_skips_ignoreglob_files(CODE
LOWtests/unit_tests/test_dir_watcher.py168def test_dirwatcher_prefers_live_policy_when_multiple_rules_match_file(CODE
LOWtests/unit_tests/test_dir_watcher.py184def test_dirwatcher_can_overwrite_policy_for_file(CODE
1943 more matches not shown…
Unused Imports1070 hits · 944 pts
SeverityFileLineSnippetContext
LOWnoxfile.py1CODE
LOWtools/local_wandb_server.py3CODE
LOWtools/generate_stubs.py38CODE
LOWtools/bench/_timing.py3CODE
LOWtools/perf/scripts/run_load_tests.py1CODE
LOWtools/perf/scripts/bench_run_log.py1CODE
LOWtools/graphql_codegen/plugin_utils.py3CODE
LOWtools/graphql_codegen/plugin.py10CODE
LOWcore/hatch.py3CODE
LOWtests/conftest.py1CODE
LOWtests/unit_tests/test_step_prepare.py1CODE
LOWtests/unit_tests/test_asyncio_compat.py1CODE
LOWtests/unit_tests/test_dir_watcher.py3CODE
LOWtests/unit_tests/test_cli_beta_core.py1CODE
LOWtests/unit_tests/test_pydantic_helpers.py3CODE
LOW…sts/unit_tests/test_wandb_agent_cli_sweep_not_found.py3CODE
LOWtests/unit_tests/test_eval_table.py3CODE
LOWtests/unit_tests/test_term.py1CODE
LOWtests/unit_tests/test_weave_media_adapters.py3CODE
LOWtests/unit_tests/test_step_upload.py1CODE
LOWtests/unit_tests/test_wandb_summary.py3CODE
LOWtests/unit_tests/test_internal_api.py1CODE
LOWtests/unit_tests/test_internal_api.py33CODE
LOWtests/unit_tests/test_internal_api.py33CODE
LOWtests/unit_tests/test_weave.py1CODE
LOWtests/unit_tests/test_cli_leet.py1CODE
LOWtests/unit_tests/test_import_wandb.py8CODE
LOWtests/unit_tests/test_normalize.py1CODE
LOWtests/unit_tests/test_registries/test_addonly_list.py1CODE
LOWtests/unit_tests/test_launch/test_git_reference.py3CODE
LOWtests/unit_tests/test_analytics/sentry_relay.py1CODE
LOWtests/unit_tests/test_automations/conftest.py1CODE
LOWtests/unit_tests/test_automations/_strategies.py3CODE
LOWtests/unit_tests/test_automations/test_run_events.py1CODE
LOWtests/unit_tests/test_automations/test_events.py3CODE
LOWtests/unit_tests/test_automations/test_filters.py1CODE
LOWtests/unit_tests/test_automations/test_automations.py1CODE
LOWtests/unit_tests/test_artifacts/test_references_s3.py1CODE
LOWtests/unit_tests/test_artifacts/test_references_gcs.py1CODE
LOW…sts/unit_tests/test_artifacts/test_references_azure.py1CODE
LOWtests/unit_tests/test_artifacts/test_wandb_artifacts.py1CODE
LOW…t_tests/test_artifacts/test_artifact_manifest_entry.py1CODE
LOWtests/unit_tests/test_sandbox/test_cli_beta_sandbox.py1CODE
LOWtests/unit_tests/test_sandbox/__init__.py1CODE
LOWtests/unit_tests/test_sandbox/test_sandbox_auth.py1CODE
LOWtests/unit_tests/test_lib/test_json_util.py8CODE
LOWtests/unit_tests/test_lib/test_service_client.py1CODE
LOWtests/unit_tests/test_lib/test_git.py5CODE
LOWtests/unit_tests/test_lib/test_hashutil.py1CODE
LOWtests/unit_tests/test_lib/test_printer_asyncio.py1CODE
LOWtests/unit_tests/test_lib/test_urls.py1CODE
LOWtests/system_tests/test_plot.py1CODE
LOWtests/system_tests/conftest.py1CODE
LOWtests/system_tests/backend_fixtures.py1CODE
LOW…/test_registries/test_registry_artifacts_public_api.py1CODE
LOWtests/system_tests/test_registries/test_registry.py1CODE
LOWtests/system_tests/test_registries/conftest.py1CODE
LOW…/system_tests/test_registries/test_registry_members.py1CODE
LOW…sts/system_tests/test_registries/test_link_registry.py1CODE
LOW…/system_tests/test_sweep/train_with_import_readline.py11CODE
1010 more matches not shown…
Over-Commented Block624 hits · 484 pts
SeverityFileLineSnippetContext
LOWpyproject.toml501pythonVersion = "3.10"COMMENT
LOWhatch_build.py61 platform_tag = re.sub("[-. ]", "_", sysconfig.get_platform())COMMENT
LOWnoxfile.py21# Protobuf Python bindings.COMMENT
LOWexperimental/client-csharp/src/Wandb/Wandb.cs41 /// Initializes a new run within the session.COMMENT
LOWexperimental/client-csharp/src/Wandb/Run.cs21 Min = 1 << 0, // 1COMMENT
LOWexperimental/client-csharp/src/Wandb/Run.cs41 {COMMENT
LOWexperimental/client-csharp/src/Wandb/Settings.cs1using System.Text;COMMENT
LOWexperimental/client-csharp/src/Wandb/Settings.cs21 Allow,COMMENT
LOWexperimental/client-csharp/src/Wandb/Settings.cs41 /// Gets the base URL of the wandb server.COMMENT
LOWexperimental/client-csharp/src/Wandb/Settings.cs61 /// Gets or sets the project name under which the run is logged.COMMENT
LOWexperimental/client-csharp/src/Wandb/Settings.cs81 /// Tags associated with the run.COMMENT
LOWexperimental/client-csharp/src/Wandb/Settings.cs121 elseCOMMENT
LOWexperimental/client-csharp/src/Wandb/Settings.cs181 public string FilesDir => Path.Combine(SyncDir, "files");COMMENT
LOWexperimental/client-csharp/src/Wandb/Settings.cs201 public static string LogSymlinkUser => Path.Combine(WandbDir, "debug.log");COMMENT
LOWexperimental/client-csharp/src/Wandb/Settings.cs221 public string RunURL => $"{BaseUrl.Replace("api.wandb.ai", "wandb.ai")}/{Entity}/{Project}/runs/{RunId}";COMMENT
LOW…al/client-csharp/src/Wandb/Internal/SocketInterface.cs21 public SocketInterface(IServiceConnectionProtocol connectionProtocol, string streamId)COMMENT
LOW…al/client-csharp/src/Wandb/Internal/SocketInterface.cs61 return response.AuthenticateResponse.DefaultEntity;COMMENT
LOW…al/client-csharp/src/Wandb/Internal/SocketInterface.cs181 }COMMENT
LOW…perimental/client-csharp/src/Wandb/Internal/Manager.cs21 }COMMENT
LOW…rimental/client-csharp/src/Wandb/Internal/TcpClient.cs41 /// <returns>COMMENT
LOWexperimental/rust-sdk/src/printer.rs201 // let template = format!(COMMENT
LOWexperimental/go-sdk/bindings/cpp/lib/libwandb_cpp.h101// };COMMENT
LOWtools/cloud_tool.py201 # # and a gazillion alternatives do not work on circleci.COMMENT
LOWtools/cloud_tool.py221 # "cd /usr/share/doc/NVIDIA_GLX-1.0/samples/; "COMMENT
LOWtools/graphql_codegen/plugin.py241 ):COMMENT
LOWcore/hatch.py41 # The `disable_grpc_modules` build tag reduces binary size by ~12MB.COMMENT
LOWcore/cmd/wandb-core/main.go1// Command wandb-core provides the W&B SDK core service and the "leet" terminal UICOMMENT
LOWcore/internal/settings/settings.go301 return s.Proto.InsecureDisableSsl.GetValue()COMMENT
LOWcore/internal/settings/settings.go321}COMMENT
LOWcore/internal/settings/settings.go381COMMENT
LOWcore/internal/settings/settings.go501// Determines whether to save internal wandb files and metadata.COMMENT
LOWcore/internal/wboperation/wboperation.go1// Package wboperation is used to track the progress and status of async tasksCOMMENT
LOWcore/internal/data_types/data_types_test.go121 },COMMENT
LOWcore/internal/data_types/data_types_test.go141 // Params: &data_types.MapType{COMMENT
LOWcore/internal/data_types/data_types_test.go161 // {COMMENT
LOWcore/internal/monitor/cgroup.go21// live during sampling. Cgroup v1 is intentionally not supported — theCOMMENT
LOWcore/internal/monitor/cgroup.go61// it.COMMENT
LOWcore/internal/monitor/cgroup.go81// and denominator stay consistent.COMMENT
LOWcore/internal/monitor/cgroup.go101//COMMENT
LOWcore/internal/monitor/cgroup.go161 // cgroupV2Path is the path read from the unified-hierarchy entry ofCOMMENT
LOWcore/internal/monitor/cgroup.go241COMMENT
LOWcore/internal/monitor/cgroup.go301// cpuQuotaLimit reads cpu.max from a cgroup directory and returns theCOMMENT
LOWcore/internal/monitor/cgroup.go321// cpu.max but pin the workload via cpuset (e.g. Kubernetes static CPUCOMMENT
LOWcore/internal/monitor/cgroup.go381// Two complications make this non-trivial:COMMENT
LOWcore/internal/monitor/cgroup.go421}COMMENT
LOWcore/internal/monitor/dcgm_exporter.go21)COMMENT
LOWcore/internal/monitor/cwmetadata.go61 // Internal debug logger.COMMENT
LOWcore/internal/watcher/watcher.go1// Package watcher notifies on changes to files or directories.COMMENT
LOWcore/internal/pathtree/pathtree.go121func (pt *PathTree[T]) CloneTree() map[string]any {COMMENT
LOWcore/internal/wbvalue/wbvalue.go1// Package wbvalue allows saving complex run objects.COMMENT
LOWcore/internal/runconsolelogs/outputfilewriter.go21 // outputFileDebounceTime is how long to wait before flushing to disk.COMMENT
LOWcore/internal/runconsolelogs/filestreamwriter.go21 //COMMENT
LOWcore/internal/stream/sender.go541// producers before consumers.COMMENT
LOWcore/internal/stream/handler_test.go801 // "key2": "2",COMMENT
LOWcore/internal/terminalemulator/terminalemulator.go1// Package terminalemulator implements a virtual terminal that supports commonCOMMENT
LOWcore/internal/paths/paths.go1// Package paths enables a "parse-don't-validate" approach to file paths.COMMENT
LOWcore/internal/paths/paths.go21)COMMENT
LOWcore/internal/leet/configeditorfields.go21//COMMENT
LOWcore/internal/leet/runconsolelogs.go21 // consoleTimestampFormat is the display format for timestamps.COMMENT
LOWcore/internal/leet/runconsolelogs.go41// movements, overwrites, and newline assembly.COMMENT
564 more matches not shown…
Decorative Section Separators131 hits · 448 pts
SeverityFileLineSnippetContext
MEDIUMtools/graphql_codegen/plugin_utils.py96# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/graphql_codegen/plugin_utils.py101# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/conftest.py42# --------------------------------COMMENT
MEDIUMtests/conftest.py44# --------------------------------COMMENT
MEDIUMtests/conftest.py65# --------------------------------COMMENT
MEDIUMtests/conftest.py67# --------------------------------COMMENT
MEDIUMtests/conftest.py93# --------------------------------COMMENT
MEDIUMtests/conftest.py95# --------------------------------COMMENT
MEDIUMtests/conftest.py267# --------------------------------COMMENT
MEDIUMtests/conftest.py269# --------------------------------COMMENT
MEDIUMtests/unit_tests/conftest.py42# --------------------------------COMMENT
MEDIUMtests/unit_tests/conftest.py44# --------------------------------COMMENT
MEDIUMtests/unit_tests/test_pydantic_helpers.py308# ------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_pydantic_helpers.py352# ------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_wandb_settings.py433# --------------------------COMMENT
MEDIUMtests/unit_tests/test_wandb_settings.py435# --------------------------COMMENT
MEDIUMtests/unit_tests/test_wandb_settings.py446# --------------------------COMMENT
MEDIUMtests/unit_tests/test_wandb_settings.py448# --------------------------COMMENT
MEDIUMtests/unit_tests/test_wandb_save.py8# ----------------------------------COMMENT
MEDIUMtests/unit_tests/test_wandb_save.py10# ----------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py116# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py118# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py219# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py221# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py329# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py331# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py536# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py538# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py623# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py625# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py698# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py700# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py723# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py725# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py19# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py21# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py37# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py53# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_kfp.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_wandb_log.py4# ----------------------------------COMMENT
MEDIUMtests/unit_tests/test_wandb_log.py6# ----------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py53# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py70# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py72# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py198# ------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py210# ------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py366# ------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/_strategies.py64# ------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/_strategies.py102# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/_strategies.py104# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/_strategies.py199# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/_strategies.py223# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/test_run_events.py500# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/test_events.py80 # ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/test_events.py90 # ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/test_events.py122 # ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/test_filters.py50# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/test_filters.py164# ----------------------------------------------------------------------------COMMENT
71 more matches not shown…
Docstring Block Structure90 hits · 448 pts
SeverityFileLineSnippetContext
HIGHtests/system_tests/test_functional/dspy/test_dspy.py12Factory fixture to run a dspy example module and collect W&B snapshot. Args: wandb_backend_spy: Spy fixtureSTRING
HIGHparquet-rust-wrapper/hatch.py72Returns the path to the arrow-rs-wrapper library. Args: cargo_output: The output from `cargo build` with STRING
HIGHwandb/util.py1951Parse a time period string and return seconds. Args: time_str: Time period string like "10s", "5m", "8h", "STRING
HIGHwandb/apis/public/service_api.py87Execute a GraphQL operation through the wandb-core sidecar. The query is sent to wandb-core, which performs theSTRING
HIGHwandb/apis/public/api.py344Create a new run queue in W&B Launch. Args: name: Name of the queue to create type: TypSTRING
HIGHwandb/apis/public/api.py452Create a custom chart preset and return its id. Args: entity: The entity (user or team) that owns tSTRING
HIGHwandb/apis/public/api.py532Upsert a run queue in W&B Launch. Args: name: Name of the queue to create entity: OptioSTRING
HIGHwandb/apis/public/api.py721Return a run, sweep, project or report from a path. Args: path: The path to the project, run, sweepSTRING
HIGHwandb/apis/public/api.py950Get reports for a given project path. Note: `wandb.Api.reports()` API is in beta and will likely change in STRING
HIGHwandb/apis/public/api.py1125Returns a `Runs` object, which lazily iterates over `Run` objects. Fields you can filter by include: - STRING
HIGHwandb/apis/public/api.py1253Return a single run by parsing path in the form `entity/project/run_id`. Args: path: Path to run inSTRING
HIGHwandb/apis/public/api.py1473Returns a single artifact collection by type. You can use the returned `ArtifactCollection` object to retrieve STRING
HIGHwandb/apis/public/api.py1556Return an `Artifacts` collection. Args: type_name: The type of artifacts to fetch. nameSTRING
HIGHwandb/apis/public/api.py1702Returns a single artifact. Args: name: The artifact's name. The name of an artifact resembles a STRING
HIGHwandb/apis/public/api.py1844Whether an artifact version exists within the specified project and entity. Args: name: The name ofSTRING
HIGHwandb/apis/public/api.py1882Whether an artifact collection exists within a specified project and entity. Args: name: An artifacSTRING
HIGHwandb/apis/public/api.py1923Returns a lazy iterator of `Registry` objects. Use the iterator to search and filter registries, collections, STRING
HIGHwandb/apis/public/api.py2022Return a registry given a registry name. Args: name: The name of the registry. This is without the STRING
HIGHwandb/apis/public/api.py2078Create a new registry. Args: name: The name of the registry. Name must be unique within the organizSTRING
HIGHwandb/apis/public/api.py2176Returns an iterator of webhook integrations for an entity. Args: entity: The entity (e.g. team nameSTRING
HIGHwandb/apis/public/api.py2220Returns an iterator of Slack integrations for an entity. Args: entity: The entity (e.g. team name) STRING
HIGHwandb/apis/public/api.py2339Returns the only Automation matching the parameters. Args: name: The name of the automation to fetcSTRING
HIGHwandb/apis/public/api.py2379Returns an iterator over all Automations that match the given parameters. If no parameters are provided, the reSTRING
HIGHwandb/apis/public/api.py2442Create a new Automation. Args: obj: The automation to create. fetch_exiSTRING
HIGHwandb/apis/public/api.py2552Update an existing automation. Args: obj: The automation to update. Must be an existing automationSTRING
HIGHwandb/apis/public/runs.py892Load run data using appropriate fragment based on lazy mode. Args: force: If True, re-fetch the runSTRING
HIGHwandb/apis/public/runs.py1002Update the state of a run. Supported transitions: - to `pending` from `running`, `failed`, `crashedSTRING
HIGHwandb/apis/public/runs.py1711Download any parquet history files for the run to the provided directory. Args: download_dir: The dSTRING
HIGHwandb/apis/public/registries/registry.py261Create a new registry. The registry name must be unique within the organization. This function should bSTRING
HIGHwandb/apis/public/registries/registry.py511Adds users or teams to this registry. Args: members: The users or teams to add to the registry. AccSTRING
HIGHwandb/apis/public/registries/registry.py568Removes users or teams from this registry. Args: members: The users or teams to remove from the regSTRING
HIGHwandb/apis/public/registries/registry.py627Updates the role of a member (user or team) within this registry. Args: member: The user or team toSTRING
HIGHwandb/plot/pr_curve.py28Constructs a Precision-Recall (PR) curve. The Precision-Recall curve is particularly useful for evaluating classifiSTRING
HIGHwandb/plot/roc_curve.py24Constructs Receiver Operating Characteristic (ROC) curve chart. Args: y_true: The true class labels (groundSTRING
HIGHwandb/plot/line_series.py21Constructs a line series chart. Args: xs: Sequence of x values. If a singular array is providedSTRING
HIGHwandb/plot/custom_chart.py83Creates a custom charts using a Vega-Lite specification and a `wandb.Table`. This function creates a custom chart bSTRING
HIGHwandb/plot/confusion_matrix.py24Constructs a confusion matrix from a sequence of probabilities or predictions. Args: probs: A sequence of pSTRING
HIGHwandb/integration/weave/media_adapters.py304Convert a wandb media cell value to an appropriate type for Weave logging. Args: val: Cell value to convertSTRING
HIGHwandb/integration/lightning/fabric/logger.py46Log using `Weights and Biases <https://docs.wandb.ai/models/integrations/lightning>`_. **Installation and set-up** STRING
HIGHwandb/integration/kfp/_kfp_v2_patch.py23Preserve the `@wandb_log` decorator in serialized component source. KFP strips decorators when capturing a componenSTRING
HIGHwandb/integration/kfp/kfp_patch.py139Get the source code of a function, preserving `@wandb_log`. Modified from KFP v1. Original source: https://githSTRING
HIGHwandb/sdk/wandb_run.py1042Save the current state of your code to a W&B Artifact. By default, it walks the current directory and logs all STRING
HIGHwandb/sdk/wandb_run.py1744Upload run data. Use `log` to log data from runs, such as scalars, images, video, histograms, plots, anSTRING
HIGHwandb/sdk/wandb_run.py2160Materialize matched files into the run's files/ dir for syncing. Strategy: 1) If settings.symlink is TrSTRING
HIGHwandb/sdk/wandb_run.py3147Declare an artifact as an input to a run. Call `download` or `file` on the returned object to get the contents STRING
HIGHwandb/sdk/wandb_run.py3577Logs a model artifact containing the contents inside the 'path' to a run and marks it as an output to this run. STRING
HIGHwandb/sdk/wandb_run.py3609Download the files logged in a model artifact 'name'. Args: name: A model artifact name. 'name' musSTRING
HIGHwandb/sdk/wandb_run.py3655Log a model artifact version and link it to a registered model in the model registry. Linked model versions areSTRING
HIGHwandb/sdk/wandb_run.py4132Download the specified file from cloud storage. File is placed into the current directory or run directory. By STRING
HIGHwandb/sdk/wandb_init.py1218Start a new run to track and log to W&B. In an ML training pipeline, you could add `wandb.init()` to the beginning STRING
HIGHwandb/sdk/wandb_settings.py1511Validate run tags. Validates that each tag: - Is between 1 and 64 characters in length (inclusive) STRING
HIGHwandb/sdk/wandb_watch.py35Hooks into the given PyTorch model(s) to monitor gradients and the model's computational graph. This function can tSTRING
HIGHwandb/sdk/wandb_login.py29Log into W&B. You generally don't have to use this because most W&B methods that need authentication can log inSTRING
HIGHwandb/sdk/artifacts/artifact.py1372Get the WBValue object located at the artifact relative `name`. Args: name: The artifact relative nSTRING
HIGHwandb/sdk/artifacts/artifact.py1386Add `item` to the artifact at path `name`. Args: name: The path within the artifact to add the objeSTRING
HIGHwandb/sdk/artifacts/artifact.py1407Open a new temporary file and add it to the artifact. Args: name: The name of the new file to add tSTRING
HIGHwandb/sdk/artifacts/artifact.py1457Add a local file to the artifact. Args: local_path: The path to the file being added. nSTRING
HIGHwandb/sdk/artifacts/artifact.py1583Add a reference denoted by a URI to the artifact. Unlike files or directories that you add to an artifact, refeSTRING
HIGHwandb/sdk/artifacts/artifact.py1666Add wandb.WBValue `obj` to the artifact. Args: obj: The object to add. Currently support one of BokSTRING
HIGHwandb/sdk/artifacts/artifact.py1831Get the entry with the given name. Args: name: The artifact relative name to get Returns: STRING
30 more matches not shown…
Excessive Try-Catch Wrapping205 hits · 210 pts
SeverityFileLineSnippetContext
LOWhatch_build.py157 except Exception:CODE
LOWtools/local_wandb_server.py227 except Exception as e:CODE
LOWtools/local_wandb_server.py263 except Exception as e:CODE
MEDIUMtools/generate_stubs.py112 print(f"Error: Could not find docstring for '{func_name}' in {source_file}")CODE
MEDIUMtools/generate_stubs.py195 print(f"Error: Could not find function '{func_name}' in {source_file}")CODE
MEDIUMtools/generate_stubs.py206 print(f"Error: Could not find function '{func_name}' in {generated_stub}")CODE
LOWtools/perf/scripts/process_sar_helper.py136 except Exception:CODE
LOWtools/perf/scripts/process_sar_helper.py246 except Exception as e:CODE
LOWtests/unit_tests/test_analytics/test_sentry.py437 except Exception as e:CODE
LOWtests/unit_tests/test_analytics/test_sentry.py441 except Exception as e:CODE
LOWtests/system_tests/conftest.py195 except Exception as e:CODE
LOW…m_tests/test_notebooks/test_jupyter_server/conftest.py132 except Exception:CODE
LOW…m_tests/test_notebooks/test_jupyter_server/conftest.py147 except Exception:CODE
LOW…/system_tests/test_sweep/train_with_import_readline.py22 except Exception as e:CODE
LOWtests/system_tests/test_functional/dspy/test_dspy.py44 except Exception:CODE
LOWwandb/util.py223 except Exception:CODE
LOWwandb/util.py1266 except Exception as e:CODE
LOWwandb/wandb_agent.py528 except Exception:CODE
LOWwandb/jupyter.py259 except Exception:CODE
LOWwandb/jupyter.py310 except Exception:CODE
LOWwandb/jupyter.py367 except Exception:CODE
LOWwandb/jupyter.py390 except Exception:CODE
LOWwandb/jupyter.py503 except Exception:CODE
LOWwandb/apis/normalize.py58 except Exception as err:CODE
LOWwandb/apis/public/jobs.py403 except Exception as e:STRING
LOWwandb/apis/public/sweeps.py240 except Exception:CODE
LOWwandb/apis/public/registries/registry.py312 except Exception as e:CODE
LOWwandb/apis/public/registries/registry.py337 except Exception as e:CODE
LOWwandb/apis/public/registries/registry.py357 except Exception as e:CODE
LOWwandb/apis/public/registries/registry.py414 except Exception as e:CODE
LOWwandb/apis/public/registries/_utils.py131 except Exception as e:CODE
LOWwandb/plot/utils.py106 except Exception:CODE
LOWwandb/integration/dspy/dspy.py195 except Exception as e:CODE
LOWwandb/integration/dspy/dspy.py408 except Exception as exc:CODE
LOWwandb/integration/weave/weave.py99 except Exception as e:CODE
LOWwandb/integration/keras/callbacks/metrics_logger.py96 except Exception as e:CODE
LOWwandb/integration/diffusers/resolvers/multimodal.py674 except Exception as e:CODE
LOWwandb/integration/kfp/wandb_log_v2.py153 except Exception as e:CODE
LOWwandb/integration/kfp/wandb_log_v2.py186 except Exception as e:CODE
LOWwandb/integration/sklearn/utils.py120 except Exception:CODE
MEDIUMwandb/integration/sklearn/utils.py88def test_fitted(model):CODE
LOWwandb/integration/fastai/__init__.py154 except Exception as e:CODE
LOWwandb/integration/fastai/__init__.py190 except Exception:CODE
LOWwandb/integration/huggingface/resolver.py91 except Exception as e:CODE
LOWwandb/integration/ultralytics/callback.py71except Exception as e:CODE
LOWwandb/integration/ultralytics/classification_utils.py81 except Exception:CODE
LOWwandb/integration/openai/fine_tuning.py239 except Exception:CODE
LOWwandb/integration/openai/fine_tuning.py300 except Exception:CODE
LOWwandb/integration/openai/fine_tuning.py310 except Exception:CODE
LOWwandb/integration/openai/fine_tuning.py342 except Exception:CODE
LOWwandb/integration/openai/fine_tuning.py458 except Exception as e:CODE
LOWwandb/agents/pyagent.py307 except Exception:CODE
LOWwandb/agents/pyagent.py344 except Exception as e:CODE
LOWwandb/agents/pyagent.py355 except Exception as e:CODE
MEDIUMwandb/agents/pyagent.py317def _run_job(self, job):CODE
LOWwandb/cli/beta_core.py98 except Exception as e:CODE
LOWwandb/cli/leet.py218 except Exception as e:CODE
LOWwandb/cli/cli.py1895 except Exception:CODE
LOWwandb/cli/cli.py2019 except Exception as e:CODE
LOWwandb/cli/cli.py2112 except Exception as e:CODE
145 more matches not shown…
Self-Referential Comments70 hits · 198 pts
SeverityFileLineSnippetContext
MEDIUMtools/perf/scripts/setup_helper.py18 # Create a formatter and set it for both handlersCOMMENT
MEDIUMtools/perf/scripts/bench_run_log.py288 # Create a random RGB image (100x100 pixels)COMMENT
MEDIUMtools/graphql_codegen/generate-graphql.sh28 # Create a temporary directory to clone into, but ensure it's cleaned up on exitCOMMENT
MEDIUMtests/unit_tests/test_cli.py570 # Create a test file with the specified ageCOMMENT
MEDIUMtests/unit_tests/test_automations/test_run_events.py352 # Create the base zscore filterCOMMENT
MEDIUMtests/unit_tests/test_artifacts/test_storage.py424# # Create a few files to fill up the cache (exactly).COMMENT
MEDIUM…/unit_tests/test_artifacts/saved_model_constructors.py1# This file is separated from the main test file inCOMMENT
MEDIUM…/unit_tests/test_artifacts/saved_model_constructors.py38 # Create a simple model.COMMENT
MEDIUMtests/unit_tests/test_lib/test_auth_netrc.py114 # Create a directory at the .netrc file path.STRING
MEDIUMtests/system_tests/backend_fixtures.py227 # Create the new org.COMMENT
MEDIUMtests/system_tests/test_registries/test_registry.py166 # Create the first registryCOMMENT
MEDIUMtests/system_tests/test_sweep/test_wandb_agent_full.py445 # Create a normal run (not part of the sweep) with an explicit id.COMMENT
MEDIUMtests/system_tests/test_sweep/test_sweep_public_api.py103 # Create a sweep runSTRING
MEDIUMtests/system_tests/test_automations/conftest.py71 # Create the project first if it doesn't exist yetCOMMENT
MEDIUM…/system_tests/test_automations/test_automations_api.py109 # Create a webhook integration only to check that it's omitted from slack_integrations()COMMENT
MEDIUM…/system_tests/test_automations/test_automations_api.py955 # Create the placeholder project for the automationCOMMENT
MEDIUM…/system_tests/test_automations/test_automations_api.py959 # Create the actual automationCOMMENT
MEDIUMtests/system_tests/test_artifacts/test_misc.py48 # Create a second version for a1COMMENT
MEDIUM…/system_tests/test_artifacts/test_object_references.py479 # Create the original file to add to the artifactCOMMENT
MEDIUM…/system_tests/test_artifacts/test_object_references.py484 # Create an artifact with such file storedCOMMENT
MEDIUM…/system_tests/test_artifacts/test_object_references.py492 # Create an middle artifact with such file referenced (notice no need to download)COMMENT
MEDIUM…/system_tests/test_artifacts/test_object_references.py553 # Create the original file to add to the artifactCOMMENT
MEDIUM…/system_tests/test_artifacts/test_object_references.py558 # Create a super important fileCOMMENT
MEDIUM…/system_tests/test_artifacts/test_object_references.py566 # Create an middle artifact with such file referenced (notice no need to download)COMMENT
MEDIUM…/system_tests/test_artifacts/test_object_references.py576 # Create a downstream artifact that is referencing the middle's referenceCOMMENT
MEDIUM…/system_tests/test_artifacts/test_object_references.py643 # Create an artifact with such file storedCOMMENT
MEDIUM…/system_tests/test_artifacts/test_object_references.py651 # Create an middle artifact with such file referenced (notice no need to download)COMMENT
MEDIUM…/system_tests/test_artifacts/test_object_references.py504 # Create a downstream artifact that is referencing the middle's referenceCOMMENT
MEDIUM…ystem_tests/test_artifacts/test_artifact_public_api.py756 # Create a run and log an artifactCOMMENT
MEDIUM…ystem_tests/test_artifacts/test_artifact_public_api.py445 # Create a file that should be removed as part of checkoutCOMMENT
MEDIUM…ystem_tests/test_artifacts/test_wandb_artifacts_api.py349 # Create an artifact sequence + portfolio (auto-created if it doesn't exist)COMMENT
MEDIUM…ystem_tests/test_artifacts/test_wandb_artifacts_api.py576 # Create the Api after teardown to ensure it picks up the new settings.COMMENT
MEDIUM…ts/system_tests/test_artifacts/test_wandb_artifacts.py337 # Create the second reference artifact and log itCOMMENT
MEDIUM…ts/system_tests/test_artifacts/test_wandb_artifacts.py351 # Create the second reference artifact and log itCOMMENT
MEDIUM…ts/system_tests/test_artifacts/test_wandb_artifacts.py365 # Create the second reference artifact and log itCOMMENT
MEDIUM…ts/system_tests/test_artifacts/test_wandb_artifacts.py378 # Create the second reference artifact and log itCOMMENT
MEDIUM…ts/system_tests/test_artifacts/test_wandb_artifacts.py306 # Create the reference artifact and log it while bypassing the checksumCOMMENT
MEDIUMtests/system_tests/test_core/test_wandb_init.py118 _ = user # Create a fake user on the backend server.CODE
MEDIUMtests/system_tests/test_core/test_git.py147 # Create a feature branch tracking origin/mainCOMMENT
MEDIUMtests/system_tests/test_core/test_resume.py10 _ = user # Create a fake user for the test.CODE
MEDIUMtests/system_tests/test_core/test_resume.py19 _ = user # Create a fake user for the test.CODE
MEDIUMtests/system_tests/test_core/test_resume.py40 _ = user # Create a fake user for the test.CODE
MEDIUMtests/system_tests/test_functional/conftest.py11 # Define a helper function that will take in the script path and command-line argumentsCOMMENT
MEDIUM…stem_tests/test_functional/terminput/test_terminput.py51 # Create a pseudoterminal.COMMENT
MEDIUM.github/scripts/ban-graphql-introspection-test.sh11# Create an empty git repo in a temporary directory.COMMENT
MEDIUMwandb/jupyter.py174 # This file is not actually the same as the notebook file.COMMENT
MEDIUMwandb/apis/public/api.py477 # Define a simple bar chart specificationCOMMENT
MEDIUMwandb/apis/public/api.py488 # Create the custom chartCOMMENT
MEDIUMwandb/plot/histogram.py42 # Create a W&B TableSTRING
MEDIUMwandb/plot/histogram.py48 # Create a histogram plotSTRING
MEDIUMwandb/plot/line.py54 # Define the columns for the tableSTRING
MEDIUMwandb/plot/custom_chart.py112 # Create a custom chart using a Vega-Lite spec and the data table.STRING
MEDIUMwandb/plot/custom_chart.py122 # Create a custom title with `string_fields`.STRING
MEDIUMwandb/plot/bar.py48 # Create a table with the dataSTRING
MEDIUMwandb/plot/bar.py53 # Create a bar plot from the tableSTRING
MEDIUMwandb/plot/confusion_matrix.py160 # Create a mapping from class name to indexCOMMENT
MEDIUMwandb/integration/sklearn/calculate/residuals.py13 # Create the train and test splitsCOMMENT
MEDIUMwandb/mpmain/__main__.py1# This module is initialized after multiprocessing spawnCOMMENT
MEDIUMwandb/sdk/wandb_run.py592 # Initialize telemetry objectCOMMENT
MEDIUMwandb/sdk/wandb_run.py976 """This method is deprecated and will be removed in a future release. Use `run.project` instead.STRING
10 more matches not shown…
Modern Structural Boilerplate187 hits · 192 pts
SeverityFileLineSnippetContext
LOWtools/cloud_tool.py97 def update_components() -> None:CODE
LOWtools/cloud_tool.py159 def update_components() -> None:CODE
LOWtools/perf/scripts/run_load_tests.py14logger = logging.getLogger(__name__)CODE
LOWtools/perf/scripts/process_sar_helper.py7logger = logging.getLogger(__name__)CODE
LOWtools/perf/scripts/push_perf_results_helper.py9logger = logging.getLogger(__name__)CODE
LOWtools/perf/scripts/test_case_helper.py9logger = logging.getLogger(__name__)CODE
LOWtools/perf/scripts/bench_run_log.py18logger = logging.getLogger(__name__)CODE
LOWtests/unit_tests/test_wandb_summary.py25 def update_callback(self, summary_record: SummaryRecord) -> None:CODE
LOWtests/system_tests/test_registries/conftest.py233def set_team_as_default_entity(request: FixtureRequest, mocker: MockerFixture) -> None:CODE
LOW…/test_functional/asyncio_manager_run/interrupt_join.py14async def _set_task_started_then_sleep() -> None:CODE
LOWwandb/env.py463def set_entity(value: str, env: MutableMapping | None = None) -> None:CODE
LOWwandb/env.py469def set_project(value: str, env: MutableMapping | None = None) -> None:CODE
LOWwandb/util.py64logger = logging.getLogger(__name__)CODE
LOWwandb/wandb_run.py8__all__ = ["Run"]CODE
LOWwandb/data_types.py40__all__ = [CODE
LOWwandb/wandb_agent.py25logger = logging.getLogger(__name__)CODE
LOWwandb/jupyter.py25logger = logging.getLogger(__name__)CODE
LOWwandb/docker/__init__.py274__all__ = [CODE
LOWwandb/apis/internal.py109 def set_setting(self, key: str, value: Any) -> None:CODE
LOWwandb/apis/internal.py224__all__ = ["Api"]CODE
LOWwandb/apis/__init__.py50__all__ = ["InternalApi", "PublicApi"]CODE
LOWwandb/apis/paginator.py76 def update_variables(self) -> None:CODE
LOWwandb/apis/paginator.py91 def _update_response(self) -> None:CODE
LOWwandb/apis/public/files.py163 def _update_response(self) -> None:STRING
LOWwandb/apis/public/files.py220 def update_variables(self) -> None:CODE
LOWwandb/apis/public/jobs.py200 def set_entrypoint(self, entrypoint: list[str]) -> None:CODE
LOWwandb/apis/public/api.py78logger = logging.getLogger(__name__)CODE
LOWwandb/apis/public/api.py1686 def _set_artifact_save_handle(self, artifact: Artifact, handle: Any) -> None:CODE
LOWwandb/apis/public/automations.py55 def _update_response(self) -> None:CODE
LOWwandb/apis/public/reports.py136 def update_variables(self) -> None:STRING
LOWwandb/apis/public/sweeps.py128 def _update_response(self) -> None:CODE
LOWwandb/apis/public/artifacts.py95 def _update_response(self) -> None:CODE
LOWwandb/apis/public/artifacts.py145 def _update_response(self) -> None:CODE
LOWwandb/apis/public/artifacts.py351 def _update_response(self) -> None:CODE
LOWwandb/apis/public/artifacts.py449 def _update_response(self) -> None:CODE
LOWwandb/apis/public/artifacts.py519 def _update_data(self, fragment: ArtifactCollectionFragment) -> None:CODE
LOWwandb/apis/public/artifacts.py720 def _update_collection(self) -> None:CODE
LOWwandb/apis/public/artifacts.py749 def _update_sequence_type(self) -> None:CODE
LOWwandb/apis/public/artifacts.py911 def _update_response(self) -> None:CODE
LOWwandb/apis/public/artifacts.py998 def _update_response(self) -> None:CODE
LOWwandb/apis/public/artifacts.py1070 def _update_response(self) -> None:CODE
LOWwandb/apis/public/projects.py109 def _update_response(self) -> None:CODE
LOWwandb/apis/public/runs.py247 def _update_response(self) -> None:STRING
LOWwandb/apis/public/runs.py523 def _update_response(self) -> None:STRING
LOWwandb/apis/public/runs.py530 def update_variables(self) -> None:STRING
LOWwandb/apis/public/integrations.py55 def _update_response(self) -> None:CODE
LOWwandb/apis/public/registries/registry.py68 def _update_attributes(self, fragment: RegistryFragment) -> None:CODE
LOWwandb/apis/public/registries/__init__.py1__all__ = [CODE
LOWwandb/apis/public/registries/registries_search.py137 def _update_response(self) -> None:CODE
LOWwandb/apis/public/registries/registries_search.py241 def _update_response(self) -> None:CODE
LOWwandb/apis/public/registries/registries_search.py333 def _update_response(self) -> None:CODE
LOWwandb/apis/_generated/__init__.py3__all__ = [CODE
LOWwandb/apis/_generated/operations.py4__all__ = [CODE
LOWwandb/plot/__init__.py8__all__ = [CODE
LOWwandb/plot/viz.py32 def set_key(self, key: str) -> None:CODE
LOWwandb/integration/dspy/__init__.py5__all__ = ["WandbDSPyCallback"]CODE
LOWwandb/integration/dspy/dspy.py29logger = logging.getLogger(__name__)CODE
LOWwandb/integration/sb3/sb3.py63logger = logging.getLogger(__name__)CODE
LOWwandb/integration/sb3/__init__.py3__all__ = ["WandbCallback"]CODE
LOWwandb/integration/xgboost/__init__.py11__all__ = ["wandb_callback", "WandbCallback"]CODE
127 more matches not shown…
Deep Nesting176 hits · 160 pts
SeverityFileLineSnippetContext
LOWtools/local_wandb_server.py255CODE
LOWtools/generate-tool.py40CODE
LOWtools/generate_stubs.py46CODE
LOWtools/generate_stubs.py142CODE
LOWtools/perf/scripts/push_perf_results_helper.py12CODE
LOWtools/perf/scripts/bench_run_log.py113CODE
LOWtools/perf/scripts/bench_run_log.py431CODE
LOWtests/unit_tests/test_util.py47CODE
LOWtests/unit_tests/test_data_types.py29CODE
LOWtests/unit_tests/test_registries/test_addonly_list.py201CODE
LOW…m_tests/test_notebooks/test_jupyter_server/conftest.py207CODE
LOWtests/system_tests/test_functional/sync/test_sync.py15CODE
LOW…ystem_tests/test_system_metrics/test_system_monitor.py6CODE
LOW…ystem_tests/test_system_metrics/test_system_monitor.py29CODE
LOWparquet-rust-wrapper/hatch.py71CODE
LOWwandb/util.py601CODE
LOWwandb/util.py873CODE
LOWwandb/util.py905CODE
LOWwandb/util.py1131CODE
LOWwandb/util.py1588CODE
LOWwandb/util.py1794CODE
LOWwandb/wandb_controller.py129CODE
LOWwandb/wandb_agent.py208CODE
LOWwandb/wandb_agent.py313CODE
LOWwandb/wandb_agent.py509CODE
LOWwandb/wandb_agent.py627CODE
LOWwandb/jupyter.py419CODE
LOWwandb/apis/normalize.py19CODE
LOWwandb/apis/normalize.py23CODE
LOWwandb/apis/public/query_generator.py59CODE
LOWwandb/apis/public/query_generator.py73CODE
LOWwandb/apis/public/api.py720CODE
LOWwandb/apis/public/api.py795CODE
LOWwandb/apis/public/reports.py474CODE
LOWwandb/apis/public/reports.py494CODE
LOWwandb/apis/public/reports.py514CODE
LOWwandb/apis/public/reports.py603CODE
LOWwandb/apis/public/runs.py849CODE
LOWwandb/apis/public/runs.py1635CODE
LOWwandb/plot/utils.py7CODE
LOWwandb/plot/utils.py126CODE
LOWwandb/integration/dspy/dspy.py234CODE
LOWwandb/integration/weave/media_adapters.py299CODE
LOWwandb/integration/lightning/fabric/logger.py367CODE
LOWwandb/integration/diffusers/resolvers/multimodal.py704CODE
LOWwandb/integration/sacred/__init__.py69CODE
LOWwandb/integration/kfp/wandb_log_v1.py1CODE
LOWwandb/integration/kfp/wandb_log_v1.py111CODE
LOWwandb/integration/kfp/wandb_log_v2.py122CODE
LOWwandb/integration/torch/wandb_torch.py365CODE
LOWwandb/integration/torch/wandb_torch.py429CODE
LOWwandb/integration/sklearn/utils.py39CODE
LOWwandb/integration/sklearn/utils.py126CODE
LOW…b/integration/sklearn/calculate/feature_importances.py11CODE
LOWwandb/integration/fastai/__init__.py180CODE
LOWwandb/integration/tensorboard/log.py73CODE
LOWwandb/integration/tensorboard/log.py275CODE
LOWwandb/integration/prodigy/prodigy.py70CODE
LOWwandb/integration/prodigy/prodigy.py134CODE
LOWwandb/integration/prodigy/prodigy.py172CODE
116 more matches not shown…
Cross-File Repetition30 hits · 150 pts
SeverityFileLineSnippetContext
HIGHtests/unit_tests/test_automations/test_actions.py0check that the public `eventtype` enum is a subset of the schema-generated enum. this is a safeguard in case we've had tSTRING
HIGHtests/unit_tests/test_automations/test_scopes.py0check that the public `eventtype` enum is a subset of the schema-generated enum. this is a safeguard in case we've had tSTRING
HIGHtests/unit_tests/test_automations/test_events.py0check that the public `eventtype` enum is a subset of the schema-generated enum. this is a safeguard in case we've had tSTRING
HIGHwandb/apis/public/files.py0returns the cursor position for pagination of runs results. <!-- lazydoc-ignore: internal -->STRING
HIGHwandb/apis/public/reports.py0returns the cursor position for pagination of runs results. <!-- lazydoc-ignore: internal -->STRING
HIGHwandb/apis/public/runs.py0returns the cursor position for pagination of runs results. <!-- lazydoc-ignore: internal -->STRING
HIGHwandb/apis/public/sweeps.py0fetch and validate the response data for the current page.STRING
HIGHwandb/apis/public/artifacts.py0fetch and validate the response data for the current page.STRING
HIGHwandb/apis/public/projects.py0fetch and validate the response data for the current page.STRING
HIGHwandb/sdk/data_types/object_3d.py0get media subdirectory. <!-- lazydoc-ignore-classmethod: internal -->STRING
HIGHwandb/sdk/data_types/molecule.py0get media subdirectory. <!-- lazydoc-ignore-classmethod: internal -->STRING
HIGHwandb/sdk/data_types/audio.py0get media subdirectory. <!-- lazydoc-ignore-classmethod: internal -->STRING
HIGHwandb/sdk/data_types/table.py0get media subdirectory. <!-- lazydoc-ignore-classmethod: internal -->STRING
HIGHwandb/sdk/data_types/object_3d.py0returns the json representation expected by the backend. <!-- lazydoc-ignore: internal -->STRING
HIGHwandb/sdk/data_types/molecule.py0returns the json representation expected by the backend. <!-- lazydoc-ignore: internal -->STRING
HIGHwandb/sdk/data_types/histogram.py0returns the json representation expected by the backend. <!-- lazydoc-ignore: internal -->STRING
HIGHwandb/sdk/data_types/html.py0returns the json representation expected by the backend. <!-- lazydoc-ignore: internal -->STRING
HIGHwandb/sdk/data_types/eval_table.py0returns the json representation expected by the backend. <!-- lazydoc-ignore: internal -->STRING
HIGHwandb/sdk/data_types/audio.py0returns the json representation expected by the backend. <!-- lazydoc-ignore: internal -->STRING
HIGHwandb/sdk/data_types/table.py0returns the json representation expected by the backend. <!-- lazydoc-ignore: internal -->STRING
HIGHwandb/sdk/data_types/video.py0returns the json representation expected by the backend. <!-- lazydoc-ignore: internal -->STRING
HIGHwandb/sdk/data_types/image.py0returns the json representation expected by the backend. <!-- lazydoc-ignore: internal -->STRING
HIGHwandb/sdk/data_types/object_3d.py0convert a sequence of video objects to a json representation. <!-- lazydoc-ignore-classmethod: internal -->STRING
HIGHwandb/sdk/data_types/audio.py0convert a sequence of video objects to a json representation. <!-- lazydoc-ignore-classmethod: internal -->STRING
HIGHwandb/sdk/data_types/molecule.py0convert a sequence of video objects to a json representation. <!-- lazydoc-ignore-classmethod: internal -->STRING
HIGHwandb/sdk/data_types/video.py0convert a sequence of video objects to a json representation. <!-- lazydoc-ignore-classmethod: internal -->STRING
HIGHwandb/sdk/data_types/eval_table.py0bind this object to a run. <!-- lazydoc-ignore: internal -->STRING
HIGHwandb/sdk/data_types/audio.py0bind this object to a run. <!-- lazydoc-ignore: internal -->STRING
HIGHwandb/sdk/data_types/table.py0bind this object to a run. <!-- lazydoc-ignore: internal -->STRING
HIGHwandb/sdk/data_types/image.py0bind this object to a run. <!-- lazydoc-ignore: internal -->STRING
Hallucination Indicators11 hits · 125 pts
SeverityFileLineSnippetContext
CRITICALCHANGELOG.md850- Update the signature and docstring of `wandb.api.public.runs.Run.log_artifact()` to support artifact tags like `Run` iCODE
CRITICALcore/pkg/service_go_proto/wandb_telemetry.pb.go1808 Artifact_GetPath bool `protobuf:"varint,11,opt,name=artifact__get_path,json=artifactGetPathCODE
CRITICALcore/pkg/service_go_proto/wandb_telemetry.pb.go1809 Artifactmanifestentry_Name bool `protobuf:"varint,12,opt,name=artifactmanifestentry__name,json=artifaCODE
CRITICALcore/pkg/service_go_proto/wandb_telemetry.pb.go1825 Artifact_UseAs bool `protobuf:"varint,26,opt,name=artifact__use_as,json=artifactUseAs,proto3" json:"artifact_CODE
CRITICALxpu/src/wandb_internal.rs534 /// wandb.sdk.artifacts.artifact.Artifact.get_path(...) calledCOMMENT
CRITICALxpu/src/wandb_internal.rs537 /// wandb.sdk.artifacts.artifact_manifest_entry.ArtifactManifestEntry.name() calledCOMMENT
CRITICALxpu/src/wandb_internal.rs576 /// wandb.sdk.artifacts.artifact.Artifact.use_as() calledCOMMENT
CRITICALtests/unit_tests/test_lib/test_run_messages.py39 result.response.internal_messages_response.messages.warning.extend(warnings)CODE
CRITICALwandb/sdk/launch/registry/azure_container_registry.py17 from azure.core.exceptions import ResourceNotFoundError # type: ignoreCODE
CRITICALwandb/sdk/launch/environment/azure_environment.py3from azure.core.exceptions import HttpResponseError # type: ignoreCODE
CRITICALwandb/sdk/internal/internal_api.py2299 from azure.core.exceptions import AzureError # type: ignoreCODE
Cross-Language Confusion25 hits · 122 pts
SeverityFileLineSnippetContext
HIGHtests/unit_tests/test_launch/test_builder/test_build.py209 pip_install="pip install uv && uv pip install -r requirements.txt",CODE
HIGHtests/unit_tests/test_launch/test_builder/test_build.py277 pip_install="pip install uv && uv pip install -r requirements.txt",CODE
HIGHtests/unit_tests/test_lib/test_json_util.py232 '{"nested": {"x": null}}',CODE
HIGHtests/unit_tests/test_lib/test_git.py252 assert git_repo.push("name") == ""CODE
HIGHtests/unit_tests/test_lib/test_git.py303 assert git_repo.push("name") is NoneCODE
HIGHtests/system_tests/test_sweep/test_wandb_agent.py55 assert _return["args_json"] == ['{"a": true, "b": false, "c": 1, "d": null}']CODE
HIGH…ystem_tests/test_artifacts/test_wandb_artifacts_api.py469 """Check that NaN values are encoded as None (JSON null) values."""STRING
HIGHwandb/apis/internal.py122 return self.api.push(*args, **kwargs)CODE
HIGHwandb/apis/public/summary.py348 api.push(CODE
HIGHwandb/apis/public/runs.py1200 api.push({LogicalPath(upload_path): f})STRING
HIGHwandb/cli/cli.py3492 $ wandb online && python train.pySTRING
HIGHwandb/cli/cli.py3513 $ wandb offline && python train.pySTRING
HIGHwandb/cli/cli.py3517 $ wandb offline && python train.pySTRING
HIGHwandb/sdk/launch/runner/kubernetes_runner.py1369 chmod_suffix = f" && chmod -R a+w {CODE_MOUNT_DIR}/* || true && chmod -R a+w {CODE_MOUNT_DIR}/.* || true"CODE
HIGHwandb/sdk/launch/builder/build.py231 deps_install_line = "pip install uv && uv pip install -r requirements.txt"CODE
HIGHwandb/sdk/launch/builder/build.py268 "pip install uv && uv pip install -r requirements.txt"CODE
HIGHwandb/sdk/launch/builder/templates/dockerfile.py24RUN mkdir -p {workdir}/.cache && chown -R {uid} {workdir}/.cacheCODE
HIGHwandb/sdk/launch/builder/templates/dockerfile.py47RUN apt-get update -qq && apt-get install --no-install-recommends -y \CODE
HIGHwandb/sdk/launch/builder/templates/dockerfile.py49 && apt-get -qq purge && apt-get -qq clean \CODE
HIGHwandb/sdk/launch/builder/templates/dockerfile.py75 mkdir /env && cd /env && tar xf /tmp/env.tar && \CODE
HIGHwandb/sdk/internal/sender.py1087 self._fs.push(filenames.HISTORY_FNAME, json.dumps(history_dict))CODE
HIGHwandb/sdk/internal/sender.py1114 self._fs.push(filenames.SUMMARY_FNAME, json_summary)CODE
HIGHwandb/sdk/internal/sender.py1142 self._fs.push(filenames.EVENTS_FNAME, json.dumps(row))CODE
HIGHwandb/sdk/internal/sender.py1286 self._fs.push(filenames.OUTPUT_FNAME, line)CODE
HIGHwandb/filesync/upload_job.py59 self.push()CODE
AI Structural Patterns42 hits · 41 pts
SeverityFileLineSnippetContext
LOWnoxfile.py378CODE
LOWtools/perf/scripts/bench_run_log.py371CODE
LOWtests/unit_tests/test_metaflow.py191CODE
LOWtests/unit_tests/test_metaflow.py277CODE
LOW…/system_tests/test_functional/metaflow/flow_pytorch.py106CODE
LOWwandb/wandb_controller.py286CODE
LOWwandb/apis/public/jobs.py204CODE
LOWwandb/apis/public/summary.py107CODE
LOWwandb/integration/lightning/fabric/logger.py289CODE
LOWwandb/integration/sklearn/plot/shared.py48CODE
LOWwandb/integration/fastai/__init__.py81CODE
LOWwandb/integration/openai/fine_tuning.py61CODE
LOWwandb/sdk/wandb_run.py3412CODE
LOWwandb/sdk/wandb_init.py1182CODE
LOWwandb/sdk/wandb_login.py19CODE
LOWwandb/sdk/wandb_login.py134CODE
LOWwandb/sdk/interface/interface_shared.py144CODE
LOWwandb/sdk/interface/interface_shared.py244CODE
LOWwandb/sdk/artifacts/artifact_saver.py59CODE
LOWwandb/sdk/artifacts/artifact_saver.py99CODE
LOWwandb/sdk/data_types/trace_tree.py208CODE
LOWwandb/sdk/data_types/trace_tree.py236CODE
LOWwandb/sdk/data_types/graph.py73CODE
LOWwandb/sdk/data_types/eval_table.py133CODE
LOWwandb/sdk/data_types/_dtypes.py749CODE
LOWwandb/sdk/data_types/table.py228CODE
LOWwandb/sdk/data_types/image.py153CODE
LOWwandb/sdk/launch/_launch.py175CODE
LOWwandb/sdk/launch/_launch.py251CODE
LOWwandb/sdk/launch/_launch_add.py36CODE
LOWwandb/sdk/launch/utils.py154CODE
LOWwandb/sdk/launch/create_job.py32CODE
LOWwandb/sdk/launch/create_job.py106CODE
LOWwandb/sdk/internal/internal_api.py1705CODE
LOWwandb/sdk/internal/internal_api.py2629CODE
LOWwandb/sdk/internal/internal_api.py3302CODE
LOWwandb/sdk/internal/datastore.py278CODE
LOWwandb/sdk/lib/redirect.py124CODE
LOWwandb/sdk/lib/proto_util.py43CODE
LOWwandb/sdk/lib/module.py7CODE
LOWwandb/sync/sync.py43CODE
LOWwandb/sync/sync.py335CODE
Fake / Example Data36 hits · 37 pts
SeverityFileLineSnippetContext
LOWcore/internal/api/credentials_test.go99 token := "fake-token"CODE
LOWcore/internal/api/credentials_test.go141 token := "fake-token"CODE
LOWcore/internal/api/credentials_test.go214 token := "fake-token"CODE
LOWcore/internal/api/credentials_test.go278 assert.Equal(t, "Bearer fake-token", calls[0].Header.Get("Authorization"))CODE
LOWcore/internal/api/credentials_test.go279 assert.Equal(t, "Bearer fake-token", calls[1].Header.Get("Authorization"))CODE
LOWcore/internal/api/credentials_test.go317 token := "fake-token"CODE
LOWtests/conftest.py225 subprocess.run(["git", "config", "user.email", "test@test.com"], check=True)CODE
LOWtests/unit_tests/test_launch/test_git_reference.py27 run_git(path, "config", "user.email", "test@test.com")CODE
LOW…ts/unit_tests/test_launch/test_inputs/test_internal.py424 "placeholder": "Enter your username",CODE
LOW…ts/unit_tests/test_launch/test_inputs/test_internal.py441 "placeholder": "sk-...",CODE
LOW…ts/unit_tests/test_launch/test_inputs/test_internal.py461 "placeholder": "localhost",CODE
LOW…ts/unit_tests/test_launch/test_inputs/test_internal.py467 "placeholder": "5432",CODE
LOW…ts/unit_tests/test_launch/test_inputs/test_internal.py536 "placeholder": "1.0.0",CODE
LOW…ts/unit_tests/test_launch/test_inputs/test_internal.py577 "placeholder": "Enable this feature",CODE
LOW…ts/unit_tests/test_launch/test_inputs/test_internal.py594 "placeholder": "Select options...",CODE
LOW…ts/unit_tests/test_launch/test_inputs/test_internal.py608 "placeholder": 123, # Should be stringCODE
LOW…ts/unit_tests/test_launch/test_inputs/test_internal.py698 "placeholder": "Select environment tags...",CODE
LOW…ts/unit_tests/test_launch/test_inputs/test_internal.py710 "placeholder": "Choose numbers (optional)",CODE
LOWtests/unit_tests/test_lib/test_git.py23 run_git(path, "config", "user.email", "test@test.com")CODE
LOWtests/system_tests/test_core/test_wandb_settings.py126 ["git", "config", "user.email", "test@test.com"],CODE
LOWtests/system_tests/test_core/test_git.py14 run_git(path, "config", "user.email", "test@test.com")CODE
LOWtests/system_tests/test_core/test_public_api.py1212 email = "test@test.com"CODE
LOWtests/system_tests/test_core/test_public_api.py1230 email = "test@test.com"CODE
LOWtests/system_tests/test_core/test_public_api.py1246 email = "test@test.com"CODE
LOWtests/system_tests/test_core/test_public_api.py1295 email = "test@test.com"CODE
LOWtests/system_tests/test_core/test_public_api.py1299 fake_key = "A" * 92CODE
LOWtests/system_tests/test_core/test_public_api.py1300 api = Api(api_key=fake_key)CODE
LOWtests/system_tests/test_core/test_public_api.py1304 assert user.user_api.api_key == fake_keyCODE
LOWtests/system_tests/test_core/test_public_api.py1111 name="fake-name",CODE
LOWtests/system_tests/test_core/test_public_api.py1160 email = "test@test.com"CODE
LOWtests/system_tests/test_core/test_public_api.py1174 email = "test@test.com"CODE
LOWtests/system_tests/test_core/test_public_api.py1276 email = "test@test.com"CODE
LOWwandb/apis/public/teams.py86 team.invite("user@example.com")STRING
LOWwandb/sdk/artifacts/artifact.py364 artifact = cls("placeholder", type="placeholder")CODE
LOWwandb/sdk/launch/_project_spec.py173 elif self.uri and self.uri.startswith("placeholder"):CODE
LOWwandb/sdk/launch/inputs/schema.py11 "placeholder": {"type": "string"},CODE
Redundant / Tautological Comments18 hits · 26 pts
SeverityFileLineSnippetContext
LOWtests/unit_tests/test_autolog_patch_integration.py79 # Check if AutologAPI is enabledCOMMENT
LOW…ystem_tests/test_artifacts/test_artifact_public_api.py765 # Set WANDB_PROJECT to a DIFFERENT project (this should be ignored)COMMENT
LOWparquet-rust-wrapper/build.sh13# Check if Rust is installedCOMMENT
LOWparquet-rust-wrapper/build.sh52# Check if the library was builtCOMMENT
LOWwandb/apis/public/api.py1229 # Check if we have cached resultsCOMMENT
LOWwandb/apis/public/api.py2607 # Check if the server even supports updating automations.COMMENT
LOWwandb/apis/public/utils.py29 # Check if it's an S3 URLCOMMENT
LOWwandb/integration/keras/callbacks/model_checkpoint.py131 # Check if model checkpoint is created at the end of epoch.COMMENT
LOWwandb/integration/fastai/__init__.py93 # Check if wandb.init has been calledCOMMENT
LOWwandb/integration/prodigy/prodigy.py77 # Check if key already exists in templateCOMMENT
LOWwandb/integration/prodigy/prodigy.py262 # Check if wandb.init has been calledCOMMENT
LOWwandb/sdk/wandb_run.py3432 # Check if artifact tags are supportedCOMMENT
LOWwandb/sdk/artifacts/_validators.py215 # Check if the artifact name is disallowed, based on the artifact typeCOMMENT
LOWwandb/sdk/artifacts/_validators.py222 # Check if the artifact type is disallowedCOMMENT
LOWwandb/sdk/artifacts/artifact_file_cache.py60 # Check if we're using vs skipping the cacheCOMMENT
LOWwandb/sdk/artifacts/artifact_file_cache.py78 # Check if we're using vs skipping the cacheCOMMENT
LOWwandb/sdk/data_types/table.py1373 # Check if this is an ArtifactManifestEntryCOMMENT
LOWwandb/sdk/lib/import_hooks.py67 # Check if the module is already imported. If not, register the hookCOMMENT
AI Slop Vocabulary11 hits · 20 pts
SeverityFileLineSnippetContext
LOWtests/unit_tests/test_registries/test_addonly_list.py163 # # No frozen items, should just add to draftCOMMENT
LOW…ts/system_tests/test_artifacts/test_wandb_artifacts.py1014 # if no etag is provided, shouldn't we hash the response body, not simply use the URL?COMMENT
MEDIUMwandb/trigger.py1"""Module to facilitate adding hooks to wandb actions.STRING
LOWwandb/integration/weave/weave.py178 # just pass through.COMMENT
LOWwandb/integration/torch/wandb_torch.py223 # If all values are equal, just return a single bin.COMMENT
LOWwandb/integration/tensorboard/log.py303 # not an event, just returnCOMMENT
MEDIUMwandb/cli/cli.py383 # A change in click or the test harness means key can be none...COMMENT
LOWwandb/sdk/data_types/saved_model.py153 # If the path is a file, then we can just add it to the artifact,COMMENT
MEDIUMwandb/sdk/data_types/video.py41# Essentially, the issue is that moviepy's write_gif function fails to closeCOMMENT
MEDIUMwandb/sdk/launch/agent/agent.py914 # TODO: make get_status robust to errors for each runner, and handle themCOMMENT
LOWwandb/filesync/step_prepare.py66 low=1e-12, # 0 = "block forever", so just use something tinyCODE
TODO Padding9 hits · 14 pts
SeverityFileLineSnippetContext
LOWcore/internal/stream/handler.go319 // TODO: implement thisCOMMENT
LOWcore/internal/stream/sender.go387 // TODO: implement thisCOMMENT
LOWcore/internal/stream/sender.go945 // TODO: implement meCOMMENT
LOWxpu/src/wandb_internal.rs2121 /// TODO: implement cancel for paused opsCOMMENT
LOWxpu/src/main.rs286 // TODO: implementCOMMENT
LOWtests/system_tests/test_core/test_telemetry_full.py6# TODO: implement the telemetry context resolverCOMMENT
LOWwandb/sdk/wandb_run.py3122 # TODO: implement offline mode + syncCOMMENT
LOWwandb/sdk/launch/runner/vertex_runner.py38 # TODO: implementCOMMENT
LOWwandb/sdk/internal/datastore.py83 # TODO: implementCOMMENT
Synthetic Comment Markers2 hits · 8 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md254We are using [prek hooks](https://prek.j178.dev/) to manage our linters and other auto-generated code.CODE
HIGHwandb/integration/sacred/__init__.py33 monitor_gym — A boolean indicating whether or not to log videos generated by OpenAI Gym; see Ray Tune (default: STRING
Overly Generic Function Names5 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/system_tests/test_core/test_public_api.py79 def helper(CODE
LOWtests/system_tests/test_core/test_public_api.py134 def helper(history: list | None = None, events: list | None = None):CODE
LOWtests/system_tests/test_core/test_public_api.py1134 def helper(CODE
LOWtests/system_tests/test_functional/conftest.py12 def helper(train_script_path: pathlib.Path, *args: Any) -> None:CODE
LOWwandb/sdk/internal/handler.py133 def handle_request(self, record: Record) -> None:CODE