Repository Analysis

tensorflow/tensorboard

TensorFlow's Visualization Toolkit

11.1 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of tensorflow/tensorboard, a TypeScript project with 7,197 GitHub stars. SynthScan v2.0 examined 304,509 lines of code across 1548 source files, recording 1777 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 11.1 places this repository in the Low 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).

11.1
Adjusted Score
11.1
Raw Score
100%
Time Factor
2026-07-30
Last Push
7.2K
Stars
TypeScript
Language
304.5K
Lines of Code
1.5K
Files
1.8K
Pattern Hits
2026-08-02
Scan Date
0.10
HC Hit Rate

What These Metrics Mean

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

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 49HIGH 113MEDIUM 354LOW 1261

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 1777 distinct pattern matches across 22 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.

Decorative Section Separators324 hits · 972 pts
SeverityFileLineSnippetContext
MEDIUMci/download_bazel.sh15# ==============================================================================COMMENT
MEDIUMci/download_buildifier.sh15# ==============================================================================COMMENT
MEDIUMci/download_executable.sh15# ==============================================================================COMMENT
MEDIUMci/download_buildozer.sh15# ==============================================================================COMMENT
MEDIUMtensorboard/manager_e2e_test.py14# ==============================================================================COMMENT
MEDIUMtensorboard/auth.py14# ==============================================================================COMMENT
MEDIUMtensorboard/program_test.py14# ==============================================================================COMMENT
MEDIUMtensorboard/manager_test.py14# ==============================================================================COMMENT
MEDIUMtensorboard/auth_test.py14# ==============================================================================COMMENT
MEDIUMtensorboard/errors_test.py14# ==============================================================================COMMENT
MEDIUMtensorboard/version.py14# ==============================================================================COMMENT
MEDIUMtensorboard/lazy_test.py14# ==============================================================================COMMENT
MEDIUMtensorboard/default_test.py14# ==============================================================================COMMENT
MEDIUMtensorboard/__init__.py14# ==============================================================================COMMENT
MEDIUMtensorboard/main_lib.py14# ==============================================================================COMMENT
MEDIUMtensorboard/main_dev.py14# ==============================================================================COMMENT
MEDIUMtensorboard/default.py14# ==============================================================================COMMENT
MEDIUMtensorboard/plugin_util.py14# ==============================================================================COMMENT
MEDIUMtensorboard/context.py14# ==============================================================================COMMENT
MEDIUMtensorboard/assets.py14# ==============================================================================COMMENT
MEDIUMtensorboard/dataclass_compat_test.py14# ==============================================================================COMMENT
MEDIUMtensorboard/program.py14# ==============================================================================COMMENT
MEDIUMtensorboard/context_test.py14# ==============================================================================COMMENT
MEDIUMtensorboard/errors.py14# ==============================================================================COMMENT
MEDIUMtensorboard/dataclass_compat.py14# ==============================================================================COMMENT
MEDIUMtensorboard/notebook.py13# ==============================================================================COMMENT
MEDIUMtensorboard/lazy.py14# ==============================================================================COMMENT
MEDIUMtensorboard/main.py14# ==============================================================================COMMENT
MEDIUMtensorboard/data_compat.py14# ==============================================================================COMMENT
MEDIUMtensorboard/assets_test.py14# ==============================================================================COMMENT
MEDIUMtensorboard/__main__.py14# ==============================================================================COMMENT
MEDIUMtensorboard/manager.py14# ==============================================================================COMMENT
MEDIUMtensorboard/uploader/util.py14# ==============================================================================COMMENT
MEDIUMtensorboard/uploader/upload_tracker.py14# ==============================================================================COMMENT
MEDIUMtensorboard/uploader/__init__.py14# ==============================================================================COMMENT
MEDIUMtensorboard/uploader/logdir_loader.py14# ==============================================================================COMMENT
MEDIUMtensorboard/uploader/util_test.py14# ==============================================================================COMMENT
MEDIUMtensorboard/uploader/upload_tracker_test.py14# ==============================================================================COMMENT
MEDIUMtensorboard/uploader/logdir_loader_test.py14# ==============================================================================COMMENT
MEDIUMtensorboard/tools/mirror_urls_test.sh15# ==============================================================================COMMENT
MEDIUMtensorboard/tools/set_nightly_version.sh15# ==============================================================================COMMENT
MEDIUMtensorboard/tools/do_not_submit_test.sh15# ==============================================================================COMMENT
MEDIUMtensorboard/tools/diagnose_tensorboard.py14# ==============================================================================COMMENT
MEDIUMtensorboard/tools/mat_bundle_icon_svg_test.py14# ==============================================================================COMMENT
MEDIUMtensorboard/tools/mat_bundle_icon_svg.py14# ==============================================================================COMMENT
MEDIUMtensorboard/tools/__init__.py14# ==============================================================================COMMENT
MEDIUMtensorboard/tools/inline_file_content.py14# ==============================================================================COMMENT
MEDIUMtensorboard/tools/convert_tbdev_export.py15# ==============================================================================COMMENT
MEDIUMtensorboard/tools/whitespace_hygiene_test.py15# ==============================================================================COMMENT
MEDIUMtensorboard/tools/license_test.sh15# ==============================================================================COMMENT
MEDIUMtensorboard/compat/tensorflow_stub/flags.py14# ==============================================================================COMMENT
MEDIUMtensorboard/compat/tensorflow_stub/__init__.py14# ==============================================================================COMMENT
MEDIUMtensorboard/compat/tensorflow_stub/dtypes.py14# ==============================================================================COMMENT
MEDIUMtensorboard/compat/tensorflow_stub/tensor_shape.py14# ==============================================================================COMMENT
MEDIUMtensorboard/compat/tensorflow_stub/app.py14# ==============================================================================COMMENT
MEDIUMtensorboard/compat/tensorflow_stub/errors.py14# ==============================================================================COMMENT
MEDIUMtensorboard/compat/tensorflow_stub/pywrap_tensorflow.py14# =============================================================================COMMENT
MEDIUMtensorboard/compat/tensorflow_stub/error_codes.py14# ==============================================================================COMMENT
MEDIUMtensorboard/compat/tensorflow_stub/compat/__init__.py14# ==============================================================================COMMENT
MEDIUM…nsorboard/compat/tensorflow_stub/compat/v1/__init__.py14# ==============================================================================COMMENT
264 more matches not shown…
Hyper-Verbose Identifiers631 hits · 621 pts
SeverityFileLineSnippetContext
LOWtensorboard/manager_e2e_test.py96 def _ensure_tensorboard_on_path(self, expected_binary_dir):CODE
LOWtensorboard/manager_e2e_test.py162 def test_launch_new_because_incompatible(self):CODE
LOWtensorboard/manager_e2e_test.py174 def test_launch_new_because_info_file_deleted(self):CODE
LOWtensorboard/manager_e2e_test.py266 def test_failure_unreadable_stdio(self):STRING
LOWtensorboard/manager_e2e_test.py321 def test_tensorboard_binary_environment_variable(self):STRING
LOWtensorboard/manager_e2e_test.py352 def test_exec_failure_with_explicit_binary(self):STRING
LOWtensorboard/manager_e2e_test.py361 def test_exec_failure_with_no_explicit_binary(self):STRING
LOWtensorboard/program_test.py84 def test_should_use_data_server(self):CODE
LOWtensorboard/manager_test.py57 def test_roundtrip_serialization(self):CODE
LOWtensorboard/manager_test.py64 def test_serialization_rejects_bad_types(self):CODE
LOWtensorboard/manager_test.py73 def test_serialization_rejects_wrong_version(self):CODE
LOWtensorboard/manager_test.py81 def test_deserialization_rejects_bad_json(self):CODE
LOWtensorboard/manager_test.py86 def test_deserialization_rejects_non_object_json(self):CODE
LOWtensorboard/manager_test.py93 def test_deserialization_rejects_missing_version(self):CODE
LOWtensorboard/manager_test.py103 def test_deserialization_accepts_future_version(self):CODE
LOWtensorboard/manager_test.py111 def test_deserialization_ignores_extra_keys(self):CODE
LOWtensorboard/manager_test.py119 def test_deserialization_rejects_missing_keys(self):CODE
LOWtensorboard/manager_test.py129 def test_deserialization_rejects_bad_types(self):CODE
LOWtensorboard/manager_test.py141 def test_logdir_data_source_format(self):CODE
LOWtensorboard/manager_test.py145 def test_db_data_source_format(self):CODE
LOWtensorboard/manager_test.py161 def test_depends_on_working_directory(self):CODE
LOWtensorboard/manager_test.py172 def test_depends_on_arguments(self):CODE
LOWtensorboard/manager_test.py188 def test_depends_on_configure_kwargs(self):CODE
LOWtensorboard/manager_test.py203 def test_arguments_and_configure_kwargs_independent(self):CODE
LOWtensorboard/manager_test.py222 def test_arguments_list_vs_tuple_irrelevant(self):CODE
LOWtensorboard/manager_test.py237 def test_strips_bazel_and_python_path_state(self):CODE
LOWtensorboard/manager_test.py292 def test_fails_if_info_dir_name_is_taken_by_a_regular_file(self):CODE
LOWtensorboard/manager_test.py301 def test_directory_world_accessible(self):CODE
LOWtensorboard/manager_test.py318 def test_writing_file_with_restrictive_umask(self):CODE
LOWtensorboard/manager_test.py338 def test_write_remove_info_file(self):CODE
LOWtensorboard/manager_test.py350 def test_write_info_file_rejects_bad_types(self):CODE
LOWtensorboard/manager_test.py362 def test_write_info_file_rejects_wrong_version(self):CODE
LOWtensorboard/manager_test.py401 def test_get_all_ignores_bad_files(self):CODE
LOWtensorboard/lazy_test.py83 def test_failed_load_idempotent(self):CODE
LOWtensorboard/lazy_test.py95 def test_loads_only_once_even_when_result_equal_to_everything(self):CODE
LOWtensorboard/assets.py24def get_default_assets_zip_provider():CODE
LOWtensorboard/dataclass_compat_test.py63 def test_irrelevant_event_passes_through(self):CODE
LOWtensorboard/dataclass_compat_test.py71 def test_unknown_summary_passes_through(self):CODE
LOWtensorboard/dataclass_compat_test.py82 def test_already_newstyle_summary_passes_through(self):CODE
LOWtensorboard/dataclass_compat_test.py97 def test_doesnt_add_metadata_to_later_steps(self):CODE
LOWtensorboard/program.py399 def _start_subprocess_data_ingester(self):STRING
LOWtensorboard/program.py678class _WSGIRequestHandler(serving.WSGIRequestHandler):CODE
LOWtensorboard/dataclass_compat.py83def _migrate_tagged_run_metadata_event(old_event):CODE
LOWtensorboard/dataclass_compat.py213def _migrate_custom_scalars_value(value):CODE
LOWtensorboard/dataclass_compat.py219def _migrate_graph_sub_plugin_value(value):CODE
LOWtensorboard/plugin_util_test.py29 def test_whitelisted_tags_and_attributes_allowed(self):CODE
LOWtensorboard/plugin_util_test.py36 def test_arbitrary_tags_and_attributes_removed(self):CODE
LOWtensorboard/plugin_util_test.py48 def test_javascript_hrefs_sanitized(self):CODE
LOWtensorboard/plugin_util_test.py61 def test_unicode_strings_passed_through(self):CODE
LOWtensorboard/plugin_util_test.py138 def test_whitelisted_tags_and_attributes_allowed(self):CODE
LOWtensorboard/plugin_util_test.py145 def test_arbitrary_tags_and_attributes_removed(self):CODE
LOWtensorboard/plugin_util_test.py155 def test_javascript_hrefs_sanitized(self):CODE
LOWtensorboard/plugin_util_test.py168 def test_unicode_strings_passed_through(self):CODE
LOWtensorboard/plugin_util_test.py175 def test_null_bytes_stripped_before_markdown_processing(self):CODE
LOWtensorboard/plugin_util_test.py202 def test_sanitizes_combination_result(self):CODE
LOWtensorboard/lib_test.py22 def test_functional_after_reload(self):CODE
LOWtensorboard/data_compat_test.py126 def test_fully_populated_tensor(self):CODE
LOWtensorboard/data_compat_test.py229 def test_single_value_histogram(self):CODE
LOWtensorboard/data_compat_test.py251 def test_histogram_with_empty_buckets_on_both_ends(self):CODE
LOWtensorboard/data_compat_test.py275 def test_histogram_with_extremal_values(self):CODE
571 more matches not shown…
Hallucination Indicators49 hits · 525 pts
SeverityFileLineSnippetContext
CRITICAL…/com/google/common/html/types/SafeStyleSheetProto.java324 // Construct using com.google.common.html.types.SafeStyleSheetProto.newBuilder()COMMENT
CRITICAL…/com/google/common/html/types/SafeStyleSheetProto.java352 return com.google.common.html.types.SafeStyleSheetProto.getDefaultInstance();CODE
CRITICAL…/com/google/common/html/types/SafeStyleSheetProto.java364 com.google.common.html.types.SafeStyleSheetProto result = new com.google.common.html.types.SafeStyleSheetProto(thiCODE
CRITICAL…/com/google/common/html/types/SafeStyleSheetProto.java412 if (other == com.google.common.html.types.SafeStyleSheetProto.getDefaultInstance()) return this;CODE
CRITICAL…/com/google/common/html/types/SafeStyleSheetProto.java574 DEFAULT_INSTANCE = new com.google.common.html.types.SafeStyleSheetProto();CODE
CRITICAL…ypes/com/google/common/html/types/SafeScriptProto.java324 // Construct using com.google.common.html.types.SafeScriptProto.newBuilder()COMMENT
CRITICAL…ypes/com/google/common/html/types/SafeScriptProto.java352 return com.google.common.html.types.SafeScriptProto.getDefaultInstance();CODE
CRITICAL…ypes/com/google/common/html/types/SafeScriptProto.java364 com.google.common.html.types.SafeScriptProto result = new com.google.common.html.types.SafeScriptProto(this);CODE
CRITICAL…ypes/com/google/common/html/types/SafeScriptProto.java412 if (other == com.google.common.html.types.SafeScriptProto.getDefaultInstance()) return this;CODE
CRITICAL…ypes/com/google/common/html/types/SafeScriptProto.java574 DEFAULT_INSTANCE = new com.google.common.html.types.SafeScriptProto();CODE
CRITICAL…l_types/com/google/common/html/types/BuilderUtils.java52 // This is exactly what j.c.g.common.html.HtmlEscapers.htmlEscaper() does. However, depending onCOMMENT
CRITICAL…types/com/google/common/html/types/SafeStyleProto.java324 // Construct using com.google.common.html.types.SafeStyleProto.newBuilder()COMMENT
CRITICAL…types/com/google/common/html/types/SafeStyleProto.java352 return com.google.common.html.types.SafeStyleProto.getDefaultInstance();CODE
CRITICAL…types/com/google/common/html/types/SafeStyleProto.java364 com.google.common.html.types.SafeStyleProto result = new com.google.common.html.types.SafeStyleProto(this);CODE
CRITICAL…types/com/google/common/html/types/SafeStyleProto.java412 if (other == com.google.common.html.types.SafeStyleProto.getDefaultInstance()) return this;CODE
CRITICAL…types/com/google/common/html/types/SafeStyleProto.java574 DEFAULT_INSTANCE = new com.google.common.html.types.SafeStyleProto();CODE
CRITICAL…/google/common/html/types/TrustedResourceUrlProto.java326 // Construct using com.google.common.html.types.TrustedResourceUrlProto.newBuilder()COMMENT
CRITICAL…/google/common/html/types/TrustedResourceUrlProto.java354 return com.google.common.html.types.TrustedResourceUrlProto.getDefaultInstance();CODE
CRITICAL…/google/common/html/types/TrustedResourceUrlProto.java366 com.google.common.html.types.TrustedResourceUrlProto result = new com.google.common.html.types.TrustedResourceUrlPCODE
CRITICAL…/google/common/html/types/TrustedResourceUrlProto.java414 if (other == com.google.common.html.types.TrustedResourceUrlProto.getDefaultInstance()) return this;CODE
CRITICAL…/google/common/html/types/TrustedResourceUrlProto.java576 DEFAULT_INSTANCE = new com.google.common.html.types.TrustedResourceUrlProto();CODE
CRITICAL…l_types/com/google/common/html/types/SafeUrlProto.java326 // Construct using com.google.common.html.types.SafeUrlProto.newBuilder()COMMENT
CRITICAL…l_types/com/google/common/html/types/SafeUrlProto.java354 return com.google.common.html.types.SafeUrlProto.getDefaultInstance();CODE
CRITICAL…l_types/com/google/common/html/types/SafeUrlProto.java366 com.google.common.html.types.SafeUrlProto result = new com.google.common.html.types.SafeUrlProto(this);CODE
CRITICAL…l_types/com/google/common/html/types/SafeUrlProto.java414 if (other == com.google.common.html.types.SafeUrlProto.getDefaultInstance()) return this;CODE
CRITICAL…l_types/com/google/common/html/types/SafeUrlProto.java576 DEFAULT_INSTANCE = new com.google.common.html.types.SafeUrlProto();CODE
CRITICAL…/com/google/common/html/types/CustomSafeUrlScheme.java205 return com.google.common.html.types.Html.getDescriptor().getEnumTypes().get(0);CODE
CRITICAL…_types/com/google/common/html/types/SafeHtmlProto.java334 // Construct using com.google.common.html.types.SafeHtmlProto.newBuilder()COMMENT
CRITICAL…_types/com/google/common/html/types/SafeHtmlProto.java362 return com.google.common.html.types.SafeHtmlProto.getDefaultInstance();CODE
CRITICAL…_types/com/google/common/html/types/SafeHtmlProto.java374 com.google.common.html.types.SafeHtmlProto result = new com.google.common.html.types.SafeHtmlProto(this);CODE
CRITICAL…_types/com/google/common/html/types/SafeHtmlProto.java422 if (other == com.google.common.html.types.SafeHtmlProto.getDefaultInstance()) return this;CODE
CRITICAL…_types/com/google/common/html/types/SafeHtmlProto.java584 DEFAULT_INSTANCE = new com.google.common.html.types.SafeHtmlProto();CODE
CRITICALtensorboard/plugins/projector/projector_plugin_test.py317 patcher = tf.compat.v1.test.mock.patch(CODE
CRITICALtensorboard/plugins/projector/projector_plugin_test.py349 patcher = tf.compat.v1.test.mock.patch(CODE
CRITICAL…projector/vz_projector/vz-projector-inspector-panel.ts172 let stat = this.projector.dataSet.spriteAndMetadataInfo.stats.filter(CODE
CRITICAL…gins/projector/vz_projector/vz-projector-data-panel.ts367 this.projector.dataSet.spriteAndMetadataInfo.pointsInfo.forEach((p) => {CODE
CRITICALtensorboard/plugins/hparams/_keras.py93 tf.compat.v2.summary.experimental.write_raw_pb(raw_pb, step=0)CODE
CRITICALtensorboard/plugins/hparams/hparams_util.py223 tf.compat.v2.summary.experimental.write_raw_pb(CODE
CRITICAL…orboard/plugins/debugger_v2/debugger_v2_plugin_test.py130 self.run_in_background_patch = tf.compat.v1.test.mock.patch.object(CODE
CRITICAL…orboard/plugins/debugger_v2/debugger_v2_plugin_test.py1341 graph = self.plugin._data_provider._multiplexer._reader.graph_by_id(CODE
CRITICAL…widgets/source_code/source_code_diff_container_test.ts149 expect(fakes.fakeMonaco.editor.setTheme.calls.allArgs()).toEqual([CODE
CRITICAL…bapp/widgets/source_code/source_code_container_test.ts178 fakes.fakeMonaco.editor.setTheme.calls.reset();CODE
CRITICAL…bapp/widgets/source_code/source_code_container_test.ts189 expect(fakes.fakeMonaco.editor.setTheme.calls.allArgs()).toEqual([CODE
CRITICAL…kend/event_processing/plugin_event_multiplexer_test.py356 patcher = tf.compat.v1.test.mock.patch(CODE
CRITICAL…kend/event_processing/plugin_event_multiplexer_test.py361 patcher = tf.compat.v1.test.mock.patch.object(CODE
CRITICAL…kend/event_processing/plugin_event_multiplexer_test.py378 patcher = tf.compat.v1.test.mock.patch(CODE
CRITICAL…kend/event_processing/plugin_event_multiplexer_test.py383 patcher = tf.compat.v1.test.mock.patch.object(CODE
CRITICAL…kend/event_processing/plugin_event_multiplexer_test.py401 patcher = tf.compat.v1.test.mock.patch(CODE
CRITICAL…kend/event_processing/plugin_event_multiplexer_test.py406 patcher = tf.compat.v1.test.mock.patch.object(CODE
Over-Commented Block493 hits · 490 pts
SeverityFileLineSnippetContext
LOWci/download_bazel.sh1#!/bin/shCOMMENT
LOWci/download_buildifier.sh1#!/bin/shCOMMENT
LOWci/download_executable.sh1#!/bin/shCOMMENT
LOWci/download_buildozer.sh1#!/bin/shCOMMENT
LOWtensorboard/encode_png_benchmark.py1# Copyright 2017 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/manager_e2e_test.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/auth.py1# Copyright 2020 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/program_test.py1# Copyright 2018 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/manager_test.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/auth_test.py1# Copyright 2020 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/errors_test.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/version.py1# Copyright 2017 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/lazy_test.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/default_test.py1# Copyright 2017 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/__init__.py1# Copyright 2017 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/__init__.py21# TensorBoard public API.COMMENT
LOWtensorboard/__init__.py41# actual `tensorboard.notebook` submodule is not loaded.COMMENT
LOWtensorboard/__init__.py61# uses `import tensorboard.notebook; return tensorboard.notebook`,COMMENT
LOWtensorboard/main_lib.py1# Copyright 2021 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/test.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/main_dev.py1# Copyright 2021 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/default.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/plugin_util.py1# Copyright 2017 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/context.py1# Copyright 2020 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/version_test.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/assets.py1# Copyright 2021 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/dataclass_compat_test.py1# Copyright 2020 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/program.py1# Copyright 2017 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/context_test.py1# Copyright 2020 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/errors.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/dataclass_compat.py1# Copyright 2020 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/notebook.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/lazy.py1# Copyright 2017 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/main.py1# Copyright 2015 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/plugin_util_test.py1# Copyright 2017 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/data_compat.py1# Copyright 2017 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/lib_test.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/assets_test.py1# Copyright 2021 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/__main__.py1# Copyright 2016 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/manager.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/data_compat_test.py1# Copyright 2017 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/uploader/util.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/uploader/upload_tracker.py1# Copyright 2020 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/uploader/__init__.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/uploader/logdir_loader.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/uploader/util_test.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/uploader/upload_tracker_test.py1# Copyright 2020 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/uploader/logdir_loader_test.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/tools/mirror_urls_test.sh1#!/bin/shCOMMENT
LOWtensorboard/tools/set_nightly_version.sh1#!/bin/shCOMMENT
LOWtensorboard/tools/do_not_submit_test.sh1#!/bin/shCOMMENT
LOWtensorboard/tools/diagnose_tensorboard.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/tools/import_google_fonts.py1# Copyright 2017 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/tools/mat_bundle_icon_svg_test.py1# Copyright 2021 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/tools/mat_bundle_icon_svg.py1# Copyright 2021 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/tools/__init__.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/tools/inline_file_content.py1# Copyright 2020 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtensorboard/tools/convert_tbdev_export.py1#! /usr/bin/env python3COMMENT
LOWtensorboard/tools/whitespace_hygiene_test.py1#!/usr/bin/python3COMMENT
LOWtensorboard/tools/license_test.sh1#!/usr/bin/env bashCOMMENT
433 more matches not shown…
Docstring Block Structure91 hits · 455 pts
SeverityFileLineSnippetContext
HIGHtensorboard/auth.py24Produce an opaque auth token from a WSGI request environment. Args: environ: A WSGI environment `dictSTRING
HIGHtensorboard/program.py159Configures TensorBoard behavior via flags. This method will populate the "flags" property with an argparse.NameSTRING
HIGHtensorboard/manager.py100Convert a `TensorBoardInfo` to string form to be stored on disk. The format returned by this function is opaque andSTRING
HIGHtensorboard/manager.py131Parse a `TensorBoardInfo` object from its string representation. Args: info_string: A string representation oSTRING
HIGHtensorboard/compat/tensorflow_stub/dtypes.py640Converts the given `type_value` to a `DType`. Args: type_value: A value that can be converted to a `tf.DType`STRING
HIGHtensorboard/compat/tensorflow_stub/tensor_shape.py124Returns a Dimension that combines the information in `self` and `other`. Dimensions are combined as folSTRING
HIGHtensorboard/compat/tensorflow_stub/tensor_shape.py610Returns the value of a dimension or a shape, depending on the key. Args: key: If `key` is an integer,STRING
HIGHtensorboard/compat/tensorflow_stub/tensor_shape.py665Returns a `TensorShape` combining the information in `self` and `other`. The dimensions in `self` and `STRING
HIGHtensorboard/compat/tensorflow_stub/tensor_shape.py751Returns a shape based on `self` with the given rank. This method promotes a completely unknown shape to one witSTRING
HIGHtensorboard/compat/tensorflow_stub/tensor_shape.py771Returns a shape based on `self` with at least the given rank. Args: rank: An integer. ReturnSTRING
HIGHtensorboard/compat/tensorflow_stub/tensor_shape.py792Returns a shape based on `self` with at most the given rank. Args: rank: An integer. ReturnsSTRING
HIGHtensorboard/compat/tensorflow_stub/compat/__init__.py38Converts either bytes or unicode to `bytes`, using utf-8 encoding for text. Args: bytes_or_text: A `bytes`,STRING
HIGHtensorboard/compat/tensorflow_stub/compat/__init__.py62Returns the given argument as a unicode string. Args: bytes_or_text: A `bytes`, `str`, or `unicode` object. STRING
HIGHtensorboard/compat/tensorflow_stub/io/gfile.py841Determines whether a path exists or not. Args: filename: string, a path Returns: True if the path STRING
HIGHtensorboard/compat/tensorflow_stub/io/gfile.py857Returns a list of files that match the given pattern(s). Args: filename: string or iterable of strings. The gSTRING
HIGHtensorboard/compat/tensorflow_stub/io/gfile.py884Returns a list of entries contained within a directory. The list is in arbitrary order. It does not contain the speSTRING
HIGHtensorboard/compat/tensorflow_stub/io/gfile.py963Returns file statistics for a given path. Args: filename: string, path to a file Returns: FileStatSTRING
HIGHtensorboard/compat/tensorflow_stub/io/gfile.py994Reads the entire contents of a file to a string. Args: filename: string, path to a file binary_mode: whSTRING
HIGHtensorboard/util/grpc_util.py82Analogous to `grpc.Future.result`. Returns the value or exception. This method will wait until the full set of STRING
HIGHtensorboard/util/grpc_util.py197Call a gRPC stub API method, with automatic retry logic. This only supports unary-unary RPCs: i.e., no streaming onSTRING
HIGHtensorboard/util/tensor_util.py293Create a TensorProto. Args: values: Values to put in the TensorProto. dtype: Optional STRING
HIGHtensorboard/util/tensor_util.py500Create a numpy ndarray from a tensor. Create a numpy ndarray with the same shape and data as the tensor. Args:STRING
HIGH…orboard/plugins/custom_scalar/custom_scalars_plugin.py116Provides a response for downloading scalars data for a data series. Args: ctx: A tensorboard.context.STRING
HIGH…orboard/plugins/custom_scalar/custom_scalars_plugin.py184Given a tag regex and single run, return ScalarEvents. Args: ctx: A tensorboard.context.RequestContexSTRING
HIGHtensorboard/plugins/graph/graph_util.py81Merges GraphDefs by adding unique prefix, `graph_{ind}`, to names. All GraphDefs are expected to be of TensorBoard'STRING
HIGHtensorboard/plugins/image/images_plugin.py119Builds a JSON-serializable object with information about images. Args: run: The name of the run. STRING
HIGHtensorboard/plugins/hparams/summary_v2.py182Normalize a dict keyed by `HParam`s and/or raw strings. Args: hparams: A `dict` whose keys are `HParam` objecSTRING
HIGH…sorboard/plugins/debugger_v2/debug_data_multiplexer.py459Get the information regarding a TensorFlow graph. Args: run: Name of the run. graph_id: DebSTRING
HIGH…sorboard/plugins/debugger_v2/debug_data_multiplexer.py486Get the information regarding a graph op's creation. Args: run: Name of the run. graph_id: STRING
HIGHtensorboard/plugins/text/summary.py28Create a legacy text summary op. Text data summarized via this plugin will be visible in the Text Dashboard in STRING
HIGHtensorboard/plugins/text/text_plugin.py70Given a numpy ndarray of strings, concatenate them into a html table. Args: contents: A np.ndarray of stringsSTRING
HIGHtensorboard/plugins/text/text_plugin.py129Given a np.npdarray with nDims > 2, reduce it to 2d. It does this by selecting the zeroth coordinate for every dimeSTRING
HIGHtensorboard/backend/application.py185Constructs TensorBoardWSGI instance. Args: plugins: A list of base_plugin.TBPlugin subclass instancesSTRING
HIGH…sorboard/backend/event_processing/plugin_asset_util.py82Retrieve a particular plugin asset from a logdir. Args: logdir: A directory that was created by a TensorFlow STRING
HIGH…d/backend/event_processing/plugin_event_accumulator.py219Return the contents of a given plugin asset. Args: plugin_name: The string name of a plugin. STRING
HIGH…d/backend/event_processing/plugin_event_accumulator.py276Returns a dict mapping tags to content specific to that plugin. Args: plugin_name: The name of the plSTRING
HIGH…d/backend/event_processing/plugin_event_accumulator.py306Given a summary tag name, return the associated metadata object. Args: tag: The name of a tag, as a sSTRING
HIGH…d/backend/event_processing/plugin_event_accumulator.py502Given a tag, return the associated session.run() metadata. Args: tag: A string tag associated with thSTRING
HIGH…d/backend/event_processing/plugin_event_accumulator.py521Given a summary tag, return all associated tensors. Args: tag: A string tag associated with the eventSTRING
HIGH…sorboard/backend/event_processing/event_accumulator.py360Return the contents of a given plugin asset. Args: plugin_name: The string name of a plugin. STRING
HIGH…sorboard/backend/event_processing/event_accumulator.py417Returns a dict mapping tags to content specific to that plugin. Args: plugin_name: The name of the plSTRING
HIGH…sorboard/backend/event_processing/event_accumulator.py435Given a summary tag name, return the associated metadata object. Args: tag: The name of a tag, as a sSTRING
HIGH…sorboard/backend/event_processing/event_accumulator.py592Given a summary tag, return all associated `ScalarEvent`s. Args: tag: A string tag associated with thSTRING
HIGH…sorboard/backend/event_processing/event_accumulator.py639Given a tag, return the associated session.run() metadata. Args: tag: A string tag associated with thSTRING
HIGH…sorboard/backend/event_processing/event_accumulator.py658Given a summary tag, return all associated histograms. Args: tag: A string tag associated with the evSTRING
HIGH…sorboard/backend/event_processing/event_accumulator.py672Given a summary tag, return all associated compressed histograms. Args: tag: A string tag associated STRING
HIGH…sorboard/backend/event_processing/event_accumulator.py686Given a summary tag, return all associated images. Args: tag: A string tag associated with the eventsSTRING
HIGH…sorboard/backend/event_processing/event_accumulator.py700Given a summary tag, return all associated audio. Args: tag: A string tag associated with the events.STRING
HIGH…sorboard/backend/event_processing/event_accumulator.py714Given a summary tag, return all associated tensors. Args: tag: A string tag associated with the eventSTRING
HIGHtensorboard/backend/event_processing/io_wrapper.py37Check the path name to see if it is probably a TF Events file. Args: path: A file path to check if it is an eSTRING
HIGHtensorboard/backend/event_processing/io_wrapper.py180Obtains all subdirectories with events files. The order of the subdirectories returned is unspecified. The internalSTRING
HIGHtensorboard/backend/event_processing/reservoir.py97Return items associated with given key. Args: key: The key for which we are finding associated items.STRING
HIGH…d/backend/event_processing/plugin_event_multiplexer.py178Load runs from a directory; recursively walks subdirectories. If path doesn't exist, no-op. This ensures that iSTRING
HIGH…d/backend/event_processing/plugin_event_multiplexer.py289Return the contents for a specific plugin asset from a run. Args: run: The string name of the run. STRING
HIGH…d/backend/event_processing/plugin_event_multiplexer.py306Return the timestamp of the first event of the given run. This may perform I/O if no events have been loaded yeSTRING
HIGH…d/backend/event_processing/plugin_event_multiplexer.py341Retrieve the graph associated with the provided run. Args: run: A string name of a run to load the grSTRING
HIGH…d/backend/event_processing/plugin_event_multiplexer.py357Retrieve the serialized graph associated with the provided run. Args: run: A string name of a run to STRING
HIGH…d/backend/event_processing/plugin_event_multiplexer.py373Retrieve the metagraph associated with the provided run. Args: run: A string name of a run to load thSTRING
HIGH…d/backend/event_processing/plugin_event_multiplexer.py389Get the session.run() metadata associated with a TensorFlow run and tag. Args: run: A string STRING
HIGH…d/backend/event_processing/plugin_event_multiplexer.py407Retrieve the tensor events associated with a run and tag. Args: run: A string name of the run for whiSTRING
31 more matches not shown…
Cross-File Repetition17 hits · 85 pts
SeverityFileLineSnippetContext
HIGHtensorboard/compat/tensorflow_stub/io/gfile_test.py0creates a reasonable deep structure of subdirectories with files. args: top_directory: the file:// path of the top levelSTRING
HIGHtensorboard/backend/event_processing/io_wrapper_test.py0creates a reasonable deep structure of subdirectories with files. args: top_directory: the file:// path of the top levelSTRING
HIGH…orboard/compat/tensorflow_stub/io/gfile_fsspec_test.py0creates a reasonable deep structure of subdirectories with files. args: top_directory: the file:// path of the top levelSTRING
HIGHtensorboard/compat/tensorflow_stub/io/gfile_test.py0compares iterables of (subdirectory path, list of absolute paths) args: expected: the expected iterable of 2-tuples. gotSTRING
HIGHtensorboard/compat/tensorflow_stub/io/gfile_s3_test.py0compares iterables of (subdirectory path, list of absolute paths) args: expected: the expected iterable of 2-tuples. gotSTRING
HIGH…orboard/compat/tensorflow_stub/io/gfile_fsspec_test.py0compares iterables of (subdirectory path, list of absolute paths) args: expected: the expected iterable of 2-tuples. gotSTRING
HIGHtensorboard/backend/event_processing/io_wrapper_test.py0compares iterables of (subdirectory path, list of absolute paths) args: expected: the expected iterable of 2-tuples. gotSTRING
HIGHtensorboard/plugins/mesh/test_utils.py0deserializes byte content that is a json encoding. args: byte_content: the byte content of a response. returns: the deseSTRING
HIGHtensorboard/plugins/image/images_plugin_test.py0deserializes byte content that is a json encoding. args: byte_content: the byte content of a response. returns: the deseSTRING
HIGHtensorboard/plugins/audio/audio_plugin_test.py0deserializes byte content that is a json encoding. args: byte_content: the byte content of a response. returns: the deseSTRING
HIGHtensorboard/plugins/hparams/hparams_plugin.py0the tensorboard histograms plugin. see `http_api.md` in this directory for specifications of the routes for this plugin.STRING
HIGHtensorboard/plugins/scalar/scalars_plugin.py0the tensorboard histograms plugin. see `http_api.md` in this directory for specifications of the routes for this plugin.STRING
HIGHtensorboard/plugins/histogram/histograms_plugin.py0the tensorboard histograms plugin. see `http_api.md` in this directory for specifications of the routes for this plugin.STRING
HIGH…ard/backend/event_processing/event_accumulator_test.py0keyerror should be raised when accessing non-existing keys.STRING
HIGH…ard/backend/event_processing/event_multiplexer_test.py0keyerror should be raised when accessing non-existing keys.STRING
HIGH…kend/event_processing/plugin_event_accumulator_test.py0keyerror should be raised when accessing non-existing keys.STRING
HIGH…kend/event_processing/plugin_event_multiplexer_test.py0keyerror should be raised when accessing non-existing keys.STRING
Deep Nesting53 hits · 52 pts
SeverityFileLineSnippetContext
LOWtensorboard/program.py695CODE
LOWtensorboard/notebook.py120CODE
LOWtensorboard/tools/diagnose_tensorboard.py402CODE
LOWtensorboard/tools/convert_tbdev_export.py127CODE
LOWtensorboard/tools/convert_tbdev_export.py195CODE
LOWtensorboard/compat/tensorflow_stub/dtypes.py639CODE
LOWtensorboard/compat/tensorflow_stub/tensor_shape.py513CODE
LOWtensorboard/compat/tensorflow_stub/tensor_shape.py609CODE
LOWtensorboard/compat/tensorflow_stub/errors.py79CODE
LOWtensorboard/util/lazy_tensor_creator.py57CODE
LOWtensorboard/util/tensor_util.py292CODE
LOWtensorboard/util/tensor_util.py499CODE
LOWtensorboard/plugins/mesh/mesh_plugin_test.py43CODE
LOWtensorboard/plugins/mesh/demo_utils.py57CODE
LOWtensorboard/plugins/metrics/metrics_plugin_test.py129CODE
LOWtensorboard/plugins/core/core_plugin.py101CODE
LOWtensorboard/plugins/core/core_plugin.py676CODE
LOWtensorboard/plugins/projector/projector_plugin.py167CODE
LOWtensorboard/plugins/projector/projector_plugin.py371CODE
LOWtensorboard/plugins/projector/projector_plugin.py446CODE
LOW…orboard/plugins/custom_scalar/custom_scalars_plugin.py272CODE
LOWtensorboard/plugins/graph/keras_util.py124CODE
LOWtensorboard/plugins/hparams/list_session_groups.py620CODE
LOWtensorboard/plugins/hparams/list_session_groups.py125CODE
LOWtensorboard/plugins/hparams/list_session_groups.py390CODE
LOWtensorboard/plugins/hparams/summary_v2.py64CODE
LOWtensorboard/plugins/hparams/hparams_minimal_demo.py248CODE
LOWtensorboard/plugins/hparams/download_data.py59CODE
LOWtensorboard/plugins/hparams/download_data.py116CODE
LOWtensorboard/plugins/hparams/summary.py79CODE
LOWtensorboard/plugins/debugger_v2/debug_data_provider.py589CODE
LOWtensorboard/plugins/scalar/scalars_demo.py112CODE
LOWtensorboard/plugins/scalar/scalars_demo_eager.py47CODE
LOWtensorboard/plugins/scalar/scalars_plugin_test.py87CODE
LOWtensorboard/backend/process_graph.py21CODE
LOWtensorboard/backend/application.py176CODE
LOWtensorboard/backend/application.py399CODE
LOWtensorboard/backend/json_util.py35CODE
LOW…/backend/event_processing/event_file_inspector_test.py42CODE
LOW…board/backend/event_processing/event_file_inspector.py190CODE
LOW…board/backend/event_processing/event_file_inspector.py253CODE
LOW…d/backend/event_processing/plugin_event_accumulator.py328CODE
LOW…sorboard/backend/event_processing/event_accumulator.py448CODE
LOWtensorboard/backend/event_processing/data_ingester.py96CODE
LOWtensorboard/backend/event_processing/data_provider.py241CODE
LOWtensorboard/backend/event_processing/data_provider.py298CODE
LOWtensorboard/backend/event_processing/data_provider.py332CODE
LOWtensorboard/backend/event_processing/reservoir.py200CODE
LOWtensorboard/data/grpc_provider.py116CODE
LOWtensorboard/data/grpc_provider.py153CODE
LOWtensorboard/data/grpc_provider.py219CODE
LOWtensorboard/data/grpc_provider.py285CODE
LOWtensorboard/data/server/rustboard_core_doc_server.py27CODE
Unused Imports42 hits · 42 pts
SeverityFileLineSnippetContext
LOWtensorboard/notebook.py55CODE
LOWtensorboard/tools/convert_tbdev_export.py82CODE
LOWtensorboard/compat/tensorflow_stub/flags.py25CODE
LOWtensorboard/compat/tensorflow_stub/__init__.py17CODE
LOWtensorboard/compat/tensorflow_stub/__init__.py18CODE
LOWtensorboard/compat/tensorflow_stub/__init__.py19CODE
LOWtensorboard/compat/tensorflow_stub/__init__.py20CODE
LOWtensorboard/compat/tensorflow_stub/__init__.py21CODE
LOWtensorboard/compat/tensorflow_stub/__init__.py22CODE
LOWtensorboard/compat/tensorflow_stub/__init__.py23CODE
LOWtensorboard/compat/tensorflow_stub/__init__.py24CODE
LOWtensorboard/compat/tensorflow_stub/__init__.py25CODE
LOWtensorboard/compat/tensorflow_stub/__init__.py27CODE
LOWtensorboard/compat/tensorflow_stub/__init__.py28CODE
LOWtensorboard/compat/tensorflow_stub/__init__.py30CODE
LOWtensorboard/compat/tensorflow_stub/__init__.py31CODE
LOWtensorboard/compat/tensorflow_stub/__init__.py32CODE
LOWtensorboard/compat/tensorflow_stub/__init__.py33CODE
LOWtensorboard/compat/tensorflow_stub/compat/__init__.py34CODE
LOWtensorboard/compat/tensorflow_stub/io/__init__.py17CODE
LOWtensorboard/plugins/projector/__init__.py30CODE
LOWtensorboard/plugins/projector/__init__.py33CODE
LOWtensorboard/plugins/projector/__init__.py36CODE
LOWtensorboard/plugins/wit_redirect/wit_redirect_plugin.py26CODE
LOW…rd/plugins/profile_redirect/profile_redirect_plugin.py26CODE
LOWtensorboard/backend/event_processing/data_ingester.py262CODE
LOWtensorboard/summary/__init__.py33CODE
LOWtensorboard/summary/__init__.py34CODE
LOWtensorboard/summary/__init__.py35CODE
LOWtensorboard/summary/__init__.py22CODE
LOWtensorboard/summary/__init__.py28CODE
LOWtensorboard/summary/__init__.py29CODE
LOWtensorboard/summary/v2.py21CODE
LOWtensorboard/summary/v2.py22CODE
LOWtensorboard/summary/v2.py23CODE
LOWtensorboard/summary/v2.py24CODE
LOWtensorboard/summary/v2.py25CODE
LOWtensorboard/summary/_tf/summary/__init__.py173CODE
LOWtensorboard/summary/_tf/summary/__init__.py174CODE
LOWtensorboard/summary/_tf/summary/__init__.py175CODE
LOWtensorboard/summary/_tf/summary/__init__.py176CODE
LOWtensorboard/summary/_tf/summary/__init__.py177CODE
Self-Referential Comments13 hits · 39 pts
SeverityFileLineSnippetContext
MEDIUMtensorboard/lazy.py60 # Define a module that proxies getattr() and dir() to the result of callingCOMMENT
MEDIUMtensorboard/compat/tensorflow_stub/io/gfile_tf_test.py138 # Creating a file structure as followsCOMMENT
MEDIUMtensorboard/compat/tensorflow_stub/io/gfile_s3_test.py359 # Create an empty object so the location existsCOMMENT
MEDIUMtensorboard/plugins/projector/projector_plugin.py343 # Create a background context; we may not be in a request.COMMENT
MEDIUMtensorboard/plugins/pr_curve/pr_curves_plugin_test.py52 # Create a multiplexer for reading the data we just wrote.COMMENT
MEDIUMtensorboard/plugins/pr_curve/pr_curve_demo.py68 # Create a normal distribution layer used to generate true color labels.COMMENT
MEDIUMtensorboard/plugins/hparams/list_session_groups.py322 # Create the group and add the session as the first one.COMMENT
MEDIUMtensorboard/plugins/hparams/hparams_minimal_demo.py180 # Create a mutable variable to hold the object's temperature, andCOMMENT
MEDIUM…sorboard/plugins/debugger_v2/debug_data_multiplexer.py128 # Create the reader for the tfdbg2 data in the lodir as soon asCOMMENT
MEDIUM…ard/backend/event_processing/event_accumulator_test.py375 # Create the expected values after compressing hst1COMMENT
MEDIUM…ard/backend/event_processing/event_accumulator_test.py391 # Create the expected values after compressing hst2COMMENT
MEDIUMtensorboard/data/grpc_provider_test.py33 # Create a stub instance (using a test channel) in order to derive a mockCOMMENT
MEDIUMtensorboard/data/server_ingester_test.py48 # Create a fake server binary so that the `os.path.exists` checkCOMMENT
Dead Code11 hits · 22 pts
SeverityFileLineSnippetContext
MEDIUMtensorboard/plugins/graph/graphs_plugin_v2_test.py74CODE
MEDIUMtensorboard/plugins/graph/graphs_plugin_v2_test.py80CODE
MEDIUMtensorboard/plugins/graph/graphs_plugin_v2_test.py95CODE
MEDIUMtensorboard/plugins/graph/graphs_plugin_v2_test.py98CODE
MEDIUMtensorboard/plugins/graph/graphs_plugin_v2_test.py101CODE
MEDIUMtensorboard/plugins/graph/graphs_plugin_v2_test.py103CODE
MEDIUMtensorboard/plugins/graph/graphs_plugin_v2_test.py110CODE
MEDIUMtensorboard/plugins/graph/graphs_plugin_v2_test.py113CODE
MEDIUMtensorboard/plugins/graph/graphs_plugin_v2_test.py115CODE
MEDIUMtensorboard/plugins/graph/graphs_plugin_v2_test.py118CODE
MEDIUMtensorboard/plugins/graph/graphs_plugin_v2_test.py119CODE
Cross-Language Confusion (JS/TS)2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtensorboard/plugins/projector/vz_projector/label.ts73 * @return True if the bound was successfully inserted; false if itCOMMENT
HIGHtensorboard/plugins/graph/tf_graph_common/scene.ts147 * @return True if the graph had to be panned to display theCOMMENT
Excessive Try-Catch Wrapping11 hits · 14 pts
SeverityFileLineSnippetContext
LOWtensorboard/manager_e2e_test.py79 except Exception as e:CODE
MEDIUMtensorboard/main_dev.py40 print("Error: %s" % e, file=sys.stderr)CODE
MEDIUMtensorboard/main.py43 print("Error: %s" % e, file=sys.stderr)CODE
LOWtensorboard/tools/diagnose_tensorboard.py510 except Exception:CODE
LOWtensorboard/plugins/projector/projector_plugin.py501 except Exception: # pylint: disable=broad-exceptCODE
LOWtensorboard/backend/application.py124 except Exception:CODE
LOWtensorboard/backend/application.py259 except Exception as e: # pylint: disable=broad-exceptCODE
LOWtensorboard/backend/application.py443 except Exception:CODE
LOW…orboard/backend/event_processing/data_ingester_test.py276 except Exception:CODE
LOWtensorboard/summary/writer/event_file_writer.py245 except Exception as ex:CODE
MEDIUMtensorboard/summary/writer/event_file_writer.py242def run(self):CODE
Cross-Language Confusion3 hits · 12 pts
SeverityFileLineSnippetContext
HIGHtensorboard/plugins/pr_curve/pr_curves_plugin.py213 # Trim entries for which TP + FP = 0 (precision is undefined) at the tail ofCOMMENT
HIGHtensorboard/plugins/debugger_v2/debugger_v2_plugin.py340 This field is not populated (undefined) at the leaf nodesSTRING
HIGHtensorboard/plugins/debugger_v2/debugger_v2_plugin.py359 This field is not populated (undefined) at the leaf nodesSTRING
Fake / Example Data10 hits · 10 pts
SeverityFileLineSnippetContext
LOWdocs/r1/summaries.md181 if train or FLAGS.fake_data:CODE
LOWdocs/r1/summaries.md182 xs, ys = mnist.train.next_batch(100, fake_data=FLAGS.fake_data)CODE
LOWdocs/r1/graphs.md264 if train or FLAGS.fake_data:CODE
LOWdocs/r1/graphs.md265 xs, ys = mnist.train.next_batch(100, fake_data=FLAGS.fake_data)CODE
LOW…ypes/com/google/common/html/types/SafeHtmlBuilder.java675 return setAttribute("placeholder", value);CODE
LOWtensorboard/data_compat_test.py120 "lorem_ipsum", tf.constant("dolor sit amet")CODE
LOW…board/webapp/metrics/views/main_view/card_grid_test.ts57 <div class="placeholder">placeholder</div>CODE
LOW…board/webapp/metrics/views/main_view/card_grid_test.ts63 <div class="placeholder">placeholder</div>CODE
LOW…ent_wrapping_input/content_wrapping_input_component.ts75 [placeholder]="placeholder"CODE
LOW…/webapp/widgets/filter_input/filter_input_component.ts38 [placeholder]="placeholder"CODE
AI Slop Vocabulary4 hits · 9 pts
SeverityFileLineSnippetContext
LOWtensorboard/compat/tensorflow_stub/io/gfile.py305 # Asked for no bytes, so just return emptyCOMMENT
LOWtensorboard/plugins/graph/keras_util.py309 # avoid IndexErrors, we just use the last element in theCOMMENT
MEDIUM…rd/webapp/widgets/card_fob/card_fob_controller_test.ts109 // Absolutely place the fixture at the top left of the page to keepCOMMENT
MEDIUM…rd/webapp/widgets/histogram/histogram_card_fob_test.ts43 // Absolutely place the fixture at the top left of the page to keepCOMMENT
AI Structural Patterns9 hits · 9 pts
SeverityFileLineSnippetContext
LOWtensorboard/compat/tensorflow_stub/io/gfile.py749CODE
LOWtensorboard/plugins/base_plugin.py241CODE
LOWtensorboard/plugins/mesh/mesh_plugin.py181CODE
LOWtensorboard/plugins/core/core_plugin_test.py48CODE
LOWtensorboard/backend/application_test.py34CODE
LOWtensorboard/backend/application_test.py66CODE
LOW…ard/backend/event_processing/event_accumulator_test.py65CODE
LOW…orboard/backend/event_processing/data_ingester_test.py33CODE
LOWtensorboard/data/grpc_provider.py64CODE
Redundant / Tautological Comments6 hits · 9 pts
SeverityFileLineSnippetContext
LOWtensorboard/plugins/core/core_plugin.py732 # Set mtime to zero for deterministic results across TensorBoard launches.COMMENT
LOWtensorboard/plugins/hparams/hparams_util_test.sh20# Print message in "$1" then exit with error status 1.COMMENT
LOWtensorboard/backend/http_util.py167 # Set mtime to zero to make payload for a given input deterministic.COMMENT
LOW…d/backend/event_processing/plugin_event_accumulator.py549 ## Check if the event happened after a crash, and purge expired tags.COMMENT
LOW…sorboard/backend/event_processing/event_accumulator.py742 ## Check if the event happened after a crash, and purge expired tags.COMMENT
LOWtensorboard/backend/event_processing/data_ingester.py185 # Check if the spec contains group. A spec start with xyz:// is regarded asCOMMENT
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippetContext
LOW…_html_types/com/google/common/html/types/SafeUrls.java41 // Don't forget to update the public docs when updating this set.COMMENT
LOWtensorboard/manager_e2e_test.py84 # We really want to make sure to try to kill all theseCOMMENT
MEDIUMtensorboard/plugins/text/text_demo.py30 # UTF-8. Here's a simple example, wherein we greet the user on eachCOMMENT
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtensorboard/__init__.py22__all__ = [CODE
LOWtensorboard/default.py47logger = logging.getLogger(__name__)CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtensorboard/components/tf_color_scale/colorScale.ts21// Example usage:COMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtensorboard/summary/_tf/summary/__init__.py16# NOTE: This module exists to provide the `tf.summary` module in the TensorFlowCOMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…orboard/plugins/debugger_v2/debugger_v2_plugin_test.py81 def my_function(x):CODE