Repository Analysis

wandb/wandb

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

15.5 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of wandb/wandb, a Python project with 11,243 GitHub stars. SynthScan v2.0 examined 374,545 lines of code across 1628 source files, recording 4947 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 15.5 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).

15.5
Adjusted Score
15.5
Raw Score
100%
Time Factor
2026-08-28
Last Push
11.2K
Stars
Python
Language
374.5K
Lines of Code
1.6K
Files
4.9K
Pattern Hits
2026-08-29
Scan Date
0.09
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 140MEDIUM 223LOW 4573

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 4947 distinct pattern matches across 20 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 Identifiers2131 hits · 2107 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/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.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_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_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
2071 more matches not shown…
Unused Imports1118 hits · 979 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
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.py34CODE
LOWtests/unit_tests/test_internal_api.py34CODE
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_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_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_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
1058 more matches not shown…
Over-Commented Block640 hits · 498 pts
SeverityFileLineSnippetContext
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/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/clients/retry_policy.go41COMMENT
LOWcore/internal/settings/settings.go341// Whether to disable SSL verification.COMMENT
LOWcore/internal/settings/settings.go361func (s *Settings) GetProgramRelativePath() string {COMMENT
LOWcore/internal/settings/settings.go421 return s.Proto.Username.GetValue()COMMENT
LOWcore/internal/settings/settings.go541}COMMENT
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// 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/trainium.go241COMMENT
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.go561COMMENT
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/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
580 more matches not shown…
Docstring Block Structure94 hits · 468 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.py1671Parse a time period string and return seconds. Args: time_str: Time period string like "10s", "5m", "8h", "STRING
HIGHwandb/apis/public/service_api.py143Execute a GraphQL operation through the wandb-core sidecar. The query is sent to wandb-core, which performs theSTRING
HIGHwandb/apis/public/service_api.py198Verify credentials with the W&B server and identify their account. The credentials come from the settings this STRING
HIGHwandb/apis/public/service_api.py231Fetch the access token for the session credentials, if any. A token exists only when using federated identity, STRING
HIGHwandb/apis/public/api.py341Create a new run queue in W&B Launch. Args: name: Name of the queue to create type: TypSTRING
HIGHwandb/apis/public/api.py464Create a custom chart preset and return its id. Args: entity: The entity (user or team) that owns tSTRING
HIGHwandb/apis/public/api.py546Upsert a run queue in W&B Launch. Args: name: Name of the queue to create entity: OptioSTRING
HIGHwandb/apis/public/api.py749Return a run, sweep, project or report from a path. Args: path: The path to the project, run, sweepSTRING
HIGHwandb/apis/public/api.py978Get reports for a given project path. Note: `wandb.Api.reports()` API is in beta and will likely change in STRING
HIGHwandb/apis/public/api.py1157Returns a `Runs` object, which lazily iterates over `Run` objects. Fields you can filter by include: - STRING
HIGHwandb/apis/public/api.py1285Return a single run by parsing path in the form `entity/project/run_id`. Args: path: Path to run inSTRING
HIGHwandb/apis/public/api.py1505Returns a single artifact collection by type. You can use the returned `ArtifactCollection` object to retrieve STRING
HIGHwandb/apis/public/api.py1588Return an `Artifacts` collection. Args: type_name: The type of artifacts to fetch. nameSTRING
HIGHwandb/apis/public/api.py1734Returns a single artifact. Args: name: The artifact's name. The name of an artifact resembles a STRING
HIGHwandb/apis/public/api.py1876Whether an artifact version exists within the specified project and entity. Args: name: The name ofSTRING
HIGHwandb/apis/public/api.py1914Whether an artifact collection exists within a specified project and entity. Args: name: An artifacSTRING
HIGHwandb/apis/public/api.py1955Returns a lazy iterator of `Registry` objects. Use the iterator to search and filter registries, collections, STRING
HIGHwandb/apis/public/api.py2059Return a registry given a registry name. Args: name: The name of the registry. This is without the STRING
HIGHwandb/apis/public/api.py2111Create a new registry. Args: name: The name of the registry. Name must be unique within the organizSTRING
HIGHwandb/apis/public/api.py2209Returns an iterator of webhook integrations for an entity. Args: entity: The entity (e.g. team nameSTRING
HIGHwandb/apis/public/api.py2253Returns an iterator of Slack integrations for an entity. Args: entity: The entity (e.g. team name) STRING
HIGHwandb/apis/public/api.py2300Returns the only Automation matching the parameters. Args: name: The name of the automation to fetcSTRING
HIGHwandb/apis/public/api.py2340Returns an iterator over all Automations that match the given parameters. If no parameters are provided, the reSTRING
HIGHwandb/apis/public/api.py2404Create a new Automation. Args: obj: The automation to create. fetch_exiSTRING
HIGHwandb/apis/public/api.py2517Update an existing automation. Args: obj: The automation to update. Must be an existing automationSTRING
HIGHwandb/apis/public/sweeps.py504Enqueue 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.py1767Download 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.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.py1022Save 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.py1689Upload run data. Use `log` to log data from runs, such as scalars, images, video, histograms, plots, anSTRING
HIGHwandb/sdk/wandb_run.py2105Materialize matched files into the run's files/ dir for syncing. Strategy: 1) If settings.symlink is TrSTRING
HIGHwandb/sdk/wandb_run.py2992Link the artifact to a collection. The term “link” refers to pointers that connect where W&B stores the STRING
HIGHwandb/sdk/wandb_run.py3069Declare 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.py3499Logs 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.py3531Download the files logged in a model artifact 'name'. Args: name: A model artifact name. 'name' musSTRING
HIGHwandb/sdk/wandb_run.py3577Log a model artifact version and link it to a registered model in the model registry. Linked model versions areSTRING
HIGHwandb/sdk/wandb_run.py4056Download the specified file from cloud storage. File is placed into the current directory or run directory. By STRING
HIGHwandb/sdk/wandb_init.py1221Start 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.py1497Validate 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.py30Log 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
34 more matches not shown…
Decorative Section Separators134 hits · 458 pts
SeverityFileLineSnippetContext
MEDIUMtools/graphql_codegen/plugin_utils.py95# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/graphql_codegen/plugin_utils.py100# ---------------------------------------------------------------------------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.py173# --------------------------------COMMENT
MEDIUMtests/unit_tests/conftest.py175# --------------------------------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
MEDIUMtests/unit_tests/test_wandb_settings.py447# --------------------------COMMENT
MEDIUMtests/unit_tests/test_wandb_settings.py449# --------------------------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_filters/_strategies.py23# ------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_filters/test_filters.py55# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_filters/test_filters.py183# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_filters/test_filters.py308# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_filters/test_filters.py271# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py57# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py72# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py74# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py281# ------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py294# ------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/test_automations/conftest.py450# ------------------------------------------------------------------------------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
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
74 more matches not shown…
Excessive Try-Catch Wrapping208 hits · 214 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/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.py214 except Exception:CODE
LOWwandb/util.py1108 except Exception as e:CODE
LOWwandb/wandb_agent.py574 except Exception:CODE
MEDIUMwandb/wandb_agent.py360def _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.py240 except Exception:CODE
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.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.py240 except Exception as e:CODE
LOWwandb/cli/cli.py1841 except Exception:CODE
148 more matches not shown…
Self-Referential Comments69 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.py584 # 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.py208 # 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_wandb_agent_full.py113 # 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.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.py398 # Create the second reference artifact and log itCOMMENT
MEDIUM…ts/system_tests/test_artifacts/test_wandb_artifacts.py412 # Create the second reference artifact and log itCOMMENT
MEDIUM…ts/system_tests/test_artifacts/test_wandb_artifacts.py426 # Create the second reference artifact and log itCOMMENT
MEDIUM…ts/system_tests/test_artifacts/test_wandb_artifacts.py439 # Create the second reference artifact and log itCOMMENT
MEDIUM…ts/system_tests/test_artifacts/test_wandb_artifacts.py367 # 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
MEDIUMtests/system_tests/test_core/test_resume.py13 _ = user # Create a fake user for the test.CODE
MEDIUMtests/system_tests/test_core/test_resume.py22 _ = user # Create a fake user for the test.CODE
MEDIUMtests/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.py489 # Define a simple bar chart specificationCOMMENT
MEDIUMwandb/apis/public/api.py500 # 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.py591 # Initialize telemetry objectCOMMENT
MEDIUMwandb/sdk/wandb_run.py3028 # Create an artifact objectSTRING
9 more matches not shown…
Modern Structural Boilerplate189 hits · 195 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_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.py462def set_entity(value: str, env: MutableMapping | None = None) -> None:CODE
LOWwandb/env.py468def set_project(value: str, env: MutableMapping | None = None) -> None:CODE
LOWwandb/util.py56logger = logging.getLogger(__name__)CODE
LOWwandb/wandb_run.py8__all__ = ["Run"]CODE
LOWwandb/data_types.py40__all__ = [CODE
LOWwandb/wandb_agent.py26logger = logging.getLogger(__name__)CODE
LOWwandb/jupyter.py25logger = logging.getLogger(__name__)CODE
LOWwandb/docker/__init__.py274__all__ = [CODE
LOWwandb/apis/internal.py108 def set_setting(self, key: str, value: Any) -> None:CODE
LOWwandb/apis/internal.py217__all__ = ["Api"]CODE
LOWwandb/apis/__init__.py50__all__ = ["InternalApi", "PublicApi"]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.py75logger = logging.getLogger(__name__)CODE
LOWwandb/apis/public/api.py1718 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.py128 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
129 more matches not shown…
Deep Nesting177 hits · 162 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.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.py73CODE
LOWwandb/util.py592CODE
LOWwandb/util.py835CODE
LOWwandb/util.py855CODE
LOWwandb/util.py962CODE
LOWwandb/util.py1422CODE
LOWwandb/wandb_controller.py129CODE
LOWwandb/wandb_agent.py226CODE
LOWwandb/wandb_agent.py360CODE
LOWwandb/wandb_agent.py456CODE
LOWwandb/wandb_agent.py555CODE
LOWwandb/wandb_agent.py674CODE
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.py748CODE
LOWwandb/apis/public/api.py823CODE
LOWwandb/apis/public/reports.py471CODE
LOWwandb/apis/public/reports.py491CODE
LOWwandb/apis/public/reports.py511CODE
LOWwandb/apis/public/reports.py597CODE
LOWwandb/apis/public/runs.py846CODE
LOWwandb/apis/public/runs.py1691CODE
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.py72CODE
LOWwandb/integration/tensorboard/log.py274CODE
LOWwandb/integration/prodigy/prodigy.py70CODE
LOWwandb/integration/prodigy/prodigy.py134CODE
LOWwandb/integration/prodigy/prodigy.py172CODE
117 more matches not shown…
Hallucination Indicators11 hits · 140 pts
SeverityFileLineSnippetContext
CRITICALCHANGELOG.md1005- 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.go1835 Artifact_GetPath bool `protobuf:"varint,11,opt,name=artifact__get_path,json=artifactGetPathCODE
CRITICALcore/pkg/service_go_proto/wandb_telemetry.pb.go1836 Artifactmanifestentry_Name bool `protobuf:"varint,12,opt,name=artifactmanifestentry__name,json=artifaCODE
CRITICALcore/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
CRITICALwandb/sdk/internal/internal_api.py2212 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.py121 return self.api.push(*args, **kwargs)CODE
HIGHwandb/apis/public/summary.py348 api.push(CODE
HIGHwandb/apis/public/runs.py1252 api.push({LogicalPath(upload_path): f})STRING
HIGHwandb/cli/cli.py3465 $ wandb online && python train.pySTRING
HIGHwandb/cli/cli.py3486 $ wandb offline && python train.pySTRING
HIGHwandb/cli/cli.py3490 $ 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.py1092 self._fs.push(filenames.HISTORY_FNAME, json.dumps(history_dict))CODE
HIGHwandb/sdk/internal/sender.py1119 self._fs.push(filenames.SUMMARY_FNAME, json_summary)CODE
HIGHwandb/sdk/internal/sender.py1147 self._fs.push(filenames.EVENTS_FNAME, json.dumps(row))CODE
HIGHwandb/sdk/internal/sender.py1291 self._fs.push(filenames.OUTPUT_FNAME, line)CODE
HIGHwandb/filesync/upload_job.py59 self.push()CODE
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/eval_table.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
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
LOWtests/system_tests/test_core/test_public_api.py1216 email = "test@test.com"CODE
LOWtests/system_tests/test_core/test_public_api.py1234 email = "test@test.com"CODE
LOWtests/system_tests/test_core/test_public_api.py1250 email = "test@test.com"CODE
LOWtests/system_tests/test_core/test_public_api.py1299 email = "test@test.com"CODE
LOWtests/system_tests/test_core/test_public_api.py1303 fake_key = "A" * 92CODE
LOWtests/system_tests/test_core/test_public_api.py1304 api = Api(api_key=fake_key)CODE
LOWtests/system_tests/test_core/test_public_api.py1308 assert user.user_api.api_key == fake_keyCODE
LOWtests/system_tests/test_core/test_public_api.py1115 name="fake-name",CODE
LOWtests/system_tests/test_core/test_public_api.py1164 email = "test@test.com"CODE
LOWtests/system_tests/test_core/test_public_api.py1178 email = "test@test.com"CODE
LOWtests/system_tests/test_core/test_public_api.py1280 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 Patterns41 hits · 40 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.py3334CODE
LOWwandb/sdk/wandb_init.py1185CODE
LOWwandb/sdk/wandb_login.py20CODE
LOWwandb/sdk/wandb_login.py138CODE
LOWwandb/sdk/interface/interface_shared.py144CODE
LOWwandb/sdk/interface/interface_shared.py244CODE
LOWwandb/sdk/artifacts/artifact_saver.py62CODE
LOWwandb/sdk/artifacts/artifact_saver.py102CODE
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/launch/_launch.py180CODE
LOWwandb/sdk/launch/_launch.py256CODE
LOWwandb/sdk/launch/_launch_add.py36CODE
LOWwandb/sdk/launch/utils.py154CODE
LOWwandb/sdk/launch/create_job.py34CODE
LOWwandb/sdk/launch/create_job.py108CODE
LOWwandb/sdk/internal/internal_api.py1618CODE
LOWwandb/sdk/internal/internal_api.py2546CODE
LOWwandb/sdk/internal/internal_api.py3220CODE
LOWwandb/sdk/internal/datastore.py278CODE
LOWwandb/sdk/lib/redirect.py121CODE
LOWwandb/sdk/lib/proto_util.py43CODE
LOWwandb/sdk/lib/module.py7CODE
LOWwandb/sync/sync.py43CODE
LOWwandb/sync/sync.py335CODE
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.py1261 # Check if we have cached resultsCOMMENT
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.py3354 # 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 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.py1237 # 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.py302 # not an event, just returnCOMMENT
MEDIUMwandb/cli/cli.py379 # 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.py929 # 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 · 13 pts
SeverityFileLineSnippetContext
LOWcore/internal/stream/handler.go323 // TODO: implement thisCOMMENT
LOWcore/internal/stream/sender.go401 // TODO: implement thisCOMMENT
LOWcore/internal/stream/sender.go1011 // TODO: implement meCOMMENT
LOWxpu/src/wandb_internal.rs2152 /// 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.py3044 # 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.py1138 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
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWwandb/apis/public/registries/_utils.py33 # Don't forget to allow the canonical name itselfCOMMENT