AI Slop Code RIsk Monitor

horovod/horovod

Distributed training framework for TensorFlow, Keras, PyTorch, and Apache MXNet.

33.8 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for horovod/horovod, a Python project with 14,680 GitHub stars. SynthScan examined 84,998 lines of code across 358 source files, recording 2000 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 33.8 (High pattern signal); it is not an authorship estimate.

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

33.8
Adjusted Signal
33.8
Raw Pattern Score
100%
Time Factor
2026-09-17
Last Push
14.7K
Stars
Python
Language
85.0K
Lines of Code
358
Files
2.0K
Pattern Hits
2026-10-12
Scan Date
0.52
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 47.6/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 16.5/100 · LOW

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

Agent Over-Engineering Ratio 69.9/100 · HIGH

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

PR Review Velocity Impact 86.0/100 · CRITICAL

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

What These Metrics Mean

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

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

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

Severity Breakdown

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

CRITICAL 2HIGH 183MEDIUM 208LOW 1607

Directory Score Breakdown

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

Pattern Findings

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

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

Decorative Section Separators192 hits · 576 pts
SeverityFileLineSnippetContext
MEDIUMsetup.py16# ==============================================================================COMMENT
MEDIUM.readthedocs.yaml14# ==============================================================================COMMENT
MEDIUMtest/parallel/test_common.py14# ==============================================================================COMMENT
MEDIUMtest/parallel/test_xla_process_sets.py17# =============================================================================COMMENT
MEDIUMtest/parallel/test_compute_worker.py14# ==============================================================================COMMENT
MEDIUMtest/parallel/test_torch.py16# ==============================================================================COMMENT
MEDIUMtest/parallel/test_timeline.py14# ==============================================================================COMMENT
MEDIUMtest/parallel/test_mxnet2.py15# ==============================================================================COMMENT
MEDIUMtest/parallel/base_test_mxnet.py15# ==============================================================================COMMENT
MEDIUMtest/parallel/test_tensorflow2_keras.py14# ==============================================================================COMMENT
MEDIUMtest/parallel/test_mxnet1.py15# ==============================================================================COMMENT
MEDIUMtest/parallel/test_xla.py17# =============================================================================COMMENT
MEDIUMtest/parallel/test_tensorflow.py17# =============================================================================COMMENT
MEDIUMtest/parallel/test_tensorflow_keras.py14# ==============================================================================COMMENT
MEDIUMtest/parallel/test_keras.py14# ==============================================================================COMMENT
MEDIUMtest/parallel/test_adasum_tensorflow.py14# =============================================================================COMMENT
MEDIUMtest/parallel/base_test_tensorflow.py17# =============================================================================COMMENT
MEDIUMtest/parallel/test_adasum_pytorch.py14# =============================================================================COMMENT
MEDIUMtest/integration/test_elastic_tensorflow2.py14# ==============================================================================COMMENT
MEDIUMtest/integration/test_spark_keras.py15# ==============================================================================COMMENT
MEDIUMtest/integration/elastic_common.py14# ==============================================================================COMMENT
MEDIUMtest/integration/test_elastic_spark_tensorflow.py14# ==============================================================================COMMENT
MEDIUMtest/integration/test_static_run.py14# ==============================================================================COMMENT
MEDIUMtest/integration/test_elastic_tensorflow_keras.py14# ==============================================================================COMMENT
MEDIUMtest/integration/test_elastic_torch.py14# ==============================================================================COMMENT
MEDIUMtest/integration/test_interactiverun.py14# ==============================================================================COMMENT
MEDIUMtest/integration/test_spark.py14# ==============================================================================COMMENT
MEDIUMtest/integration/test_elastic_tensorflow.py14# ==============================================================================COMMENT
MEDIUMtest/integration/elastic_spark_common.py14# ==============================================================================COMMENT
MEDIUMtest/integration/test_elastic_spark_tensorflow2.py14# ==============================================================================COMMENT
MEDIUMtest/integration/test_spark_lightning.py14# ==============================================================================COMMENT
MEDIUMtest/integration/test_elastic_spark_torch.py14# ==============================================================================COMMENT
MEDIUMtest/integration/test_spark_torch.py14# ==============================================================================COMMENT
MEDIUMtest/integration/data/elastic_tensorflow2_main.py14# ==============================================================================COMMENT
MEDIUMtest/integration/data/elastic_tensorflow_keras_main.py14# ==============================================================================COMMENT
MEDIUMtest/integration/data/elastic_torch_main.py14# ==============================================================================COMMENT
MEDIUMtest/integration/data/elastic_tensorflow_main.py14# ==============================================================================COMMENT
MEDIUMtest/utils/common.py15# =============================================================================COMMENT
MEDIUMtest/utils/spark_common.py14# ==============================================================================COMMENT
MEDIUMtest/single/test_elastic_run.py14# ==============================================================================COMMENT
MEDIUMtest/single/test_service.py14# ==============================================================================COMMENT
MEDIUMtest/single/test_run.py14# ==============================================================================COMMENT
MEDIUMtest/single/test_buildkite.py14# ==============================================================================COMMENT
MEDIUMtest/single/test_util.py14# ==============================================================================COMMENT
MEDIUMtest/single/test_elastic_driver.py14# ==============================================================================COMMENT
MEDIUMtest/single/test_task_service.py14# ==============================================================================COMMENT
MEDIUMtest/single/test_compute_service.py14# ==============================================================================COMMENT
MEDIUMtest/single/test_torch_elastic.py14# ==============================================================================COMMENT
MEDIUMcmake/build_utils.py14# ==============================================================================COMMENT
MEDIUMhorovod/keras/__init__.py14# ==============================================================================COMMENT
MEDIUMhorovod/keras/callbacks.py14# ==============================================================================COMMENT
MEDIUMhorovod/keras/elastic.py14# ==============================================================================COMMENT
MEDIUMhorovod/mxnet/functions.py16# ==============================================================================COMMENT
MEDIUMhorovod/mxnet/mpi_ops.py15# ==============================================================================COMMENT
MEDIUMhorovod/mxnet/compression.py14# ==============================================================================COMMENT
MEDIUMhorovod/mxnet/__init__.py14# ==============================================================================COMMENT
MEDIUMhorovod/runner/task_fn.py14# ==============================================================================COMMENT
MEDIUMhorovod/runner/gloo_run.py14# ==============================================================================COMMENT
MEDIUMhorovod/runner/__init__.py14# =============================================================================COMMENT
MEDIUMhorovod/runner/launch.py14# ==============================================================================COMMENT
132 more matches not shown…
Hyper-Verbose Identifiers675 hits · 552 pts
SeverityFileLineSnippetContext
LOWtest/parallel/test_common.py44 def test_tensorflow_available(self):CODE
LOWtest/parallel/test_tensorflow_process_sets_dynamic.py30 def test_horovod_add_get_remove_process_set(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py51 def test_horovod_size_op_process_set(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py61 def test_horovod_process_set_included_op(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py74 def test_horovod_allreduce_cpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py114 def test_horovod_allreduce_gpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py160 def test_horovod_allreduce_process_set_id_error(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py183 def test_horovod_allreduce_grad_cpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py238 def test_horovod_grouped_allreduce_cpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py278 def test_horovod_grouped_allreduce_gpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py321 def test_horovod_grouped_allreduce_grad_cpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py380 def test_horovod_allgather_cpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py428 def test_horovod_allgather_gpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py482 def test_horovod_allgather_grad_cpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py546 def test_horovod_broadcast_cpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py586 def test_horovod_broadcast_gpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py635 def test_broadcast_variables_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py664 def test_horovod_broadcast_grad_cpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py717 def test_horovod_alltoall_cpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py762 def test_horovod_alltoall_gpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py816 def test_horovod_alltoall_grad_cpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py866 def test_broadcast_object_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py901 def test_broadcast_object_fn_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py941 def test_allgather_object_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py1022 def test_distributed_gradient_tape_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py1043 def test_horovod_reducescatter_cpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py1094 def test_horovod_reducescatter_gpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py1148 def test_horovod_reducescatter_grad_cpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py1207 def test_horovod_grouped_reducescatter_cpu_process_sets(self):CODE
LOWtest/parallel/test_tensorflow_process_sets.py1260 def test_horovod_grouped_allgather_cpu_process_sets(self):CODE
LOWtest/parallel/test_xla_process_sets.py78 def test_horovod_allreduce_gpu_process_sets(self):CODE
LOWtest/parallel/test_xla_process_sets.py92 def allreduce_gpu_process_set(self, dtype, dim):CODE
LOWtest/parallel/test_compute_worker.py55 def test_single_dispatcher_reuse_dataset_fcfs(self):CODE
LOWtest/parallel/test_compute_worker.py61 def test_single_dispatcher_reuse_dataset_round_robin(self):CODE
LOWtest/parallel/test_compute_worker.py78 def do_test_worker_compute_side(self,CODE
LOWtest/parallel/test_compute_worker.py167 def do_test_worker_training_side(self,CODE
LOWtest/parallel/test_torch.py122 def test_horovod_is_initialized(self):CODE
LOWtest/parallel/test_torch.py201 def test_horovod_allreduce_average(self):CODE
LOWtest/parallel/test_torch.py232 def test_horovod_allreduce_min(self):CODE
LOWtest/parallel/test_torch.py255 def test_horovod_allreduce_max(self):CODE
LOWtest/parallel/test_torch.py278 def test_horovod_allreduce_product(self):CODE
LOWtest/parallel/test_torch.py313 def test_horovod_allreduce_inplace(self):CODE
LOWtest/parallel/test_torch.py346 def test_horovod_allreduce_async_fused(self):CODE
LOWtest/parallel/test_torch.py392 def test_horovod_allreduce_multi_gpu(self):CODE
LOWtest/parallel/test_torch.py434 def test_horovod_allreduce_prescale(self):CODE
LOWtest/parallel/test_torch.py488 def test_horovod_allreduce_postscale(self):CODE
LOWtest/parallel/test_torch.py542 def test_horovod_allreduce_process_sets(self):CODE
LOWtest/parallel/test_torch.py597 def test_horovod_allreduce_error(self):CODE
LOWtest/parallel/test_torch.py631 def test_horovod_allreduce_type_error(self):CODE
LOWtest/parallel/test_torch.py655 def test_horovod_allreduce_cpu_gpu_error(self):CODE
LOWtest/parallel/test_torch.py687 def test_horovod_allreduce_duplicate_name_error(self):CODE
LOWtest/parallel/test_torch.py718 def test_horovod_allreduce_grad(self):CODE
LOWtest/parallel/test_torch.py743 def test_horovod_allreduce_grad_average(self):CODE
LOWtest/parallel/test_torch.py767 def test_horovod_allreduce_grad_process_sets(self):CODE
LOWtest/parallel/test_torch.py814 def test_horovod_grouped_allreduce(self):CODE
LOWtest/parallel/test_torch.py848 def test_horovod_grouped_allreduce_average(self):CODE
LOWtest/parallel/test_torch.py881 def test_horovod_grouped_allreduce_inplace(self):CODE
LOWtest/parallel/test_torch.py915 def test_horovod_grouped_allreduce_process_sets(self):CODE
LOWtest/parallel/test_torch.py972 def test_horovod_grouped_allreduce_cpu_gpu_error(self):CODE
LOWtest/parallel/test_torch.py987 def test_horovod_grouped_allreduce_grad(self):CODE
615 more matches not shown…
Cross-File Repetition106 hits · 530 pts
SeverityFileLineSnippetContext
HIGHtest/parallel/test_tensorflow_process_sets_dynamic.py0prevent that one process shuts down horovod too earlySTRING
HIGHtest/parallel/test_tensorflow_process_sets.py0prevent that one process shuts down horovod too earlySTRING
HIGHtest/parallel/test_xla_process_sets.py0prevent that one process shuts down horovod too earlySTRING
HIGHtest/parallel/test_tensorflow2_keras_process_sets.py0prevent that one process shuts down horovod too earlySTRING
HIGHtest/parallel/test_tensorflow_process_sets.py0test that the allgather correctly gathers 1d, 2d, 3d tensors if restricted to process sets.STRING
HIGHtest/parallel/base_test_mxnet.py0test that the allgather correctly gathers 1d, 2d, 3d tensors if restricted to process sets.STRING
HIGHtest/parallel/test_torch.py0test that the allgather correctly gathers 1d, 2d, 3d tensors if restricted to process sets.STRING
HIGHtest/parallel/test_torch.py0test that the reducescatter raises an error if different ranks try to send tensors of different rank or dimension.STRING
HIGHtest/parallel/base_test_mxnet.py0test that the reducescatter raises an error if different ranks try to send tensors of different rank or dimension.STRING
HIGHtest/parallel/test_tensorflow.py0test that the reducescatter raises an error if different ranks try to send tensors of different rank or dimension.STRING
HIGHtest/parallel/test_torch.py0test that the reducescatter raises an error if different ranks try to send tensors of different type.STRING
HIGHtest/parallel/base_test_mxnet.py0test that the reducescatter raises an error if different ranks try to send tensors of different type.STRING
HIGHtest/parallel/test_tensorflow.py0test that the reducescatter raises an error if different ranks try to send tensors of different type.STRING
HIGHtest/parallel/test_torch.py0test that the allreduce raises an error if different ranks try to perform reduction on cpu and gpu.STRING
HIGHtest/parallel/base_test_mxnet.py0test that the allreduce raises an error if different ranks try to perform reduction on cpu and gpu.STRING
HIGHtest/parallel/test_tensorflow.py0test that the allreduce raises an error if different ranks try to perform reduction on cpu and gpu.STRING
HIGHtest/parallel/test_torch.py0test that the grouped allgather raises an error if the input tensor list contains a mix of tensors on cpu and gpu.STRING
HIGHtest/parallel/base_test_mxnet.py0test that the grouped allgather raises an error if the input tensor list contains a mix of tensors on cpu and gpu.STRING
HIGHtest/parallel/test_mxnet1.py0test that the grouped allgather raises an error if the input tensor list contains a mix of tensors on cpu and gpu.STRING
HIGHtest/parallel/test_torch.py0test that the grouped allgather correctly gathers 1d, 2d, 3d tensors.STRING
HIGHtest/parallel/base_test_mxnet.py0test that the grouped allgather correctly gathers 1d, 2d, 3d tensors.STRING
HIGHtest/parallel/test_tensorflow.py0test that the grouped allgather correctly gathers 1d, 2d, 3d tensors.STRING
HIGHtest/parallel/test_torch.py0test that the allgather correctly gathers 1d, 2d, 3d tensors, even if those tensors have different sizes along the firstSTRING
HIGHtest/parallel/base_test_mxnet.py0test that the allgather correctly gathers 1d, 2d, 3d tensors, even if those tensors have different sizes along the firstSTRING
HIGHtest/parallel/test_tensorflow.py0test that the allgather correctly gathers 1d, 2d, 3d tensors, even if those tensors have different sizes along the firstSTRING
HIGHtest/parallel/test_torch.py0test that the allgather returns an error if any dimension besides the first is different among the tensors being gathereSTRING
HIGHtest/parallel/base_test_mxnet.py0test that the allgather returns an error if any dimension besides the first is different among the tensors being gathereSTRING
HIGHtest/parallel/test_tensorflow.py0test that the allgather returns an error if any dimension besides the first is different among the tensors being gathereSTRING
HIGHtest/parallel/test_torch.py0test that the allgather returns an error if the types being gathered differ among the processesSTRING
HIGHtest/parallel/base_test_mxnet.py0test that the allgather returns an error if the types being gathered differ among the processesSTRING
HIGHtest/parallel/test_tensorflow.py0test that the allgather returns an error if the types being gathered differ among the processesSTRING
HIGHtest/parallel/test_torch.py0test that the broadcast returns an error if any dimension besides the first is different among the tensors being broadcaSTRING
HIGHtest/parallel/base_test_mxnet.py0test that the broadcast returns an error if any dimension besides the first is different among the tensors being broadcaSTRING
HIGHtest/parallel/test_tensorflow.py0test that the broadcast returns an error if any dimension besides the first is different among the tensors being broadcaSTRING
HIGHtest/parallel/test_torch.py0test that the broadcast returns an error if the types being broadcasted differ among the processesSTRING
HIGHtest/parallel/base_test_mxnet.py0test that the broadcast returns an error if the types being broadcasted differ among the processesSTRING
HIGHtest/parallel/test_tensorflow.py0test that the broadcast returns an error if the types being broadcasted differ among the processesSTRING
HIGHtest/parallel/test_torch.py0test that the broadcast returns an error if different ranks specify different root rank.STRING
HIGHtest/parallel/base_test_mxnet.py0test that the broadcast returns an error if different ranks specify different root rank.STRING
HIGHtest/parallel/test_tensorflow.py0test that the broadcast returns an error if different ranks specify different root rank.STRING
HIGHtest/parallel/test_torch.py0test that the alltoall correctly distributes 1d, 2d, and 3d tensors.STRING
HIGHtest/parallel/base_test_mxnet.py0test that the alltoall correctly distributes 1d, 2d, and 3d tensors.STRING
HIGHtest/parallel/test_tensorflow.py0test that the alltoall correctly distributes 1d, 2d, and 3d tensors.STRING
HIGHtest/parallel/test_torch.py0test that the alltoall correctly distributes 1d tensors with default splitting.STRING
HIGHtest/parallel/base_test_mxnet.py0test that the alltoall correctly distributes 1d tensors with default splitting.STRING
HIGHtest/parallel/test_tensorflow.py0test that the alltoall correctly distributes 1d tensors with default splitting.STRING
HIGHtest/parallel/test_torch.py0test that the alltoall returns an error if the tensor types differ across the processes.STRING
HIGHtest/parallel/base_test_mxnet.py0test that the alltoall returns an error if the tensor types differ across the processes.STRING
HIGHtest/parallel/test_tensorflow.py0test that the alltoall returns an error if the tensor types differ across the processes.STRING
HIGHtest/parallel/test_torch.py0test that the alltoall with default splitting returns an error if the first dimension of tensor is not a multiple of theSTRING
HIGHtest/parallel/test_tensorflow.py0test that the alltoall with default splitting returns an error if the first dimension of tensor is not a multiple of theSTRING
HIGHtest/parallel/base_test_mxnet.py0test that the alltoall with default splitting returns an error if the first dimension of tensor is not a multiple of theSTRING
HIGHtest/parallel/test_mxnet1.py0test that the alltoall with default splitting returns an error if the first dimension of tensor is not a multiple of theSTRING
HIGHtest/parallel/test_torch.py0test that the alltoall returns an error if the sum of the splits entries exceeds the first dimension of the input tensorSTRING
HIGHtest/parallel/base_test_mxnet.py0test that the alltoall returns an error if the sum of the splits entries exceeds the first dimension of the input tensorSTRING
HIGHtest/parallel/test_mxnet1.py0test that the alltoall returns an error if the sum of the splits entries exceeds the first dimension of the input tensorSTRING
HIGHtest/parallel/test_tensorflow.py0test that the alltoall returns an error if the sum of the splits entries exceeds the first dimension of the input tensorSTRING
HIGHtest/parallel/test_torch.py0test that the alltoall returns an error if the splits tensor does not contain 32-bit integers.STRING
HIGHtest/parallel/base_test_mxnet.py0test that the alltoall returns an error if the splits tensor does not contain 32-bit integers.STRING
HIGHtest/parallel/test_mxnet1.py0test that the alltoall returns an error if the splits tensor does not contain 32-bit integers.STRING
46 more matches not shown…
Empty Error Handlers69 hits · 318 pts
SeverityFileLineSnippetContext
HIGHtest/parallel/test_torch.py615except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py628except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py652except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py684except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py984except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py1277except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py1300except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py1713except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py1736except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py1755except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py2077except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py2099except (torch.FatalError, ValueError):CODE
HIGHtest/parallel/test_torch.py2118except (torch.FatalError, ValueError):CODE
HIGHtest/parallel/test_torch.py2137except (torch.FatalError, ValueError):CODE
HIGHtest/parallel/test_torch.py2162except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py2811except ValueError:CODE
HIGHtest/parallel/test_torch.py2976except ValueError:CODE
HIGHtest/parallel/test_torch.py3852except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py3865except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py3893except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py706except (torch.FatalError, ValueError):CODE
HIGHtest/parallel/test_torch.py714except (torch.FatalError, ValueError):CODE
HIGHtest/parallel/test_torch.py1322except (torch.FatalError, ValueError):CODE
HIGHtest/parallel/test_torch.py1330except (torch.FatalError, ValueError):CODE
HIGHtest/parallel/test_torch.py1777except (torch.FatalError, ValueError):CODE
HIGHtest/parallel/test_torch.py1785except (torch.FatalError, ValueError):CODE
HIGHtest/parallel/test_torch.py3772except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py3919except (torch.FatalError, ValueError):CODE
HIGHtest/parallel/test_torch.py3927except (torch.FatalError, ValueError):CODE
HIGHtest/parallel/test_torch.py3080except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/test_torch.py3116except (torch.FatalError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py383except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py396except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py477except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py507except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py717except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py931except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py957except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py978except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py1128except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py1153except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py1236except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py1415except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py1438except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py1462except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py1482except (MXNetError, ValueError):CODE
HIGHtest/parallel/base_test_mxnet.py1541except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py1948except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/base_test_mxnet.py1961except (MXNetError, RuntimeError):CODE
HIGHtest/parallel/test_process_sets_static.py31except ImportError:CODE
HIGHtest/integration/test_stall.py18except:CODE
HIGHtest/integration/test_spark_lightning.py43except ImportError:CODE
HIGHtest/single/test_elastic_driver.py498except RuntimeError:CODE
HIGHcmake/build_utils.py87except Exception:CODE
HIGHhorovod/runner/util/threads.py112except:CODE
HIGHhorovod/runner/util/network.py87except Exception as e:CODE
HIGHhorovod/runner/common/util/safe_shell_exec.py53except psutil.NoSuchProcess:CODE
HIGHhorovod/runner/common/util/safe_shell_exec.py71except psutil.NoSuchProcess:CODE
HIGHhorovod/runner/common/util/safe_shell_exec.py44except psutil.NoSuchProcess:CODE
HIGHhorovod/runner/common/util/safe_shell_exec.py65except psutil.NoSuchProcess:CODE
9 more matches not shown…
Over-Commented Block289 hits · 286 pts
SeverityFileLineSnippetContext
LOWsetup.py1# Copyright 2019 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOW.readthedocs.yaml1# Copyright (c) 2019 Uber Technologies, Inc.COMMENT
LOWdocker/helm/values.yaml1# Default values for horovod.COMMENT
LOWtest/parallel/test_common.py1# Copyright 2019 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/parallel/test_xla_process_sets.py1# Copyright 2021 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtest/parallel/test_compute_worker.py1# Copyright 2022 G-Research, Inc. All Rights Reserved.COMMENT
LOWtest/parallel/test_torch.py1# Copyright 2018 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/parallel/test_timeline.py1# Copyright 2019 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/parallel/test_mxnet2.py1# Copyright 2018 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/parallel/base_test_mxnet.py1# Copyright 2018 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/parallel/test_tensorflow2_keras.py1# Copyright 2019 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/parallel/test_mxnet1.py1# Copyright 2018 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/parallel/test_xla.py1# Copyright 2021 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtest/parallel/test_tensorflow.py1# Copyright 2016 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtest/parallel/test_tensorflow_keras.py1# Copyright 2018 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/parallel/test_keras.py1# Copyright 2018 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/parallel/test_adasum_tensorflow.py1# Copyright 2019 Microsoft. All Rights Reserved.COMMENT
LOWtest/parallel/base_test_tensorflow.py1# Copyright 2016 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtest/parallel/test_adasum_pytorch.py1# Copyright 2019 Microsoft. All Rights Reserved.COMMENT
LOWtest/integration/test_elastic_tensorflow2.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/test_spark_keras.py1# Copyright 2019 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/elastic_common.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/test_elastic_spark_tensorflow.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/test_static_run.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/test_elastic_tensorflow_keras.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/test_elastic_torch.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/test_interactiverun.py1# Copyright 2018 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/test_spark.py1# Copyright 2018 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/test_elastic_tensorflow.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/elastic_spark_common.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/test_elastic_spark_tensorflow2.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/test_spark_lightning.py1# Copyright 2019 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/test_elastic_spark_torch.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/test_spark_torch.py1# Copyright 2019 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/data/elastic_tensorflow2_main.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/data/elastic_tensorflow_keras_main.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/data/elastic_torch_main.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/integration/data/elastic_tensorflow_main.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/utils/common.py1# Copyright 2016 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWtest/utils/spark_common.py1# Copyright 2019 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/single/test_elastic_run.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/single/test_service.py1# Copyright 2019 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/single/test_run.py1# Copyright 2019 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/single/test_buildkite.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/single/test_util.py1# Copyright 2021 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/single/test_elastic_driver.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/single/test_task_service.py1# Copyright 2021 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/single/test_compute_service.py1# Copyright 2022 G-Research, Inc. All Rights Reserved.COMMENT
LOWtest/single/test_elastic_discovery.py1# Copyright 2022 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWtest/single/test_torch_elastic.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWcmake/build_utils.py1# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWhorovod/keras/__init__.py1# Copyright 2017 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWhorovod/keras/callbacks.py1# Copyright 2018 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWhorovod/keras/elastic.py1# Copyright 2020 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWhorovod/mxnet/functions.py1COMMENT
LOWhorovod/mxnet/mpi_ops.py1# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWhorovod/mxnet/adapter.h1// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWhorovod/mxnet/compression.py1# Copyright 2018 Uber Technologies, Inc. All Rights Reserved.COMMENT
LOWhorovod/mxnet/__init__.py1# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWhorovod/mxnet/tensor_util.h1// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
229 more matches not shown…
Unused Imports299 hits · 242 pts
SeverityFileLineSnippetContext
LOWtest/parallel/test_tensorflow_process_sets_dynamic.py12CODE
LOWtest/parallel/test_tensorflow_process_sets.py18CODE
LOWtest/parallel/test_xla_process_sets.py29CODE
LOWtest/parallel/test_xla_process_sets.py32CODE
LOWtest/parallel/test_xla_process_sets.py44CODE
LOWtest/parallel/test_mxnet2.py19CODE
LOWtest/parallel/test_mxnet2.py28CODE
LOWtest/parallel/test_mxnet2.py66CODE
LOWtest/parallel/test_mxnet2.py98CODE
LOWtest/parallel/base_test_mxnet.py24CODE
LOWtest/parallel/base_test_mxnet.py1488CODE
LOWtest/parallel/base_test_mxnet.py1549CODE
LOWtest/parallel/test_mxnet1.py17CODE
LOWtest/parallel/test_mxnet1.py18CODE
LOWtest/parallel/test_mxnet1.py19CODE
LOWtest/parallel/test_mxnet1.py24CODE
LOWtest/parallel/test_mxnet1.py26CODE
LOWtest/parallel/test_xla.py24CODE
LOWtest/parallel/test_tensorflow.py45CODE
LOWtest/integration/test_spark_keras.py23CODE
LOWtest/integration/test_spark_keras.py31CODE
LOWtest/integration/test_spark_keras.py36CODE
LOWtest/integration/test_spark_keras.py46CODE
LOWtest/integration/test_elastic_spark_tensorflow.py16CODE
LOWtest/integration/test_elastic_spark_tensorflow.py17CODE
LOWtest/integration/test_elastic_spark_tensorflow.py18CODE
LOWtest/integration/test_spark.py50CODE
LOWtest/integration/elastic_spark_common.py16CODE
LOWtest/integration/test_elastic_spark_tensorflow2.py16CODE
LOWtest/integration/test_elastic_spark_tensorflow2.py17CODE
LOWtest/integration/test_elastic_spark_tensorflow2.py18CODE
LOWtest/integration/test_spark_lightning.py22CODE
LOWtest/integration/test_spark_lightning.py62CODE
LOWtest/integration/test_spark_lightning.py62CODE
LOWtest/integration/test_elastic_spark_torch.py16CODE
LOWtest/integration/test_elastic_spark_torch.py17CODE
LOWtest/integration/test_elastic_spark_torch.py18CODE
LOWtest/integration/test_spark_torch.py35CODE
LOWtest/integration/test_spark_torch.py36CODE
LOWtest/integration/test_spark_torch.py44CODE
LOWtest/integration/test_spark_torch.py44CODE
LOWtest/integration/test_spark_torch.py48CODE
LOWhorovod/__init__.py1CODE
LOWhorovod/keras/__init__.py18CODE
LOWhorovod/keras/__init__.py24CODE
LOWhorovod/keras/__init__.py25CODE
LOWhorovod/keras/__init__.py26CODE
LOWhorovod/keras/__init__.py26CODE
LOWhorovod/keras/__init__.py26CODE
LOWhorovod/keras/__init__.py26CODE
LOWhorovod/keras/__init__.py26CODE
LOWhorovod/keras/__init__.py26CODE
LOWhorovod/keras/__init__.py27CODE
LOWhorovod/keras/__init__.py27CODE
LOWhorovod/keras/__init__.py27CODE
LOWhorovod/keras/__init__.py28CODE
LOWhorovod/keras/__init__.py28CODE
LOWhorovod/keras/__init__.py28CODE
LOWhorovod/keras/__init__.py29CODE
LOWhorovod/keras/__init__.py29CODE
239 more matches not shown…
Deep Nesting254 hits · 172 pts
SeverityFileLineSnippetContext
LOWtest/parallel/test_tensorflow_process_sets.py74CODE
LOWtest/parallel/test_tensorflow_process_sets.py114CODE
LOWtest/parallel/test_tensorflow_process_sets.py183CODE
LOWtest/parallel/test_tensorflow_process_sets.py238CODE
LOWtest/parallel/test_tensorflow_process_sets.py278CODE
LOWtest/parallel/test_tensorflow_process_sets.py321CODE
LOWtest/parallel/test_tensorflow_process_sets.py482CODE
LOWtest/parallel/test_tensorflow_process_sets.py664CODE
LOWtest/parallel/test_tensorflow_process_sets.py717CODE
LOWtest/parallel/test_tensorflow_process_sets.py762CODE
LOWtest/parallel/test_tensorflow_process_sets.py816CODE
LOWtest/parallel/test_tensorflow_process_sets.py1043CODE
LOWtest/parallel/test_tensorflow_process_sets.py1094CODE
LOWtest/parallel/test_tensorflow_process_sets.py1148CODE
LOWtest/parallel/test_tensorflow_process_sets.py1207CODE
LOWtest/parallel/test_xla_process_sets.py78CODE
LOWtest/parallel/test_compute_worker.py78CODE
LOWtest/parallel/test_compute_worker.py167CODE
LOWtest/parallel/test_torch.py168CODE
LOWtest/parallel/test_torch.py201CODE
LOWtest/parallel/test_torch.py278CODE
LOWtest/parallel/test_torch.py313CODE
LOWtest/parallel/test_torch.py346CODE
LOWtest/parallel/test_torch.py392CODE
LOWtest/parallel/test_torch.py434CODE
LOWtest/parallel/test_torch.py488CODE
LOWtest/parallel/test_torch.py542CODE
LOWtest/parallel/test_torch.py814CODE
LOWtest/parallel/test_torch.py848CODE
LOWtest/parallel/test_torch.py881CODE
LOWtest/parallel/test_torch.py915CODE
LOWtest/parallel/test_torch.py2979CODE
LOWtest/parallel/test_torch.py3533CODE
LOWtest/parallel/test_torch.py3575CODE
LOWtest/parallel/test_torch.py3613CODE
LOWtest/parallel/test_torch.py3675CODE
LOWtest/parallel/test_torch.py3776CODE
LOWtest/parallel/test_torch.py3994CODE
LOWtest/parallel/test_torch.py4105CODE
LOWtest/parallel/test_torch.py4146CODE
LOWtest/parallel/test_torch.py4187CODE
LOWtest/parallel/test_torch.py4249CODE
LOWtest/parallel/test_torch.py4324CODE
LOWtest/parallel/test_timeline.py40CODE
LOWtest/parallel/base_test_mxnet.py77CODE
LOWtest/parallel/base_test_mxnet.py112CODE
LOWtest/parallel/base_test_mxnet.py146CODE
LOWtest/parallel/base_test_mxnet.py225CODE
LOWtest/parallel/base_test_mxnet.py259CODE
LOWtest/parallel/base_test_mxnet.py311CODE
LOWtest/parallel/base_test_mxnet.py399CODE
LOWtest/parallel/base_test_mxnet.py529CODE
LOWtest/parallel/base_test_mxnet.py568CODE
LOWtest/parallel/base_test_mxnet.py607CODE
LOWtest/parallel/base_test_mxnet.py646CODE
LOWtest/parallel/base_test_mxnet.py1713CODE
LOWtest/parallel/base_test_mxnet.py1753CODE
LOWtest/parallel/base_test_mxnet.py1794CODE
LOWtest/parallel/base_test_mxnet.py1853CODE
LOWtest/parallel/base_test_mxnet.py1964CODE
194 more matches not shown…
Cross-Language Confusion7 hits · 35 pts
SeverityFileLineSnippetContext
HIGH.github/gen-workflow-ci.py164 f' group: ci-${{{{ github.event_name }}}}-${{{{ github.ref }}}}-${{{{ github.head_ref || github.sha }}}CODE
HIGH.github/gen-workflow-ci.py263 f' HEAD_REF: ${{{{ github.event.pull_request.head.ref || github.ref }}}}\n'CODE
HIGH.github/gen-workflow-ci.py356 f' sudo du -hsc $dir | tail -n1 || true\n'CODE
HIGH.github/gen-workflow-ci.py631 f' group: docker-${{{{ matrix.docker-image }}}}-${{{{ github.ref }}}}-${{{{ github.head_ref || githCODE
HIGH.github/gen-workflow-ci.py693 f' sudo du -hsc $dir | tail -n1 || true\n'CODE
HIGH.github/gen-workflow-ci.py803 f' diff ${{LEFT}}.expected --label $LEFT $RIGHT || true\n'CODE
HIGH.github/gen-workflow-ci.py807 f' diff $LEFT $RIGHT || true\n'CODE
Excessive Try-Catch Wrapping28 hits · 33 pts
SeverityFileLineSnippetContext
LOWsetup.py87 except Exception:CODE
LOWtest/utils/common.py204 except Exception as e:CODE
MEDIUMtest/utils/common.py146def undo(fn):CODE
LOWcmake/build_utils.py25 except Exception:CODE
LOWcmake/build_utils.py35 except Exception:CODE
LOWcmake/build_utils.py56 except Exception:CODE
LOWcmake/build_utils.py75 except Exception:CODE
LOWcmake/build_utils.py87 except Exception:CODE
MEDIUMcmake/build_utils.py20def is_mx_cuda():CODE
LOWhorovod/mxnet/mpi_ops.py35except Exception as e:CODE
LOWhorovod/runner/gloo_run.py186 except Exception as e:CODE
LOW⚡horovod/runner/util/cache.py84 except Exception as e:CODE
LOW⚡horovod/runner/util/cache.py96 except Exception as e:CODE
MEDIUMhorovod/runner/util/cache.py92def _cache_file_is_corrupt_and_deleted(self):CODE
LOWhorovod/runner/util/network.py87 except Exception as e:CODE
LOWhorovod/runner/elastic/registration.py178 except Exception:CODE
LOWhorovod/runner/common/util/tiny_shell_exec.py34 except Exception:CODE
LOWhorovod/runner/common/service/task_service.py333 except Exception as e:CODE
MEDIUMhorovod/runner/common/service/task_service.py330def send(req, stream):CODE
LOWhorovod/torch/mpi_ops.py34except Exception as e:CODE
LOWhorovod/torch/__init__.py23except Exception as e:CODE
LOWhorovod/tensorflow/mpi_ops.py51except Exception as e:CODE
LOWhorovod/data/data_loader_base.py127 except Exception as ex:CODE
LOWhorovod/ray/elastic.py360 except Exception as e:CODE
LOWhorovod/ray/elastic.py385 except Exception as e:CODE
LOWhorovod/ray/elastic_v2.py363 except Exception as e:CODE
LOWhorovod/ray/elastic_v2.py388 except Exception as e:CODE
LOWhorovod/spark/common/util.py491 except Exception as ex:CODE
AI Structural Patterns33 hits · 26 pts
SeverityFileLineSnippetContext
LOWtest/parallel/test_tensorflow.py5566CODE
LOWtest/integration/elastic_common.py75CODE
LOWtest/integration/test_spark.py639CODE
LOWtest/integration/test_spark.py655CODE
LOWtest/integration/test_spark.py758CODE
LOWtest/integration/elastic_spark_common.py365CODE
LOWtest/integration/test_spark_lightning.py857CODE
LOWhorovod/keras/__init__.py40CODE
LOWhorovod/keras/__init__.py116CODE
LOWhorovod/runner/__init__.py95CODE
LOWhorovod/runner/common/util/settings.py18CODE
LOWhorovod/torch/optimizer.py516CODE
LOWhorovod/tensorflow/__init__.py58CODE
LOWhorovod/tensorflow/__init__.py178CODE
LOWhorovod/tensorflow/__init__.py232CODE
LOWhorovod/tensorflow/__init__.py896CODE
LOWhorovod/tensorflow/__init__.py1125CODE
LOWhorovod/tensorflow/__init__.py1204CODE
LOWhorovod/tensorflow/__init__.py658CODE
LOWhorovod/tensorflow/keras/__init__.py49CODE
LOWhorovod/ray/runner.py242CODE
LOWhorovod/ray/elastic.py188CODE
LOWhorovod/ray/elastic_v2.py233CODE
LOWhorovod/spark/runner.py200CODE
LOWhorovod/spark/runner.py312CODE
LOWhorovod/spark/keras/estimator.py175CODE
LOWhorovod/spark/keras/estimator.py409CODE
LOWhorovod/spark/lightning/datamodule.py15CODE
LOWhorovod/spark/lightning/estimator.py230CODE
LOWhorovod/spark/lightning/estimator.py540CODE
LOWhorovod/spark/torch/estimator.py172CODE
LOWhorovod/spark/torch/estimator.py378CODE
LOWhorovod/spark/common/datamodule.py22CODE
Self-Referential Comments7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMhorovod/runner/gloo_run.py231 # Create a event for communication between threadsCOMMENT
MEDIUMexamples/tensorflow/tensorflow_mnist_estimator.py168 # Create the EstimatorCOMMENT
MEDIUMexamples/pytorch/pytorch_lightning_mnist.py35# Define the PyTorch model without any Horovod-specific parametersCOMMENT
MEDIUMexamples/spark/keras/keras_spark_mnist.py87 # Define the Keras model without any Horovod-specific parametersCOMMENT
MEDIUMexamples/spark/pytorch/pytorch_spark_mnist.py80 # Define the PyTorch model without any Horovod-specific parametersCOMMENT
MEDIUM…/spark/pytorch/pytorch_lightning_spark_mnist_legacy.py84 # Define the PyTorch model without any Horovod-specific parametersCOMMENT
MEDIUMexamples/spark/pytorch/pytorch_lightning_spark_mnist.py100 # Define the PyTorch model without any Horovod-specific parametersCOMMENT
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALtest/parallel/test_tensorflow_keras.py389 session = tf.compat.v1.keras.backend.get_session(op_input_list=())CODE
CRITICALhorovod/tensorflow/gradient_aggregation.py143 session = tf.compat.v1.keras.backend.get_session(op_input_list=())CODE
Verbosity Indicators7 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡test/parallel/test_torch.py2858 # Step 1: train generator.COMMENT
LOW⚡test/parallel/test_torch.py2861 # Step 2: train discriminator.COMMENT
LOWexamples/tensorflow/tensorflow_word2vec.py33# Step 1: Download the data.COMMENT
LOWexamples/tensorflow/tensorflow_word2vec.py63# Step 2: Build the dictionary and replace rare words with UNK token.COMMENT
LOWexamples/tensorflow/tensorflow_word2vec.py94# Step 3: Function to generate a training batch for the skip-gram model.COMMENT
LOWexamples/tensorflow/tensorflow_word2vec.py126# Step 4: Build and train a skip-gram model.COMMENT
LOWexamples/tensorflow/tensorflow_word2vec.py196# Step 5: Begin training.COMMENT
Structural Annotation Overuse7 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡test/parallel/test_torch.py2858 # Step 1: train generator.COMMENT
LOW⚡test/parallel/test_torch.py2861 # Step 2: train discriminator.COMMENT
LOWexamples/tensorflow/tensorflow_word2vec.py33# Step 1: Download the data.COMMENT
LOWexamples/tensorflow/tensorflow_word2vec.py63# Step 2: Build the dictionary and replace rare words with UNK token.COMMENT
LOWexamples/tensorflow/tensorflow_word2vec.py94# Step 3: Function to generate a training batch for the skip-gram model.COMMENT
LOWexamples/tensorflow/tensorflow_word2vec.py126# Step 4: Build and train a skip-gram model.COMMENT
LOWexamples/tensorflow/tensorflow_word2vec.py196# Step 5: Begin training.COMMENT
Fake / Example Data6 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡test/integration/test_spark_keras.py516 serialized_backend = _serialize_param_value(EstimatorParams.backend.name, 'dummy_value', None, None)CODE
LOW⚡test/integration/test_spark_keras.py519 serialized_store = _serialize_param_value(EstimatorParams.store.name, 'dummy_value', None, None)CODE
LOW⚡test/integration/test_spark_lightning.py353 serialized_backend = _torch_param_serialize(EstimatorParams.backend.name, 'dummy_value')CODE
LOW⚡test/integration/test_spark_lightning.py356 serialized_store = _torch_param_serialize(EstimatorParams.store.name, 'dummy_value')CODE
LOW⚡test/integration/test_spark_torch.py345 serialized_backend = _torch_param_serialize(EstimatorParams.backend.name, 'dummy_value')CODE
LOW⚡test/integration/test_spark_torch.py348 serialized_store = _torch_param_serialize(EstimatorParams.store.name, 'dummy_value')CODE
Modern Structural Boilerplate9 hits · 9 pts
SeverityFileLineSnippetContext
LOWhorovod/keras/elastic.py86__all__ = [CODE
LOWhorovod/torch/elastic/__init__.py51__all__ = [CODE
LOWhorovod/tensorflow/elastic.py217__all__ = [CODE
LOWhorovod/tensorflow/keras/elastic.py86__all__ = [CODE
LOWhorovod/ray/runner.py18logger = logging.getLogger(__name__)CODE
LOWhorovod/ray/__init__.py5__all__ = ["RayExecutor", "BaseHorovodWorker", "ElasticRayExecutor"]CODE
LOWhorovod/ray/strategy.py10logger = logging.getLogger(__name__)CODE
LOWhorovod/ray/elastic.py26logger = logging.getLogger(__name__)CODE
LOWhorovod/ray/elastic_v2.py27logger = logging.getLogger(__name__)CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHhorovod/common/optim/bayesian_optimization.h32// function is called surrogate model. In this implementation, we use Gaussian processes for our surrogate model.COMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMhorovod/ray/elastic.py375 # TODO: make this event driven at some point.COMMENT
MEDIUMhorovod/ray/elastic_v2.py378 # TODO: make this event driven at some point.COMMENT
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtest/parallel/test_torch.py2440 # Set default tensor type, ensuring optimizer tensor-wrapping is robustCOMMENT
MEDIUMexamples/keras/keras_imagenet_resnet50.py10# pipeline that is typically used to train state-of-the-art ResNet-50 model. This results in ~0.5%COMMENT
Redundant / Tautological Comments3 hits · 2 pts
SeverityFileLineSnippetContext
LOWhorovod/runner/launch.py652 # Check if we can ssh into all remote hosts successfully.STRING
LOWhorovod/runner/launch.py821 # Set hosts to localhost if not specifiedSTRING
LOWhorovod/spark/keras/util.py53 # Check if any of the columns are only SparseVectorCOMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM.github/gen-workflow-ci.py582 raise RuntimeError('This job has hard-coded needs, which you may want to adjust')CODE
Overly Generic Function Names1 hit · 0 pts
SeverityFileLineSnippetContext
LOWtest/integration/test_spark.py256 def run_task(index):CODE