TensorFlow's Visualization Toolkit
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).
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.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ci/download_bazel.sh | 15 | # ============================================================================== | COMMENT |
| MEDIUM | ci/download_buildifier.sh | 15 | # ============================================================================== | COMMENT |
| MEDIUM | ci/download_executable.sh | 15 | # ============================================================================== | COMMENT |
| MEDIUM | ci/download_buildozer.sh | 15 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/manager_e2e_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/auth.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/program_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/manager_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/auth_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/errors_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/version.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/lazy_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/default_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/main_lib.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/main_dev.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/default.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/plugin_util.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/context.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/assets.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/dataclass_compat_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/program.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/context_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/errors.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/dataclass_compat.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/notebook.py | 13 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/lazy.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/main.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/data_compat.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/assets_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/__main__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/manager.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/uploader/util.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/uploader/upload_tracker.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/uploader/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/uploader/logdir_loader.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/uploader/util_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/uploader/upload_tracker_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/uploader/logdir_loader_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/tools/mirror_urls_test.sh | 15 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/tools/set_nightly_version.sh | 15 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/tools/do_not_submit_test.sh | 15 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/tools/diagnose_tensorboard.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/tools/mat_bundle_icon_svg_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/tools/mat_bundle_icon_svg.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/tools/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/tools/inline_file_content.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/tools/convert_tbdev_export.py | 15 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/tools/whitespace_hygiene_test.py | 15 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/tools/license_test.sh | 15 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/compat/tensorflow_stub/flags.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/compat/tensorflow_stub/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/compat/tensorflow_stub/dtypes.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/compat/tensorflow_stub/tensor_shape.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/compat/tensorflow_stub/app.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/compat/tensorflow_stub/errors.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/compat/tensorflow_stub/pywrap_tensorflow.py | 14 | # ============================================================================= | COMMENT |
| MEDIUM | tensorboard/compat/tensorflow_stub/error_codes.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | tensorboard/compat/tensorflow_stub/compat/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …nsorboard/compat/tensorflow_stub/compat/v1/__init__.py | 14 | # ============================================================================== | COMMENT |
| 264 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tensorboard/manager_e2e_test.py | 96 | def _ensure_tensorboard_on_path(self, expected_binary_dir): | CODE |
| LOW | tensorboard/manager_e2e_test.py | 162 | def test_launch_new_because_incompatible(self): | CODE |
| LOW | tensorboard/manager_e2e_test.py | 174 | def test_launch_new_because_info_file_deleted(self): | CODE |
| LOW | tensorboard/manager_e2e_test.py | 266 | def test_failure_unreadable_stdio(self): | STRING |
| LOW | tensorboard/manager_e2e_test.py | 321 | def test_tensorboard_binary_environment_variable(self): | STRING |
| LOW | tensorboard/manager_e2e_test.py | 352 | def test_exec_failure_with_explicit_binary(self): | STRING |
| LOW | tensorboard/manager_e2e_test.py | 361 | def test_exec_failure_with_no_explicit_binary(self): | STRING |
| LOW | tensorboard/program_test.py | 84 | def test_should_use_data_server(self): | CODE |
| LOW⚡ | tensorboard/manager_test.py | 57 | def test_roundtrip_serialization(self): | CODE |
| LOW⚡ | tensorboard/manager_test.py | 64 | def test_serialization_rejects_bad_types(self): | CODE |
| LOW⚡ | tensorboard/manager_test.py | 73 | def test_serialization_rejects_wrong_version(self): | CODE |
| LOW⚡ | tensorboard/manager_test.py | 81 | def test_deserialization_rejects_bad_json(self): | CODE |
| LOW⚡ | tensorboard/manager_test.py | 86 | def test_deserialization_rejects_non_object_json(self): | CODE |
| LOW⚡ | tensorboard/manager_test.py | 93 | def test_deserialization_rejects_missing_version(self): | CODE |
| LOW⚡ | tensorboard/manager_test.py | 103 | def test_deserialization_accepts_future_version(self): | CODE |
| LOW⚡ | tensorboard/manager_test.py | 111 | def test_deserialization_ignores_extra_keys(self): | CODE |
| LOW⚡ | tensorboard/manager_test.py | 119 | def test_deserialization_rejects_missing_keys(self): | CODE |
| LOW⚡ | tensorboard/manager_test.py | 129 | def test_deserialization_rejects_bad_types(self): | CODE |
| LOW | tensorboard/manager_test.py | 141 | def test_logdir_data_source_format(self): | CODE |
| LOW | tensorboard/manager_test.py | 145 | def test_db_data_source_format(self): | CODE |
| LOW | tensorboard/manager_test.py | 161 | def test_depends_on_working_directory(self): | CODE |
| LOW | tensorboard/manager_test.py | 172 | def test_depends_on_arguments(self): | CODE |
| LOW | tensorboard/manager_test.py | 188 | def test_depends_on_configure_kwargs(self): | CODE |
| LOW | tensorboard/manager_test.py | 203 | def test_arguments_and_configure_kwargs_independent(self): | CODE |
| LOW | tensorboard/manager_test.py | 222 | def test_arguments_list_vs_tuple_irrelevant(self): | CODE |
| LOW | tensorboard/manager_test.py | 237 | def test_strips_bazel_and_python_path_state(self): | CODE |
| LOW | tensorboard/manager_test.py | 292 | def test_fails_if_info_dir_name_is_taken_by_a_regular_file(self): | CODE |
| LOW | tensorboard/manager_test.py | 301 | def test_directory_world_accessible(self): | CODE |
| LOW | tensorboard/manager_test.py | 318 | def test_writing_file_with_restrictive_umask(self): | CODE |
| LOW | tensorboard/manager_test.py | 338 | def test_write_remove_info_file(self): | CODE |
| LOW | tensorboard/manager_test.py | 350 | def test_write_info_file_rejects_bad_types(self): | CODE |
| LOW | tensorboard/manager_test.py | 362 | def test_write_info_file_rejects_wrong_version(self): | CODE |
| LOW | tensorboard/manager_test.py | 401 | def test_get_all_ignores_bad_files(self): | CODE |
| LOW | tensorboard/lazy_test.py | 83 | def test_failed_load_idempotent(self): | CODE |
| LOW | tensorboard/lazy_test.py | 95 | def test_loads_only_once_even_when_result_equal_to_everything(self): | CODE |
| LOW | tensorboard/assets.py | 24 | def get_default_assets_zip_provider(): | CODE |
| LOW | tensorboard/dataclass_compat_test.py | 63 | def test_irrelevant_event_passes_through(self): | CODE |
| LOW | tensorboard/dataclass_compat_test.py | 71 | def test_unknown_summary_passes_through(self): | CODE |
| LOW | tensorboard/dataclass_compat_test.py | 82 | def test_already_newstyle_summary_passes_through(self): | CODE |
| LOW | tensorboard/dataclass_compat_test.py | 97 | def test_doesnt_add_metadata_to_later_steps(self): | CODE |
| LOW | tensorboard/program.py | 399 | def _start_subprocess_data_ingester(self): | STRING |
| LOW | tensorboard/program.py | 678 | class _WSGIRequestHandler(serving.WSGIRequestHandler): | CODE |
| LOW | tensorboard/dataclass_compat.py | 83 | def _migrate_tagged_run_metadata_event(old_event): | CODE |
| LOW | tensorboard/dataclass_compat.py | 213 | def _migrate_custom_scalars_value(value): | CODE |
| LOW | tensorboard/dataclass_compat.py | 219 | def _migrate_graph_sub_plugin_value(value): | CODE |
| LOW | tensorboard/plugin_util_test.py | 29 | def test_whitelisted_tags_and_attributes_allowed(self): | CODE |
| LOW | tensorboard/plugin_util_test.py | 36 | def test_arbitrary_tags_and_attributes_removed(self): | CODE |
| LOW | tensorboard/plugin_util_test.py | 48 | def test_javascript_hrefs_sanitized(self): | CODE |
| LOW | tensorboard/plugin_util_test.py | 61 | def test_unicode_strings_passed_through(self): | CODE |
| LOW⚡ | tensorboard/plugin_util_test.py | 138 | def test_whitelisted_tags_and_attributes_allowed(self): | CODE |
| LOW⚡ | tensorboard/plugin_util_test.py | 145 | def test_arbitrary_tags_and_attributes_removed(self): | CODE |
| LOW⚡ | tensorboard/plugin_util_test.py | 155 | def test_javascript_hrefs_sanitized(self): | CODE |
| LOW | tensorboard/plugin_util_test.py | 168 | def test_unicode_strings_passed_through(self): | CODE |
| LOW | tensorboard/plugin_util_test.py | 175 | def test_null_bytes_stripped_before_markdown_processing(self): | CODE |
| LOW | tensorboard/plugin_util_test.py | 202 | def test_sanitizes_combination_result(self): | CODE |
| LOW | tensorboard/lib_test.py | 22 | def test_functional_after_reload(self): | CODE |
| LOW | tensorboard/data_compat_test.py | 126 | def test_fully_populated_tensor(self): | CODE |
| LOW | tensorboard/data_compat_test.py | 229 | def test_single_value_histogram(self): | CODE |
| LOW | tensorboard/data_compat_test.py | 251 | def test_histogram_with_empty_buckets_on_both_ends(self): | CODE |
| LOW | tensorboard/data_compat_test.py | 275 | def test_histogram_with_extremal_values(self): | CODE |
| 571 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …/com/google/common/html/types/SafeStyleSheetProto.java | 324 | // Construct using com.google.common.html.types.SafeStyleSheetProto.newBuilder() | COMMENT |
| CRITICAL | …/com/google/common/html/types/SafeStyleSheetProto.java | 352 | return com.google.common.html.types.SafeStyleSheetProto.getDefaultInstance(); | CODE |
| CRITICAL | …/com/google/common/html/types/SafeStyleSheetProto.java | 364 | com.google.common.html.types.SafeStyleSheetProto result = new com.google.common.html.types.SafeStyleSheetProto(thi | CODE |
| CRITICAL | …/com/google/common/html/types/SafeStyleSheetProto.java | 412 | if (other == com.google.common.html.types.SafeStyleSheetProto.getDefaultInstance()) return this; | CODE |
| CRITICAL | …/com/google/common/html/types/SafeStyleSheetProto.java | 574 | DEFAULT_INSTANCE = new com.google.common.html.types.SafeStyleSheetProto(); | CODE |
| CRITICAL | …ypes/com/google/common/html/types/SafeScriptProto.java | 324 | // Construct using com.google.common.html.types.SafeScriptProto.newBuilder() | COMMENT |
| CRITICAL | …ypes/com/google/common/html/types/SafeScriptProto.java | 352 | return com.google.common.html.types.SafeScriptProto.getDefaultInstance(); | CODE |
| CRITICAL | …ypes/com/google/common/html/types/SafeScriptProto.java | 364 | com.google.common.html.types.SafeScriptProto result = new com.google.common.html.types.SafeScriptProto(this); | CODE |
| CRITICAL | …ypes/com/google/common/html/types/SafeScriptProto.java | 412 | if (other == com.google.common.html.types.SafeScriptProto.getDefaultInstance()) return this; | CODE |
| CRITICAL | …ypes/com/google/common/html/types/SafeScriptProto.java | 574 | DEFAULT_INSTANCE = new com.google.common.html.types.SafeScriptProto(); | CODE |
| CRITICAL | …l_types/com/google/common/html/types/BuilderUtils.java | 52 | // This is exactly what j.c.g.common.html.HtmlEscapers.htmlEscaper() does. However, depending on | COMMENT |
| CRITICAL | …types/com/google/common/html/types/SafeStyleProto.java | 324 | // Construct using com.google.common.html.types.SafeStyleProto.newBuilder() | COMMENT |
| CRITICAL | …types/com/google/common/html/types/SafeStyleProto.java | 352 | return com.google.common.html.types.SafeStyleProto.getDefaultInstance(); | CODE |
| CRITICAL | …types/com/google/common/html/types/SafeStyleProto.java | 364 | com.google.common.html.types.SafeStyleProto result = new com.google.common.html.types.SafeStyleProto(this); | CODE |
| CRITICAL | …types/com/google/common/html/types/SafeStyleProto.java | 412 | if (other == com.google.common.html.types.SafeStyleProto.getDefaultInstance()) return this; | CODE |
| CRITICAL | …types/com/google/common/html/types/SafeStyleProto.java | 574 | DEFAULT_INSTANCE = new com.google.common.html.types.SafeStyleProto(); | CODE |
| CRITICAL | …/google/common/html/types/TrustedResourceUrlProto.java | 326 | // Construct using com.google.common.html.types.TrustedResourceUrlProto.newBuilder() | COMMENT |
| CRITICAL | …/google/common/html/types/TrustedResourceUrlProto.java | 354 | return com.google.common.html.types.TrustedResourceUrlProto.getDefaultInstance(); | CODE |
| CRITICAL | …/google/common/html/types/TrustedResourceUrlProto.java | 366 | com.google.common.html.types.TrustedResourceUrlProto result = new com.google.common.html.types.TrustedResourceUrlP | CODE |
| CRITICAL | …/google/common/html/types/TrustedResourceUrlProto.java | 414 | if (other == com.google.common.html.types.TrustedResourceUrlProto.getDefaultInstance()) return this; | CODE |
| CRITICAL | …/google/common/html/types/TrustedResourceUrlProto.java | 576 | DEFAULT_INSTANCE = new com.google.common.html.types.TrustedResourceUrlProto(); | CODE |
| CRITICAL | …l_types/com/google/common/html/types/SafeUrlProto.java | 326 | // Construct using com.google.common.html.types.SafeUrlProto.newBuilder() | COMMENT |
| CRITICAL | …l_types/com/google/common/html/types/SafeUrlProto.java | 354 | return com.google.common.html.types.SafeUrlProto.getDefaultInstance(); | CODE |
| CRITICAL | …l_types/com/google/common/html/types/SafeUrlProto.java | 366 | 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.java | 414 | if (other == com.google.common.html.types.SafeUrlProto.getDefaultInstance()) return this; | CODE |
| CRITICAL | …l_types/com/google/common/html/types/SafeUrlProto.java | 576 | DEFAULT_INSTANCE = new com.google.common.html.types.SafeUrlProto(); | CODE |
| CRITICAL | …/com/google/common/html/types/CustomSafeUrlScheme.java | 205 | return com.google.common.html.types.Html.getDescriptor().getEnumTypes().get(0); | CODE |
| CRITICAL | …_types/com/google/common/html/types/SafeHtmlProto.java | 334 | // Construct using com.google.common.html.types.SafeHtmlProto.newBuilder() | COMMENT |
| CRITICAL | …_types/com/google/common/html/types/SafeHtmlProto.java | 362 | return com.google.common.html.types.SafeHtmlProto.getDefaultInstance(); | CODE |
| CRITICAL | …_types/com/google/common/html/types/SafeHtmlProto.java | 374 | com.google.common.html.types.SafeHtmlProto result = new com.google.common.html.types.SafeHtmlProto(this); | CODE |
| CRITICAL | …_types/com/google/common/html/types/SafeHtmlProto.java | 422 | if (other == com.google.common.html.types.SafeHtmlProto.getDefaultInstance()) return this; | CODE |
| CRITICAL | …_types/com/google/common/html/types/SafeHtmlProto.java | 584 | DEFAULT_INSTANCE = new com.google.common.html.types.SafeHtmlProto(); | CODE |
| CRITICAL | tensorboard/plugins/projector/projector_plugin_test.py | 317 | patcher = tf.compat.v1.test.mock.patch( | CODE |
| CRITICAL | tensorboard/plugins/projector/projector_plugin_test.py | 349 | patcher = tf.compat.v1.test.mock.patch( | CODE |
| CRITICAL | …projector/vz_projector/vz-projector-inspector-panel.ts | 172 | let stat = this.projector.dataSet.spriteAndMetadataInfo.stats.filter( | CODE |
| CRITICAL | …gins/projector/vz_projector/vz-projector-data-panel.ts | 367 | this.projector.dataSet.spriteAndMetadataInfo.pointsInfo.forEach((p) => { | CODE |
| CRITICAL | tensorboard/plugins/hparams/_keras.py | 93 | tf.compat.v2.summary.experimental.write_raw_pb(raw_pb, step=0) | CODE |
| CRITICAL | tensorboard/plugins/hparams/hparams_util.py | 223 | tf.compat.v2.summary.experimental.write_raw_pb( | CODE |
| CRITICAL | …orboard/plugins/debugger_v2/debugger_v2_plugin_test.py | 130 | self.run_in_background_patch = tf.compat.v1.test.mock.patch.object( | CODE |
| CRITICAL | …orboard/plugins/debugger_v2/debugger_v2_plugin_test.py | 1341 | graph = self.plugin._data_provider._multiplexer._reader.graph_by_id( | CODE |
| CRITICAL | …widgets/source_code/source_code_diff_container_test.ts | 149 | expect(fakes.fakeMonaco.editor.setTheme.calls.allArgs()).toEqual([ | CODE |
| CRITICAL | …bapp/widgets/source_code/source_code_container_test.ts | 178 | fakes.fakeMonaco.editor.setTheme.calls.reset(); | CODE |
| CRITICAL | …bapp/widgets/source_code/source_code_container_test.ts | 189 | expect(fakes.fakeMonaco.editor.setTheme.calls.allArgs()).toEqual([ | CODE |
| CRITICAL | …kend/event_processing/plugin_event_multiplexer_test.py | 356 | patcher = tf.compat.v1.test.mock.patch( | CODE |
| CRITICAL | …kend/event_processing/plugin_event_multiplexer_test.py | 361 | patcher = tf.compat.v1.test.mock.patch.object( | CODE |
| CRITICAL | …kend/event_processing/plugin_event_multiplexer_test.py | 378 | patcher = tf.compat.v1.test.mock.patch( | CODE |
| CRITICAL | …kend/event_processing/plugin_event_multiplexer_test.py | 383 | patcher = tf.compat.v1.test.mock.patch.object( | CODE |
| CRITICAL | …kend/event_processing/plugin_event_multiplexer_test.py | 401 | patcher = tf.compat.v1.test.mock.patch( | CODE |
| CRITICAL | …kend/event_processing/plugin_event_multiplexer_test.py | 406 | patcher = tf.compat.v1.test.mock.patch.object( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci/download_bazel.sh | 1 | #!/bin/sh | COMMENT |
| LOW | ci/download_buildifier.sh | 1 | #!/bin/sh | COMMENT |
| LOW | ci/download_executable.sh | 1 | #!/bin/sh | COMMENT |
| LOW | ci/download_buildozer.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tensorboard/encode_png_benchmark.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/manager_e2e_test.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/auth.py | 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/program_test.py | 1 | # Copyright 2018 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/manager_test.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/auth_test.py | 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/errors_test.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/version.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/lazy_test.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/default_test.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/__init__.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/__init__.py | 21 | # TensorBoard public API. | COMMENT |
| LOW | tensorboard/__init__.py | 41 | # actual `tensorboard.notebook` submodule is not loaded. | COMMENT |
| LOW | tensorboard/__init__.py | 61 | # uses `import tensorboard.notebook; return tensorboard.notebook`, | COMMENT |
| LOW | tensorboard/main_lib.py | 1 | # Copyright 2021 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/test.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/main_dev.py | 1 | # Copyright 2021 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/default.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/plugin_util.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/context.py | 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/version_test.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/assets.py | 1 | # Copyright 2021 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/dataclass_compat_test.py | 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/program.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/context_test.py | 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/errors.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/dataclass_compat.py | 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/notebook.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/lazy.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/main.py | 1 | # Copyright 2015 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/plugin_util_test.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/data_compat.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/lib_test.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/assets_test.py | 1 | # Copyright 2021 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/__main__.py | 1 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/manager.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/data_compat_test.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/uploader/util.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/uploader/upload_tracker.py | 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/uploader/__init__.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/uploader/logdir_loader.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/uploader/util_test.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/uploader/upload_tracker_test.py | 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/uploader/logdir_loader_test.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/tools/mirror_urls_test.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tensorboard/tools/set_nightly_version.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tensorboard/tools/do_not_submit_test.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tensorboard/tools/diagnose_tensorboard.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/tools/import_google_fonts.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/tools/mat_bundle_icon_svg_test.py | 1 | # Copyright 2021 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/tools/mat_bundle_icon_svg.py | 1 | # Copyright 2021 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/tools/__init__.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/tools/inline_file_content.py | 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | tensorboard/tools/convert_tbdev_export.py | 1 | #! /usr/bin/env python3 | COMMENT |
| LOW | tensorboard/tools/whitespace_hygiene_test.py | 1 | #!/usr/bin/python3 | COMMENT |
| LOW | tensorboard/tools/license_test.sh | 1 | #!/usr/bin/env bash | COMMENT |
| 433 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tensorboard/auth.py | 24 | Produce an opaque auth token from a WSGI request environment. Args: environ: A WSGI environment `dict | STRING |
| HIGH | tensorboard/program.py | 159 | Configures TensorBoard behavior via flags. This method will populate the "flags" property with an argparse.Name | STRING |
| HIGH | tensorboard/manager.py | 100 | Convert a `TensorBoardInfo` to string form to be stored on disk. The format returned by this function is opaque and | STRING |
| HIGH | tensorboard/manager.py | 131 | Parse a `TensorBoardInfo` object from its string representation. Args: info_string: A string representation o | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/dtypes.py | 640 | Converts the given `type_value` to a `DType`. Args: type_value: A value that can be converted to a `tf.DType` | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/tensor_shape.py | 124 | Returns a Dimension that combines the information in `self` and `other`. Dimensions are combined as fol | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/tensor_shape.py | 610 | Returns the value of a dimension or a shape, depending on the key. Args: key: If `key` is an integer, | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/tensor_shape.py | 665 | Returns a `TensorShape` combining the information in `self` and `other`. The dimensions in `self` and ` | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/tensor_shape.py | 751 | Returns a shape based on `self` with the given rank. This method promotes a completely unknown shape to one wit | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/tensor_shape.py | 771 | Returns a shape based on `self` with at least the given rank. Args: rank: An integer. Return | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/tensor_shape.py | 792 | Returns a shape based on `self` with at most the given rank. Args: rank: An integer. Returns | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/compat/__init__.py | 38 | Converts either bytes or unicode to `bytes`, using utf-8 encoding for text. Args: bytes_or_text: A `bytes`, | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/compat/__init__.py | 62 | Returns the given argument as a unicode string. Args: bytes_or_text: A `bytes`, `str`, or `unicode` object. | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/io/gfile.py | 841 | Determines whether a path exists or not. Args: filename: string, a path Returns: True if the path | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/io/gfile.py | 857 | Returns a list of files that match the given pattern(s). Args: filename: string or iterable of strings. The g | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/io/gfile.py | 884 | Returns a list of entries contained within a directory. The list is in arbitrary order. It does not contain the spe | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/io/gfile.py | 963 | Returns file statistics for a given path. Args: filename: string, path to a file Returns: FileStat | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/io/gfile.py | 994 | Reads the entire contents of a file to a string. Args: filename: string, path to a file binary_mode: wh | STRING |
| HIGH | tensorboard/util/grpc_util.py | 82 | Analogous to `grpc.Future.result`. Returns the value or exception. This method will wait until the full set of | STRING |
| HIGH | tensorboard/util/grpc_util.py | 197 | Call a gRPC stub API method, with automatic retry logic. This only supports unary-unary RPCs: i.e., no streaming on | STRING |
| HIGH | tensorboard/util/tensor_util.py | 293 | Create a TensorProto. Args: values: Values to put in the TensorProto. dtype: Optional | STRING |
| HIGH | tensorboard/util/tensor_util.py | 500 | Create 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.py | 116 | Provides a response for downloading scalars data for a data series. Args: ctx: A tensorboard.context. | STRING |
| HIGH | …orboard/plugins/custom_scalar/custom_scalars_plugin.py | 184 | Given a tag regex and single run, return ScalarEvents. Args: ctx: A tensorboard.context.RequestContex | STRING |
| HIGH | tensorboard/plugins/graph/graph_util.py | 81 | Merges GraphDefs by adding unique prefix, `graph_{ind}`, to names. All GraphDefs are expected to be of TensorBoard' | STRING |
| HIGH | tensorboard/plugins/image/images_plugin.py | 119 | Builds a JSON-serializable object with information about images. Args: run: The name of the run. | STRING |
| HIGH | tensorboard/plugins/hparams/summary_v2.py | 182 | Normalize a dict keyed by `HParam`s and/or raw strings. Args: hparams: A `dict` whose keys are `HParam` objec | STRING |
| HIGH | …sorboard/plugins/debugger_v2/debug_data_multiplexer.py | 459 | Get the information regarding a TensorFlow graph. Args: run: Name of the run. graph_id: Deb | STRING |
| HIGH | …sorboard/plugins/debugger_v2/debug_data_multiplexer.py | 486 | Get the information regarding a graph op's creation. Args: run: Name of the run. graph_id: | STRING |
| HIGH | tensorboard/plugins/text/summary.py | 28 | Create a legacy text summary op. Text data summarized via this plugin will be visible in the Text Dashboard in | STRING |
| HIGH | tensorboard/plugins/text/text_plugin.py | 70 | Given a numpy ndarray of strings, concatenate them into a html table. Args: contents: A np.ndarray of strings | STRING |
| HIGH | tensorboard/plugins/text/text_plugin.py | 129 | Given a np.npdarray with nDims > 2, reduce it to 2d. It does this by selecting the zeroth coordinate for every dime | STRING |
| HIGH | tensorboard/backend/application.py | 185 | Constructs TensorBoardWSGI instance. Args: plugins: A list of base_plugin.TBPlugin subclass instances | STRING |
| HIGH | …sorboard/backend/event_processing/plugin_asset_util.py | 82 | Retrieve 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.py | 219 | Return 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.py | 276 | Returns a dict mapping tags to content specific to that plugin. Args: plugin_name: The name of the pl | STRING |
| HIGH | …d/backend/event_processing/plugin_event_accumulator.py | 306 | Given a summary tag name, return the associated metadata object. Args: tag: The name of a tag, as a s | STRING |
| HIGH | …d/backend/event_processing/plugin_event_accumulator.py | 502 | Given a tag, return the associated session.run() metadata. Args: tag: A string tag associated with th | STRING |
| HIGH | …d/backend/event_processing/plugin_event_accumulator.py | 521 | Given a summary tag, return all associated tensors. Args: tag: A string tag associated with the event | STRING |
| HIGH | …sorboard/backend/event_processing/event_accumulator.py | 360 | Return the contents of a given plugin asset. Args: plugin_name: The string name of a plugin. | STRING |
| HIGH | …sorboard/backend/event_processing/event_accumulator.py | 417 | Returns a dict mapping tags to content specific to that plugin. Args: plugin_name: The name of the pl | STRING |
| HIGH | …sorboard/backend/event_processing/event_accumulator.py | 435 | Given a summary tag name, return the associated metadata object. Args: tag: The name of a tag, as a s | STRING |
| HIGH | …sorboard/backend/event_processing/event_accumulator.py | 592 | Given a summary tag, return all associated `ScalarEvent`s. Args: tag: A string tag associated with th | STRING |
| HIGH | …sorboard/backend/event_processing/event_accumulator.py | 639 | Given a tag, return the associated session.run() metadata. Args: tag: A string tag associated with th | STRING |
| HIGH | …sorboard/backend/event_processing/event_accumulator.py | 658 | Given a summary tag, return all associated histograms. Args: tag: A string tag associated with the ev | STRING |
| HIGH | …sorboard/backend/event_processing/event_accumulator.py | 672 | Given a summary tag, return all associated compressed histograms. Args: tag: A string tag associated | STRING |
| HIGH | …sorboard/backend/event_processing/event_accumulator.py | 686 | Given a summary tag, return all associated images. Args: tag: A string tag associated with the events | STRING |
| HIGH | …sorboard/backend/event_processing/event_accumulator.py | 700 | Given a summary tag, return all associated audio. Args: tag: A string tag associated with the events. | STRING |
| HIGH | …sorboard/backend/event_processing/event_accumulator.py | 714 | Given a summary tag, return all associated tensors. Args: tag: A string tag associated with the event | STRING |
| HIGH | tensorboard/backend/event_processing/io_wrapper.py | 37 | Check the path name to see if it is probably a TF Events file. Args: path: A file path to check if it is an e | STRING |
| HIGH | tensorboard/backend/event_processing/io_wrapper.py | 180 | Obtains all subdirectories with events files. The order of the subdirectories returned is unspecified. The internal | STRING |
| HIGH | tensorboard/backend/event_processing/reservoir.py | 97 | Return 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.py | 178 | Load runs from a directory; recursively walks subdirectories. If path doesn't exist, no-op. This ensures that i | STRING |
| HIGH | …d/backend/event_processing/plugin_event_multiplexer.py | 289 | Return 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.py | 306 | Return the timestamp of the first event of the given run. This may perform I/O if no events have been loaded ye | STRING |
| HIGH | …d/backend/event_processing/plugin_event_multiplexer.py | 341 | Retrieve the graph associated with the provided run. Args: run: A string name of a run to load the gr | STRING |
| HIGH | …d/backend/event_processing/plugin_event_multiplexer.py | 357 | Retrieve 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.py | 373 | Retrieve the metagraph associated with the provided run. Args: run: A string name of a run to load th | STRING |
| HIGH | …d/backend/event_processing/plugin_event_multiplexer.py | 389 | Get the session.run() metadata associated with a TensorFlow run and tag. Args: run: A string | STRING |
| HIGH | …d/backend/event_processing/plugin_event_multiplexer.py | 407 | Retrieve the tensor events associated with a run and tag. Args: run: A string name of the run for whi | STRING |
| 31 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tensorboard/compat/tensorflow_stub/io/gfile_test.py | 0 | creates a reasonable deep structure of subdirectories with files. args: top_directory: the file:// path of the top level | STRING |
| HIGH | tensorboard/backend/event_processing/io_wrapper_test.py | 0 | creates a reasonable deep structure of subdirectories with files. args: top_directory: the file:// path of the top level | STRING |
| HIGH | …orboard/compat/tensorflow_stub/io/gfile_fsspec_test.py | 0 | creates a reasonable deep structure of subdirectories with files. args: top_directory: the file:// path of the top level | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/io/gfile_test.py | 0 | compares iterables of (subdirectory path, list of absolute paths) args: expected: the expected iterable of 2-tuples. got | STRING |
| HIGH | tensorboard/compat/tensorflow_stub/io/gfile_s3_test.py | 0 | compares iterables of (subdirectory path, list of absolute paths) args: expected: the expected iterable of 2-tuples. got | STRING |
| HIGH | …orboard/compat/tensorflow_stub/io/gfile_fsspec_test.py | 0 | compares iterables of (subdirectory path, list of absolute paths) args: expected: the expected iterable of 2-tuples. got | STRING |
| HIGH | tensorboard/backend/event_processing/io_wrapper_test.py | 0 | compares iterables of (subdirectory path, list of absolute paths) args: expected: the expected iterable of 2-tuples. got | STRING |
| HIGH | tensorboard/plugins/mesh/test_utils.py | 0 | deserializes byte content that is a json encoding. args: byte_content: the byte content of a response. returns: the dese | STRING |
| HIGH | tensorboard/plugins/image/images_plugin_test.py | 0 | deserializes byte content that is a json encoding. args: byte_content: the byte content of a response. returns: the dese | STRING |
| HIGH | tensorboard/plugins/audio/audio_plugin_test.py | 0 | deserializes byte content that is a json encoding. args: byte_content: the byte content of a response. returns: the dese | STRING |
| HIGH | tensorboard/plugins/hparams/hparams_plugin.py | 0 | the tensorboard histograms plugin. see `http_api.md` in this directory for specifications of the routes for this plugin. | STRING |
| HIGH | tensorboard/plugins/scalar/scalars_plugin.py | 0 | the tensorboard histograms plugin. see `http_api.md` in this directory for specifications of the routes for this plugin. | STRING |
| HIGH | tensorboard/plugins/histogram/histograms_plugin.py | 0 | the 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.py | 0 | keyerror should be raised when accessing non-existing keys. | STRING |
| HIGH | …ard/backend/event_processing/event_multiplexer_test.py | 0 | keyerror should be raised when accessing non-existing keys. | STRING |
| HIGH | …kend/event_processing/plugin_event_accumulator_test.py | 0 | keyerror should be raised when accessing non-existing keys. | STRING |
| HIGH | …kend/event_processing/plugin_event_multiplexer_test.py | 0 | keyerror should be raised when accessing non-existing keys. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tensorboard/program.py | 695 | CODE | |
| LOW | tensorboard/notebook.py | 120 | CODE | |
| LOW | tensorboard/tools/diagnose_tensorboard.py | 402 | CODE | |
| LOW | tensorboard/tools/convert_tbdev_export.py | 127 | CODE | |
| LOW | tensorboard/tools/convert_tbdev_export.py | 195 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/dtypes.py | 639 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/tensor_shape.py | 513 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/tensor_shape.py | 609 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/errors.py | 79 | CODE | |
| LOW | tensorboard/util/lazy_tensor_creator.py | 57 | CODE | |
| LOW | tensorboard/util/tensor_util.py | 292 | CODE | |
| LOW | tensorboard/util/tensor_util.py | 499 | CODE | |
| LOW | tensorboard/plugins/mesh/mesh_plugin_test.py | 43 | CODE | |
| LOW | tensorboard/plugins/mesh/demo_utils.py | 57 | CODE | |
| LOW | tensorboard/plugins/metrics/metrics_plugin_test.py | 129 | CODE | |
| LOW | tensorboard/plugins/core/core_plugin.py | 101 | CODE | |
| LOW | tensorboard/plugins/core/core_plugin.py | 676 | CODE | |
| LOW | tensorboard/plugins/projector/projector_plugin.py | 167 | CODE | |
| LOW | tensorboard/plugins/projector/projector_plugin.py | 371 | CODE | |
| LOW | tensorboard/plugins/projector/projector_plugin.py | 446 | CODE | |
| LOW | …orboard/plugins/custom_scalar/custom_scalars_plugin.py | 272 | CODE | |
| LOW | tensorboard/plugins/graph/keras_util.py | 124 | CODE | |
| LOW | tensorboard/plugins/hparams/list_session_groups.py | 620 | CODE | |
| LOW | tensorboard/plugins/hparams/list_session_groups.py | 125 | CODE | |
| LOW | tensorboard/plugins/hparams/list_session_groups.py | 390 | CODE | |
| LOW | tensorboard/plugins/hparams/summary_v2.py | 64 | CODE | |
| LOW | tensorboard/plugins/hparams/hparams_minimal_demo.py | 248 | CODE | |
| LOW | tensorboard/plugins/hparams/download_data.py | 59 | CODE | |
| LOW | tensorboard/plugins/hparams/download_data.py | 116 | CODE | |
| LOW | tensorboard/plugins/hparams/summary.py | 79 | CODE | |
| LOW | tensorboard/plugins/debugger_v2/debug_data_provider.py | 589 | CODE | |
| LOW | tensorboard/plugins/scalar/scalars_demo.py | 112 | CODE | |
| LOW | tensorboard/plugins/scalar/scalars_demo_eager.py | 47 | CODE | |
| LOW | tensorboard/plugins/scalar/scalars_plugin_test.py | 87 | CODE | |
| LOW | tensorboard/backend/process_graph.py | 21 | CODE | |
| LOW | tensorboard/backend/application.py | 176 | CODE | |
| LOW | tensorboard/backend/application.py | 399 | CODE | |
| LOW | tensorboard/backend/json_util.py | 35 | CODE | |
| LOW | …/backend/event_processing/event_file_inspector_test.py | 42 | CODE | |
| LOW | …board/backend/event_processing/event_file_inspector.py | 190 | CODE | |
| LOW | …board/backend/event_processing/event_file_inspector.py | 253 | CODE | |
| LOW | …d/backend/event_processing/plugin_event_accumulator.py | 328 | CODE | |
| LOW | …sorboard/backend/event_processing/event_accumulator.py | 448 | CODE | |
| LOW | tensorboard/backend/event_processing/data_ingester.py | 96 | CODE | |
| LOW | tensorboard/backend/event_processing/data_provider.py | 241 | CODE | |
| LOW | tensorboard/backend/event_processing/data_provider.py | 298 | CODE | |
| LOW | tensorboard/backend/event_processing/data_provider.py | 332 | CODE | |
| LOW | tensorboard/backend/event_processing/reservoir.py | 200 | CODE | |
| LOW | tensorboard/data/grpc_provider.py | 116 | CODE | |
| LOW | tensorboard/data/grpc_provider.py | 153 | CODE | |
| LOW | tensorboard/data/grpc_provider.py | 219 | CODE | |
| LOW | tensorboard/data/grpc_provider.py | 285 | CODE | |
| LOW | tensorboard/data/server/rustboard_core_doc_server.py | 27 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tensorboard/notebook.py | 55 | CODE | |
| LOW | tensorboard/tools/convert_tbdev_export.py | 82 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/flags.py | 25 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/__init__.py | 17 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/__init__.py | 18 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/__init__.py | 19 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/__init__.py | 20 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/__init__.py | 21 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/__init__.py | 22 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/__init__.py | 23 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/__init__.py | 24 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/__init__.py | 25 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/__init__.py | 27 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/__init__.py | 28 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/__init__.py | 30 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/__init__.py | 31 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/__init__.py | 32 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/__init__.py | 33 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/compat/__init__.py | 34 | CODE | |
| LOW | tensorboard/compat/tensorflow_stub/io/__init__.py | 17 | CODE | |
| LOW | tensorboard/plugins/projector/__init__.py | 30 | CODE | |
| LOW | tensorboard/plugins/projector/__init__.py | 33 | CODE | |
| LOW | tensorboard/plugins/projector/__init__.py | 36 | CODE | |
| LOW | tensorboard/plugins/wit_redirect/wit_redirect_plugin.py | 26 | CODE | |
| LOW | …rd/plugins/profile_redirect/profile_redirect_plugin.py | 26 | CODE | |
| LOW | tensorboard/backend/event_processing/data_ingester.py | 262 | CODE | |
| LOW | tensorboard/summary/__init__.py | 33 | CODE | |
| LOW | tensorboard/summary/__init__.py | 34 | CODE | |
| LOW | tensorboard/summary/__init__.py | 35 | CODE | |
| LOW | tensorboard/summary/__init__.py | 22 | CODE | |
| LOW | tensorboard/summary/__init__.py | 28 | CODE | |
| LOW | tensorboard/summary/__init__.py | 29 | CODE | |
| LOW | tensorboard/summary/v2.py | 21 | CODE | |
| LOW | tensorboard/summary/v2.py | 22 | CODE | |
| LOW | tensorboard/summary/v2.py | 23 | CODE | |
| LOW | tensorboard/summary/v2.py | 24 | CODE | |
| LOW | tensorboard/summary/v2.py | 25 | CODE | |
| LOW | tensorboard/summary/_tf/summary/__init__.py | 173 | CODE | |
| LOW | tensorboard/summary/_tf/summary/__init__.py | 174 | CODE | |
| LOW | tensorboard/summary/_tf/summary/__init__.py | 175 | CODE | |
| LOW | tensorboard/summary/_tf/summary/__init__.py | 176 | CODE | |
| LOW | tensorboard/summary/_tf/summary/__init__.py | 177 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tensorboard/lazy.py | 60 | # Define a module that proxies getattr() and dir() to the result of calling | COMMENT |
| MEDIUM | tensorboard/compat/tensorflow_stub/io/gfile_tf_test.py | 138 | # Creating a file structure as follows | COMMENT |
| MEDIUM | tensorboard/compat/tensorflow_stub/io/gfile_s3_test.py | 359 | # Create an empty object so the location exists | COMMENT |
| MEDIUM | tensorboard/plugins/projector/projector_plugin.py | 343 | # Create a background context; we may not be in a request. | COMMENT |
| MEDIUM | tensorboard/plugins/pr_curve/pr_curves_plugin_test.py | 52 | # Create a multiplexer for reading the data we just wrote. | COMMENT |
| MEDIUM | tensorboard/plugins/pr_curve/pr_curve_demo.py | 68 | # Create a normal distribution layer used to generate true color labels. | COMMENT |
| MEDIUM | tensorboard/plugins/hparams/list_session_groups.py | 322 | # Create the group and add the session as the first one. | COMMENT |
| MEDIUM | tensorboard/plugins/hparams/hparams_minimal_demo.py | 180 | # Create a mutable variable to hold the object's temperature, and | COMMENT |
| MEDIUM | …sorboard/plugins/debugger_v2/debug_data_multiplexer.py | 128 | # Create the reader for the tfdbg2 data in the lodir as soon as | COMMENT |
| MEDIUM | …ard/backend/event_processing/event_accumulator_test.py | 375 | # Create the expected values after compressing hst1 | COMMENT |
| MEDIUM | …ard/backend/event_processing/event_accumulator_test.py | 391 | # Create the expected values after compressing hst2 | COMMENT |
| MEDIUM | tensorboard/data/grpc_provider_test.py | 33 | # Create a stub instance (using a test channel) in order to derive a mock | COMMENT |
| MEDIUM | tensorboard/data/server_ingester_test.py | 48 | # Create a fake server binary so that the `os.path.exists` check | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tensorboard/plugins/graph/graphs_plugin_v2_test.py | 74 | CODE | |
| MEDIUM | tensorboard/plugins/graph/graphs_plugin_v2_test.py | 80 | CODE | |
| MEDIUM | tensorboard/plugins/graph/graphs_plugin_v2_test.py | 95 | CODE | |
| MEDIUM | tensorboard/plugins/graph/graphs_plugin_v2_test.py | 98 | CODE | |
| MEDIUM | tensorboard/plugins/graph/graphs_plugin_v2_test.py | 101 | CODE | |
| MEDIUM | tensorboard/plugins/graph/graphs_plugin_v2_test.py | 103 | CODE | |
| MEDIUM | tensorboard/plugins/graph/graphs_plugin_v2_test.py | 110 | CODE | |
| MEDIUM | tensorboard/plugins/graph/graphs_plugin_v2_test.py | 113 | CODE | |
| MEDIUM | tensorboard/plugins/graph/graphs_plugin_v2_test.py | 115 | CODE | |
| MEDIUM | tensorboard/plugins/graph/graphs_plugin_v2_test.py | 118 | CODE | |
| MEDIUM | tensorboard/plugins/graph/graphs_plugin_v2_test.py | 119 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tensorboard/plugins/projector/vz_projector/label.ts | 73 | * @return True if the bound was successfully inserted; false if it | COMMENT |
| HIGH | tensorboard/plugins/graph/tf_graph_common/scene.ts | 147 | * @return True if the graph had to be panned to display the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tensorboard/manager_e2e_test.py | 79 | except Exception as e: | CODE |
| MEDIUM | tensorboard/main_dev.py | 40 | print("Error: %s" % e, file=sys.stderr) | CODE |
| MEDIUM | tensorboard/main.py | 43 | print("Error: %s" % e, file=sys.stderr) | CODE |
| LOW | tensorboard/tools/diagnose_tensorboard.py | 510 | except Exception: | CODE |
| LOW⚡ | tensorboard/plugins/projector/projector_plugin.py | 501 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | tensorboard/backend/application.py | 124 | except Exception: | CODE |
| LOW | tensorboard/backend/application.py | 259 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | tensorboard/backend/application.py | 443 | except Exception: | CODE |
| LOW | …orboard/backend/event_processing/data_ingester_test.py | 276 | except Exception: | CODE |
| LOW | tensorboard/summary/writer/event_file_writer.py | 245 | except Exception as ex: | CODE |
| MEDIUM | tensorboard/summary/writer/event_file_writer.py | 242 | def run(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tensorboard/plugins/pr_curve/pr_curves_plugin.py | 213 | # Trim entries for which TP + FP = 0 (precision is undefined) at the tail of | COMMENT |
| HIGH | tensorboard/plugins/debugger_v2/debugger_v2_plugin.py | 340 | This field is not populated (undefined) at the leaf nodes | STRING |
| HIGH | tensorboard/plugins/debugger_v2/debugger_v2_plugin.py | 359 | This field is not populated (undefined) at the leaf nodes | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/r1/summaries.md | 181 | if train or FLAGS.fake_data: | CODE |
| LOW | docs/r1/summaries.md | 182 | xs, ys = mnist.train.next_batch(100, fake_data=FLAGS.fake_data) | CODE |
| LOW | docs/r1/graphs.md | 264 | if train or FLAGS.fake_data: | CODE |
| LOW | docs/r1/graphs.md | 265 | xs, ys = mnist.train.next_batch(100, fake_data=FLAGS.fake_data) | CODE |
| LOW | …ypes/com/google/common/html/types/SafeHtmlBuilder.java | 675 | return setAttribute("placeholder", value); | CODE |
| LOW | tensorboard/data_compat_test.py | 120 | "lorem_ipsum", tf.constant("dolor sit amet") | CODE |
| LOW | …board/webapp/metrics/views/main_view/card_grid_test.ts | 57 | <div class="placeholder">placeholder</div> | CODE |
| LOW | …board/webapp/metrics/views/main_view/card_grid_test.ts | 63 | <div class="placeholder">placeholder</div> | CODE |
| LOW | …ent_wrapping_input/content_wrapping_input_component.ts | 75 | [placeholder]="placeholder" | CODE |
| LOW | …/webapp/widgets/filter_input/filter_input_component.ts | 38 | [placeholder]="placeholder" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tensorboard/compat/tensorflow_stub/io/gfile.py | 305 | # Asked for no bytes, so just return empty | COMMENT |
| LOW | tensorboard/plugins/graph/keras_util.py | 309 | # avoid IndexErrors, we just use the last element in the | COMMENT |
| MEDIUM | …rd/webapp/widgets/card_fob/card_fob_controller_test.ts | 109 | // Absolutely place the fixture at the top left of the page to keep | COMMENT |
| MEDIUM | …rd/webapp/widgets/histogram/histogram_card_fob_test.ts | 43 | // Absolutely place the fixture at the top left of the page to keep | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tensorboard/compat/tensorflow_stub/io/gfile.py | 749 | CODE | |
| LOW | tensorboard/plugins/base_plugin.py | 241 | CODE | |
| LOW | tensorboard/plugins/mesh/mesh_plugin.py | 181 | CODE | |
| LOW | tensorboard/plugins/core/core_plugin_test.py | 48 | CODE | |
| LOW | tensorboard/backend/application_test.py | 34 | CODE | |
| LOW | tensorboard/backend/application_test.py | 66 | CODE | |
| LOW | …ard/backend/event_processing/event_accumulator_test.py | 65 | CODE | |
| LOW | …orboard/backend/event_processing/data_ingester_test.py | 33 | CODE | |
| LOW | tensorboard/data/grpc_provider.py | 64 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tensorboard/plugins/core/core_plugin.py | 732 | # Set mtime to zero for deterministic results across TensorBoard launches. | COMMENT |
| LOW | tensorboard/plugins/hparams/hparams_util_test.sh | 20 | # Print message in "$1" then exit with error status 1. | COMMENT |
| LOW | tensorboard/backend/http_util.py | 167 | # Set mtime to zero to make payload for a given input deterministic. | COMMENT |
| LOW | …d/backend/event_processing/plugin_event_accumulator.py | 549 | ## Check if the event happened after a crash, and purge expired tags. | COMMENT |
| LOW | …sorboard/backend/event_processing/event_accumulator.py | 742 | ## Check if the event happened after a crash, and purge expired tags. | COMMENT |
| LOW | tensorboard/backend/event_processing/data_ingester.py | 185 | # Check if the spec contains group. A spec start with xyz:// is regarded as | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …_html_types/com/google/common/html/types/SafeUrls.java | 41 | // Don't forget to update the public docs when updating this set. | COMMENT |
| LOW | tensorboard/manager_e2e_test.py | 84 | # We really want to make sure to try to kill all these | COMMENT |
| MEDIUM | tensorboard/plugins/text/text_demo.py | 30 | # UTF-8. Here's a simple example, wherein we greet the user on each | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tensorboard/__init__.py | 22 | __all__ = [ | CODE |
| LOW | tensorboard/default.py | 47 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tensorboard/components/tf_color_scale/colorScale.ts | 21 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tensorboard/summary/_tf/summary/__init__.py | 16 | # NOTE: This module exists to provide the `tf.summary` module in the TensorFlow | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …orboard/plugins/debugger_v2/debugger_v2_plugin_test.py | 81 | def my_function(x): | CODE |