AI Slop Code RIsk Monitor

wandb/wandb

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

15.5 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for wandb/wandb, a Python project with 11,274 GitHub stars. SynthScan examined 387,516 lines of code across 1663 source files, recording 5027 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 15.5 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

15.5
Adjusted Signal
15.5
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
11.3K
Stars
Python
Language
387.5K
Lines of Code
1.7K
Files
5.0K
Pattern Hits
2026-10-12
Scan Date
0.11
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 37.0/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 3269 finding(s).

Hallucinated Dependency & Supply Chain Risk 14.8/100 · LOW

Are imports declared and package/API names verified? 1196 finding(s).

Agent Over-Engineering Ratio 35.3/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 2795 finding(s).

PR Review Velocity Impact 56.5/100 · HIGH

Which changes need focused human review? 5027 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 10HIGH 180MEDIUM 222LOW 4615

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 5027 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers2197 hits · 2160 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.py319def local_testcontainer_registry(session: nox.Session) -> None:CODE
LOWnoxfile.py369 def get_release_tag_and_commit_hash(tags: list[str]):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.py122 def _remove_existing_package_dir(self) -> None:CODE
LOWtools/graphql_codegen/plugin.py140 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.py84def _strip_dynamic_elf_metadata(CODE
LOW⚡tests/conftest.py48def setup_wandb_env_variables() -> Generator[None]: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_respects_max_retries(self):CODE
LOWtests/unit_tests/test_retry.py170 def test_respects_max_sleep_if_smaller_than_initial_sleep(CODE
LOWtests/unit_tests/test_wandb_clean.py56def test_force_skips_confirmation(wandb_dir: pathlib.Path, runner: CliRunner):CODE
LOWtests/unit_tests/test_wandb_clean.py86def test_skips_runs_created_within_the_hour(CODE
LOWtests/unit_tests/test_wandb_clean.py146def test_include_unsynced_mixed(wandb_dir: pathlib.Path, runner: CliRunner):CODE
LOWtests/unit_tests/test_wandb_clean.py166def test_reports_rmtree_errors(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_weave_integration.py15def test_active_run_path__returns_path(mock_singleton):CODE
LOWtests/unit_tests/test_weave_integration.py31def test_active_run_path__no_run(mock_singleton):CODE
LOWtests/unit_tests/test_weave_integration.py51def test_active_run_path__empty_attr(mock_singleton, entity, project, run_id):CODE
LOWtests/unit_tests/test_error_util.py14def test_protobuf_error_handler(error, expected):CODE
LOWtests/unit_tests/test_error_util.py19def test_protobuf_error_handler_exception():CODE
LOWtests/unit_tests/test_wb_logging.py24def test_filters_log_messages(tmp_path: pathlib.Path):CODE
LOWtests/unit_tests/test_history_value.py55def test_typed_value_logged_float_stays_a_float():CODE
LOWtests/unit_tests/test_history_value.py66def test_typed_value_infinities(value):CODE
LOWtests/unit_tests/test_history_value.py107def test_typed_value_numpy_scalars():CODE
LOWtests/unit_tests/test_history_value.py120def test_typed_value_numpy_array_is_json():CODE
LOWtests/unit_tests/test_history_value.py133def test_json_form_is_unchanged_by_the_typed_form(value):CODE
LOW⚡tests/unit_tests/test_history_value.py144def test_json_form_is_shared_with_the_json_case():CODE
LOW⚡tests/unit_tests/test_history_value.py152def test_neither_form_leaves_the_item_empty():CODE
LOW⚡tests/unit_tests/test_history_value.py160def test_json_form_only_does_not_set_the_typed_value():CODE
LOW⚡tests/unit_tests/test_history_value.py168def test_typed_form_only_does_not_set_the_json_value():CODE
LOWtests/unit_tests/test_history_value.py192def test_publish_partial_history_honors_the_setting(CODE
LOWtests/unit_tests/test_history_value.py211def test_publish_partial_history_defaults_to_json_only(mock_run, record_q):CODE
LOWtests/unit_tests/test_cli_beta_core.py38def test_core_start_prints_service_value(monkeypatch) -> None:CODE
2137 more matches not shown…
Unused Imports1124 hits · 984 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_asyncio_compat.py1CODE
LOWtests/unit_tests/test_history_value.py3CODE
LOWtests/unit_tests/test_cli_beta_core.py1CODE
LOWtests/unit_tests/test_pydantic_helpers.py3CODE
LOWtests/unit_tests/test_eval_table_media_ces.py1CODE
LOWtests/unit_tests/test_eval_table.py3CODE
LOWtests/unit_tests/test_optuna_scheduler.py1CODE
LOWtests/unit_tests/test_term.py1CODE
LOWtests/unit_tests/test_weave_media_adapters.py3CODE
LOWtests/unit_tests/test_eval_table_ces.py3CODE
LOWtests/unit_tests/test_sweep_scheduler.py9CODE
LOWtests/unit_tests/test_wandb_summary.py3CODE
LOWtests/unit_tests/test_eval_table_weave.py3CODE
LOWtests/unit_tests/test_weave.py1CODE
LOWtests/unit_tests/test_cli_leet.py1CODE
LOWtests/unit_tests/test_normalize.py1CODE
LOWtests/unit_tests/test_ax_scheduler.py1CODE
LOWtests/unit_tests/test_registries/test_utils.py1CODE
LOWtests/unit_tests/test_registries/test_addonly_list.py1CODE
LOWtests/unit_tests/test_launch/test_git_reference.py3CODE
LOWtests/unit_tests/test_filters/test_validation.py1CODE
LOWtests/unit_tests/test_filters/_strategies.py3CODE
LOWtests/unit_tests/test_filters/test_filters.py1CODE
LOW…ts/test_public_api/test_registries_ordered_versions.py1CODE
LOWtests/unit_tests/test_wandb_agent/conftest.py3CODE
LOWtests/unit_tests/test_wandb_agent/test_cli_agent.py1CODE
LOWtests/unit_tests/test_wandb_agent/test_pyagent.py3CODE
LOW…test_wandb_agent/scripts/train_with_import_readline.py13CODE
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_scopes.py1CODE
LOWtests/unit_tests/test_automations/test_events.py3CODE
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
1064 more matches not shown…
Over-Commented Block671 hits · 516 pts
SeverityFileLineSnippetContext
LOWpyproject.toml381reportImplicitStringConcatenation = "hint"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/graphql_codegen/plugin.py241 constraints := self._parse_constraints(gql_field)COMMENT
LOWcore/cmd/wandb-core/main.go1// Command wandb-core provides the W&B SDK core service and the "leet" terminal UICOMMENT
LOWcore/internal/clients/retry_policy.go41COMMENT
LOWcore/internal/settings/settings.go361// For example, if the script is /home/user/project/example.py, and the rootCOMMENT
LOWcore/internal/wboperation/wboperation.go1// Package wboperation is used to track the progress and status of async tasksCOMMENT
LOWcore/internal/wboperation/wboperation.go281COMMENT
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// The zero value reads the real /proc/self. Tests redirect procRoot at aCOMMENT
LOWcore/internal/monitor/cgroup.go81// be read live because it is what we are measuring; MemoryStats reads itCOMMENT
LOWcore/internal/monitor/cgroup.go101 // whose cpu.max sets a quota. Empty when no quota applied at startup;COMMENT
LOWcore/internal/monitor/cgroup.go181 // detectCgroupResourceLimits gives up in that case because we cannotCOMMENT
LOWcore/internal/monitor/cgroup.go361 return float64(quota) / float64(period)COMMENT
LOWcore/internal/monitor/cgroup.go401// minPositive returns the smaller of two CPU-limit values, treating zeroCOMMENT
LOWcore/internal/monitor/cgroup.go421 return min(a, b)COMMENT
LOWcore/internal/monitor/cgroup.go441// bind-mount tricks), the cgroup path is appended to the mountpointCOMMENT
LOWcore/internal/monitor/cgroup.go521 if value, err := strconv.ParseUint(fields[1], 10, 64); err == nil {COMMENT
LOWcore/internal/monitor/dcgm_exporter.go21// from a Prometheus API endpoint.COMMENT
LOWcore/internal/monitor/trainium.go241COMMENT
LOWcore/internal/watcher/watcher_test.go61 // flaky and slow tests. The tests in this function are carefully designedCOMMENT
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.go601 defer s.logger.Reraise("stream")COMMENT
LOWcore/internal/stream/handler_test.go861 "_runtime": "0.000000",COMMENT
LOWcore/internal/stream/handler_test.go881 // items: map[string]string{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/units.go201// FormatXAxisTick returns human-friendly representation of an X axis tick value.COMMENT
LOWcore/internal/leet/configeditorfields.go21//COMMENT
LOWcore/internal/leet/run.go61 // isLoading controls whether the loading screen is displayed.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
611 more matches not shown…
Decorative Section Separators136 hits · 466 pts
SeverityFileLineSnippetContext
MEDIUMtools/graphql_codegen/plugin_utils.py95# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/graphql_codegen/plugin_utils.py100# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/conftest.py42# --------------------------------COMMENT
MEDIUM⚡tests/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.py29# --------------------------------COMMENT
MEDIUMtests/unit_tests/conftest.py31# --------------------------------COMMENT
MEDIUMtests/unit_tests/test_pydantic_helpers.py309# ------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_pydantic_helpers.py353# ------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_wandb_settings.py434# --------------------------COMMENT
MEDIUMtests/unit_tests/test_wandb_settings.py436# --------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_wandb_save.py8# ----------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_wandb_save.py10# ----------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_kfp.py116# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_kfp.py118# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_kfp.py219# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_kfp.py221# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_kfp.py329# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_kfp.py331# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_kfp.py536# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_kfp.py538# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_kfp.py623# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_kfp.py625# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_kfp.py698# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_kfp.py700# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_kfp.py723# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/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
MEDIUM⚡tests/unit_tests/test_wandb_log.py4# ----------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_wandb_log.py6# ----------------------------------COMMENT
MEDIUMtests/unit_tests/test_filters/_strategies.py23# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_filters/test_filters.py55# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_filters/test_filters.py183# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_filters/test_filters.py308# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_filters/test_filters.py271# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py57# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py59# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py74# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py76# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py283# ------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py296# ------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py452# ------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/_strategies.py62# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/_strategies.py86# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/test_run_events.py501# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_automations/test_events.py80 # ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_automations/test_events.py90 # ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/test_events.py122 # ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_automations/test_automations.py53 # ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/test_automations/test_automations.py61 # ------------------------------------------------------------------------------COMMENT
76 more matches not shown…
Docstring Block Structure92 hits · 458 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.py74Returns the path to the arrow-rs-wrapper library. Args: cargo_output: The output from `cargo build` with STRING
HIGHwandb/util.py1631Parse a time period string and return seconds. Args: time_str: Time period string like "10s", "5m", "8h", "STRING
HIGHwandb/apis/public/service_api.py147Execute a GraphQL operation through the wandb-core sidecar. The query is sent to wandb-core, which performs theSTRING
HIGHwandb/apis/public/service_api.py202Verify credentials with the W&B server and identify their account. The credentials come from the settings this STRING
HIGHwandb/apis/public/service_api.py235Fetch the access token for the session credentials, if any. A token exists only when using federated identity, STRING
HIGHwandb/apis/public/api.py323Create a new run queue in W&B Launch. Args: name: Name of the queue to create type: TypSTRING
HIGHwandb/apis/public/api.py446Create a custom chart preset and return its id. Args: entity: The entity (user or team) that owns tSTRING
HIGHwandb/apis/public/api.py528Upsert a run queue in W&B Launch. Args: name: Name of the queue to create entity: OptioSTRING
HIGHwandb/apis/public/api.py731Return a run, sweep, project or report from a path. Args: path: The path to the project, run, sweepSTRING
HIGHwandb/apis/public/api.py960Get reports for a given project path. Note: `wandb.Api.reports()` API is in beta and will likely change in STRING
HIGHwandb/apis/public/api.py1139Returns a `Runs` object, which lazily iterates over `Run` objects. Fields you can filter by include: - STRING
HIGHwandb/apis/public/api.py1267Return a single run by parsing path in the form `entity/project/run_id`. Args: path: Path to run inSTRING
HIGHwandb/apis/public/api.py1487Returns a single artifact collection by type. You can use the returned `ArtifactCollection` object to retrieve STRING
HIGHwandb/apis/public/api.py1570Return an `Artifacts` collection. Args: type_name: The type of artifacts to fetch. nameSTRING
HIGHwandb/apis/public/api.py1716Returns a single artifact. Args: name: The artifact's name. The name of an artifact resembles a STRING
HIGHwandb/apis/public/api.py1858Whether an artifact version exists within the specified project and entity. Args: name: The name ofSTRING
HIGHwandb/apis/public/api.py1896Whether an artifact collection exists within a specified project and entity. Args: name: An artifacSTRING
HIGHwandb/apis/public/api.py1937Returns a lazy iterator of `Registry` objects. Use the iterator to search and filter registries, collections, STRING
HIGHwandb/apis/public/api.py2041Return a registry given a registry name. Args: name: The name of the registry. This is without the STRING
HIGHwandb/apis/public/api.py2093Create a new registry. Args: name: The name of the registry. Name must be unique within the organizSTRING
HIGHwandb/apis/public/api.py2191Returns an iterator of webhook integrations for an entity. Args: entity: The entity (e.g. team nameSTRING
HIGHwandb/apis/public/api.py2235Returns an iterator of Slack integrations for an entity. Args: entity: The entity (e.g. team name) STRING
HIGHwandb/apis/public/api.py2282Returns the only Automation matching the parameters. Args: name: The name of the automation to fetcSTRING
HIGHwandb/apis/public/api.py2322Returns an iterator over all Automations that match the given parameters. If no parameters are provided, the reSTRING
HIGHwandb/apis/public/api.py2386Create a new Automation. Args: obj: The automation to create. fetch_exiSTRING
HIGHwandb/apis/public/api.py2499Update an existing automation. Args: obj: The automation to update. Must be an existing automationSTRING
HIGHwandb/apis/public/sweeps.py512Enqueue a run for the sweep. Args: config: The config for the run. display_name: The opSTRING
HIGHwandb/apis/public/runs.py889Load run data using appropriate fragment based on lazy mode. Args: force: If True, re-fetch the runSTRING
HIGHwandb/apis/public/runs.py999Update the state of a run. Supported transitions: - to `pending` from `running`, `failed`, `crashedSTRING
HIGHwandb/apis/public/runs.py1180Return the run's captured console output. While a run is running, W&B captures what its process writes to STRING
HIGHwandb/apis/public/runs.py1798Download any parquet history files for the run to the provided directory. Args: download_dir: The dSTRING
HIGHwandb/apis/public/registries/registry.py288Create a new registry. The registry name must be unique within the organization. This function should bSTRING
HIGHwandb/apis/public/registries/registry.py546Adds users or teams to this registry. Args: members: The users or teams to add to the registry. AccSTRING
HIGHwandb/apis/public/registries/registry.py603Removes users or teams from this registry. Args: members: The users or teams to remove from the regSTRING
HIGHwandb/apis/public/registries/registry.py662Updates 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.py294Convert 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.py1011Save 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.py1673Upload run data. Use `log` to log data from runs, such as scalars, images, video, histograms, plots, anSTRING
HIGHwandb/sdk/wandb_run.py2089Materialize matched files into the run's files/ dir for syncing. Strategy: 1) If settings.symlink is TrSTRING
HIGHwandb/sdk/wandb_run.py2985Link the artifact to a collection. The term “link” refers to pointers that connect where W&B stores the STRING
HIGHwandb/sdk/wandb_run.py3062Declare 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.py3490Logs 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.py3522Download the files logged in a model artifact 'name'. Args: name: A model artifact name. 'name' musSTRING
HIGHwandb/sdk/wandb_run.py3568Log a model artifact version and link it to a registered model in the model registry. Linked model versions areSTRING
HIGHwandb/sdk/wandb_run.py4047Download the specified file from cloud storage. File is placed into the current directory or run directory. By STRING
HIGHwandb/sdk/wandb_init.py1217Start 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.py1558Validate 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.py31Log 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.py1444Get the WBValue object located at the artifact relative `name`. Args: name: The artifact relative nSTRING
HIGHwandb/sdk/artifacts/artifact.py1458Add `item` to the artifact at path `name`. Args: name: The path within the artifact to add the objeSTRING
32 more matches not shown…
Empty Error Handlers50 hits · 250 pts
SeverityFileLineSnippetContext
HIGHtools/local_wandb_server.py339except requests.ConnectionError:CODE
HIGHcore/hatch.py115except subprocess.CalledProcessError:CODE
HIGHtests/unit_tests/test_wandb_init.py106except FileNotFoundError:CODE
HIGHtests/system_tests/test_launch/test_wandb_controller.py47except AssertionError:CODE
HIGH…m_tests/test_notebooks/test_jupyter_server/conftest.py132except Exception:CODE
HIGH…m_tests/test_notebooks/test_jupyter_server/conftest.py147except Exception:CODE
HIGH…m_tests/test_notebooks/test_jupyter_server/conftest.py93except requests.ConnectionError:CODE
HIGH…/system_tests/test_automations/test_automations_api.py575except CommError:CODE
HIGHtests/system_tests/test_artifacts/test_artifact_cli.py48except OSError:CODE
HIGHtests/system_tests/test_artifacts/test_artifact_cli.py80except OSError:CODE
HIGHtests/system_tests/test_functional/dspy/test_dspy.py44except Exception:CODE
HIGHwandb/util.py577except AttributeError:CODE
HIGHwandb/util.py582except RuntimeError:CODE
HIGHwandb/wandb_agent.py702except OSError:CODE
HIGHwandb/wandb_agent.py685except OSError: # if process is already deadCODE
HIGHwandb/wandb_agent.py691except OSError: # if process is already deadCODE
HIGHwandb/wandb_agent.py499except OSError:CODE
HIGHwandb/wandb_agent.py507except OSError:CODE
HIGHwandb/apis/public/teams.py130except WandbApiFailedError:CODE
HIGHwandb/apis/public/summary.py258except KeyError:CODE
HIGHwandb/apis/public/runs.py662except OSError:CODE
HIGHwandb/apis/public/runs.py874except (TypeError, AttributeError):CODE
HIGHwandb/apis/public/runs.py1743except: # noqa: E722CODE
HIGHwandb/integration/keras/callbacks/model_checkpoint.py158except ValueError:CODE
HIGHwandb/integration/ultralytics/classification_utils.py81except Exception:CODE
HIGHwandb/integration/ultralytics/bbox_utils.py213except TypeError:CODE
HIGHwandb/integration/ultralytics/mask_utils.py198except TypeError:CODE
HIGHwandb/cli/beta.py228except ImportError:CODE
HIGHwandb/sdk/wandb_run.py4101except AttributeError:CODE
HIGHwandb/sdk/wandb_init.py597except OSError:CODE
HIGHwandb/sdk/wandb_init.py983except TimeoutError:CODE
HIGHwandb/sdk/wandb_init.py591except OSError:CODE
HIGHwandb/sdk/wandb_setup.py141except ValueError:CODE
HIGHwandb/sdk/artifacts/artifact_file_cache.py178except OSError:CODE
HIGHwandb/sdk/artifacts/artifact_file_cache.py154except OSError:CODE
HIGHwandb/sdk/artifacts/storage_policies/_multipart.py125except Full:CODE
HIGHwandb/sdk/launch/_launch.py180except asyncio.CancelledError:CODE
HIGHwandb/sdk/launch/create_job.py486except FileNotFoundError:CODE
HIGHwandb/sdk/sweeps/scheduler/ax.py473except Exception:CODE
HIGHwandb/sdk/lib/redirect.py394except Exception:CODE
HIGHwandb/sdk/lib/redirect.py565except Exception:CODE
HIGHwandb/sdk/lib/redirect.py811except Exception:CODE
HIGHwandb/sdk/lib/redirect.py870except Exception:CODE
HIGHwandb/sdk/lib/redirect.py817except Exception:CODE
HIGHwandb/sdk/lib/filesystem.py77except (ValueError, NotADirectoryError):CODE
HIGHwandb/sdk/lib/filesystem.py519except (OSError, NotImplementedError):CODE
HIGHwandb/sdk/lib/filesystem.py527except OSError:CODE
HIGHwandb/sdk/lib/import_hooks.py159except AttributeError:CODE
HIGHwandb/sdk/lib/gitlib.py346except GitCommandError:CODE
HIGHwandb/sdk/lib/hashutil.py140except ValueError:CODE
Self-Referential Comments68 hits · 196 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.py643 # Create a test file with the specified ageCOMMENT
MEDIUMtests/unit_tests/test_automations/test_run_events.py353 # Create the base zscore filterCOMMENT
MEDIUMtests/unit_tests/test_artifacts/test_storage.py504# # 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.py221 # Create a directory at the .netrc file path.STRING
MEDIUMtests/system_tests/backend_fixtures.py230 # Create the new org.COMMENT
MEDIUMtests/system_tests/test_registries/test_registry.py175 # Create the first registryCOMMENT
MEDIUMtests/system_tests/test_sweep/test_sweep_public_api.py102 # Create a sweep runSTRING
MEDIUMtests/system_tests/test_automations/conftest.py142 # Create the project first if it doesn't exist yetCOMMENT
MEDIUM…/system_tests/test_automations/test_automations_api.py113 # Create a webhook integration only to check that it's omitted from slack_integrations()COMMENT
MEDIUM…/system_tests/test_automations/test_automations_api.py948 # Create the placeholder project for the automationCOMMENT
MEDIUM…/system_tests/test_automations/test_automations_api.py952 # 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.py480 # Create the original file to add to the artifactCOMMENT
MEDIUM⚡…/system_tests/test_artifacts/test_object_references.py485 # Create an artifact with such file storedCOMMENT
MEDIUM⚡…/system_tests/test_artifacts/test_object_references.py493 # Create an middle artifact with such file referenced (notice no need to download)COMMENT
MEDIUM⚡…/system_tests/test_artifacts/test_object_references.py554 # Create the original file to add to the artifactCOMMENT
MEDIUM⚡…/system_tests/test_artifacts/test_object_references.py559 # Create a super important fileCOMMENT
MEDIUM⚡…/system_tests/test_artifacts/test_object_references.py567 # Create an middle artifact with such file referenced (notice no need to download)COMMENT
MEDIUM⚡…/system_tests/test_artifacts/test_object_references.py577 # Create a downstream artifact that is referencing the middle's referenceCOMMENT
MEDIUM⚡…/system_tests/test_artifacts/test_object_references.py644 # Create an artifact with such file storedCOMMENT
MEDIUM⚡…/system_tests/test_artifacts/test_object_references.py652 # Create an middle artifact with such file referenced (notice no need to download)COMMENT
MEDIUM…/system_tests/test_artifacts/test_object_references.py505 # Create a downstream artifact that is referencing the middle's referenceCOMMENT
MEDIUM⚡…ystem_tests/test_artifacts/test_artifact_public_api.py773 # Create a run and log an artifactCOMMENT
MEDIUM…ystem_tests/test_artifacts/test_artifact_public_api.py455 # 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.py397 # Create the second reference artifact and log itCOMMENT
MEDIUM⚡…ts/system_tests/test_artifacts/test_wandb_artifacts.py411 # Create the second reference artifact and log itCOMMENT
MEDIUM⚡…ts/system_tests/test_artifacts/test_wandb_artifacts.py425 # Create the second reference artifact and log itCOMMENT
MEDIUM⚡…ts/system_tests/test_artifacts/test_wandb_artifacts.py438 # Create the second reference artifact and log itCOMMENT
MEDIUM…ts/system_tests/test_artifacts/test_wandb_artifacts.py366 # Create the reference artifact and log it while bypassing the checksumCOMMENT
MEDIUMtests/system_tests/test_core/test_wandb_init.py146 _ = user # Create a fake user on the backend server.CODE
MEDIUMtests/system_tests/test_core/test_git.py154 # Create a feature branch tracking origin/mainCOMMENT
MEDIUM⚡tests/system_tests/test_core/test_resume.py13 _ = user # Create a fake user for the test.CODE
MEDIUM⚡tests/system_tests/test_core/test_resume.py22 _ = user # Create a fake user for the test.CODE
MEDIUM⚡tests/system_tests/test_core/test_resume.py48 _ = 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.py178 # This file is not actually the same as the notebook file.COMMENT
MEDIUMwandb/apis/public/api.py471 # Define a simple bar chart specificationCOMMENT
MEDIUMwandb/apis/public/api.py482 # 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.py587 # Initialize telemetry objectCOMMENT
MEDIUMwandb/sdk/wandb_run.py3021 # Create an artifact objectSTRING
MEDIUMwandb/sdk/wandb_init.py1455 # Create a temporary telemetry recorder while do not know run specific settings,STRING
8 more matches not shown…
Excessive Try-Catch Wrapping190 hits · 196 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
LOW…test_wandb_agent/scripts/train_with_import_readline.py24 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…ts/system_tests/test_sweep/test_sweep_scheduler_e2e.py137 except Exception as e:CODE
MEDIUM…ts/system_tests/test_sweep/test_sweep_scheduler_e2e.py134def drive() -> None: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.py177 except Exception:CODE
LOWwandb/util.py1073 except Exception as e:CODE
LOWwandb/wandb_agent.py577 except Exception:CODE
MEDIUMwandb/wandb_agent.py352def _run_loop(self, agent_id):CODE
LOWwandb/jupyter.py265 except Exception:CODE
LOWwandb/jupyter.py316 except Exception:CODE
LOWwandb/jupyter.py373 except Exception:CODE
LOWwandb/jupyter.py396 except Exception:CODE
LOWwandb/jupyter.py509 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.py248 except Exception:CODE
LOWwandb/apis/public/sweeps.py831 except Exception as e:CODE
LOWwandb/apis/public/sweeps.py1016 except Exception:STRING
LOWwandb/apis/public/registries/registry.py337 except Exception as e:CODE
LOWwandb/apis/public/registries/registry.py367 except Exception as e:CODE
LOWwandb/apis/public/registries/registry.py388 except Exception as e:CODE
LOWwandb/apis/public/registries/registry.py446 except Exception as e:CODE
LOWwandb/apis/public/registries/_utils.py297 except Exception: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.py350 except Exception:CODE
LOWwandb/agents/pyagent.py387 except Exception as e:CODE
LOWwandb/agents/pyagent.py398 except Exception as e:CODE
MEDIUMwandb/agents/pyagent.py360def _run_job(self, job):CODE
LOWwandb/cli/beta_core.py96 except Exception as e:CODE
130 more matches not shown…
Modern Structural Boilerplate167 hits · 169 pts
SeverityFileLineSnippetContext
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_sweep_scheduler.py747 def update_generator_state(self, experiment: Any, data: Any) -> None:CODE
LOWtests/unit_tests/test_wandb_summary.py25 def update_callback(self, summary_record: SummaryRecord) -> None:CODE
LOWtests/system_tests/test_registries/conftest.py210def 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.py461def set_entity(value: str, env: MutableMapping | None = None) -> None:CODE
LOWwandb/env.py467def set_project(value: str, env: MutableMapping | None = None) -> None:CODE
LOWwandb/util.py57logger = logging.getLogger(__name__)CODE
LOWwandb/wandb_run.py8__all__ = ["Run"]CODE
LOWwandb/data_types.py40__all__ = [CODE
LOWwandb/wandb_agent.py27logger = logging.getLogger(__name__)CODE
LOWwandb/jupyter.py25logger = logging.getLogger(__name__)CODE
LOWwandb/docker/__init__.py274__all__ = [CODE
LOWwandb/apis/__init__.py45__all__ = ["Api"]CODE
LOWwandb/apis/paginator.py78 def update_variables(self) -> None:CODE
LOWwandb/apis/paginator.py94 def _update_response(self) -> None:CODE
LOWwandb/apis/public/files.py164 def _update_response(self) -> None:STRING
LOWwandb/apis/public/files.py221 def update_variables(self) -> None:CODE
LOWwandb/apis/public/jobs.py200 def set_entrypoint(self, entrypoint: list[str]) -> None:CODE
LOWwandb/apis/public/api.py74logger = logging.getLogger(__name__)CODE
LOWwandb/apis/public/api.py1700 def _set_artifact_save_handle(self, artifact: Artifact, handle: Any) -> None:CODE
LOWwandb/apis/public/automations.py65 def _update_response(self) -> None:CODE
LOWwandb/apis/public/automations.py193 def _update_response(self) -> None:CODE
LOWwandb/apis/public/reports.py136 def update_variables(self) -> None:STRING
LOWwandb/apis/public/console_logs.py132 def update_variables(self) -> None:CODE
LOWwandb/apis/public/console_logs.py142 def _update_response(self) -> None:CODE
LOWwandb/apis/public/sweeps.py56logger = logging.getLogger(__name__)CODE
LOWwandb/apis/public/sweeps.py136 def _update_response(self) -> None:CODE
LOWwandb/apis/public/artifacts.py118 def _update_response(self) -> None:CODE
LOWwandb/apis/public/artifacts.py181 def _update_response(self) -> None:CODE
LOWwandb/apis/public/artifacts.py404 def _update_response(self) -> None:CODE
LOWwandb/apis/public/artifacts.py512 def _update_response(self) -> None:CODE
LOWwandb/apis/public/artifacts.py581 def _update_data(self, fragment: ArtifactCollectionFragment) -> None:CODE
LOWwandb/apis/public/artifacts.py797 def _update_collection(self) -> None:CODE
LOWwandb/apis/public/artifacts.py826 def _update_sequence_type(self) -> None:CODE
LOWwandb/apis/public/artifacts.py1005 def _update_response(self) -> None:CODE
LOWwandb/apis/public/artifacts.py1107 def _update_response(self) -> None:CODE
LOWwandb/apis/public/artifacts.py1190 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.py520 def _update_response(self) -> None:CODE
LOWwandb/apis/public/runs.py527 def update_variables(self) -> None:CODE
LOWwandb/apis/public/integrations.py52 def _update_response(self) -> None:CODE
LOWwandb/apis/public/registries/registry.py66 def _update_attributes(self, fragment: RegistryFragment) -> None:CODE
LOWwandb/apis/public/registries/__init__.py1__all__ = [CODE
LOWwandb/apis/public/registries/registries_search.py361 def _update_response(self) -> None:CODE
LOWwandb/apis/public/registries/registries_search.py505 def _update_response(self) -> None:CODE
LOWwandb/apis/public/registries/registries_search.py613 def _update_response(self) -> None:CODE
LOWwandb/apis/public/registries/_utils.py22logger = logging.getLogger(__name__)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
107 more matches not shown…
Deep Nesting162 hits · 147 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.py43CODE
LOWtests/unit_tests/test_data_types.py34CODE
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.py73CODE
LOWwandb/util.py210CODE
LOWwandb/util.py557CODE
LOWwandb/util.py800CODE
LOWwandb/util.py820CODE
LOWwandb/util.py927CODE
LOWwandb/util.py1387CODE
LOWwandb/wandb_controller.py130CODE
LOWwandb/wandb_agent.py216CODE
LOWwandb/wandb_agent.py352CODE
LOWwandb/wandb_agent.py457CODE
LOWwandb/wandb_agent.py558CODE
LOWwandb/wandb_agent.py675CODE
LOWwandb/jupyter.py425CODE
LOWwandb/apis/normalize.py19CODE
LOWwandb/apis/normalize.py23CODE
LOWwandb/apis/public/query_generator.py56CODE
LOWwandb/apis/public/query_generator.py70CODE
LOWwandb/apis/public/api.py730CODE
LOWwandb/apis/public/api.py805CODE
LOWwandb/apis/public/reports.py471CODE
LOWwandb/apis/public/reports.py491CODE
LOWwandb/apis/public/reports.py511CODE
LOWwandb/apis/public/reports.py597CODE
LOWwandb/apis/public/sweeps.py641CODE
LOWwandb/apis/public/runs.py846CODE
LOWwandb/apis/public/runs.py1722CODE
LOWwandb/plot/utils.py7CODE
LOWwandb/plot/utils.py126CODE
LOWwandb/integration/dspy/dspy.py234CODE
LOWwandb/integration/weave/media_adapters.py289CODE
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.py70CODE
LOWwandb/integration/tensorboard/log.py272CODE
LOWwandb/integration/prodigy/prodigy.py70CODE
102 more matches not shown…
Hallucination Indicators10 hits · 130 pts
SeverityFileLineSnippetContext
CRITICALCHANGELOG.md1066- Update the signature and docstring of `wandb.api.public.runs.Run.log_artifact()` to support artifact tags like `Run` iCODE
CRITICAL⚡core/pkg/service_go_proto/wandb_telemetry.pb.go1835 Artifact_GetPath bool `protobuf:"varint,11,opt,name=artifact__get_path,json=artifactGetPathCODE
CRITICAL⚡core/pkg/service_go_proto/wandb_telemetry.pb.go1836 Artifactmanifestentry_Name bool `protobuf:"varint,12,opt,name=artifactmanifestentry__name,json=artifaCODE
CRITICAL⚡core/pkg/service_go_proto/wandb_telemetry.pb.go1845 Artifact_UseAs bool `protobuf:"varint,26,opt,name=artifact__use_as,json=artifactUseAs,proto3" json:"artifact__useCODE
CRITICALxpu/src/wandb_internal.rs545 /// wandb.sdk.artifacts.artifact.Artifact.get_path(...) calledCOMMENT
CRITICALxpu/src/wandb_internal.rs548 /// wandb.sdk.artifacts.artifact_manifest_entry.ArtifactManifestEntry.name() calledCOMMENT
CRITICALxpu/src/wandb_internal.rs569 /// 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
Cross-File Repetition19 hits · 95 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/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/apis/public/artifacts.py0the graphql `internalid` for this registry's backing project, if fetched. this is a base64-encoded global id. when decodSTRING
HIGHwandb/sdk/artifacts/_models/artifact_collection.py0the graphql `internalid` for this registry's backing project, if fetched. this is a base64-encoded global id. when decodSTRING
HIGHwandb/apis/public/registries/registry.py0the graphql `internalid` for this registry's backing project, if fetched. this is a base64-encoded global id. when decodSTRING
HIGHwandb/sdk/artifacts/_models/registry.py0the graphql `internalid` for this registry's backing project, if fetched. this is a base64-encoded global id. when decodSTRING
HIGHwandb/sdk/data_types/object_3d.py0returns the json representation expected by the backend. <!-- lazydoc-ignore -->STRING
HIGHwandb/sdk/data_types/molecule.py0returns the json representation expected by the backend. <!-- lazydoc-ignore -->STRING
HIGHwandb/sdk/data_types/histogram.py0returns the json representation expected by the backend. <!-- lazydoc-ignore -->STRING
HIGHwandb/sdk/data_types/html.py0returns the json representation expected by the backend. <!-- lazydoc-ignore -->STRING
HIGHwandb/sdk/data_types/audio.py0returns the json representation expected by the backend. <!-- lazydoc-ignore -->STRING
HIGHwandb/sdk/data_types/table.py0returns the json representation expected by the backend. <!-- lazydoc-ignore -->STRING
HIGHwandb/sdk/data_types/video.py0returns the json representation expected by the backend. <!-- lazydoc-ignore -->STRING
HIGHwandb/sdk/data_types/image.py0returns the json representation expected by the backend. <!-- lazydoc-ignore -->STRING
HIGHwandb/sdk/data_types/eval_table/eval_table.py0returns the json representation expected by the backend. <!-- lazydoc-ignore -->STRING
Cross-Language Confusion17 hits · 80 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
HIGH⚡tests/unit_tests/test_lib/test_json_util.py232 '{"nested": {"x": null}}',CODE
HIGH⚡tests/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/cli/cli.py3314 $ wandb online && python train.pySTRING
HIGHwandb/cli/cli.py3335 $ wandb offline && python train.pySTRING
HIGHwandb/cli/cli.py3339 $ wandb offline && python train.pySTRING
HIGHwandb/sdk/launch/runner/kubernetes_runner.py1371 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.py235 deps_install_line = "pip install uv && uv pip install -r requirements.txt"CODE
HIGHwandb/sdk/launch/builder/build.py272 "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
Fake / Example Data45 hits · 46 pts
SeverityFileLineSnippetContext
LOWcore/internal/api/credentials_test.go109 token := "fake-token"CODE
LOWcore/internal/api/credentials_test.go161 server := authServer("fake-token", time.Hour)CODE
LOWcore/internal/api/credentials_test.go189 token := "fake-token"CODE
LOWcore/internal/api/credentials_test.go262 token := "fake-token"CODE
LOWcore/internal/api/credentials_test.go326 assert.Equal(t, "Bearer fake-token", calls[0].Header.Get("Authorization"))CODE
LOWcore/internal/api/credentials_test.go327 assert.Equal(t, "Bearer fake-token", calls[1].Header.Get("Authorization"))CODE
LOWcore/internal/api/credentials_test.go365 token := "fake-token"CODE
LOWcore/internal/api/credentials_test.go414 token := "fake-token"CODE
LOWcore/internal/api/credentials_test.go449 server := authServer("fake-token", time.Minute)CODE
LOWcore/internal/api/credentials_test.go666 authHandler("fake-token", time.Hour)(w, req)CODE
LOWcore/internal/api/credentials_test.go721 assert.Equal(t, "fake-token", token)CODE
LOWcore/internal/api/credentials_test.go734 server := authServer("fake-token", time.Hour)CODE
LOWcore/internal/api/credentials_test.go792 server := tlsAuthServer(t, "fake-token")CODE
LOWcore/internal/api/credentials_test.go820 "Bearer fake-token", reqs[0].Header.Get("Authorization"))CODE
LOWtests/conftest.py225 subprocess.run(["git", "config", "user.email", "test@test.com"], check=True)CODE
LOWtests/unit_tests/test_launch/test_git_reference.py58 run_git(path, "config", "user.email", "test@test.com")CODE
LOWtests/unit_tests/test_launch/test_git_reference.py226 run_git(submodule_src, "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
LOW⚡tests/system_tests/test_core/test_public_api.py1218 email = "test@test.com"CODE
LOW⚡tests/system_tests/test_core/test_public_api.py1236 email = "test@test.com"CODE
LOW⚡tests/system_tests/test_core/test_public_api.py1252 email = "test@test.com"CODE
LOW⚡tests/system_tests/test_core/test_public_api.py1301 email = "test@test.com"CODE
LOW⚡tests/system_tests/test_core/test_public_api.py1305 fake_key = "A" * 92CODE
LOW⚡tests/system_tests/test_core/test_public_api.py1306 api = Api(api_key=fake_key)CODE
LOW⚡tests/system_tests/test_core/test_public_api.py1310 assert user.user_api.api_key == fake_keyCODE
LOWtests/system_tests/test_core/test_public_api.py1117 name="fake-name",CODE
LOWtests/system_tests/test_core/test_public_api.py1166 email = "test@test.com"CODE
LOWtests/system_tests/test_core/test_public_api.py1180 email = "test@test.com"CODE
LOWtests/system_tests/test_core/test_public_api.py1282 email = "test@test.com"CODE
LOWwandb/apis/public/teams.py86 team.invite("user@example.com")STRING
LOWwandb/sdk/artifacts/artifact.py402 artifact = cls("placeholder", type="placeholder")CODE
LOWwandb/sdk/launch/_project_spec.py167 elif self.uri and self.uri.startswith("placeholder"):CODE
LOWwandb/sdk/launch/inputs/schema.py11 "placeholder": {"type": "string"},CODE
AI Structural Patterns36 hits · 35 pts
SeverityFileLineSnippetContext
LOWnoxfile.py367CODE
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.py291CODE
LOWwandb/wandb_agent.py708CODE
LOWwandb/apis/public/jobs.py204CODE
LOWwandb/apis/public/summary.py106CODE
LOWwandb/apis/public/sweeps.py682CODE
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.py3325CODE
LOWwandb/sdk/wandb_init.py1181CODE
LOWwandb/sdk/wandb_login.py20CODE
LOWwandb/sdk/wandb_login.py147CODE
LOWwandb/sdk/interface/interface_shared.py144CODE
LOWwandb/sdk/interface/interface_shared.py244CODE
LOWwandb/sdk/data_types/trace_tree.py208CODE
LOWwandb/sdk/data_types/trace_tree.py236CODE
LOWwandb/sdk/data_types/graph.py73CODE
LOWwandb/sdk/data_types/_dtypes.py749CODE
LOWwandb/sdk/data_types/table.py228CODE
LOWwandb/sdk/data_types/eval_table/eval_table.py53CODE
LOWwandb/sdk/launch/_launch.py184CODE
LOWwandb/sdk/launch/_launch.py260CODE
LOWwandb/sdk/launch/_launch_add.py38CODE
LOWwandb/sdk/launch/utils.py152CODE
LOWwandb/sdk/launch/create_job.py37CODE
LOWwandb/sdk/launch/create_job.py113CODE
LOWwandb/sdk/lib/redirect.py121CODE
LOWwandb/sdk/lib/proto_util.py43CODE
LOWwandb/sdk/lib/module.py7CODE
LOWwandb/sdk/lib/wbauth/authenticate.py68CODE
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.py782 # 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.py1243 # Check if we have cached resultsCOMMENT
LOWwandb/apis/public/utils.py33 # 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.py3345 # Check if artifact tags are supportedCOMMENT
LOWwandb/sdk/artifacts/_validators.py213 # Check if the artifact name is disallowed, based on the artifact typeCOMMENT
LOWwandb/sdk/artifacts/_validators.py220 # Check if the artifact type is disallowedCOMMENT
LOWwandb/sdk/artifacts/artifact_file_cache.py69 # Check if we're using vs skipping the cacheCOMMENT
LOWwandb/sdk/artifacts/artifact_file_cache.py88 # Check if we're using vs skipping the cacheCOMMENT
LOWwandb/sdk/data_types/table.py1380 # Check if this is an ArtifactManifestEntryCOMMENT
LOWwandb/sdk/lib/import_hooks.py67 # Check if the module is already imported. If not, register the hookCOMMENT
LOWwandb/_pydantic/pagination.py75 # Check if the field name (without the sign) is allowed and get the canonical nameCOMMENT
AI Slop Vocabulary10 hits · 19 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.py1236 # 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.py300 # not an event, just returnCOMMENT
MEDIUMwandb/cli/cli.py377 # 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.py931 # TODO: make get_status robust to errors for each runner, and handle themCOMMENT
TODO Padding8 hits · 11 pts
SeverityFileLineSnippetContext
LOWcore/internal/stream/handler.go324 // TODO: implement thisCOMMENT
LOWcore/internal/stream/sender.go453 // TODO: implement thisCOMMENT
LOWcore/internal/stream/sender.go1136 // TODO: implement meCOMMENT
LOWxpu/src/wandb_internal.rs2182 /// TODO: implement cancel for paused opsCOMMENT
LOWxpu/src/main.rs285 // TODO: implementCOMMENT
LOWtests/system_tests/test_core/test_telemetry_full.py6# TODO: implement the telemetry context resolverCOMMENT
LOWwandb/sdk/wandb_run.py3037 # TODO: implement offline mode + syncCOMMENT
LOWwandb/sdk/launch/runner/vertex_runner.py40 # 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 Names4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/system_tests/test_core/test_public_api.py81 def helper(CODE
LOWtests/system_tests/test_core/test_public_api.py136 def helper(history: list | None = None, events: list | None = None):CODE
LOWtests/system_tests/test_core/test_public_api.py1140 def helper(CODE
LOWtests/system_tests/test_functional/conftest.py12 def helper(train_script_path: pathlib.Path, *args: Any) -> None:CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWwandb/apis/public/registries/_utils.py33 # Don't forget to allow the canonical name itselfCOMMENT